diff mbox

[i386] : Fix xop_vmfrcz<mode>2 expander

Message ID CAFULd4YjrO3jQgfy2qzFnjj+9VJ+VL0_TA6miM5ku8npgQVwBQ@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Feb. 13, 2014, 4:49 p.m. UTC
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.
diff mbox

Patch

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