testsuite: disable memcpy asm comparison tests on UNREG
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 23 Aug 2014 08:22:59 +0000 (11:22 +0300)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 23 Aug 2014 08:58:20 +0000 (11:58 +0300)
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
testsuite/tests/codeGen/should_gen_asm/all.T

index 9cd3b45..db5fdaf 100644 (file)
@@ -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, [''])