2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-10 03:20:27 +08:00

* config/rs6000/constraints.md (Y, U): Use match_test.

From-SVN: r223702
This commit is contained in:
David Edelsohn 2015-05-26 15:16:35 +00:00 committed by David Edelsohn
parent 28c206e10c
commit efac9d455f
2 changed files with 6 additions and 2 deletions
gcc

@ -1,3 +1,7 @@
2015-05-26 David Edelsohn <dje.gcc@gmail.com>
* config/rs6000/constraints.md (Y, U): Use match_test.
2015-05-26 Christian Bruel <christian.bruel@st.com>
PR target/52144

@ -211,7 +211,7 @@ to use @samp{m} or @samp{es} in @code{asm} statements)"
(define_memory_constraint "Y"
"memory operand for 8 byte and 16 byte gpr load/store"
(and (match_code "mem")
(match_operand 0 "mem_operand_gpr")))
(match_test "mem_operand_gpr (op, mode)")))
(define_memory_constraint "Z"
"Memory operand that is an indexed or indirect from a register (it is
@ -242,7 +242,7 @@ usually better to use @samp{m} or @samp{es} in @code{asm} statements)"
(define_constraint "U"
"V.4 small data reference"
(and (match_test "DEFAULT_ABI == ABI_V4")
(match_operand 0 "small_data_operand")))
(match_test "small_data_operand (op, mode)")))
(define_constraint "t"
"AND masks that can be performed by two rldic{l,r} insns