mbox series

[v3,0/4] target/ppc: Move VSX storage access and compare

Message ID 20240618085831.546883-1-rathc@linux.ibm.com
Headers show
Series target/ppc: Move VSX storage access and compare | expand

Message

Chinmay Rath June 18, 2024, 8:58 a.m. UTC
Moving all remaining VSX storage access instructions and all VSX compare
instructions of XX3 form with RC field, to decodetree specification.

Change log :

v3:
- Patch 2/4 : Updated the added function do_ea_calc_ra to return
  modifiable EA, after discussions with Richard.

v2: https://lore.kernel.org/qemu-devel/20240613093318.314913-1-rathc@linux.ibm.com/
 - Addressed comments by Richard in v1 :
   - Patch 2/4 : Handled proper ea calculation in narrow mode.
     Also created a new function for ea calculation instead of inlining,
     for later use by (p){lx,stx}vp insns.
   - Patch 4/4 : Unified helper calls.
 - Retained Richard's "Reviewed-by" in patches 1, 3 and 4.

v1: https://lore.kernel.org/qemu-devel/20240607144921.726730-1-rathc@linux.ibm.com/

Chinmay Rath (4):
  target/ppc: Moving VSX scalar storage access insns to decodetree.
  target/ppc: Move VSX vector with length storage access insns to
    decodetree.
  target/ppc: Move VSX vector storage access insns to decodetree.
  target/ppc: Move VSX fp compare insns to decodetree.

 target/ppc/helper.h                 |  24 +-
 target/ppc/insn32.decode            |  41 +++
 target/ppc/fpu_helper.c             |  16 +-
 target/ppc/mem_helper.c             |   8 +-
 target/ppc/translate.c              |  15 +
 target/ppc/translate/vsx-impl.c.inc | 416 ++++++++++++++--------------
 target/ppc/translate/vsx-ops.c.inc  |  49 ----
 7 files changed, 287 insertions(+), 282 deletions(-)