From: Uros Bizjak Date: Fri, 1 Jul 2022 15:25:03 +0000 (+0200) Subject: i386: Use "r" constraint in *andn3_doubleword_bmi X-Git-Tag: basepoints/gcc-14~5812 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f843bea4ca5613cb713f8b9313daa3938f254a05;p=thirdparty%2Fgcc.git i386: Use "r" constraint in *andn3_doubleword_bmi ANDN is non-destructive, so use "r" instead of "0" for its operand 1 constraint. 2022-07-01 Uroš Bizjak gcc/ChangeLog: * config/i386/i386.md (*andn3_doubleword_bmi): Use "r" constraint for operand 1. --- diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 352a21c585c..20c3b9a4122 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -10407,7 +10407,7 @@ (define_insn_and_split "*andn3_doubleword_bmi" [(set (match_operand: 0 "register_operand" "=r") (and: - (not: (match_operand: 1 "register_operand" "0")) + (not: (match_operand: 1 "register_operand" "r")) (match_operand: 2 "nonimmediate_operand" "ro"))) (clobber (reg:CC FLAGS_REG))] "TARGET_BMI"