(RTX_COSTS): Return actual costs for multiplication.
authorTorbjorn Granlund <tege@gnu.org>
Sat, 8 Jan 1994 01:33:38 +0000 (01:33 +0000)
committerTorbjorn Granlund <tege@gnu.org>
Sat, 8 Jan 1994 01:33:38 +0000 (01:33 +0000)
From-SVN: r6359

gcc/config/alpha/alpha.h

index dafb4a8c0c5ade893db81477d403345929b4c8ce..78e0ca2fd6b83654d5ef1a08f59081c4d2b600dc 100644 (file)
@@ -1331,12 +1331,7 @@ extern char *current_function_name;
   case MULT:                                           \
     if (GET_MODE_CLASS (GET_MODE (X)) == MODE_FLOAT)   \
       return COSTS_N_INSNS (6);                                \
-    else if (GET_CODE (XEXP (X, 1)) != CONST_INT       \
-            || exact_log2 (INTVAL (XEXP (X, 1))) < 0)  \
-      return COSTS_N_INSNS (21);                       \
-    else if (const48_operand (XEXP (X, 1), VOIDmode))  \
-      break;                                           \
-    return COSTS_N_INSNS (2);                          \
+    return COSTS_N_INSNS (23);                         \
   case ASHIFT:                                         \
     if (GET_CODE (XEXP (X, 1)) == CONST_INT            \
        && INTVAL (XEXP (X, 1)) <= 3)                   \