Method to test all sse2 calls?
Ian Lance Taylor
iant@google.com
Fri Nov 19 19:56:00 GMT 2010
"David Mathog" <mathog@caltech.edu> writes:
> I just finished coding a software implementation of emmintrin.h. It
> removes all of the builtins and uses inlined C functions instead. This
> is to allow SSE2 based code to run, albeit slowly, on machines without
> SSE2 support. I am looking for a program, script, or whatever that can
> be used to test all 200 odd _mm_* SSE2 functions to make sure that they
> actually work right. Presumably such a thing must be included in the
> gcc distribution, so that a new build can be verified to work properly.
> However I have no clue where it would be or how to use it. Can
> somebody please point me in the right direction?
I admire your respect for our software engineering processes. I hope it
is warranted.
The tests you are looking for is in gcc/testsuite/gcc.target/i386. The
tests are driven by the DejaGNU driver script i386.exp in that
directory.
Ian
More information about the Gcc
mailing list