From b6833dc97f5b555b2c0ceaa34b14919c84874686 Mon Sep 17 00:00:00 2001 From: uros Date: Tue, 13 Mar 2012 19:15:15 +0000 Subject: [PATCH] * config/i386/i386.md (xbegin): Remove constraint from expander. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185351 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 2c10e36..59aecb8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 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 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 a755574..eae26ae 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; }) -- 2.7.4