[PATCH 00/14] target/s390x: Clean up mem ops and byte swapping

Richard Henderson posted 14 patches 1 month, 4 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260731185628.23161-1-richard.henderson@linaro.org
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Ilya Leoshkevich <iii@linux.ibm.com>, David Hildenbrand <david@kernel.org>, Cornelia Huck <cohuck@redhat.com>, Eric Farman <farman@linux.ibm.com>, Matthew Rosato <mjrosato@linux.ibm.com>
target/s390x/tcg/translate.c     |  89 ++-----------------------
target/s390x/tcg/insn-data.h.inc | 108 +++++++++++++++----------------
2 files changed, 59 insertions(+), 138 deletions(-)
[PATCH 00/14] target/s390x: Clean up mem ops and byte swapping
Posted by Richard Henderson 1 month, 4 weeks ago
Once upon a time we didn't have controllable endianness in our memory ops,
so we were forced to perform the bswap for LOAD/STORE REVERSED manually.
But that hasn't been true for quite some time.  Tidy up all of the simple
loads and stores by stashing the complete MemOp for each instruction.


r~


Richard Henderson (14):
  target/s390x: Convert op_ld8s to op_ld
  target/s390x: Convert op_ld8u to op_ld
  target/s390x: Convert op_ld16s to op_ld
  target/s390x: Convert op_ld16u to op_ld
  target/s390x: Convert op_ld32s to op_ld
  target/s390x: Convert op_ld32u to op_ld
  target/s390x: Convert op_ld64 to op_ld
  target/s390x: Convert op_st8 to op_st
  target/s390x: Convert op_st16 to op_st
  target/s390x: Convert op_st32 to op_st
  target/s390x: Convert op_st64 to op_st
  target/s390x: Use op_ld for LOAD REVERSED
  target/s390x: Use op_st for STORE REVERSED
  target/s390x: Simplify LRVR

 target/s390x/tcg/translate.c     |  89 ++-----------------------
 target/s390x/tcg/insn-data.h.inc | 108 +++++++++++++++----------------
 2 files changed, 59 insertions(+), 138 deletions(-)

-- 
2.43.0