summaryrefslogtreecommitdiff
path: root/gcc/config/s390/s390.md
diff options
context:
space:
mode:
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>2013-10-07 07:50:25 +0000
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>2013-10-07 07:50:25 +0000
commit758fd97f396ce3c913a777d4256378963236cdef (patch)
tree644e37d1107cff6b03cc1ec491d9e08343ab9a94 /gcc/config/s390/s390.md
parent8906a533456b990c3923b0c7b85938807c276d81 (diff)
downloadgcc-758fd97f396ce3c913a777d4256378963236cdef.tar.gz
2013-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.md ("tbegin", "tbegin_nofloat", "tbegin_retry") ("tbegin_retry_nofloat", "tend", "tabort", "tx_assist"): Remove constraint letters from expanders. ("tbegin_retry", "tbegin_retry_nofloat"): Change predicate of the retry count to general_operand. ("tabort"): Give operand 0 a mode. ("tabort_1"): Add mode and constraint letter for operand 0. * doc/extend.texi: Fix protoype of __builtin_non_tx_store. 2013-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gcc.target/s390/htm-1.c: Add more tests to cover different operand types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203239 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/s390/s390.md')
-rw-r--r--gcc/config/s390/s390.md28
1 files changed, 14 insertions, 14 deletions
diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md
index cf9ef774675..bb1408efd81 100644
--- a/gcc/config/s390/s390.md
+++ b/gcc/config/s390/s390.md
@@ -9962,8 +9962,8 @@
; Non-constrained transaction begin
(define_expand "tbegin"
- [(match_operand:SI 0 "register_operand" "=d")
- (match_operand:BLK 1 "memory_operand" "=Q")]
+ [(match_operand:SI 0 "register_operand" "")
+ (match_operand:BLK 1 "memory_operand" "")]
"TARGET_HTM"
{
s390_expand_tbegin (operands[0], operands[1], NULL_RTX, true);
@@ -9971,8 +9971,8 @@
})
(define_expand "tbegin_nofloat"
- [(match_operand:SI 0 "register_operand" "=d")
- (match_operand:BLK 1 "memory_operand" "=Q")]
+ [(match_operand:SI 0 "register_operand" "")
+ (match_operand:BLK 1 "memory_operand" "")]
"TARGET_HTM"
{
s390_expand_tbegin (operands[0], operands[1], NULL_RTX, false);
@@ -9980,9 +9980,9 @@
})
(define_expand "tbegin_retry"
- [(match_operand:SI 0 "register_operand" "=d")
- (match_operand:BLK 1 "memory_operand" "=Q")
- (match_operand 2 "const_int_operand")]
+ [(match_operand:SI 0 "register_operand" "")
+ (match_operand:BLK 1 "memory_operand" "")
+ (match_operand:SI 2 "general_operand" "")]
"TARGET_HTM"
{
s390_expand_tbegin (operands[0], operands[1], operands[2], true);
@@ -9990,9 +9990,9 @@
})
(define_expand "tbegin_retry_nofloat"
- [(match_operand:SI 0 "register_operand" "=d")
- (match_operand:BLK 1 "memory_operand" "=Q")
- (match_operand 2 "const_int_operand")]
+ [(match_operand:SI 0 "register_operand" "")
+ (match_operand:BLK 1 "memory_operand" "")
+ (match_operand:SI 2 "general_operand" "")]
"TARGET_HTM"
{
s390_expand_tbegin (operands[0], operands[1], operands[2], false);
@@ -10059,7 +10059,7 @@
(define_expand "tend"
[(set (reg:CCRAW CC_REGNUM)
(unspec_volatile:CCRAW [(const_int 0)] UNSPECV_TEND))
- (set (match_operand:SI 0 "register_operand" "=d")
+ (set (match_operand:SI 0 "register_operand" "")
(unspec:SI [(reg:CCRAW CC_REGNUM)] UNSPEC_CC_TO_INT))]
"TARGET_HTM"
"")
@@ -10074,7 +10074,7 @@
; Transaction abort
(define_expand "tabort"
- [(unspec_volatile [(match_operand 0 "shift_count_or_setmem_operand" "")]
+ [(unspec_volatile [(match_operand:SI 0 "shift_count_or_setmem_operand" "")]
UNSPECV_TABORT)]
"TARGET_HTM && operands != NULL"
{
@@ -10089,7 +10089,7 @@
})
(define_insn "*tabort_1"
- [(unspec_volatile [(match_operand 0 "shift_count_or_setmem_operand" "")]
+ [(unspec_volatile [(match_operand:SI 0 "shift_count_or_setmem_operand" "Y")]
UNSPECV_TABORT)]
"TARGET_HTM && operands != NULL"
"tabort\t%Y0"
@@ -10118,7 +10118,7 @@
(define_expand "tx_assist"
[(set (match_dup 1) (const_int 0))
- (unspec_volatile [(match_operand:SI 0 "register_operand" "d")
+ (unspec_volatile [(match_operand:SI 0 "register_operand" "")
(match_dup 1)
(const_int 1)]
UNSPECV_PPA)]