Commit d4b4cb5f by Richard Stallman

(RTX_COSTS): Cost of MULT also depends on TARGET_DISABLE_FPREGS.

(ASM_OUTPUT_INT): Always emit special "plabel" relocation for
function labels.

From-SVN: r4647
parent 7594d3df
...@@ -1459,7 +1459,8 @@ while (0) ...@@ -1459,7 +1459,8 @@ while (0)
#define RTX_COSTS(X,CODE,OUTER_CODE) \ #define RTX_COSTS(X,CODE,OUTER_CODE) \
case MULT: \ case MULT: \
return TARGET_SNAKE ? COSTS_N_INSNS (8) : COSTS_N_INSNS (20); \ return TARGET_SNAKE && ! TARGET_DISABLE_FPREGS \
? COSTS_N_INSNS (8) : COSTS_N_INSNS (20); \
case DIV: \ case DIV: \
case UDIV: \ case UDIV: \
case MOD: \ case MOD: \
...@@ -1693,8 +1694,7 @@ bss_section () \ ...@@ -1693,8 +1694,7 @@ bss_section () \
#define ASM_OUTPUT_INT(FILE,VALUE) \ #define ASM_OUTPUT_INT(FILE,VALUE) \
{ fprintf (FILE, "\t.word "); \ { fprintf (FILE, "\t.word "); \
if (TARGET_SHARED_LIBS \ if (TARGET_SHARED_LIBS \
&& function_label_operand (VALUE, VOIDmode)\ && function_label_operand (VALUE, VOIDmode))\
&& in_section != in_text) \
fprintf (FILE, "P%%"); \ fprintf (FILE, "P%%"); \
output_addr_const (FILE, (VALUE)); \ output_addr_const (FILE, (VALUE)); \
fprintf (FILE, "\n");} fprintf (FILE, "\n");}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment