aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-prefetch.c
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2017-11-28 01:17:16 +0100
committerSegher Boessenkool <segher@gcc.gnu.org>2017-11-28 01:17:16 +0100
commitfd8bf76c908297f96f240954c43732579bb95105 (patch)
tree3139451e525e77a0975c2114c48e110f3722dd21 /gcc/tree-ssa-loop-prefetch.c
parent2ac1a8d832dbaad726cc5f787646ff20c9b05aeb (diff)
downloadgcc-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