From e2d2a8ff4f0dd37336714a25623cc877cf5812b0 Mon Sep 17 00:00:00 2001 From: Roger Sayle Date: Fri, 1 Jul 2022 11:14:12 +0100 Subject: [PATCH] [Committed] Add constraints to new andn_doubleword_bmi pattern in i386.md. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Many thanks to Uros for spotting that I'd forgotten to add constraints to the new define_insn_and_split *andn_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 Uroš Bizjak gcc/ChangeLog * config/i386/i386.md (*andn3_doubleword_bmi): Add constraints to post-reload define_insn_and_split. --- gcc/config/i386/i386.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 34018144e5f..352a21c585c 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -10405,10 +10405,10 @@ }) (define_insn_and_split "*andn3_doubleword_bmi" - [(set (match_operand: 0 "register_operand") + [(set (match_operand: 0 "register_operand" "=r") (and: - (not: (match_operand: 1 "register_operand")) - (match_operand: 2 "nonimmediate_operand"))) + (not: (match_operand: 1 "register_operand" "0")) + (match_operand: 2 "nonimmediate_operand" "ro"))) (clobber (reg:CC FLAGS_REG))] "TARGET_BMI" "#" -- 2.47.2