PR/21292: skip generic vectorization tests if the SIMD instructions could be used

Paolo Bonzini paolo.bonzini@lu.unisi.ch
Mon May 23 09:28:00 GMT 2005


x86-64 and ia64 are currently failing two generic vectorization tests 
that check if vectorization is *worthless* and thus should not be 
performed.  The reason is that on these platforms does not have any 
option to enable special SIMD instructions, so theyy can vectorize these 
tests using hardware vectors (respectively, 128-bit and 64-bit).

The two tests should be skipped on these platforms, and actually even 
the others do not make much sense because they are complete dups of the 
tests in gcc.dg/vect.

Regtested on powerpc-apple-darwin, ok for mainline?

Paolo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-gen-vect-tests.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050523/53a6d211/attachment.ksh>


More information about the Gcc-patches mailing list