target-s390: Reorg exception handling
Make the user path more like the system path. Prepare for more kindsof runtime exceptions. Rename ILC to ILEN to make it clear that wewant to pass around a full instruction length, rather than a "code" that happens to be stored one bit left in a larger field....
target-s390: Convert ADD HALFWORD
Signed-off-by: Richard Henderson <rth@twiddle.net>
target-s390: Use TCG registers for FPR
At the same time, tidy other usages of tcg_gen_deposit_i64.In some cases we can "type cast" rather than extend, and inothers we can allow tcg_gen_deposit_i64 itself to optimizethe HOST_LONG_BITS==32 case.
target-s390: Register helpers
Which highlights a lot of cc helpers that no longer exist.
target-s390: Fix SACF exit
DISAS_EXCP is exit via exception; we wanted DISAS_JUMP.This matters when we start cleaning up the TB exit paths.
target-s390: Fix BCR
There were are two exit paths for which we forgot tocopy s->cc_op back to the tcg register.
target-s390: Tidy unconditional BRCL
Yes, we're about to rewrite all of this, but having this unconditionaljump recompute cc_op is a large source of "false diff errors" whentrying to examine before and after dumps.
target-s390: Fix PSW_MASK handling
We were treating psw.mask as the 32-bit quantity it is in ESA mode.In particular, the CC field was at the wrong place.
target-s390: Add format based disassassmbly infrastructure
target-s390: Split out disas_jcc
Lots of duplicated code replaced with a couple of tables. We no longerattempt to manually invert the logic operation: the comments now matchthe code. In the fully general test, constant propagate (1 << (3 - cc))into (8 >> cc)....
View all revisions | View revisions
Also available in: Atom