aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-02-22 08:49:41 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1995-02-22 08:49:41 -0500
commit242e8072bb759f3512c7c3b5b467d08bb44afd3e (patch)
treef564b2e4807cd22a99bae63d9f0dfc7c90e9aac8 /gcc
parent94d7001a79071c2e528c38e9a6e4b6b5b12c4beb (diff)
downloadgcc-242e8072bb759f3512c7c3b5b467d08bb44afd3e.zip
gcc-242e8072bb759f3512c7c3b5b467d08bb44afd3e.tar.gz
gcc-242e8072bb759f3512c7c3b5b467d08bb44afd3e.tar.bz2
(ffssi2): Use gpc_reg_operand predicate.
(Some maskir patterns): Likewise. (ffsdi2): Likewise. From-SVN: r9032
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/rs6000/rs6000.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 47215d2..ee1f2c7 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -1040,8 +1040,8 @@
[(set_attr "type" "compare")])
(define_insn "ffssi2"
- [(set (match_operand:SI 0 "register_operand" "=&r")
- (ffs:SI (match_operand:SI 1 "register_operand" "r")))]
+ [(set (match_operand:SI 0 "gpc_reg_operand" "=&r")
+ (ffs:SI (match_operand:SI 1 "gpc_reg_operand" "r")))]
""
"neg %0,%1\;and %0,%0,%1\;{cntlz|cntlzw} %0,%0\;{sfi|subfic} %0,%0,32"
[(set_attr "length" "16")])
@@ -1764,7 +1764,7 @@
"maskir %0,%3,%2")
(define_insn ""
- [(set (match_operand:SI 0 "register_operand" "=r")
+ [(set (match_operand:SI 0 "gpc_reg_operand" "=r")
(ior:SI (and:SI (not:SI (match_operand:SI 2 "gpc_reg_operand" "r"))
(match_operand:SI 1 "gpc_reg_operand" "0"))
(and:SI (match_operand:SI 3 "gpc_reg_operand" "r")
@@ -1813,7 +1813,7 @@
(and:SI (match_operand:SI 3 "gpc_reg_operand" "r")
(match_dup 2)))
(const_int 0)))
- (set (match_operand:SI 0 "register_operand" "=r")
+ (set (match_operand:SI 0 "gpc_reg_operand" "=r")
(ior:SI (and:SI (not:SI (match_dup 2)) (match_dup 1))
(and:SI (match_dup 3) (match_dup 2))))]
"TARGET_POWER"
@@ -3559,8 +3559,8 @@
;; PowerPC64 DImode operations.
(define_insn "ffsdi2"
- [(set (match_operand:DI 0 "register_operand" "=&r")
- (ffs:DI (match_operand:DI 1 "register_operand" "r")))]
+ [(set (match_operand:DI 0 "gpc_reg_operand" "=&r")
+ (ffs:DI (match_operand:DI 1 "gpc_reg_operand" "r")))]
"TARGET_POWERPC64"
"neg %0,%1\;and %0,%0,%1\;cntlzd %0,%0\;subfic %0,%0,64"
[(set_attr "length" "16")])