backport: tilepro.md (ctzdi2): Use register_operand predicate.

2014-01-25  Walter Lee  <walt@tilera.com>

            Backport from mainline
            2014-01-25  Walter Lee  <walt@tilera.com>

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

From-SVN: r207100
This commit is contained in:
Walter Lee 2014-01-25 22:43:15 +00:00 committed by Walter Lee
parent 4d4e3675cc
commit 13d0888f30
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,13 @@
2014-01-25 Walter Lee <walt@tilera.com>
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

View File

@ -796,7 +796,7 @@
(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;
@ -824,7 +824,7 @@
(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;
@ -852,7 +852,7 @@
(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;