i386.md (xbegin): Remove constraint from expander.
authorUros Bizjak <ubizjak@gmail.com>
Tue, 13 Mar 2012 19:15:15 +0000 (20:15 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 13 Mar 2012 19:15:15 +0000 (20:15 +0100)
* config/i386/i386.md (xbegin): Remove constraint from expander.

From-SVN: r185351

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

index 2c10e360a5be0aeae164edadc5a0b4563f2807f0..59aecb889838828fb7d48ee3be9929222c261295 100644 (file)
@@ -1,3 +1,7 @@
+2012-03-13  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (xbegin): Remove constraint from expander.
+
 2012-03-13  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/predicates.md (constant_call_address_operand): Declare
index a755574150e6712873ad4204c8b6f9d79800816f..eae26aedef94c5adaf81addf12c377bfbcff2458 100644 (file)
    (set_attr "memory" "unknown")])
 
 (define_expand "xbegin"
-  [(set (match_operand:SI 0 "register_operand" "=a")
+  [(set (match_operand:SI 0 "register_operand" "")
        (unspec_volatile:SI [(match_dup 1)] UNSPECV_XBEGIN))]
   "TARGET_RTM"
 {
 {
   emit_insn (gen_xtest_1 ());
 
-  ix86_expand_setcc (operands[0], EQ, gen_rtx_REG (CCZmode, FLAGS_REG), const0_rtx);
-
+  ix86_expand_setcc (operands[0], EQ,
+                    gen_rtx_REG (CCZmode, FLAGS_REG), const0_rtx);
   DONE;
 })