]> git.ipfire.org Git - thirdparty/gcc.git/commit
Do not enable -mblock-ops-vector-pair.
authorMichael Meissner <meissner@linux.ibm.com>
Fri, 5 Aug 2022 22:54:33 +0000 (18:54 -0400)
committerMichael Meissner <meissner@linux.ibm.com>
Fri, 5 Aug 2022 22:54:33 +0000 (18:54 -0400)
commit25b11619a83f424073aca93422c832b1ac4756fb
tree968a5c91d56cffddd02b0febea418c3c7740f17e
parent61076545cb3c3cbc79036eff8bc46b0c2083730c
Do not enable -mblock-ops-vector-pair.

Testing has shown that using the load vector pair and store vector pair
instructions for block moves has some performance issues on power10.

A patch on June 11th modified the code so that GCC would not set
-mblock-ops-vector-pair by default if we are tuning for power10, but it would
set the option if we were tuning for a different machine and have load and store
vector pair instructions enabled.

This patch eliminates the code setting -mblock-ops-vector-pair.  If you want to
generate load vector pair and store vector pair instructions for block moves,
you must use -mblock-ops-vector-pair.

2022-08-05   Michael Meissner  <meissner@linux.ibm.com>

gcc/

* config/rs6000/rs6000.cc (rs6000_option_override_internal): Remove code
setting -mblock-ops-vector-pair.  Back port patch from trunk on 8/3.
gcc/config/rs6000/rs6000.cc