]> gcc.gnu.org Git - gcc.git/commit
Use vector pair load/store for memcpy with -mcpu=future
authorMichael Meissner <meissner@linux.ibm.com>
Thu, 29 Feb 2024 18:16:35 +0000 (13:16 -0500)
committerMichael Meissner <meissner@linux.ibm.com>
Thu, 29 Feb 2024 18:16:35 +0000 (13:16 -0500)
commit958eeaa435a9e11a275f9331237b22a714562000
tree589bdd390f95c63c81b5e528f15f8eae99c602ac
parente5c7191cd51208ae1e18301a5e0745f783514aa4
Use vector pair load/store for memcpy with -mcpu=future

In the development for the power10 processor, GCC did not enable using the load
vector pair and store vector pair instructions when optimizing things like
memory copy.  This patch enables using those instructions if -mcpu=future is
used.

2024-02-29  Michael Meissner  <meissner@linux.ibm.com>

gcc/

* config/rs6000/rs6000-cpus.def (ISA_FUTURE_MASKS_SERVER): Enable using
load vector pair and store vector pair instructions for memory copy
operations.
(POWERPC_MASKS): Make the bit for enabling using load vector pair and
store vector pair operations set and reset when the PowerPC processor is
changed.
gcc/config/rs6000/rs6000-cpus.def
This page took 0.055783 seconds and 6 git commands to generate.