Commit Graph

167 Commits

Author SHA1 Message Date
Fish (David B. Trout)
26a1f86d7f PTT facility enhancements:
1. Expand trace class to 64-bits.
2. Predefined convenience macros.
3. Expand trace message to 18 characters.
4. Use convenience macros where possible.

This commit is mostly in preparation for upcoming LCS debugging via PTT facility enhancements to help debug Issue #43 (which is a race condition and thus timing dependent, thus PTT debugging rather than logmsg debugging), but I tried to design it to make it easier for other modules (e.g. QETH) to also transition away from logmsg debugging to debugging via PTT facilty instead.
2015-01-24 06:16:05 -08:00
Enrico Sorichetti
c396a57818 Fixed some (silenced others) clang warnings
more to analyze and fix for linux
2014-10-08 12:49:31 +02:00
dasdman
a6ad321841 Correct various clock interaction issues; revert to using a gettimeofday call when not Windows and CLOCK_REALTIME is not defined. Includes outline for OS X high-resolution clock support (#ifdef'd out at present due to #include issues). 2012-07-16 16:09:41 -07:00
dasdman
6db2769024 Improved TOD clock resolution; eliminated floating-point clock conversions under Windows; document interval timer conversion factors; corrected various clock stores. 2012-06-17 23:14:20 -07:00
Jan Jaeger
439bdbca92 Remove subversion $Id$ tag
Update copyright statement to 2012
2012-03-24 18:41:51 +11:00
Fish (David B Trout)
1383561eaf Compiler warning refactoring cont'd:
ACTIVATE suppression of certain compiler warnings.
(Most all of which were already being suppressed.)

git-svn-id: file:///home/jj/hercules.svn/trunk@7769 956126f8-22a0-4046-8f4a-272fa8102e63
2011-09-20 12:49:36 +00:00
Paul Gorlinsky
31c9a99803 Remove LOGMSG macro. Change LOGMSG to logmsg. Rename log_msg() to logmsg().
git-svn-id: file:///home/jj/hercules.svn/trunk@7688 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-12 23:28:17 +00:00
Paul Gorlinsky
2c2eaf37dc Restore code regressed by latest changes.
git-svn-id: file:///home/jj/hercules.svn/trunk@7678 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-09 02:00:07 +00:00
Jan Jaeger
d4b0abebe3 Fix interlocks across different lockword sizes
git-svn-id: file:///home/jj/hercules.svn/trunk@7671 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-07 10:39:13 +00:00
Jan Jaeger
032e72e79b Revert to lowercase logmsg()
git-svn-id: file:///home/jj/hercules.svn/trunk@7669 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-07 00:09:14 +00:00
Paul Gorlinsky
a461331699 Changes to prevent MSVC runtime errors under debug.
git-svn-id: file:///home/jj/hercules.svn/trunk@7663 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-05 00:34:58 +00:00
Fish (David B Trout)
236a11b6e2 (cosmetic: remove trailing blanks and tabs)
git-svn-id: file:///home/jj/hercules.svn/trunk@7613 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-23 06:42:44 +00:00
Paul Gorlinsky
46c7c130ae #pragma GCC diagnostic ignored "-Wunused-but-set-variable" valid on GCC >= 4.6
git-svn-id: file:///home/jj/hercules.svn/trunk@7596 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-19 01:36:06 +00:00
Paul Gorlinsky
2a926ae0cf Modules that process instructions have the warning turned off for set-but-unused-variables.
git-svn-id: file:///home/jj/hercules.svn/trunk@7591 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-18 21:38:33 +00:00
Paul Gorlinsky
b871e5a87b Cleanup unused variables. Modules that process instructions have the warning turned off.
git-svn-id: file:///home/jj/hercules.svn/trunk@7590 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-18 21:19:31 +00:00
Bernard van der Helm
1559065ce0 Optimized CLR, ALR + documentation
git-svn-id: file:///home/jj/hercules.svn/trunk@7465 956126f8-22a0-4046-8f4a-272fa8102e63
2011-05-20 08:56:27 +00:00
Bernard van der Helm
45b0934779 New optimized instructions LR, LA and CL
Revised optimized instructions ST, L and TM


git-svn-id: file:///home/jj/hercules.svn/trunk@7463 956126f8-22a0-4046-8f4a-272fa8102e63
2011-05-17 19:02:46 +00:00
Bernard van der Helm
e491a24348 Typo in documentation
git-svn-id: file:///home/jj/hercules.svn/trunk@7434 956126f8-22a0-4046-8f4a-272fa8102e63
2011-04-22 10:03:11 +00:00
Roger Bowler
df1845224e Remove some obsolete debugging code unused since 2001
git-svn-id: file:///home/jj/hercules.svn/trunk@7420 956126f8-22a0-4046-8f4a-272fa8102e63
2011-04-17 16:27:46 +00:00
Bernard van der Helm
ab938f089b Single bit test under mask
git-svn-id: file:///home/jj/hercules.svn/trunk@7415 956126f8-22a0-4046-8f4a-272fa8102e63
2011-04-16 09:31:51 +00:00
Bernard van der Helm
c868cd6058 Documentation change.
git-svn-id: file:///home/jj/hercules.svn/trunk@7413 956126f8-22a0-4046-8f4a-272fa8102e63
2011-04-15 08:15:04 +00:00
Bernard van der Helm
1b3afef480 Deletion of OPTION_OPTINST. Too complex for too little gain.
git-svn-id: file:///home/jj/hercules.svn/trunk@7354 956126f8-22a0-4046-8f4a-272fa8102e63
2011-03-13 13:21:55 +00:00
Paul Gorlinsky
9081b644c7 Function logmsg() renamed to log_msg(). LOGMSG define added. All logmsg calls changed to LOGMSG.
git-svn-id: file:///home/jj/hercules.svn/trunk@7333 956126f8-22a0-4046-8f4a-272fa8102e63
2011-02-23 03:48:52 +00:00
Bernard van der Helm
fe2e3aa75b Concentrate optimized RX instruction instead of all the place.
git-svn-id: file:///home/jj/hercules.svn/trunk@7232 956126f8-22a0-4046-8f4a-272fa8102e63
2010-12-30 08:43:46 +00:00
Bernard van der Helm
1d15a5c1db general2.c RX optimized instructions
git-svn-id: file:///home/jj/hercules.svn/trunk@7227 956126f8-22a0-4046-8f4a-272fa8102e63
2010-12-29 19:46:06 +00:00
Bernard van der Helm
8ec8df6a7a Further optimizations and some warnings
git-svn-id: file:///home/jj/hercules.svn/trunk@7222 956126f8-22a0-4046-8f4a-272fa8102e63
2010-12-29 08:39:07 +00:00
Bernard van der Helm
251406ed28 Optimized STH, LA, IC, LH, N, C and AL
git-svn-id: file:///home/jj/hercules.svn/trunk@7219 956126f8-22a0-4046-8f4a-272fa8102e63
2010-12-28 22:06:04 +00:00
Bernard van der Helm
d50656a278 More structured optimized code. Base for more optimized zero x2
instructions. I plan to do them all.


git-svn-id: file:///home/jj/hercules.svn/trunk@7217 956126f8-22a0-4046-8f4a-272fa8102e63
2010-12-28 20:58:12 +00:00
Bernard van der Helm
6abcf9954a Combined all single bit TM optimized instructions to one.
git-svn-id: file:///home/jj/hercules.svn/trunk@7205 956126f8-22a0-4046-8f4a-272fa8102e63
2010-12-23 14:49:26 +00:00
Bernard van der Helm
f4522f6e7c Optimized TM instructions, based on the fact that most of the calls only
one bit is tested. So the one bit tests are optimized. Saving the
shifting for the variable i2 and checking for cc1.


git-svn-id: file:///home/jj/hercules.svn/trunk@7204 956126f8-22a0-4046-8f4a-272fa8102e63
2010-12-23 13:39:43 +00:00
Paul Gorlinsky
66338b167d Add LOCK on cmpxchg inline functions when fast functions are not available. Remove extra locks in functions using the cmpxchg functions.
git-svn-id: file:///home/jj/hercules.svn/trunk@7106 956126f8-22a0-4046-8f4a-272fa8102e63
2010-11-13 03:28:26 +00:00
Bernard van der Helm
e5fa20288a Top 10 instrutions from famous blue and zLinux implemented with RX
format optimization.


git-svn-id: file:///home/jj/hercules.svn/trunk@7099 956126f8-22a0-4046-8f4a-272fa8102e63
2010-11-10 20:04:24 +00:00
Bernard van der Helm
b5a67a8e99 Optimized store. Store is replaced from general2 to general1 to group
optimzed instructions.


git-svn-id: file:///home/jj/hercules.svn/trunk@7080 956126f8-22a0-4046-8f4a-272fa8102e63
2010-11-08 18:28:56 +00:00
Roger Bowler
a69c7b1d34 Cosmetic: Fix module prolog, remove trailing blanks
git-svn-id: file:///home/jj/hercules.svn/trunk@6291 956126f8-22a0-4046-8f4a-272fa8102e63
2010-08-11 14:58:01 +00:00
Paul Gorlinsky
627503d28c Update notices
git-svn-id: file:///home/jj/hercules.svn/trunk@5960 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-10 17:49:54 +00:00
Ivan Warren
ab85cf3c08 Allow Storage Alteration PER to work when the starting address
of an alteration is outside the Storage alteration range but
the storage altered is within the storage alteration range


git-svn-id: file:///home/jj/hercules.svn/trunk@5881 956126f8-22a0-4046-8f4a-272fa8102e63
2010-04-26 19:04:33 +00:00
Jan Jaeger
ed6969a7fe Trace PLO CSP CSPG STFL STFLE
git-svn-id: file:///home/jj/hercules.svn/trunk@5222 956126f8-22a0-4046-8f4a-272fa8102e63
2009-03-01 12:28:49 +00:00
Jan Jaeger
c5049e53f0 Add ptt instruction trace
git-svn-id: file:///home/jj/hercules.svn/trunk@5220 956126f8-22a0-4046-8f4a-272fa8102e63
2009-03-01 09:46:32 +00:00
Ivan Warren
0d9f311a36 Fix typo causing unaligned STM to still crash on strict aligned architectures
git-svn-id: file:///home/jj/hercules.svn/trunk@5185 956126f8-22a0-4046-8f4a-272fa8102e63
2009-02-18 15:02:32 +00:00
Ivan Warren
531a62a75a Fix issue with unaligned LM/STM when running on a host architecture that
enforces alignment


git-svn-id: file:///home/jj/hercules.svn/trunk@5152 956126f8-22a0-4046-8f4a-272fa8102e63
2009-02-04 12:22:38 +00:00
Bernard van der Helm
56d0369332 copyright notice
git-svn-id: file:///home/jj/hercules.svn/trunk@5125 956126f8-22a0-4046-8f4a-272fa8102e63
2009-01-23 12:01:44 +00:00
Roger Bowler
dde2748896 Fix incorrect registers when cc=1 for TRTE,TRTRE
git-svn-id: file:///home/jj/hercules.svn/trunk@4679 956126f8-22a0-4046-8f4a-272fa8102e63
2008-03-28 13:36:25 +00:00
Roger Bowler
d72ce53206 TRTE and TRTRE incorrectly return cc=3
git-svn-id: file:///home/jj/hercules.svn/trunk@4674 956126f8-22a0-4046-8f4a-272fa8102e63
2008-03-27 16:45:17 +00:00
Roger Bowler
98bd0ef060 Remove extraneous trailing blanks (cosmetic change only)
git-svn-id: file:///home/jj/hercules.svn/trunk@4647 956126f8-22a0-4046-8f4a-272fa8102e63
2008-03-06 16:10:35 +00:00
Bernard van der Helm
54c8367471 Removed the silly control-M characters
git-svn-id: file:///home/jj/hercules.svn/trunk@4616 956126f8-22a0-4046-8f4a-272fa8102e63
2008-03-01 15:15:41 +00:00
Roger Bowler
c46da969a0 Rename new features to include the word facility
git-svn-id: file:///home/jj/hercules.svn/trunk@4614 956126f8-22a0-4046-8f4a-272fa8102e63
2008-03-01 12:19:04 +00:00
Bernard van der Helm
9266b053f0 TRTE, TRTRE: Checking for a_bit and ch>255 is double. Removed the a_bit.
git-svn-id: file:///home/jj/hercules.svn/trunk@4613 956126f8-22a0-4046-8f4a-272fa8102e63
2008-03-01 07:51:00 +00:00
Bernard van der Helm
0404405580 Added Parsing Enhancement Facility
git-svn-id: file:///home/jj/hercules.svn/trunk@4609 956126f8-22a0-4046-8f4a-272fa8102e63
2008-02-29 16:25:13 +00:00
Paul Leisy
bb3721aa5e Fix STCKE so that byte 0 is cleared
git-svn-id: file:///home/jj/hercules.svn/trunk@4567 956126f8-22a0-4046-8f4a-272fa8102e63
2008-02-15 21:21:18 +00:00
Greg Smith
71b5b2c94a Fix and optimize TR instruction
git-svn-id: file:///home/jj/hercules.svn/trunk@4546 956126f8-22a0-4046-8f4a-272fa8102e63
2008-01-24 00:59:03 +00:00