Message ID | mptzga6n9ce.fsf@arm.com |
---|---|
State | New |
Headers | show |
Series | [pushed] aarch64: Restore generation of SVE UQDEC instructions | expand |
diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index e4d7587aac7..0b326d497b4 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -4457,8 +4457,9 @@ (define_expand "umax<mode>3" { if (aarch64_sve_cnt_immediate (operands[1], <MODE>mode)) std::swap (operands[1], operands[2]); - else if (!aarch64_sve_cnt_immediate (operands[2], <MODE>mode) - && TARGET_CSSC) + else if (aarch64_sve_cnt_immediate (operands[2], <MODE>mode)) + ; + else if (TARGET_CSSC) { if (aarch64_uminmax_immediate (operands[1], <MODE>mode)) std::swap (operands[1], operands[2]);