target-supports.exp fixes for ARM NEON

Janis Johnson janis187@us.ibm.com
Tue Jul 1 23:04:00 GMT 2008


On Tue, 2008-07-01 at 20:04 +0000, Joseph S. Myers wrote:
> This patch updates the vect_* effective targets for ARM NEON.  The
> targets describing vectorization capabilities supported by NEON need
> to return 1, while vect_cmdline_needed must fail if the compiler
> configuration is using NEON by default.  OK to commit?
> 
> (The vect_no_align handling here is correct for GCC trunk at present,
> but we have an unsubmitted patch to support realignment; when that
> goes in the effective target handling will be changed accordingly.)
> 
> 2008-07-01  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* lib/target-supports.exp (check_effective_target_vect_int,
> 	check_effective_target_vect_shift,
> 	check_effective_target_vect_long,
> 	check_effective_target_vect_float,
> 	check_effective_target_vect_no_align,
> 	check_effective_target_vect_int_mult): Check for ARM.
> 	(check_effective_target_arm_neon): New.
> 	(check_effective_target_vect_cmdline_needed): Use it.

OK.

Janis



More information about the Gcc-patches mailing list