public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, i386]: Merge some operand constraints
@ 2016-11-14 16:53 Uros Bizjak
  0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2016-11-14 16:53 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 275 bytes --]

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.

[-- Attachment #2: p.diff.txt --]
[-- Type: text/plain, Size: 1220 bytes --]

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))]
   ""
   "#"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-14 16:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-14 16:53 [PATCH, i386]: Merge some operand constraints Uros Bizjak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).