summaryrefslogtreecommitdiffstats
path: root/target-s390x
diff options
context:
space:
mode:
authorAurelien Jarno2015-06-03 23:09:42 +0200
committerAlexander Graf2015-06-05 01:37:58 +0200
commit1dedb9b76f061c8da730002f6c21a1fa2b76b106 (patch)
treea023c9c733e7b959d3501d1d6d2240c4fff3b42b /target-s390x
parenttarget-s390x: fix exception for invalid operation code (diff)
downloadqemu-1dedb9b76f061c8da730002f6c21a1fa2b76b106.tar.gz
qemu-1dedb9b76f061c8da730002f6c21a1fa2b76b106.tar.xz
qemu-1dedb9b76f061c8da730002f6c21a1fa2b76b106.zip
target-s390x: fix CLGIT instruction
The COMPARE LOGICAL IMMEDIATE AND TRAP instruction should compare the numbers as unsigned, as its name implies. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-s390x')
-rw-r--r--target-s390x/insn-data.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def
index 750706246d..3955443fbf 100644
--- a/target-s390x/insn-data.def
+++ b/target-s390x/insn-data.def
@@ -231,7 +231,7 @@
D(0xb973, CLRT, RRF_c, GIE, r1_32u, r2_32u, 0, 0, ct, 0, 1)
D(0xb961, CLGRT, RRF_c, GIE, r1_o, r2_o, 0, 0, ct, 0, 1)
D(0xec73, CLFIT, RIE_a, GIE, r1_32u, i2_32u, 0, 0, ct, 0, 1)
- D(0xec71, CLGIT, RIE_a, GIE, r1_o, i2_32u, 0, 0, ct, 0, 0)
+ D(0xec71, CLGIT, RIE_a, GIE, r1_o, i2_32u, 0, 0, ct, 0, 1)
/* CONVERT TO DECIMAL */
C(0x4e00, CVD, RX_a, Z, r1_o, a2, 0, 0, cvd, 0)