]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386: Fix invalid RTX in split2 pass [PR112567]
authorUros Bizjak <ubizjak@gmail.com>
Thu, 16 Nov 2023 15:48:07 +0000 (16:48 +0100)
committerUros Bizjak <ubizjak@gmail.com>
Thu, 16 Nov 2023 15:59:19 +0000 (16:59 +0100)
Also fix some indentitation inconsistencies.

PR target/112567

gcc/ChangeLog:

* config/i386/i386.md (*<any_logic:code>qi_ext<mode>_1_slp):
Fix generation of invalid RTX in split pattern.

gcc/config/i386/i386.md

index a364c43641feda8dcb0d25d211a83c5837fef75f..f5407ab305491f1eba355f06f6898e2af05902e6 100644 (file)
             (subreg:QI
               (match_op_dup 3
                 [(match_dup 2) (const_int 8) (const_int 8)]) 0)
-          (match_dup 0)))
+            (match_dup 0)))
       (clobber (reg:CC FLAGS_REG))])]
   ""
   [(set_attr "type" "alu")
              [(match_operand 1 "int248_register_operand" "Q")
               (const_int 8)
               (const_int 8)]) 0)
-           (subreg:QI
-             (match_operator:SWI248 4 "extract_operator"
-               [(match_operand 2 "int248_register_operand" "Q")
-                (const_int 8)
-                (const_int 8)]) 0)))
+         (subreg:QI
+           (match_operator:SWI248 4 "extract_operator"
+             [(match_operand 2 "int248_register_operand" "Q")
+              (const_int 8)
+              (const_int 8)]) 0)))
    (clobber (reg:CC FLAGS_REG))]
   "!TARGET_PARTIAL_REG_STALL || optimize_function_for_size_p (cfun)"
   "#"
             (subreg:QI
               (match_op_dup 3
                 [(match_dup 1) (const_int 8) (const_int 8)]) 0)
-          (match_dup 0)))
+            (match_dup 0)))
       (clobber (reg:CC FLAGS_REG))])]
   ""
   [(set_attr "type" "alu")
              [(match_operand 1 "int248_register_operand" "Q")
               (const_int 8)
               (const_int 8)]) 0)
-           (subreg:QI
-             (match_operator:SWI248 4 "extract_operator"
-               [(match_operand 2 "int248_register_operand" "Q")
-                (const_int 8)
-                (const_int 8)]) 0)))
+         (subreg:QI
+           (match_operator:SWI248 4 "extract_operator"
+             [(match_operand 2 "int248_register_operand" "Q")
+              (const_int 8)
+              (const_int 8)]) 0)))
    (clobber (reg:CC FLAGS_REG))]
   "!TARGET_PARTIAL_REG_STALL || optimize_function_for_size_p (cfun)"
   "#"
           (any_logic:QI
             (subreg:QI
               (match_op_dup 3
-                [(match_dup 2) (const_int 8) (const_int 8)]) 0)))
-          (match_dup 0)
+                [(match_dup 2) (const_int 8) (const_int 8)]) 0)
+            (match_dup 0)))
       (clobber (reg:CC FLAGS_REG))])]
   ""
   [(set_attr "type" "alu")
              [(match_operand 1 "int248_register_operand" "Q")
               (const_int 8)
               (const_int 8)]) 0)
-           (subreg:QI
-             (match_operator:SWI248 4 "extract_operator"
-               [(match_operand 2 "int248_register_operand" "Q")
-                (const_int 8)
-                (const_int 8)]) 0)))
+         (subreg:QI
+           (match_operator:SWI248 4 "extract_operator"
+             [(match_operand 2 "int248_register_operand" "Q")
+              (const_int 8)
+              (const_int 8)]) 0)))
    (clobber (reg:CC FLAGS_REG))]
   "!TARGET_PARTIAL_REG_STALL || optimize_function_for_size_p (cfun)"
   "#"
             (subreg:QI
               (match_op_dup 3
                 [(match_dup 1) (const_int 8) (const_int 8)]) 0)
-          (match_dup 0)))
+            (match_dup 0)))
       (clobber (reg:CC FLAGS_REG))])]
   ""
   [(set_attr "type" "alu")