aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiprop.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2021-01-11 18:03:24 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2021-01-11 18:03:24 +0000
commit7446de5a2af0610d1e12b6583fbfb23e25fa3e1d (patch)
treed4e9408450856a4fb8f95c4565fa9cfbdfb8404d /gcc/tree-ssa-phiprop.c
parent907ea3795591b85e2f4cf1c45a4cd8c1bd783892 (diff)
downloadgcc-7446de5a2af0610d1e12b6583fbfb23e25fa3e1d.zip
gcc-7446de5a2af0610d1e12b6583fbfb23e25fa3e1d.tar.gz
gcc-7446de5a2af0610d1e12b6583fbfb23e25fa3e1d.tar.bz2
aarch64: Add support for unpacked SVE MULH
This patch extends the SMULH and UMULH support to unpacked vectors. The type suffix must be taken from the element size rather than the container size. The main use of these patterns is to support division and modulus by a constant. The conditional forms would be hard to trigger from non-ACLE code, and ACLE code needs fully-packed vectors only. gcc/ * config/aarch64/aarch64-sve.md (<su>mul<mode>3_highpart) (@aarch64_pred_<MUL_HIGHPART:optab><mode>): Extend from SVE_FULL_I to SVE_I. gcc/testsuite/ * gcc.target/aarch64/sve/mul_highpart_3.c: New test.
Diffstat (limited to 'gcc/tree-ssa-phiprop.c')
0 files changed, 0 insertions, 0 deletions