[BACKPORT] Disable generating load/store vector pairs for block copies.
authorMichael Meissner <meissner@linux.ibm.com>
Thu, 14 Jul 2022 15:16:08 +0000 (11:16 -0400)
committerMichael Meissner <meissner@linux.ibm.com>
Thu, 14 Jul 2022 15:16:08 +0000 (11:16 -0400)
commit22736f3d0d4fb8ce4afb3230023f8accdb03a623
tree6e65f968dcdf2843018b85fd14d427e965e25cc6
parent0380d008b1474373852fd2fc921886491304f854
[BACKPORT] Disable generating load/store vector pairs for block copies.

Testing has found that using load and store vector pair for block copies
can result in a slow down on power10.  This patch disables using the
vector pair instructions for block copies if we are tuning for power10.

2022-06-11   Michael Meissner  <meissner@linux.ibm.com>

gcc/

* config/rs6000/rs6000.cc (rs6000_option_override_internal): Do
not generate block copies with vector pair instructions if we are
tuning for power10.  Back port from master branch.
gcc/config/rs6000/rs6000.cc