aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pdp11
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-07-29 09:59:05 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-07-29 09:59:05 -0400
commit7e47602183a27467a1e4eaad6e14a9b450c298b8 (patch)
tree5ef75366327bdd777c48cd2cced31fa6adc7b56e /gcc/config/pdp11
parent16a257559f9f3b7642823a440d925b9a11b947fe (diff)
downloadgcc-7e47602183a27467a1e4eaad6e14a9b450c298b8.zip
gcc-7e47602183a27467a1e4eaad6e14a9b450c298b8.tar.gz
gcc-7e47602183a27467a1e4eaad6e14a9b450c298b8.tar.bz2
(RTX_COSTS): Fill in missing default values.
From-SVN: r10202
Diffstat (limited to 'gcc/config/pdp11')
-rw-r--r--gcc/config/pdp11/pdp11.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/pdp11/pdp11.h b/gcc/config/pdp11/pdp11.h
index 9ccab5a..ad3c622 100644
--- a/gcc/config/pdp11/pdp11.h
+++ b/gcc/config/pdp11/pdp11.h
@@ -1354,7 +1354,7 @@ JMP FUNCTION 0x0058 0x0000 <- FUNCTION
else if (GET_MODE(X) == SImode) \
total = COSTS_N_INSNS(6); \
else \
- abort(); \
+ total = COSTS_N_INSNS(2); \
break; \
/* case LSHIFT: */ \
case ASHIFT: \
@@ -1365,7 +1365,8 @@ JMP FUNCTION 0x0058 0x0000 <- FUNCTION
else if (GET_MODE(X) == QImode) \
{ \
if (GET_CODE(XEXP (X,1)) != CONST_INT) \
- abort(); \
+ total = COSTS_N_INSNS(8); /* worst case */ \
+ else \
total = COSTS_N_INSNS(INTVAL(XEXP (X,1))); \
} \
else if (GET_MODE(X) == HImode) \