OSDN Git Service

2014-01-25 Walter Lee <walt@tilera.com>
authorwalt <walt@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 25 Jan 2014 22:43:15 +0000 (22:43 +0000)
committerwalt <walt@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 25 Jan 2014 22:43:15 +0000 (22:43 +0000)
            Backport from mainline
            2014-01-25  Walter Lee  <walt@tilera.com>

            * config/tilepro/tilepro.md (ctzdi2): Use register_operand
            predicate.
            (clzdi2): Ditto.
            (ffsdi2): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@207100 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/tilepro/tilepro.md

index edcfb71..66487d2 100644 (file)
@@ -3,6 +3,16 @@
        Backport from mainline
        2014-01-25  Walter Lee  <walt@tilera.com>
 
+       * config/tilepro/tilepro.md (ctzdi2): Use register_operand
+       predicate.
+       (clzdi2): Ditto.
+       (ffsdi2): Ditto.
+
+2014-01-25  Walter Lee  <walt@tilera.com>
+
+       Backport from mainline
+       2014-01-25  Walter Lee  <walt@tilera.com>
+
        * config/tilegx/tilegx.c (tilegx_expand_to_rtl_hook): New.
        (TARGET_EXPAND_TO_RTL_HOOK): Define.
 
index 9d5d44e..30c8d8f 100644 (file)
 
 (define_expand "ctzdi2"
   [(set (match_operand:DI 0 "register_operand" "")
-       (ctz:DI (match_operand:DI 1 "reg_or_0_operand" "")))]
+       (ctz:DI (match_operand:DI 1 "register_operand" "")))]
   ""
 {
   rtx lo, hi, ctz_lo, ctz_hi, ctz_hi_plus_32, result;
 
 (define_expand "clzdi2"
   [(set (match_operand:DI 0 "register_operand" "")
-       (clz:DI (match_operand:DI 1 "reg_or_0_operand" "")))]
+       (clz:DI (match_operand:DI 1 "register_operand" "")))]
   ""
 {
   rtx lo, hi, clz_lo, clz_hi, clz_lo_plus_32, result;
 
 (define_expand "ffsdi2"
   [(set (match_operand:DI 0 "register_operand" "")
-       (ffs:DI (match_operand:DI 1 "reg_or_0_operand" "")))]
+       (ffs:DI (match_operand:DI 1 "register_operand" "")))]
   ""
 {
   rtx lo, hi, ctz_lo, ctz_hi, ctz_hi_plus_32, ctz, ctz_plus_1,ctz_cond;