]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386: Remove 'i' from output operand constraint
authorUros Bizjak <ubizjak@gmail.com>
Fri, 14 Nov 2025 12:01:28 +0000 (13:01 +0100)
committerUros Bizjak <ubizjak@gmail.com>
Fri, 14 Nov 2025 12:06:01 +0000 (13:06 +0100)
It is not possible to use 'i' as output operand constraint.

gcc/ChangeLog:

* config/i386/i386.md (*sub<mode>_3):
Remove 'i' from operand 0 constraint.

gcc/config/i386/i386.md

index f3c8f595de91157b3712511b1ecfe6f007a171dc..b925a037b2df3d96438db2b003ca6228257ddb8b 100644 (file)
   [(set (reg FLAGS_REG)
        (compare (match_operand:SWI 1 "nonimmediate_operand" "0,0,rm,r")
                 (match_operand:SWI 2 "<general_operand>" "<r><i>,<m>,r<i>,<m>")))
-   (set (match_operand:SWI 0 "nonimmediate_operand" "=<r>m,<r>i,r,r")
+   (set (match_operand:SWI 0 "nonimmediate_operand" "=<r>m,<r>,r,r")
        (minus:SWI (match_dup 1) (match_dup 2)))]
   "ix86_match_ccmode (insn, CCmode)
    && ix86_binary_operator_ok (MINUS, <MODE>mode, operands, TARGET_APX_NDD)"