From 7e47602183a27467a1e4eaad6e14a9b450c298b8 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 29 Jul 1995 09:59:05 -0400 Subject: (RTX_COSTS): Fill in missing default values. From-SVN: r10202 --- gcc/config/pdp11/pdp11.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gcc/config/pdp11') 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) \ -- cgit v1.1