diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2017-11-28 01:17:16 +0100 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2017-11-28 01:17:16 +0100 |
commit | fd8bf76c908297f96f240954c43732579bb95105 (patch) | |
tree | 3139451e525e77a0975c2114c48e110f3722dd21 /gcc/tree-ssa-loop-prefetch.c | |
parent | 2ac1a8d832dbaad726cc5f787646ff20c9b05aeb (diff) | |
download | gcc-fd8bf76c908297f96f240954c43732579bb95105.zip gcc-fd8bf76c908297f96f240954c43732579bb95105.tar.gz gcc-fd8bf76c908297f96f240954c43732579bb95105.tar.bz2 |
rs6000: Improve scc isel
If we have a negative condition we can use a literal 0 in the isel,
instead of having to load it into a register. If the condition is from
a comparison with an immediate we can change e.g. LT to LE and adjust
the immediate, saving a li instruction.
* config/rs6000/rs6000.md (<code><GPR:mode><GPR2:mode>2_isel): Change
LT/GT/LTU/GTU to LE/GE/LEU/GEU where possible.
From-SVN: r255186
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.c')
0 files changed, 0 insertions, 0 deletions