OSDN Git Service

target-s390: Split out disas_jcc
authorRichard Henderson <rth@twiddle.net>
Wed, 5 Sep 2012 20:31:01 +0000 (13:31 -0700)
committerRichard Henderson <rth@twiddle.net>
Sat, 5 Jan 2013 20:00:27 +0000 (12:00 -0800)
commit3fde06f5fb67dd9e5373b8105318e74e18eec895
tree255d9f628adc1084478489c2115b23127efec35f
parentad044d09de62c10c361003765d5039396c057abe
target-s390: Split out disas_jcc

Lots of duplicated code replaced with a couple of tables.  We no longer
attempt to manually invert the logic operation: the comments now match
the code.  In the fully general test, constant propagate (1 << (3 - cc))
into (8 >> cc).

The new function will be usable by non-branch insns as well.

Signed-off-by: Richard Henderson <rth@twiddle.net>
target-s390x/translate.c