mirror of
git://repo.or.cz/tinycc.git
synced 2026-06-29 16:18:43 +08:00
tests2: skip ARM64 tests on non-ARM64 architectures
This commit is contained in:
parent
987a2aa909
commit
d4dfb428df
50
tests/tests2/138_arm64_encoding.expect
Normal file
50
tests/tests2/138_arm64_encoding.expect
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
shift-imm:
|
||||||
|
1
|
||||||
|
8000
|
||||||
|
80000000
|
||||||
|
1
|
||||||
|
8000
|
||||||
|
ffffffff
|
||||||
|
fffffff0
|
||||||
|
1
|
||||||
|
100000000
|
||||||
|
8000000000000000
|
||||||
|
1
|
||||||
|
ffffffffffffffff
|
||||||
|
fffffffffffffff0
|
||||||
|
ldr-str:
|
||||||
|
1122334455667788
|
||||||
|
99aabbccddeeff00
|
||||||
|
55667788
|
||||||
|
f1e2d3c4b5a6978
|
||||||
|
1122334455667788 99aabbccddeeff00
|
||||||
|
ldp-stp:
|
||||||
|
aaabbbbccccdddd 1111222233334444
|
||||||
|
cbz-cbnz:
|
||||||
|
zero
|
||||||
|
nonzero
|
||||||
|
zero
|
||||||
|
nonzero
|
||||||
|
csel:
|
||||||
|
10
|
||||||
|
10
|
||||||
|
0
|
||||||
|
1
|
||||||
|
sysregs:
|
||||||
|
0
|
||||||
|
0
|
||||||
|
ok
|
||||||
|
nop:
|
||||||
|
ok
|
||||||
|
barriers:
|
||||||
|
ok
|
||||||
|
mov-reg:
|
||||||
|
42
|
||||||
|
-1
|
||||||
|
large-struct:
|
||||||
|
10
|
||||||
|
10 20 30 40
|
||||||
|
boundary-structs:
|
||||||
|
123456789012345678
|
||||||
|
123456789012345678901234
|
||||||
|
12345678901234567890123456789012
|
||||||
21
tests/tests2/139_arm64_errors.expect
Normal file
21
tests/tests2/139_arm64_errors.expect
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
[test_unknown_instruction]
|
||||||
|
139_arm64_errors.c:10: error: ARM64 instruction 'fubar' not implemented
|
||||||
|
|
||||||
|
[test_shift_imm_range_32]
|
||||||
|
139_arm64_errors.c:18: error: shift immediate out of range
|
||||||
|
|
||||||
|
[test_shift_imm_range_64]
|
||||||
|
139_arm64_errors.c:26: error: shift immediate out of range
|
||||||
|
|
||||||
|
[test_invalid_sysreg]
|
||||||
|
139_arm64_errors.c:34: error: unsupported system register
|
||||||
|
|
||||||
|
[test_invalid_barrier_option]
|
||||||
|
139_arm64_errors.c:42: error: invalid operand 'xyz'
|
||||||
|
|
||||||
|
[test_extended_inline_asm]
|
||||||
|
139_arm64_errors.c:51: error: ARM64 extended inline asm is not implemented
|
||||||
|
|
||||||
|
[test_extended_inline_clobber]
|
||||||
|
139_arm64_errors.c:59: error: ARM64 extended inline asm is not implemented
|
||||||
|
|
||||||
@ -54,6 +54,10 @@ ifneq (,$(filter arm% riscv%,$(ARCH)))
|
|||||||
SKIP += 99_fastcall.test
|
SKIP += 99_fastcall.test
|
||||||
SKIP += 127_asm_goto.test
|
SKIP += 127_asm_goto.test
|
||||||
endif
|
endif
|
||||||
|
ifeq (,$(filter arm64 aarch64,$(ARCH)))
|
||||||
|
SKIP += 138_arm64_encoding.test
|
||||||
|
SKIP += 139_arm64_errors.test
|
||||||
|
endif
|
||||||
ifneq (,$(findstring win32,$(CROSS_TARGET)))
|
ifneq (,$(findstring win32,$(CROSS_TARGET)))
|
||||||
SKIP += 106_versym.test
|
SKIP += 106_versym.test
|
||||||
SKIP += 114_bound_signal.test
|
SKIP += 114_bound_signal.test
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user