[PATCH][testsuite][ARM] Properly figure -mfloat-abi option for crypto tests
Kyrill Tkachov
kyrylo.tkachov@arm.com
Thu Jan 9 17:02:00 GMT 2014
Hi all,
When adding the testsuite options for the crypto tests we need to make sure that
don't end up adding -mfloat-abi=softfp to a hard-float target like
arm-none-linux-gnueabihf. This patch adds that code to figure out which
-mfpu/-mfloat-abi combination to use in a similar approach to the NEON tests.
This patch addresses the same failures that Christophe mentioned in
http://gcc.gnu.org/ml/gcc-patches/2014-01/msg00375.html
but with this patch we can get those tests to PASS on arm-none-linux-gnueabihf
instead of being just UNSUPPORTED.
Tested arm-none-linux-gnueabihf and arm-none-eabi.
Ok for trunk?
Thanks,
Kyrill
2014-01-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* lib/target-supports.exp
(check_effective_target_arm_crypto_ok_nocache): New.
(check_effective_target_arm_crypto_ok): Use above procedure.
(add_options_for_arm_crypto): Use et_arm_crypto_flags.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crypto-testsuite-fix.patch
Type: text/x-patch
Size: 2061 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140109/8c279694/attachment.bin>
More information about the Gcc-patches
mailing list