summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-06-16 00:35:05 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-06-16 00:35:05 +0000
commitc86cffaf56a15a6ae45564fb66b61302d5883220 (patch)
tree1ea26324166c0984872a3ef3cb8e8067ce76fdc9 /gcc/config
parent65777afc9eecead4998b749390ec9240b71f0bf1 (diff)
downloadgcc-c86cffaf56a15a6ae45564fb66b61302d5883220.tar.gz
(maxsf3, minsf3, maxdf3, mindf3): Fix predicate of define_split.
(muldi3): Fix predicate. (movdf matcher): Allow update and indexed for lfd instruction. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7497 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/rs6000/rs6000.md13
1 files changed, 7 insertions, 6 deletions
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 2576c348f87..3bff9803ed7 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -1210,6 +1210,7 @@
FAIL;
else
operands[2] = force_reg (SImode, operands[2]);
+
if (! TARGET_POWER && ! TARGET_POWERPC)
{
emit_move_insn (gen_rtx (REG, SImode, 3), operands[1]);
@@ -2750,7 +2751,7 @@
(define_split
[(set (match_operand:SF 0 "gpc_reg_operand" "")
(smax:SF (match_operand:SF 1 "gpc_reg_operand" "")
- (match_operand:SF 2 "reg_or_short_operand" "")))
+ (match_operand:SF 2 "gpc_reg_operand" "")))
(clobber (match_operand:SF 3 "gpc_reg_operand" ""))]
"TARGET_PPC_GFXOPT"
[(set (match_dup 3)
@@ -2778,7 +2779,7 @@
(define_split
[(set (match_operand:SF 0 "gpc_reg_operand" "")
(smin:SF (match_operand:SF 1 "gpc_reg_operand" "")
- (match_operand:SF 2 "reg_or_short_operand" "")))
+ (match_operand:SF 2 "gpc_reg_operand" "")))
(clobber (match_operand:SF 3 "gpc_reg_operand" ""))]
"TARGET_PPC_GFXOPT"
[(set (match_dup 3)
@@ -2917,7 +2918,7 @@
(define_split
[(set (match_operand:DF 0 "gpc_reg_operand" "")
(smax:DF (match_operand:DF 1 "gpc_reg_operand" "")
- (match_operand:DF 2 "reg_or_short_operand" "")))
+ (match_operand:DF 2 "gpc_reg_operand" "")))
(clobber (match_operand:DF 3 "gpc_reg_operand" ""))]
"TARGET_PPC_GFXOPT"
[(set (match_dup 3)
@@ -2945,7 +2946,7 @@
(define_split
[(set (match_operand:DF 0 "gpc_reg_operand" "")
(smin:DF (match_operand:DF 1 "gpc_reg_operand" "")
- (match_operand:DF 2 "reg_or_short_operand" "")))
+ (match_operand:DF 2 "gpc_reg_operand" "")))
(clobber (match_operand:DF 3 "gpc_reg_operand" ""))]
"TARGET_PPC_GFXOPT"
[(set (match_dup 3)
@@ -3422,7 +3423,7 @@
(define_insn "muldi3"
[(set (match_operand:DI 0 "gpc_reg_operand" "=r")
(mult:DI (match_operand:DI 1 "gpc_reg_operand" "%r")
- (match_operand:DI 2 "reg_or_short_operand" "r")))]
+ (match_operand:DI 2 "gpc_reg_operand" "r")))]
"TARGET_POWERPC64"
"mulld %0,%1,%2"
[(set_attr "type" "imul")])
@@ -3944,7 +3945,7 @@
sd%U0%X0 %1,%0
#
fmr %0,%1
- lfd %0,%1
+ lfd%U1%X1 %0,%1
stfd%U0%X0 %1,%0"
[(set_attr "type" "*,load,*,*,fp,fpload,*")])