[PATCH] ARM half-precision floating point, part 9/8 (HF mode attribute)
Sandra Loosemore
sandra@codesourcery.com
Mon May 18 14:38:00 GMT 2009
Yes, the subject line is right; this is a new piece.
It was previously noted that the test cases I posted in part 8 did not include
any tests for __attribute__((mode(HF))) syntax. Well, the trouble was that
wasn't supported at all. This patch adds both the support and the test cases.
I verified that making TARGET_SCALAR_MODE_SUPPORTED_P return true for HFmode did
not cause any test failures elsewhere.
OK to commit?
-Sandra
2009-05-18 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* config/arm/arm.c (TARGET_SCALAR_MODE_SUPPORTED_P): Redefine.
(arm_scalar_mode_supported_p): New function.
gcc/testsuite/
* gcc.target/arm/fp16-compile-none-2.c: New.
* gcc.target/arm/fp16-compile-ieee-12.c: New.
* gcc.target/arm/fp16-compile-alt-12.c: New.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fp16-9.patch
Type: text/x-patch
Size: 2785 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090518/bb027558/attachment.bin>
More information about the Gcc-patches
mailing list