Skip to contentSkip to conversation

s390x/tcg: Fix opcode for lzrf

PATCH In review Christian Borntraeger 4 participants 4 messages Sep 14, 2022 – Sep 19, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s390x/tcg: Fix opcode for lzrf

Fix the opcode for Load and Zero Rightmost Byte (32).

---
 target/s390x/tcg/insn-data.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target/s390x/tcg/insn-data.def +1 -1
index 6d2cfe5fa2b7..6382ceabfcfa 100644
@@ -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)
Signature · 1 line
2.37.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 1 line · Christian Borntraeger

Fix the opcode for Load and Zero Rightmost Byte (32).

Fixes c2a5c1d718ea ("target/s390x: Implement load-and-zero-rightmost-byte insns")
Quoted 8 lines
---
 target/s390x/tcg/insn-data.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
#2 lore raw
In reply to Christian Borntraeger
Quoted 9 lines · Christian Borntraeger

Fix the opcode for Load and Zero Rightmost Byte (32).

---
  target/s390x/tcg/insn-data.def | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks, queued to my s390x-next branch:

https://gitlab.com/thuth/qemu/-/commits/s390x-next

Thomas