[Patch AArch64] Add support for crtfastmath.c
Ramana Radhakrishnan
ramana.radhakrishnan@arm.com
Thu Sep 4 14:04:00 GMT 2014
Hi,
It's worth setting up the FPCR to flush to zero, round to nearest modes
especially under Ofast and ffast-math.
This patch attempts to do so and additionally cleans up ENDFILE_SPEC for
AArch64 GNU/Linux targets.
Built and tested cross with aarch64-none-elf. A native bootstrap and
test run was also done for aarch64-none-linux-gnu.
Ok for trunk ?
regards
Ramana
gcc/Changelog
2014-09-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config/aarch64/aarch64-elf-raw.h (ENDFILE_SPEC): Add
crtfastmath.o.
* config/aarch64/aarch64-linux.h
(GNU_USER_TARGET_MATH_ENDFILE_SPEC): Define.
(ENDFILE_SPEC): Define and use
GNU_USER_TARGET_MATH_ENDFILE_SPEC.
libgcc/Changelog
2014-09-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config.host (aarch64*): Include crtfastmath and t-crtfm.
* config/aarch64/crtfastmath.c: New file.
More information about the Gcc-patches
mailing list