* config/i386/i386.md (xbegin): Remove constraint from expander.
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Mar 2012 19:15:15 +0000 (19:15 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Mar 2012 19:15:15 +0000 (19:15 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185351 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 2c10e36..59aecb8 100644 (file)
@@ -1,5 +1,9 @@
 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
        as special predicate.  Update all uses.
        * config/i386/i386.md: Remove mode from constant_call_address_operand
index a755574..eae26ae 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;
 })