aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorKewen Lin <linkw@linux.ibm.com>2024-11-21 07:41:33 +0000
committerKewen Lin <linkw@gcc.gnu.org>2024-11-21 07:41:33 +0000
commitbaf536754f615c808f02592b765cdd900f240359 (patch)
tree6575cf7c2fa3b6e91e0d651c41bdbfa86f821c53 /gcc/tree-vectorizer.h
parentca96c1d1bc04b498e401571e99296e526db5db58 (diff)
downloadgcc-baf536754f615c808f02592b765cdd900f240359.zip
gcc-baf536754f615c808f02592b765cdd900f240359.tar.gz
gcc-baf536754f615c808f02592b765cdd900f240359.tar.bz2
rs6000: Use standard name {add,sub}v1ti3 for altivec_v{add,sub}uqm
This patch is to adjust define_insn altivec_v{add,sub}uqm with standard names, as the associated test case shows, w/o this patch, it ends up with scalar {add,subf}c/{add,subf}e, the standard names help to exploit v{add,sub}uqm. gcc/ChangeLog: * config/rs6000/altivec.md (altivec_vadduqm): Rename to ... (addv1ti3): ... this. (altivec_vsubuqm): Rename to ... (subv1ti3): ... this. * config/rs6000/rs6000-builtins.def (__builtin_altivec_vadduqm): Replace bif expander altivec_vadduqm with addv1ti3. (__builtin_altivec_vsubuqm): Replace bif expander altivec_vsubuqm with subv1ti3. gcc/testsuite/ChangeLog: * gcc.target/powerpc/p8vector-int128-3.c: New test.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions