InstCountCI: Enable running on x86 hosts

This is a quality of life improvement for people that want to tinker
with the InstCountCI but they may not necessarily have an Arm64 device
available immediately for poking.

As long as the vixl disassembler is enabled then the InstCountCI tests
can run and get bit-accurate encodings just like on an Arm64 device.

This also ensures that behaviour is consistent with or without the vixl
simulator enabled which is very important when running on x86 hosts.
This commit is contained in:
Ryan Houdek committed 2023-10-02 16:26:14 -07:00
1 parent 978489fce1
commit df369bd6a0
1 file changed
+1 -1
+1 -1
View File
@@ -19,7 +19,7 @@ endif()
add_subdirectory(ASM/)
add_subdirectory(32Bit_ASM/)
if (ENABLE_VIXL_DISASSEMBLER AND (ENABLE_JIT_ARM64 OR CMAKE_SYSTEM_PROCESSOR MATCHES "^aarch64|^arm64|^armv8\.*"))
if (ENABLE_VIXL_DISASSEMBLER)
# Tests are only valid to run if the vixl disassembler is enabled and the active JIT is the ARM64 JIT.
add_subdirectory(InstructionCountCI/)
endif()