[RFA/ARM 2/3] Add vectorizer support for VFMA

Matthew Gretton-Dann matthew.gretton-dann@arm.com
Mon Jun 25 15:15:00 GMT 2012


All,

This patch adds vectoriser support for VFMA to the ARM Neon backend.

Note that the VFP VFNMA and VFNMS instructions do not have Neon
equivalents.

OK?

gcc/ChangeLog:

2012-06-25  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>

	* config/arm/neon.md (fma<mode>4): New pattern.
	(*fmsub<mode>4): Likewise.

2012-06-25  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>

	* gcc.target/arm/neon-vfma-1.c: New testcase.
	* gcc.target/arm/neon-vfms-1.c: Likewise.
	* lib/target-supports.exp (add_options_for_arm_neonv2): New
	function.
	(check_effective_target_arm_neonv2_ok_nocache): Likewise.
	(check_effective_target_arm_neonv2_ok): Likewise.
	(check_effective_target_arm_neonv2_hw): Likewise.
	(check_effective_target_arm_neonv2): Likewise.

Thanks,

Matt
-- 
Matthew Gretton-Dann
Principal Engineer, PD Software - Tools, ARM Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-vectorizer-support-for-VFMA.txt
Type: text/x-patch
Size: 6045 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120625/baf667c0/attachment.bin>


More information about the Gcc-patches mailing list