(RTX_COSTS): Make cost of MULT depend on TARGET_V8.
authorJim Wilson <wilson@gcc.gnu.org>
Tue, 8 Jun 1993 18:49:13 +0000 (11:49 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 8 Jun 1993 18:49:13 +0000 (11:49 -0700)
From-SVN: r4650

gcc/config/sparc/sparc.h

index 658c88bdfe41ca8133d629322103b7b2cdbd587d..64cdfbf0b47adaab3502a47e64adde6b7217a583 100644 (file)
@@ -1471,7 +1471,7 @@ extern struct rtx_def *legitimize_pic_address ();
 
 #define RTX_COSTS(X,CODE,OUTER_CODE)                   \
   case MULT:                                           \
-    return COSTS_N_INSNS (25);                         \
+    return TARGET_V8 ? COSTS_N_INSNS (5) : COSTS_N_INSNS (25); \
   case DIV:                                            \
   case UDIV:                                           \
   case MOD:                                            \