summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/perf
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-regress/perf')
-rw-r--r--testsuite/tests/ghc-regress/perf/should_run/all.T8
1 files changed, 7 insertions, 1 deletions
diff --git a/testsuite/tests/ghc-regress/perf/should_run/all.T b/testsuite/tests/ghc-regress/perf/should_run/all.T
index 13487d1874..e0b25c9364 100644
--- a/testsuite/tests/ghc-regress/perf/should_run/all.T
+++ b/testsuite/tests/ghc-regress/perf/should_run/all.T
@@ -35,5 +35,11 @@ test('lazy-bs-alloc',
compile_and_run,
['-O'])
-test('T4321', omit_ways(['ghci']), compile_and_run, ['-O'])
+# Get reproducible floating-point results on x86
+if config.arch == 'i386':
+ sse2_opts = '-msse2'
+else:
+ sse2_opts = ''
+
+test('T4321', omit_ways(['ghci']), compile_and_run, ['-O ' + sse2_opts])