When i'm working on PR98348, i notice there's Typo in define_insn
"*one_cmpl<mode>2_1", There are 2 alternatives, so the index couldn't
be 2.
  Bootstrap and regress test is ok on x86_64-unknown-linux.

gcc/ChangeLog

        * config/i386/i386.md (*one_cmpl<mode>2_1): Fix typo, change
        alternative from 2 to 1 in attr isa.

1 file changed, 1 insertion(+), 1 deletion(-)
gcc/config/i386/i386.md | 2 +-

modified   gcc/config/i386/i386.md
@@ -10561,7 +10561,7 @@ (define_insn "*one_cmpl<mode>2_1"
    not{<imodesuffix>}\t%0
    #"
   [(set (attr "isa")
- (cond [(eq_attr "alternative" "2")
+ (cond [(eq_attr "alternative" "1")
  (if_then_else (eq_attr "mode" "SI,DI")
     (const_string "avx512bw")

-- 
BR,
Hongtao

Reply via email to