]> git.ipfire.org Git - thirdparty/gcc.git/commit
aarch64: Refactor SVE predicated-to-unpredicated splits
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 20 Nov 2024 13:27:39 +0000 (13:27 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Wed, 20 Nov 2024 13:27:39 +0000 (13:27 +0000)
commit338121378003260ace30295f47e17b74aa5b7d17
treeb8d78d419866421bfbf6071b4ceb4c0b06de21f0
parent12c60ff1ffd03410eb583c4231188f431ae81fa8
aarch64: Refactor SVE predicated-to-unpredicated splits

There are separate patterns for predicated FADD, FSUB, and FMUL.
Previously they each had their own in-built split to convert the
instruction to unpredicated form where appropriate.  However, it's
more convenient for later patches if we use a single separate split
instead.

gcc/
* config/aarch64/iterators.md (SVE_COND_FP): New code attribute.
* config/aarch64/aarch64-sve.md: Use a single define_split to
handle the conversion of predicated FADD, FSUB, and FMUL into
unpredicated forms.
gcc/config/aarch64/aarch64-sve.md
gcc/config/aarch64/iterators.md