[parsec-users] Use blackscholes.simd.c?

Thomas Karcher karcher at ipd.uka.de
Wed Apr 1 05:10:32 EDT 2009


Hi,

Google is a wonderful debugger ...

This error:

> #error "SSE3 instruction set not enabled"

is fixed by adding -msse3 to CXXFLAGS, as done in "my" simd PARSEC
configuration file (see attached).

This error:

> blackscholes.simd.c:97: error: ‘_MM_ALIGN16’ does not name a type
[...]

... and some others come from the fact that blackscholes.simd.c seems to
be written for icc and icc only. I added some #define lines and now gcc
works as well, see second patch.


Thomas



-------------- next part --------------
A non-text attachment was scrubbed...
Name: simdconf.patch.diff
Type: text/x-patch
Size: 1364 bytes
Desc: not available
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20090401/250275cd/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simd-gcc.patch.diff
Type: text/x-patch
Size: 1308 bytes
Desc: not available
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20090401/250275cd/attachment-0001.bin>


More information about the parsec-users mailing list