[PATCH][GCC][ARM] Fix fragile arm fpu attribute tests.

Tamar Christina tamar.christina@arm.com
Tue Dec 12 17:29:00 GMT 2017


Hi All,

The previous test made use of arm_neon.h which made the whole test
rather fragile and only applicable to some of the arm targets.

So instead I make use of different fpus now to test the generation of
fmla instructions. The actual instruction itself is not tested as all
we care about if that the proper .fpu directives are generated.

Regtested on arm-none-eabi and arm-none-linux-gnueabihf
with no regressions.

Ok for trunk?


gcc/testsuite/
2017-12-12  Tamar Christina  <tamar.christina@arm.com>

	PR target/82641
	* gcc.target/arm/pragma_fpu_attribute.c: New.
	* gcc.target/arm/pragma_fpu_attribute_2.c: New.

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rb8655.patch
Type: text/x-diff
Size: 2710 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20171212/bea8f5d8/attachment.bin>


More information about the Gcc-patches mailing list