mbox series

[for-8.2,v2,0/7] tcg/ppc: Support power10 prefixed instructions

Message ID 20230808030250.50602-1-richard.henderson@linaro.org
Headers show
Series tcg/ppc: Support power10 prefixed instructions | expand

Message

Richard Henderson Aug. 8, 2023, 3:02 a.m. UTC
Emit one 64-bit instruction for large constants and pc-relatives.
With pc-relative addressing, we don't need REG_TB, which means we
can re-enable direct branching for goto_tb.

Changes for v2:
  * Merged Nick's adjustments for goto_tb.  Only patch B/NOP,
    falling through to PLD for indirect branch; drop PLA option.
  * Fix sx typo in patch 3 (jordan).


r~


Richard Henderson (7):
  tcg/ppc: Untabify tcg-target.c.inc
  tcg/ppc: Use PADDI in tcg_out_movi
  tcg/ppc: Use prefixed instructions in tcg_out_mem_long
  tcg/ppc: Use PLD in tcg_out_movi for constant pool
  tcg/ppc: Use prefixed instructions in tcg_out_dupi_vec
  tcg/ppc: Disable USE_REG_TB for Power v3.1
  tcg/ppc: Use prefixed instructions for tcg_out_goto_tb

 tcg/ppc/tcg-target.c.inc | 192 +++++++++++++++++++++++++++++++++++----
 1 file changed, 176 insertions(+), 16 deletions(-)