diff options
author | Roger Sayle <roger@nextmovesoftware.com> | 2022-07-01 11:14:12 +0100 |
---|---|---|
committer | Roger Sayle <roger@nextmovesoftware.com> | 2022-07-01 11:14:12 +0100 |
commit | e2d2a8ff4f0dd37336714a25623cc877cf5812b0 (patch) | |
tree | 241605c0307203d29f9eeb1d34d3bde4be795f74 | |
parent | e0466d32eb3422e6d206a16845e4e594d3a0f2b2 (diff) | |
download | gcc-e2d2a8ff4f0dd37336714a25623cc877cf5812b0.zip gcc-e2d2a8ff4f0dd37336714a25623cc877cf5812b0.tar.gz gcc-e2d2a8ff4f0dd37336714a25623cc877cf5812b0.tar.bz2 |
[Committed] Add constraints to new andn<dwi>_doubleword_bmi pattern in i386.md.
Many thanks to Uros for spotting that I'd forgotten to add constraints
to the new define_insn_and_split *andn<dwi>_doubleword_bmi when moving it
from pre-reload to post-reload. I've pushed this obvious fix after a
make bootstrap on x86_64-pc-linux-gnu. Sorry for the inconvenience to
anyone building the tree with a non-default architecture that enables
BMI.
2022-07-01 Roger Sayle <roger@nextmovesoftware.com>
Uroš Bizjak <ubizjak@gmail.com>
gcc/ChangeLog
* config/i386/i386.md (*andn<mode>3_doubleword_bmi): Add constraints
to post-reload define_insn_and_split.
-rw-r--r-- | gcc/config/i386/i386.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 3401814..352a21c 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -10405,10 +10405,10 @@ }) (define_insn_and_split "*andn<mode>3_doubleword_bmi" - [(set (match_operand:<DWI> 0 "register_operand") + [(set (match_operand:<DWI> 0 "register_operand" "=r") (and:<DWI> - (not:<DWI> (match_operand:<DWI> 1 "register_operand")) - (match_operand:<DWI> 2 "nonimmediate_operand"))) + (not:<DWI> (match_operand:<DWI> 1 "register_operand" "0")) + (match_operand:<DWI> 2 "nonimmediate_operand" "ro"))) (clobber (reg:CC FLAGS_REG))] "TARGET_BMI" "#" |