diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-05-27 16:38:54 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-05-27 16:38:54 -0400 |
commit | d46f42a50a60cd92500b440fc9b862f3b8932dc7 (patch) | |
tree | 987abc115b06c09877103962b47ecdd50f4ed631 | |
parent | 8395de26d01726c7d2478b5abee23b0beb9d71b0 (diff) | |
download | gcc-d46f42a50a60cd92500b440fc9b862f3b8932dc7.zip gcc-d46f42a50a60cd92500b440fc9b862f3b8932dc7.tar.gz gcc-d46f42a50a60cd92500b440fc9b862f3b8932dc7.tar.bz2 |
(iordi3): Rename ior_operand to or_operand.
(xordi3): Use or_operand and add second alternative.
(eqv): Only accept registers.
From-SVN: r7369
-rw-r--r-- | gcc/config/alpha/alpha.md | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/gcc/config/alpha/alpha.md b/gcc/config/alpha/alpha.md index 4d1a051..8b19099 100644 --- a/gcc/config/alpha/alpha.md +++ b/gcc/config/alpha/alpha.md @@ -642,7 +642,7 @@ (define_insn "iordi3" [(set (match_operand:DI 0 "register_operand" "=r,r") (ior:DI (match_operand:DI 1 "reg_or_0_operand" "%rJ,rJ") - (match_operand:DI 2 "ior_operand" "rI,N")))] + (match_operand:DI 2 "or_operand" "rI,N")))] "" "@ bis %r1,%2,%0 @@ -665,17 +665,19 @@ [(set_attr "type" "iaddlog")]) (define_insn "xordi3" - [(set (match_operand:DI 0 "register_operand" "=r") - (xor:DI (match_operand:DI 1 "reg_or_0_operand" "%rJ") - (match_operand:DI 2 "reg_or_8bit_operand" "rI")))] + [(set (match_operand:DI 0 "register_operand" "=r,r") + (xor:DI (match_operand:DI 1 "reg_or_0_operand" "%rJ,rJ") + (match_operand:DI 2 "or_operand" "rI,N")))] "" - "xor %r1,%2,%0" + "@ + xor %r1,%2,%0 + eqv %r1,%N2,%0" [(set_attr "type" "iaddlog")]) (define_insn "" [(set (match_operand:DI 0 "register_operand" "=r") - (not:DI (xor:DI (match_operand:DI 1 "reg_or_0_operand" "%rJ") - (match_operand:DI 2 "reg_or_8bit_operand" "rI"))))] + (not:DI (xor:DI (match_operand:DI 1 "register_operand" "%rJ") + (match_operand:DI 2 "register_operand" "rI"))))] "" "eqv %r1,%2,%0" [(set_attr "type" "iaddlog")]) |