From df369bd6a045efa709e95bea378687d2f719d112 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sat, 30 Sep 2023 08:33:56 -0700 Subject: [PATCH] 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. --- unittests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt index a8f040a46..9939c468d 100644 --- a/unittests/CMakeLists.txt +++ b/unittests/CMakeLists.txt @@ -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()