diff options
author | Simon Marlow <marlowsd@gmail.com> | 2010-10-05 11:48:48 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2010-10-05 11:48:48 +0000 |
commit | f8935df662594e35137eea164bd8f143618ab15a (patch) | |
tree | 9f35dc0f12fdce507495ec9628fafa0e89abd0a4 /testsuite/tests/ghc-regress/perf | |
parent | 950116db6ce035bcedafb93ef773dca07b39e744 (diff) | |
download | haskell-f8935df662594e35137eea164bd8f143618ab15a.tar.gz |
T4321: use -msse2 to get reproducible floating-point results on x86
Diffstat (limited to 'testsuite/tests/ghc-regress/perf')
-rw-r--r-- | testsuite/tests/ghc-regress/perf/should_run/all.T | 8 |
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]) |