aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2016-06-03 14:33:07 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2016-06-03 14:33:07 +0200
commit5abc59784181358f0125ac67bbff25016cadf3ff (patch)
tree35bc0204bc73f0c29aba432c0c905b9b8fd87d4b /gcc/tree-vectorizer.h
parente7fc19fcb5b0413324d0ccae7a045f3ef3cc04a6 (diff)
downloadgcc-5abc59784181358f0125ac67bbff25016cadf3ff.zip
gcc-5abc59784181358f0125ac67bbff25016cadf3ff.tar.gz
gcc-5abc59784181358f0125ac67bbff25016cadf3ff.tar.bz2
rs6000: Remove the ancient mfcr peepholes
These peepholes replace two mfcr;mask sequences by one mfcr;mask;mask sequence. On modern cpus, the original mfcr's were actually mfocrf, but the new insn is an actual heavy-weight mfcr. This is very bad for performance. The comment says there is a three cycle delay between two consecutive mfcr insns. This may have been true on rios, and it's true on 604, but on 603, 750, 7400 it is just a single cycle (on 7450 it is two). This is also a define_peephole, and we should get rid of those. So this patch just removes the peepholes; the benefit is marginal at best, and it so very hurts in other cases. * config/rs6000/rs6000.md (define_peepholes for two mfcr's): Delete. From-SVN: r237062
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions