mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 13:54:19 +08:00
aarch64: Generalise vec_set predicate
The aarch64_simd_vec_set<mode> define_insn takes memory operands, so this patch makes the vec_set<mode> optab expander do the same. gcc/ * config/aarch64/aarch64-simd.md (vec_set<mode>): Allow the element to be an aarch64_simd_nonimmediate_operand.
This commit is contained in:
parent
c48a6819d1
commit
fabc5d9bce
@ -1378,7 +1378,7 @@
|
||||
|
||||
(define_expand "vec_set<mode>"
|
||||
[(match_operand:VALL_F16 0 "register_operand")
|
||||
(match_operand:<VEL> 1 "register_operand")
|
||||
(match_operand:<VEL> 1 "aarch64_simd_nonimmediate_operand")
|
||||
(match_operand:SI 2 "immediate_operand")]
|
||||
"TARGET_SIMD"
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user