diff options
author | Christian Borntraeger <borntraeger@linux.ibm.com> | 2022-09-14 12:57:50 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2022-09-23 08:36:07 +0200 |
commit | 131aafa7eff4aa4d747cb7113726b27394a38866 (patch) | |
tree | 26684f434e51255437959aa6d1a4162b02a5eca1 /target | |
parent | 6160d8ff81fb9fba70f5dad88d43ffd0fa44984c (diff) | |
download | qemu-131aafa7eff4aa4d747cb7113726b27394a38866.zip qemu-131aafa7eff4aa4d747cb7113726b27394a38866.tar.gz qemu-131aafa7eff4aa4d747cb7113726b27394a38866.tar.bz2 |
s390x/tcg: Fix opcode for lzrf
Fix the opcode for Load and Zero Rightmost Byte (32).
Fixes: c2a5c1d718ea ("target/s390x: Implement load-and-zero-rightmost-byte insns")
Reported-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: qemu-stable@nongnu.org
Message-Id: <20220914105750.767697-1-borntraeger@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'target')
-rw-r--r-- | target/s390x/tcg/insn-data.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/s390x/tcg/insn-data.def b/target/s390x/tcg/insn-data.def index 6d2cfe5..6382cea 100644 --- a/target/s390x/tcg/insn-data.def +++ b/target/s390x/tcg/insn-data.def @@ -466,7 +466,7 @@ C(0xe39f, LAT, RXY_a, LAT, 0, m2_32u, r1, 0, lat, 0) C(0xe385, LGAT, RXY_a, LAT, 0, a2, r1, 0, lgat, 0) /* LOAD AND ZERO RIGHTMOST BYTE */ - C(0xe3eb, LZRF, RXY_a, LZRB, 0, m2_32u, new, r1_32, lzrb, 0) + C(0xe33b, LZRF, RXY_a, LZRB, 0, m2_32u, new, r1_32, lzrb, 0) C(0xe32a, LZRG, RXY_a, LZRB, 0, m2_64, r1, 0, lzrb, 0) /* LOAD LOGICAL AND ZERO RIGHTMOST BYTE */ C(0xe33a, LLZRGF, RXY_a, LZRB, 0, m2_32u, r1, 0, lzrb, 0) |