[commit: ghc] master: testsuite: disable memcpy asm comparison tests on UNREG (eb64be7)
git at git.haskell.org
git at git.haskell.org
Sat Aug 23 08:59:52 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/eb64be7b40b7f29144ebbf9c947e729535a8fd3d/ghc
>---------------------------------------------------------------
commit eb64be7b40b7f29144ebbf9c947e729535a8fd3d
Author: Sergei Trofimovich <slyfox at gentoo.org>
Date: Sat Aug 23 11:22:59 2014 +0300
testsuite: disable memcpy asm comparison tests on UNREG
Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>
>---------------------------------------------------------------
eb64be7b40b7f29144ebbf9c947e729535a8fd3d
testsuite/tests/codeGen/should_gen_asm/all.T | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/testsuite/tests/codeGen/should_gen_asm/all.T b/testsuite/tests/codeGen/should_gen_asm/all.T
index 9cd3b45..db5fdaf 100644
--- a/testsuite/tests/codeGen/should_gen_asm/all.T
+++ b/testsuite/tests/codeGen/should_gen_asm/all.T
@@ -1,8 +1,9 @@
-test('memcpy',
- unless(platform('x86_64-unknown-linux'),skip), compile_cmp_asm, [''])
-test('memcpy-unroll',
- unless(platform('x86_64-unknown-linux'),skip), compile_cmp_asm, [''])
-test('memcpy-unroll-conprop',
- unless(platform('x86_64-unknown-linux'),skip), compile_cmp_asm, [''])
-test('memset-unroll',
- unless(platform('x86_64-unknown-linux'),skip), compile_cmp_asm, [''])
+is_amd64_codegen = [
+ unless(platform('x86_64-unknown-linux'),skip),
+ when(unregisterised, skip),
+]
+
+test('memcpy', is_amd64_codegen, compile_cmp_asm, [''])
+test('memcpy-unroll', is_amd64_codegen, compile_cmp_asm, [''])
+test('memcpy-unroll-conprop', is_amd64_codegen, compile_cmp_asm, [''])
+test('memset-unroll', is_amd64_codegen, compile_cmp_asm, [''])
More information about the ghc-commits
mailing list