summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/i386.md6
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2c10e360a5b..59aecb88983 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index a755574150e..eae26aedef9 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -18206,7 +18206,7 @@
(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"
{
@@ -18258,8 +18258,8 @@
{
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;
})