diff options
author | Julian Brown <julian@codesourcery.com> | 2009-12-17 15:37:23 +0000 |
---|---|---|
committer | Julian Brown <jules@gcc.gnu.org> | 2009-12-17 15:37:23 +0000 |
commit | 0c23e1be874aec1658ae7f95499d289d95530ad6 (patch) | |
tree | 11aa02e3ca0aaf3665b8f9f816fb7e037bb9c9de /libgfortran/intrinsics/system_clock.c | |
parent | ce7611f2f8a757eede90c92ae1489e510a766864 (diff) | |
download | gcc-0c23e1be874aec1658ae7f95499d289d95530ad6.zip gcc-0c23e1be874aec1658ae7f95499d289d95530ad6.tar.gz gcc-0c23e1be874aec1658ae7f95499d289d95530ad6.tar.bz2 |
bpabi-v6m.S (test_div_by_zero): New macro.
gcc/
* config/arm/bpabi-v6m.S (test_div_by_zero): New macro.
(aeabi_ldivmod, aeabi_uldivmod): Use above macro.
* config/arm/bpabi.S (test_div_by_zero): New macro.
(aeabi_ldivmod, aeabi_uldivmod): Use above macro.
* config/arm/lib1funcs.asm (ARM_LDIV0): Tail-call int div-by-zero
handler for EABI. Add signed/unsigned argument, pass correct value
to that handler.
(THUMB_LDIV0): Same, for Thumb.
(DIV_FUNC_END): Add signed argument.
(WEAK): New macro (for EABI).
(__udivsi3, __umodsi3): Add unsigned argument to DIV_FUNC_END. For
__udivsi3, add entry point which skips division-by-zero test.
(__divsi3, __modsi3): Add signed argument to DIV_FUNC_END.
(__aeabi_uidivmod, __aeabi_idivmod): Check for division by zero.
Call __udivsi3 or __divsi3 via entry points which skip
division-by-zero tests.
(__div0): Rename to __aeabi_idiv0, __aeabi_ldiv0 for EABI, and
declare those names weak.
From-SVN: r155319
Diffstat (limited to 'libgfortran/intrinsics/system_clock.c')
0 files changed, 0 insertions, 0 deletions