i386.md (addti3, [...]): Remove FLAGS_REG clobber from expander pattern.
authorUros Bizjak <uros@gcc.gnu.org>
Sat, 28 Jun 2008 17:25:48 +0000 (19:25 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Sat, 28 Jun 2008 17:25:48 +0000 (19:25 +0200)
* config/i386/i386.md (addti3, adddi3, addsi3, addhi3, addqi3):
Remove FLAGS_REG clobber from expander pattern.
(subti3, subdi3, subsi3, subhi3, subqi3): Ditto.
(anddi3, andsi3, andhi3, andqi3): Ditto.
(iordi3, iorsi3, iorhi3, iorqi3): Ditto.
(xordi3, xorsi3, xorhi3, xorqi3): Ditto.
(negti2, negdi2, negsi2, neghi2, negqi2): Ditto.
(ashlsi3, ashlhi3, ashlqi3): Ditto.
(ashrsi3, ashrhi3, ashrqi3): Ditto.
(lshrsi3, lshrhi3, lshrqi3): Ditto.
(rotldi3, rotlsi3, rotlhi3, rotlqi3): Ditto.
(rotrdi3, rotrsi3, rotrhi3, rotrqi3): Ditto.

From-SVN: r137229

gcc/ChangeLog
gcc/config/i386/i386.md

index 8a53395b23f5a73a2e6b7bac3995d0cb1a789566..5ce26bca89c4b41a001e2a8221585c3dbdb0ca02 100644 (file)
@@ -1,3 +1,18 @@
+2008-06-28 Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (addti3, adddi3, addsi3, addhi3, addqi3):
+       Remove FLAGS_REG clobber from expander pattern.
+       (subti3, subdi3, subsi3, subhi3, subqi3): Ditto.
+       (anddi3, andsi3, andhi3, andqi3): Ditto.
+       (iordi3, iorsi3, iorhi3, iorqi3): Ditto.
+       (xordi3, xorsi3, xorhi3, xorqi3): Ditto.
+       (negti2, negdi2, negsi2, neghi2, negqi2): Ditto.
+       (ashlsi3, ashlhi3, ashlqi3): Ditto.
+       (ashrsi3, ashrhi3, ashrqi3): Ditto.
+       (lshrsi3, lshrhi3, lshrqi3): Ditto.
+       (rotldi3, rotlsi3, rotlhi3, rotlqi3): Ditto.
+       (rotrdi3, rotrsi3, rotrhi3, rotrqi3): Ditto.
+
 2008-06-28  Richard Guenther  <rguenther@suse.de>
 
        * tree-ssa-structalias.c (callused_id, var_callused,
@@ -78,8 +93,8 @@
 
 2008-06-27  Jakub Jelinek  <jakub@redhat.com>
 
-       * gimplify.c (omp_is_private): Don't return true if decl
-       is not already private on #pragma omp for or #pragma omp parallel for.
+       * gimplify.c (omp_is_private): Don't return true if decl is not
+       already private on #pragma omp for or #pragma omp parallel for.
 
        PR debug/36617
        * tree-cfg.c (struct move_stmt_d): Replace block field with
        * config/mips/mips-protos.h (mips_split_const_insns): Declare.
        * config/mips/mips.c (mips_split_const_insns): New function.
        * config/mips/mips.md (move_type): New attribute.
-       (mode): Move attribute definition earlier in file.  Add "TI"
-       and "TF".
+       (mode): Move attribute definition earlier in file.  Add "TI" and "TF".
        (dword_mode): New attribute.
        (type): Avoid long line.  Map "move_type"s to "type"s,
        choosing "multi" for doubleword moves if appropriate.
        * config/arc/arc.c (arc_init): Likewise.
        * config/arm/arm.c (neon_builtin_compare,
        locate_neon_builtin_icode): Likewise.
-       * config/arm/pe.c (arm_mark_dllexport, arm_pe_unique_section):
-       Likewise.
+       * config/arm/pe.c (arm_mark_dllexport, arm_pe_unique_section): Likewise.
        * config/bfin/bfin.c (bfin_init_machine_status,
        bfin_optimize_loop): Likewise.
        * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Likewise.
        * config/cris/cris.c (cris_init_expanders): Likewise.
        * config/darwin-c.c (frameworks_in_use, add_framework): Likewise.
        * config/darwin.c (machopic_indirection_eq,
-       machopic_indirection_name, machopic_output_indirection):
-       Likewise.
+       machopic_indirection_name, machopic_output_indirection): Likewise.
        * config/frv/frv.c (frv_init_machine_status, frv_compare_insns,
        frv_io_check_address, frv_io_handle_set, frv_io_handle_use_1,
        frv_optimize_membar): Likewise.
        * config/m68hc11/m68hc11.c (m68hc11_encode_label): Likewise.
        * config/m68k/m68k.c (m68k_handle_option,
        m68k_sched_md_init_global): Likewise.
-       * config/mcore/mcore.c (mcore_mark_dllexport,
-       mcore_mark_dllimport, mcore_unique_section): Likewise.
+       * config/mcore/mcore.c (mcore_mark_dllexport, mcore_mark_dllimport,
+       mcore_unique_section): Likewise.
        * config/mips/mips.c (mips_block_move_straight,
-       mips16_rewrite_pool_refs, mips_sim_wait_regs_2,
-       mips_sim_record_set): Likewise.
+       mips16_rewrite_pool_refs, mips_sim_wait_regs_2, mips_sim_record_set):
+       Likewise.
        * config/mmix/mmix.c (mmix_init_machine_status,
        mmix_encode_section_info): Likewise.
-       * config/pa/pa.c (pa_init_machine_status, hppa_encode_label):
-       Likewise.
+       * config/pa/pa.c (pa_init_machine_status, hppa_encode_label): Likewise.
        * config/rs6000/rs6000.c (rs6000_init_machine_status,
        print_operand_address, output_toc, redefine_groups,
        rs6000_elf_encode_section_info, machopic_output_stub): Likewise.
index 8e991abd082cd80a71700322e8c102ccaec01d67..6c3729a722fab99a7b07df7d2722f3649c8e0cde 100644 (file)
 (define_expand "addti3"
   [(set (match_operand:TI 0 "nonimmediate_operand" "")
        (plus:TI (match_operand:TI 1 "nonimmediate_operand" "")
-                (match_operand:TI 2 "x86_64_general_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+                (match_operand:TI 2 "x86_64_general_operand" "")))]
   "TARGET_64BIT"
   "ix86_expand_binary_operator (PLUS, TImode, operands); DONE;")
 
 (define_expand "adddi3"
   [(set (match_operand:DI 0 "nonimmediate_operand" "")
        (plus:DI (match_operand:DI 1 "nonimmediate_operand" "")
-                (match_operand:DI 2 "x86_64_general_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+                (match_operand:DI 2 "x86_64_general_operand" "")))]
   ""
   "ix86_expand_binary_operator (PLUS, DImode, operands); DONE;")
 
    (set_attr "mode" "QI")])
 
 (define_expand "addsi3"
-  [(parallel [(set (match_operand:SI 0 "nonimmediate_operand" "")
-                  (plus:SI (match_operand:SI 1 "nonimmediate_operand" "")
-                           (match_operand:SI 2 "general_operand" "")))
-             (clobber (reg:CC FLAGS_REG))])]
+  [(set (match_operand:SI 0 "nonimmediate_operand" "")
+       (plus:SI (match_operand:SI 1 "nonimmediate_operand" "")
+                (match_operand:SI 2 "general_operand" "")))]
   ""
   "ix86_expand_binary_operator (PLUS, SImode, operands); DONE;")
 
    (set_attr "mode" "SI")])
 
 (define_expand "addhi3"
-  [(parallel [(set (match_operand:HI 0 "nonimmediate_operand" "")
-                  (plus:HI (match_operand:HI 1 "nonimmediate_operand" "")
-                           (match_operand:HI 2 "general_operand" "")))
-             (clobber (reg:CC FLAGS_REG))])]
+  [(set (match_operand:HI 0 "nonimmediate_operand" "")
+       (plus:HI (match_operand:HI 1 "nonimmediate_operand" "")
+                (match_operand:HI 2 "general_operand" "")))]
   "TARGET_HIMODE_MATH"
   "ix86_expand_binary_operator (PLUS, HImode, operands); DONE;")
 
    (set_attr "mode" "HI")])
 
 (define_expand "addqi3"
-  [(parallel [(set (match_operand:QI 0 "nonimmediate_operand" "")
-                  (plus:QI (match_operand:QI 1 "nonimmediate_operand" "")
-                           (match_operand:QI 2 "general_operand" "")))
-             (clobber (reg:CC FLAGS_REG))])]
+  [(set (match_operand:QI 0 "nonimmediate_operand" "")
+       (plus:QI (match_operand:QI 1 "nonimmediate_operand" "")
+                (match_operand:QI 2 "general_operand" "")))]
   "TARGET_QIMODE_MATH"
   "ix86_expand_binary_operator (PLUS, QImode, operands); DONE;")
 
 ;; %%% splits for subditi3
 
 (define_expand "subti3"
-  [(parallel [(set (match_operand:TI 0 "nonimmediate_operand" "")
-                  (minus:TI (match_operand:TI 1 "nonimmediate_operand" "")
-                            (match_operand:TI 2 "x86_64_general_operand" "")))
-             (clobber (reg:CC FLAGS_REG))])]
+  [(set (match_operand:TI 0 "nonimmediate_operand" "")
+       (minus:TI (match_operand:TI 1 "nonimmediate_operand" "")
+                 (match_operand:TI 2 "x86_64_general_operand" "")))]
   "TARGET_64BIT"
   "ix86_expand_binary_operator (MINUS, TImode, operands); DONE;")
 
 ;; %%% splits for subsidi3
 
 (define_expand "subdi3"
-  [(parallel [(set (match_operand:DI 0 "nonimmediate_operand" "")
-                  (minus:DI (match_operand:DI 1 "nonimmediate_operand" "")
-                            (match_operand:DI 2 "x86_64_general_operand" "")))
-             (clobber (reg:CC FLAGS_REG))])]
+  [(set (match_operand:DI 0 "nonimmediate_operand" "")
+       (minus:DI (match_operand:DI 1 "nonimmediate_operand" "")
+                 (match_operand:DI 2 "x86_64_general_operand" "")))]
   ""
   "ix86_expand_binary_operator (MINUS, DImode, operands); DONE;")
 
    (set_attr "mode" "SI")])
 
 (define_expand "subsi3"
-  [(parallel [(set (match_operand:SI 0 "nonimmediate_operand" "")
-                  (minus:SI (match_operand:SI 1 "nonimmediate_operand" "")
-                            (match_operand:SI 2 "general_operand" "")))
-             (clobber (reg:CC FLAGS_REG))])]
+  [(set (match_operand:SI 0 "nonimmediate_operand" "")
+       (minus:SI (match_operand:SI 1 "nonimmediate_operand" "")
+                 (match_operand:SI 2 "general_operand" "")))]
   ""
   "ix86_expand_binary_operator (MINUS, SImode, operands); DONE;")
 
    (set_attr "mode" "DI")])
 
 (define_expand "subhi3"
-  [(parallel [(set (match_operand:HI 0 "nonimmediate_operand" "")
-                  (minus:HI (match_operand:HI 1 "nonimmediate_operand" "")
-                            (match_operand:HI 2 "general_operand" "")))
-             (clobber (reg:CC FLAGS_REG))])]
+  [(set (match_operand:HI 0 "nonimmediate_operand" "")
+       (minus:HI (match_operand:HI 1 "nonimmediate_operand" "")
+                 (match_operand:HI 2 "general_operand" "")))]
   "TARGET_HIMODE_MATH"
   "ix86_expand_binary_operator (MINUS, HImode, operands); DONE;")
 
    (set_attr "mode" "HI")])
 
 (define_expand "subqi3"
-  [(parallel [(set (match_operand:QI 0 "nonimmediate_operand" "")
-                  (minus:QI (match_operand:QI 1 "nonimmediate_operand" "")
-                            (match_operand:QI 2 "general_operand" "")))
-             (clobber (reg:CC FLAGS_REG))])]
+  [(set (match_operand:QI 0 "nonimmediate_operand" "")
+       (minus:QI (match_operand:QI 1 "nonimmediate_operand" "")
+                 (match_operand:QI 2 "general_operand" "")))]
   "TARGET_QIMODE_MATH"
   "ix86_expand_binary_operator (MINUS, QImode, operands); DONE;")
 
 (define_expand "anddi3"
   [(set (match_operand:DI 0 "nonimmediate_operand" "")
        (and:DI (match_operand:DI 1 "nonimmediate_operand" "")
-               (match_operand:DI 2 "x86_64_szext_general_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+               (match_operand:DI 2 "x86_64_szext_general_operand" "")))]
   "TARGET_64BIT"
   "ix86_expand_binary_operator (AND, DImode, operands); DONE;")
 
 (define_expand "andsi3"
   [(set (match_operand:SI 0 "nonimmediate_operand" "")
        (and:SI (match_operand:SI 1 "nonimmediate_operand" "")
-               (match_operand:SI 2 "general_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+               (match_operand:SI 2 "general_operand" "")))]
   ""
   "ix86_expand_binary_operator (AND, SImode, operands); DONE;")
 
 (define_expand "andhi3"
   [(set (match_operand:HI 0 "nonimmediate_operand" "")
        (and:HI (match_operand:HI 1 "nonimmediate_operand" "")
-               (match_operand:HI 2 "general_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+               (match_operand:HI 2 "general_operand" "")))]
   "TARGET_HIMODE_MATH"
   "ix86_expand_binary_operator (AND, HImode, operands); DONE;")
 
 (define_expand "andqi3"
   [(set (match_operand:QI 0 "nonimmediate_operand" "")
        (and:QI (match_operand:QI 1 "nonimmediate_operand" "")
-               (match_operand:QI 2 "general_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+               (match_operand:QI 2 "general_operand" "")))]
   "TARGET_QIMODE_MATH"
   "ix86_expand_binary_operator (AND, QImode, operands); DONE;")
 
 (define_expand "iordi3"
   [(set (match_operand:DI 0 "nonimmediate_operand" "")
        (ior:DI (match_operand:DI 1 "nonimmediate_operand" "")
-               (match_operand:DI 2 "x86_64_general_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+               (match_operand:DI 2 "x86_64_general_operand" "")))]
   "TARGET_64BIT"
   "ix86_expand_binary_operator (IOR, DImode, operands); DONE;")
 
 (define_expand "iorsi3"
   [(set (match_operand:SI 0 "nonimmediate_operand" "")
        (ior:SI (match_operand:SI 1 "nonimmediate_operand" "")
-               (match_operand:SI 2 "general_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+               (match_operand:SI 2 "general_operand" "")))]
   ""
   "ix86_expand_binary_operator (IOR, SImode, operands); DONE;")
 
 (define_expand "iorhi3"
   [(set (match_operand:HI 0 "nonimmediate_operand" "")
        (ior:HI (match_operand:HI 1 "nonimmediate_operand" "")
-               (match_operand:HI 2 "general_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+               (match_operand:HI 2 "general_operand" "")))]
   "TARGET_HIMODE_MATH"
   "ix86_expand_binary_operator (IOR, HImode, operands); DONE;")
 
 (define_expand "iorqi3"
   [(set (match_operand:QI 0 "nonimmediate_operand" "")
        (ior:QI (match_operand:QI 1 "nonimmediate_operand" "")
-               (match_operand:QI 2 "general_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+               (match_operand:QI 2 "general_operand" "")))]
   "TARGET_QIMODE_MATH"
   "ix86_expand_binary_operator (IOR, QImode, operands); DONE;")
 
 (define_expand "xordi3"
   [(set (match_operand:DI 0 "nonimmediate_operand" "")
        (xor:DI (match_operand:DI 1 "nonimmediate_operand" "")
-               (match_operand:DI 2 "x86_64_general_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+               (match_operand:DI 2 "x86_64_general_operand" "")))]
   "TARGET_64BIT"
   "ix86_expand_binary_operator (XOR, DImode, operands); DONE;")
 
 (define_expand "xorsi3"
   [(set (match_operand:SI 0 "nonimmediate_operand" "")
        (xor:SI (match_operand:SI 1 "nonimmediate_operand" "")
-               (match_operand:SI 2 "general_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+               (match_operand:SI 2 "general_operand" "")))]
   ""
   "ix86_expand_binary_operator (XOR, SImode, operands); DONE;")
 
 (define_expand "xorhi3"
   [(set (match_operand:HI 0 "nonimmediate_operand" "")
        (xor:HI (match_operand:HI 1 "nonimmediate_operand" "")
-               (match_operand:HI 2 "general_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+               (match_operand:HI 2 "general_operand" "")))]
   "TARGET_HIMODE_MATH"
   "ix86_expand_binary_operator (XOR, HImode, operands); DONE;")
 
 (define_expand "xorqi3"
   [(set (match_operand:QI 0 "nonimmediate_operand" "")
        (xor:QI (match_operand:QI 1 "nonimmediate_operand" "")
-               (match_operand:QI 2 "general_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+               (match_operand:QI 2 "general_operand" "")))]
   "TARGET_QIMODE_MATH"
   "ix86_expand_binary_operator (XOR, QImode, operands); DONE;")
 
 ;; Negation instructions
 
 (define_expand "negti2"
-  [(parallel [(set (match_operand:TI 0 "nonimmediate_operand" "")
-                  (neg:TI (match_operand:TI 1 "nonimmediate_operand" "")))
-             (clobber (reg:CC FLAGS_REG))])]
+  [(set (match_operand:TI 0 "nonimmediate_operand" "")
+       (neg:TI (match_operand:TI 1 "nonimmediate_operand" "")))]
   "TARGET_64BIT"
   "ix86_expand_unary_operator (NEG, TImode, operands); DONE;")
 
   "split_ti (&operands[0], 2, &operands[0], &operands[2]);")
 
 (define_expand "negdi2"
-  [(parallel [(set (match_operand:DI 0 "nonimmediate_operand" "")
-                  (neg:DI (match_operand:DI 1 "nonimmediate_operand" "")))
-             (clobber (reg:CC FLAGS_REG))])]
+  [(set (match_operand:DI 0 "nonimmediate_operand" "")
+       (neg:DI (match_operand:DI 1 "nonimmediate_operand" "")))]
   ""
   "ix86_expand_unary_operator (NEG, DImode, operands); DONE;")
 
 
 
 (define_expand "negsi2"
-  [(parallel [(set (match_operand:SI 0 "nonimmediate_operand" "")
-                  (neg:SI (match_operand:SI 1 "nonimmediate_operand" "")))
-             (clobber (reg:CC FLAGS_REG))])]
+  [(set (match_operand:SI 0 "nonimmediate_operand" "")
+       (neg:SI (match_operand:SI 1 "nonimmediate_operand" "")))]
   ""
   "ix86_expand_unary_operator (NEG, SImode, operands); DONE;")
 
    (set_attr "mode" "SI")])
 
 (define_expand "neghi2"
-  [(parallel [(set (match_operand:HI 0 "nonimmediate_operand" "")
-                  (neg:HI (match_operand:HI 1 "nonimmediate_operand" "")))
-             (clobber (reg:CC FLAGS_REG))])]
+  [(set (match_operand:HI 0 "nonimmediate_operand" "")
+       (neg:HI (match_operand:HI 1 "nonimmediate_operand" "")))]
   "TARGET_HIMODE_MATH"
   "ix86_expand_unary_operator (NEG, HImode, operands); DONE;")
 
    (set_attr "mode" "HI")])
 
 (define_expand "negqi2"
-  [(parallel [(set (match_operand:QI 0 "nonimmediate_operand" "")
-                  (neg:QI (match_operand:QI 1 "nonimmediate_operand" "")))
-             (clobber (reg:CC FLAGS_REG))])]
+  [(set (match_operand:QI 0 "nonimmediate_operand" "")
+       (neg:QI (match_operand:QI 1 "nonimmediate_operand" "")))]
   "TARGET_QIMODE_MATH"
   "ix86_expand_unary_operator (NEG, QImode, operands); DONE;")
 
 (define_expand "ashlsi3"
   [(set (match_operand:SI 0 "nonimmediate_operand" "")
        (ashift:SI (match_operand:SI 1 "nonimmediate_operand" "")
-                  (match_operand:QI 2 "nonmemory_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+                  (match_operand:QI 2 "nonmemory_operand" "")))]
   ""
   "ix86_expand_binary_operator (ASHIFT, SImode, operands); DONE;")
 
 (define_expand "ashlhi3"
   [(set (match_operand:HI 0 "nonimmediate_operand" "")
        (ashift:HI (match_operand:HI 1 "nonimmediate_operand" "")
-                  (match_operand:QI 2 "nonmemory_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+                  (match_operand:QI 2 "nonmemory_operand" "")))]
   "TARGET_HIMODE_MATH"
   "ix86_expand_binary_operator (ASHIFT, HImode, operands); DONE;")
 
 (define_expand "ashlqi3"
   [(set (match_operand:QI 0 "nonimmediate_operand" "")
        (ashift:QI (match_operand:QI 1 "nonimmediate_operand" "")
-                  (match_operand:QI 2 "nonmemory_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+                  (match_operand:QI 2 "nonmemory_operand" "")))]
   "TARGET_QIMODE_MATH"
   "ix86_expand_binary_operator (ASHIFT, QImode, operands); DONE;")
 
 (define_expand "ashrsi3"
   [(set (match_operand:SI 0 "nonimmediate_operand" "")
        (ashiftrt:SI (match_operand:SI 1 "nonimmediate_operand" "")
-                    (match_operand:QI 2 "nonmemory_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+                    (match_operand:QI 2 "nonmemory_operand" "")))]
   ""
   "ix86_expand_binary_operator (ASHIFTRT, SImode, operands); DONE;")
 
 (define_expand "ashrhi3"
   [(set (match_operand:HI 0 "nonimmediate_operand" "")
        (ashiftrt:HI (match_operand:HI 1 "nonimmediate_operand" "")
-                    (match_operand:QI 2 "nonmemory_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+                    (match_operand:QI 2 "nonmemory_operand" "")))]
   "TARGET_HIMODE_MATH"
   "ix86_expand_binary_operator (ASHIFTRT, HImode, operands); DONE;")
 
 (define_expand "ashrqi3"
   [(set (match_operand:QI 0 "nonimmediate_operand" "")
        (ashiftrt:QI (match_operand:QI 1 "nonimmediate_operand" "")
-                    (match_operand:QI 2 "nonmemory_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+                    (match_operand:QI 2 "nonmemory_operand" "")))]
   "TARGET_QIMODE_MATH"
   "ix86_expand_binary_operator (ASHIFTRT, QImode, operands); DONE;")
 
 (define_expand "lshrsi3"
   [(set (match_operand:SI 0 "nonimmediate_operand" "")
        (lshiftrt:SI (match_operand:SI 1 "nonimmediate_operand" "")
-                    (match_operand:QI 2 "nonmemory_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+                    (match_operand:QI 2 "nonmemory_operand" "")))]
   ""
   "ix86_expand_binary_operator (LSHIFTRT, SImode, operands); DONE;")
 
 (define_expand "lshrhi3"
   [(set (match_operand:HI 0 "nonimmediate_operand" "")
        (lshiftrt:HI (match_operand:HI 1 "nonimmediate_operand" "")
-                    (match_operand:QI 2 "nonmemory_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+                    (match_operand:QI 2 "nonmemory_operand" "")))]
   "TARGET_HIMODE_MATH"
   "ix86_expand_binary_operator (LSHIFTRT, HImode, operands); DONE;")
 
 (define_expand "lshrqi3"
   [(set (match_operand:QI 0 "nonimmediate_operand" "")
        (lshiftrt:QI (match_operand:QI 1 "nonimmediate_operand" "")
-                    (match_operand:QI 2 "nonmemory_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+                    (match_operand:QI 2 "nonmemory_operand" "")))]
   "TARGET_QIMODE_MATH"
   "ix86_expand_binary_operator (LSHIFTRT, QImode, operands); DONE;")
 
 (define_expand "rotldi3"
   [(set (match_operand:DI 0 "shiftdi_operand" "")
        (rotate:DI (match_operand:DI 1 "shiftdi_operand" "")
-                  (match_operand:QI 2 "nonmemory_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+                  (match_operand:QI 2 "nonmemory_operand" "")))]
  ""
 {
   if (TARGET_64BIT)
 (define_expand "rotlsi3"
   [(set (match_operand:SI 0 "nonimmediate_operand" "")
        (rotate:SI (match_operand:SI 1 "nonimmediate_operand" "")
-                  (match_operand:QI 2 "nonmemory_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+                  (match_operand:QI 2 "nonmemory_operand" "")))]
   ""
   "ix86_expand_binary_operator (ROTATE, SImode, operands); DONE;")
 
 (define_expand "rotlhi3"
   [(set (match_operand:HI 0 "nonimmediate_operand" "")
        (rotate:HI (match_operand:HI 1 "nonimmediate_operand" "")
-                  (match_operand:QI 2 "nonmemory_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+                  (match_operand:QI 2 "nonmemory_operand" "")))]
   "TARGET_HIMODE_MATH"
   "ix86_expand_binary_operator (ROTATE, HImode, operands); DONE;")
 
 (define_expand "rotlqi3"
   [(set (match_operand:QI 0 "nonimmediate_operand" "")
        (rotate:QI (match_operand:QI 1 "nonimmediate_operand" "")
-                  (match_operand:QI 2 "nonmemory_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+                  (match_operand:QI 2 "nonmemory_operand" "")))]
   "TARGET_QIMODE_MATH"
   "ix86_expand_binary_operator (ROTATE, QImode, operands); DONE;")
 
 (define_expand "rotrdi3"
   [(set (match_operand:DI 0 "shiftdi_operand" "")
        (rotate:DI (match_operand:DI 1 "shiftdi_operand" "")
-                  (match_operand:QI 2 "nonmemory_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+                  (match_operand:QI 2 "nonmemory_operand" "")))]
  ""
 {
   if (TARGET_64BIT)
 (define_expand "rotrsi3"
   [(set (match_operand:SI 0 "nonimmediate_operand" "")
        (rotatert:SI (match_operand:SI 1 "nonimmediate_operand" "")
-                    (match_operand:QI 2 "nonmemory_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+                    (match_operand:QI 2 "nonmemory_operand" "")))]
   ""
   "ix86_expand_binary_operator (ROTATERT, SImode, operands); DONE;")
 
 (define_expand "rotrhi3"
   [(set (match_operand:HI 0 "nonimmediate_operand" "")
        (rotatert:HI (match_operand:HI 1 "nonimmediate_operand" "")
-                    (match_operand:QI 2 "nonmemory_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+                    (match_operand:QI 2 "nonmemory_operand" "")))]
   "TARGET_HIMODE_MATH"
   "ix86_expand_binary_operator (ROTATERT, HImode, operands); DONE;")
 
 (define_expand "rotrqi3"
   [(set (match_operand:QI 0 "nonimmediate_operand" "")
        (rotatert:QI (match_operand:QI 1 "nonimmediate_operand" "")
-                    (match_operand:QI 2 "nonmemory_operand" "")))
-   (clobber (reg:CC FLAGS_REG))]
+                    (match_operand:QI 2 "nonmemory_operand" "")))]
   "TARGET_QIMODE_MATH"
   "ix86_expand_binary_operator (ROTATERT, QImode, operands); DONE;")