diff mbox

[i386] : Merge some operand constraints

Message ID CAFULd4aTi7C3NBW5npwTvU_0t7JabY192bGjh09Rs4JrAj7MGg@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Nov. 14, 2016, 4:53 p.m. UTC
No functional changes.

2016-11-14  Uros Bizjak  <ubizjak@gmail.com>

    * config/i386/i386.md (*andndi3_doubleword): Merge operand constraints.
    (*ashl<mode>3_doubleword): Ditto.

Bootstrapped and regression tested on x86_64-linux-gnu, committed to
mainline SVN.

Uros.
diff mbox

Patch

diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index ac2650b..7db04ce 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -8745,10 +8745,10 @@ 
 })
 
 (define_insn_and_split "*andndi3_doubleword"
-  [(set (match_operand:DI 0 "register_operand" "=r,r")
+  [(set (match_operand:DI 0 "register_operand" "=r")
 	(and:DI
-	  (not:DI (match_operand:DI 1 "register_operand" "r,r"))
-	  (match_operand:DI 2 "nonimmediate_operand" "r,m")))
+	  (not:DI (match_operand:DI 1 "register_operand" "r"))
+	  (match_operand:DI 2 "nonimmediate_operand" "rm")))
    (clobber (reg:CC FLAGS_REG))]
   "TARGET_BMI && !TARGET_64BIT && TARGET_STV && TARGET_SSE"
   "#"
@@ -9704,9 +9704,9 @@ 
   "ix86_expand_binary_operator (ASHIFT, <MODE>mode, operands); DONE;")
 
 (define_insn "*ashl<mode>3_doubleword"
-  [(set (match_operand:DWI 0 "register_operand" "=&r,&r")
-	(ashift:DWI (match_operand:DWI 1 "reg_or_pm1_operand" "n,0")
-		    (match_operand:QI 2 "nonmemory_operand" "<S>c,<S>c")))
+  [(set (match_operand:DWI 0 "register_operand" "=&r")
+	(ashift:DWI (match_operand:DWI 1 "reg_or_pm1_operand" "0n")
+		    (match_operand:QI 2 "nonmemory_operand" "<S>c")))
    (clobber (reg:CC FLAGS_REG))]
   ""
   "#"