aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorKewen Lin <linkw@linux.ibm.com>2021-07-19 20:50:13 -0500
committerKewen Lin <linkw@linux.ibm.com>2021-07-19 20:50:13 -0500
commit1c0d49b9ce9ab011fa77d4eac689fa1a038123ef (patch)
tree72a56c5504a35a7a8293552024dad92dd28d9e9f /gcc/config.gcc
parenta1d27560770818c514ad1ad6683f89e1e1bcd0ec (diff)
downloadgcc-1c0d49b9ce9ab011fa77d4eac689fa1a038123ef.zip
gcc-1c0d49b9ce9ab011fa77d4eac689fa1a038123ef.tar.gz
gcc-1c0d49b9ce9ab011fa77d4eac689fa1a038123ef.tar.bz2
rs6000: Support [u]mul<mode>3_highpart for vector
This patch is to make Power10 newly introduced vector multiply high (part) instructions exploited in vectorized loops, it renames existing define_insns as standard pattern names. It depends on that patch which enables vectorizer to recog mul_highpart. gcc/ChangeLog: * config/rs6000/vsx.md (mulhs_<mode>): Rename to... (smul<mode>3_highpart): ... this. (mulhu_<mode>): Rename to... (umul<mode>3_highpart): ... this. * config/rs6000/rs6000-builtin.def (MULHS_V2DI, MULHS_V4SI, MULHU_V2DI, MULHU_V4SI): Adjust. gcc/testsuite/ChangeLog: * gcc.target/powerpc/mul-vectorize-3.c: New test. * gcc.target/powerpc/mul-vectorize-4.c: New test.
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions