re PR middle-end/11821 (Operator implementation as a library call fails with constants)
PR middle-end/11821 * config/arm/arm.c (arm_rtx_costs_1): Improve estimate of the code size for calls to libgcc's div & mod subroutines when using -Os. From-SVN: r73706
This commit is contained in:
parent
c44e68a5f7
commit
b9c5315018
@ -1,3 +1,9 @@
|
|||||||
|
2003-11-18 Roger Sayle <roger@eyesopen.com>
|
||||||
|
|
||||||
|
PR middle-end/11821
|
||||||
|
* config/arm/arm.c (arm_rtx_costs_1): Improve estimate of the code
|
||||||
|
size for calls to libgcc's div & mod subroutines when using -Os.
|
||||||
|
|
||||||
2003-11-18 Jan Hubicka <jh@suse.cz>
|
2003-11-18 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
* cgraph.c (change_decl_assembler_name): Avoid bogus warnings.
|
* cgraph.c (change_decl_assembler_name): Avoid bogus warnings.
|
||||||
|
@ -3210,7 +3210,9 @@ arm_rtx_costs_1 (rtx x, enum rtx_code code, enum rtx_code outer)
|
|||||||
|
|
||||||
case DIV:
|
case DIV:
|
||||||
case MOD:
|
case MOD:
|
||||||
return 100;
|
case UDIV:
|
||||||
|
case UMOD:
|
||||||
|
return optimize_size ? COSTS_N_INSNS (2) : 100;
|
||||||
|
|
||||||
case ROTATE:
|
case ROTATE:
|
||||||
if (mode == SImode && GET_CODE (XEXP (x, 1)) == REG)
|
if (mode == SImode && GET_CODE (XEXP (x, 1)) == REG)
|
||||||
|
Loading…
Reference in New Issue
Block a user