diff options
author | Kewen Lin <linkw@linux.ibm.com> | 2021-07-08 22:00:24 -0500 |
---|---|---|
committer | Kewen Lin <linkw@linux.ibm.com> | 2021-07-08 22:00:24 -0500 |
commit | 062c762ef264dca89d01ebca2ef023ea91f31d50 (patch) | |
tree | 3e67c808bd54aeba9a2b07ff711201982e979bd0 /gcc/tree-ssa-phiopt.c | |
parent | df85baa5687170cbca8450a59cf17f3157b1d61d (diff) | |
download | gcc-062c762ef264dca89d01ebca2ef023ea91f31d50.zip gcc-062c762ef264dca89d01ebca2ef023ea91f31d50.tar.gz gcc-062c762ef264dca89d01ebca2ef023ea91f31d50.tar.bz2 |
rs6000: Support [u]mod<mode>3 for vector modulo insns
This patch is to make Power10 newly introduced vector
modulo instructions exploited in vectorized loops, it
just simply renames existing define_insns as standard
pattern names.
gcc/ChangeLog:
* config/rs6000/vsx.md (mods_<mode>): Rename to...
(mod<mode>3): ... this.
(modu_<mode>): Rename to...
(umod<mode>3): ... this.
* config/rs6000/rs6000-builtin.def (MODS_V2DI, MODS_V4SI, MODU_V2DI,
MODU_V4SI): Adjust.
gcc/testsuite/ChangeLog:
* gcc.target/powerpc/mod-vectorize.c: New test.
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
0 files changed, 0 insertions, 0 deletions