]> gcc.gnu.org Git - gcc.git/commit
Enable using vector pair load/store for -mcpu=future
authorMichael Meissner <meissner@linux.ibm.com>
Thu, 15 Feb 2024 20:10:21 +0000 (15:10 -0500)
committerMichael Meissner <meissner@linux.ibm.com>
Thu, 15 Feb 2024 20:10:21 +0000 (15:10 -0500)
commit7cc485a833dc474a9e2940cc2f0fd1567fb3f46f
treec1c13f369b4d80cd6c928a30a1e155ec3a2ee671
parent92eaf6de41f184d7e62624a2bd67cfc2aabf8a4e
Enable using vector pair load/store for -mcpu=future

Late in the development of power10, we discovered that there were some issues
in using load vector pair and store vector pair instructions to do memory
copies, so the defaults were modified to not use these instructions.  This
patch re-enables using load and store vector pair instructions.

Previously the -mblock-ops-vector-pair switch was not set in POWERPC_MASKS.
This means the option was not reset if the cpu was changed via target
attributes or targt pragmas.  I added this mask to POWERPC_MASKS since the
option is set via -mcpu=future.

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

gcc/

* config/rs6000/rs6000-cpus.def (ISA_FUTURE_MASKS_SERVER): Turn on
-mblock-ops-vector-pair for -mcpu=future.
(POWERPC_MASKS): Add -mblock-ops-vector-pair.
gcc/config/rs6000/rs6000-cpus.def
This page took 0.062194 seconds and 6 git commands to generate.