From 758fd97f396ce3c913a777d4256378963236cdef Mon Sep 17 00:00:00 2001 From: krebbel Date: Mon, 7 Oct 2013 07:50:25 +0000 Subject: 2013-10-07 Andreas Krebbel * 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 * 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 --- gcc/config/s390/s390.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'gcc/config/s390/s390.md') 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)] -- cgit v1.2.1