[PATCH][ARM][GCC] Add a self test for FPU feature bits
Tamar Christina
tamar.christina@arm.com
Thu Oct 5 10:00:00 GMT 2017
Hi All,
This patch adds a more elaborate self-test to the arm back-end
which tests to make sure you don't have any bit specified in
ISA_ALL_FPU_INTERNAL that are not defined by any fpu configuration.
Catching this during the self-test prevents an ICE at runtime when
-mfpu=auto tries to detect the fpu to use.
Regtested on arm-none-eabi and no issues.
Ok for trunk?
gcc/
2017-10-05 Tamar Christina <tamar.christina@arm.com>
* config/arm/arm.c (arm_test_fpu_data): New.
(arm_run_selftests): Call arm_test_fpu_data.
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8290-diff.patch
Type: text/x-diff
Size: 1535 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20171005/6a683099/attachment.bin>
More information about the Gcc-patches
mailing list