diff mbox series

[1/1] s390x/tcg: Fix opcode for lzrf

Message ID 20220914105750.767697-1-borntraeger@linux.ibm.com (mailing list archive)
State New, archived
Headers show
Series [1/1] s390x/tcg: Fix opcode for lzrf | expand

Commit Message

Christian Borntraeger Sept. 14, 2022, 10:57 a.m. UTC
Fix the opcode for Load and Zero Rightmost Byte (32).

Cc: qemu-stable@nongnu.org
Reported-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
---
 target/s390x/tcg/insn-data.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Cornelia Huck Sept. 14, 2022, 11:51 a.m. UTC | #1
On Wed, Sep 14 2022, Christian Borntraeger <borntraeger@linux.ibm.com> wrote:

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

Fixes: c2a5c1d718ea ("target/s390x: Implement load-and-zero-rightmost-byte insns")

>
> Cc: qemu-stable@nongnu.org
> Reported-by: Nathan Chancellor <nathan@kernel.org>
> Tested-by: Nathan Chancellor <nathan@kernel.org>
> Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
> ---
>  target/s390x/tcg/insn-data.def | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Thomas Huth Sept. 15, 2022, 6:07 a.m. UTC | #2
On 14/09/2022 11.57, Christian Borntraeger wrote:
> Fix the opcode for Load and Zero Rightmost Byte (32).
> 
> Cc: qemu-stable@nongnu.org
> Reported-by: Nathan Chancellor <nathan@kernel.org>
> Tested-by: Nathan Chancellor <nathan@kernel.org>
> Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
> ---
>   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
David Hildenbrand Sept. 19, 2022, 8:40 a.m. UTC | #3
On 14.09.22 12:57, Christian Borntraeger wrote:
> Fix the opcode for Load and Zero Rightmost Byte (32).
> 
> Cc: qemu-stable@nongnu.org
> Reported-by: Nathan Chancellor <nathan@kernel.org>
> Tested-by: Nathan Chancellor <nathan@kernel.org>
> Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
> ---

Reviewed-by: David Hildenbrand <david@redhat.com>
diff mbox series

Patch

diff --git a/target/s390x/tcg/insn-data.def b/target/s390x/tcg/insn-data.def
index 6d2cfe5fa2b7..6382ceabfcfa 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)