From: David Edelsohn Date: Tue, 26 May 2015 15:16:35 +0000 (+0000) Subject: * config/rs6000/constraints.md (Y, U): Use match_test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=efac9d455f2c142a4e43c7ebc13d50f4a5ebe890;p=gcc.git * config/rs6000/constraints.md (Y, U): Use match_test. From-SVN: r223702 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e82dda010dc..23e92d8e1cb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-05-26 David Edelsohn + + * config/rs6000/constraints.md (Y, U): Use match_test. + 2015-05-26 Christian Bruel PR target/52144 diff --git a/gcc/config/rs6000/constraints.md b/gcc/config/rs6000/constraints.md index eb3ffbe73c5..7fc635b07a7 100644 --- a/gcc/config/rs6000/constraints.md +++ b/gcc/config/rs6000/constraints.md @@ -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