mbox

[0/3] rs6000: Disparage lfiwzx and similar

Message ID cover.1650575998.git.segher@kernel.crashing.org
Headers

Message

Segher Boessenkool April 21, 2022, 9:28 p.m. UTC
  This series adds "?" on the "Z" for lfiwzx and similar, so that we
preferably choose some D-form storage insn, instead of the X-form insn.
The D-form insns work on GPRs only, but it is still much preferred.

Committing to trunk.


Segher


Segher Boessenkool (3):
  rs6000: Add effective target has_arch_ppc64
  rs6000: Disparage lfiwzx and similar
  rs6000/testsuite: xfail bswap-brw.c

 gcc/config/rs6000/rs6000.md                  | 22 +++++++++++-----------
 gcc/testsuite/gcc.target/powerpc/bswap-brw.c |  2 +-
 gcc/testsuite/lib/target-supports.exp        | 10 ++++++++++
 3 files changed, 22 insertions(+), 12 deletions(-)