aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2012-03-13 20:15:15 +0100
committerUros Bizjak <uros@gcc.gnu.org>2012-03-13 20:15:15 +0100
commit9020ff272bbe43bc95f9b910763bb575e176905c (patch)
tree81e4b74d9f9e8be68acadb888e5a33678cc869ab /gcc
parent6e5c8423e88f6795a2be0b76de4b5c96d9919d24 (diff)
downloadgcc-9020ff272bbe43bc95f9b910763bb575e176905c.zip
gcc-9020ff272bbe43bc95f9b910763bb575e176905c.tar.gz
gcc-9020ff272bbe43bc95f9b910763bb575e176905c.tar.bz2
i386.md (xbegin): Remove constraint from expander.
* config/i386/i386.md (xbegin): Remove constraint from expander. From-SVN: r185351
Diffstat (limited to 'gcc')
-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 2c10e36..59aecb8 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 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;
})