diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2022-01-02 14:08:35 +0000 |
---|---|---|
committer | Segher Boessenkool <segher@kernel.crashing.org> | 2022-04-21 21:30:45 +0000 |
commit | 26fa464f42622c60d6929720dd37143a21054ede (patch) | |
tree | 133a52be9d8a354af6c8f67ec6f483d501d8a672 /libphobos/libdruntime | |
parent | fc9deca632c2eb246c54cfd13cb616bf3fcbd21a (diff) | |
download | gcc-26fa464f42622c60d6929720dd37143a21054ede.zip gcc-26fa464f42622c60d6929720dd37143a21054ede.tar.gz gcc-26fa464f42622c60d6929720dd37143a21054ede.tar.bz2 |
rs6000: Disparage lfiwzx and similar
RA now chooses GEN_OR_VSX_REGS in most cases. This is great in most
cases, but we often (or always?) use {l,st}{f,xs}iwzx now, which is
problematic because the integer load and store insns can use cheaper
addressing modes. We can fix that by putting a small penalty on the
instruction alternatives for those.
2022-04-21 Segher Boessenkool <segher@kernel.crashing.org>
PR target/103197
PR target/102146
* config/rs6000/rs6000.md (zero_extendqi<mode>2 for EXTQI): Disparage
the "Z" alternatives in {l,st}{f,xs}iwzx.
(zero_extendhi<mode>2 for EXTHI): Ditto.
(zero_extendsi<mode>2 for EXTSI): Ditto.
(*movsi_internal1): Ditto.
(*mov<mode>_internal1 for QHI): Ditto.
(movsd_hardfloat): Ditto.
Diffstat (limited to 'libphobos/libdruntime')
0 files changed, 0 insertions, 0 deletions