public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, i386]: Fix xop_vmfrcz<mode>2 expander
@ 2014-02-13 16:49 Uros Bizjak
  0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2014-02-13 16:49 UTC (permalink / raw)
  To: gcc-patches

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

Hello!

No functional changes.

2014-02-13  Uros Bizjak  <ubizjak@gmail.com>

    * config/i386/sse.md (xop_vmfrcz<mode>2): Generate const0 in
    operands[2], not operands[3].

Tested on x86_64-pc-linux-gnu {,-m32} and committed to mainline SVN.

Uros.

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

Index: config/i386/sse.md
===================================================================
--- config/i386/sse.md	(revision 207762)
+++ config/i386/sse.md	(working copy)
@@ -13618,10 +13618,10 @@
 	  (unspec:VF_128
 	   [(match_operand:VF_128 1 "nonimmediate_operand")]
 	   UNSPEC_FRCZ)
-	  (match_dup 3)
+	  (match_dup 2)
 	  (const_int 1)))]
   "TARGET_XOP"
-  "operands[3] = CONST0_RTX (<MODE>mode);")
+  "operands[2] = CONST0_RTX (<MODE>mode);")
 
 (define_insn "*xop_vmfrcz<mode>2"
   [(set (match_operand:VF_128 0 "register_operand" "=x")

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

only message in thread, other threads:[~2014-02-13 16:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-13 16:49 [PATCH, i386]: Fix xop_vmfrcz<mode>2 expander 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).