aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>2023-06-07 16:18:01 +0100
committerKyrylo Tkachov <kyrylo.tkachov@arm.com>2023-06-07 16:18:01 +0100
commita053c659f6bbc2d2eaf61fb3aad8c52899d0deb7 (patch)
treeee56405f5f777f5fa15e7c05c2c0116658ca7a11 /libgcc
parent000f8b9a6a0ec7eaae9535e73c8f4fc3ea10a364 (diff)
downloadgcc-a053c659f6bbc2d2eaf61fb3aad8c52899d0deb7.zip
gcc-a053c659f6bbc2d2eaf61fb3aad8c52899d0deb7.tar.gz
gcc-a053c659f6bbc2d2eaf61fb3aad8c52899d0deb7.tar.bz2
aarch64: Improve RTL representation of ADDP instructions
Similar to the ADDLP instructions the non-widening ADDP ones can be represented by adding the odd lanes with the even lanes of a vector. These instructions take two vector inputs and the architecture spec describes the operation as concatenating them together before going through it with pairwise additions. This patch chooses to represent ADDP on 64-bit and 128-bit input vectors slightly differently, reasons explained in the comments in aarhc64-simd.md. Bootstrapped and tested on aarch64-none-linux-gnu and aarch64_be-none-elf. gcc/ChangeLog: * config/aarch64/aarch64-simd.md (aarch64_addp<mode><vczle><vczbe>): Reimplement as... (aarch64_addp<mode>_insn): ... This... (aarch64_addp<mode><vczle><vczbe>_insn): ... And this. (aarch64_addp<mode>): New define_expand.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions