From 9020ff272bbe43bc95f9b910763bb575e176905c Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Tue, 13 Mar 2012 20:15:15 +0100 Subject: [PATCH] i386.md (xbegin): Remove constraint from expander. * config/i386/i386.md (xbegin): Remove constraint from expander. From-SVN: r185351 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/i386.md | 6 +++--- 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,3 +1,7 @@ +2012-03-13 Uros Bizjak + + * config/i386/i386.md (xbegin): Remove constraint from expander. + 2012-03-13 Uros Bizjak * config/i386/predicates.md (constant_call_address_operand): Declare 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; })