diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-18 10:24:13 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-18 13:00:50 -0700 |
commit | 2e2907e3e5a79b2bbbeeb2d06440ac885e81adb8 (patch) | |
tree | f913770dbaa702f237d722116b813704f744e11c | |
parent | 6d60dfe76053f498328452fbd10bb3ea53711c2f (diff) |
add -O2 to simd test
-rw-r--r-- | tests/test_other.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_other.py b/tests/test_other.py index 1fc1c60b..aa11c973 100644 --- a/tests/test_other.py +++ b/tests/test_other.py @@ -2010,6 +2010,6 @@ a(int [32], char [5]*) def test_simd(self): self.clear() - Popen([PYTHON, EMCC, path_from_root('tests', 'linpack.c'), '-DSP', '--llvm-opts', '''['-O3', '-vectorize', '-vectorize-loops', '-bb-vectorize-vector-bits=128', '-force-vector-width=4']''']).communicate() - self.assertContained('hello, world!', run_js('a.out.js')) + Popen([PYTHON, EMCC, path_from_root('tests', 'linpack.c'), '-O2', '-DSP', '--llvm-opts', '''['-O3', '-vectorize', '-vectorize-loops', '-bb-vectorize-vector-bits=128', '-force-vector-width=4']''']).communicate() + self.assertContained('Unrolled Single Precision', run_js('a.out.js')) |