ispc/ispc — pull request #328 by jduprat (2012-07-11 00:11:00+00:00)
Title: Explicit isa in tests

KNC does not support SSE or AVX intructions.
When compiling for MIC, ICC needs to be passed the -mmic compiler flag and none of the flags corresponding to unsupported ISA extensions.

The current run_tests.py script uses -msse4.2 by default, which is a problem when trying to run tests on KNC. This patch changes run_tests.py to pick the ISA requested from the compiler based on the target passed to the script.