mbox series

[0/9] target/arm: Helper type cleanups

Message ID 20241206031224.78525-1-richard.henderson@linaro.org
Headers show
Series target/arm: Helper type cleanups | expand

Message

Richard Henderson Dec. 6, 2024, 3:12 a.m. UTC
Add macros such that "fpst" can be used with DEF_HELPER to
indicate float_status* instead of "ptr" for void*.
In addition, fix a few uses of "ptr" that should be "env".

r~

Richard Henderson (9):
  target/arm: Introduce fpst alias for helper.h
  target/arm: Convert vfp_helper.c to fpst alias
  target/arm: Convert helper-a64.c to fpst alias
  target/arm: Convert vec_helper.c to fpst alias
  target/arm: Convert neon_helper.c to fpst alias
  target/arm: Convert sve_helper.c to fpst alias
  target/arm: Convert sme_helper.c to fpst alias
  target/arm: Convert vec_helper.c to use env alias
  target/arm: Convert neon_helper.c to use env alias

 target/arm/helper.h          | 638 ++++++++++++++++++-----------------
 target/arm/tcg/helper-a64.h  | 114 +++----
 target/arm/tcg/helper-sme.h  |   4 +-
 target/arm/tcg/helper-sve.h  | 426 +++++++++++------------
 target/arm/tcg/helper-a64.c  |  98 ++----
 target/arm/tcg/neon_helper.c |  27 +-
 target/arm/tcg/sme_helper.c  |   8 +-
 target/arm/tcg/sve_helper.c  |  96 +++---
 target/arm/tcg/vec_helper.c  |  81 ++---
 target/arm/vfp_helper.c      | 120 +++----
 10 files changed, 775 insertions(+), 837 deletions(-)