This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Mon, 27 Nov 2006, Richard Guenther wrote: http://gcc.gnu.org/ml/gcc-patches/2006-11/msg01819.html > 2006-11-27 Richard Guenther <rguenther@suse.de> > > * config/i386/i386.c (ix86_builtin_vectorized_function): Declare. > (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): Define. > (ix86_builtin_vectorized_function): New function to vectorize > sqrt. > > * gcc.dg/vect/vect.exp: Add support for -fno-math-errno tests. > * gcc.dg/vect/vect-pow-2.c: Rename to ... > * gcc.dg/vect/no-math-errno-vect-pow-1.c: ... this. Restrict > to x86_64 and i?86.
The x86 backend bits look Ok for mainline. However you'll need Janis or a dejagnu guru to comment on the testsuite changes (and Dorit's suggestions on XFAIL lists).
The testsuite changes were based on Dorits suggestions and they simply follow examples in the vect.exp file, so I think these parts are obvious.
* config/i386/i386.c (ix86_builtin_vectorized_function): Declare. (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): Define. (ix86_builtin_vectorized_function): New function to vectorize sqrt.
* gcc.dg/vect/vect.exp: Add support for -fno-math-errno tests. * gcc.dg/vect/vect-pow-2.c: Rename to ... * gcc.dg/vect/no-math-errno-vect-pow-1.c: ... this. Require vect_double, xfail for spu*-*-*.
Attachment:
i386-vectorize-sqrt
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |