mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-26 00:39:03 +00:00
conversions: Use ARM emulation for aarch64 (#967)
The host compiler will not always calculate reference values the same, depending on optimization level. It generates instructions that do not respond to CPU rounding mode in the same way. Use QCOM rounding mode emulation to correctly calculate reference values on aarch64.
This commit is contained in:
committed by
GitHub
parent
90c9ea5d7c
commit
b165de7649
@@ -4,7 +4,7 @@ set (${MODULE_NAME}_SOURCES
|
||||
Sleep.cpp test_conversions.cpp basic_test_conversions.cpp
|
||||
)
|
||||
|
||||
if("${CLConform_TARGET_ARCH}" STREQUAL "ARM")
|
||||
if("${CLConform_TARGET_ARCH}" STREQUAL "ARM" OR "${CLConform_TARGET_ARCH}" STREQUAL "ARM64")
|
||||
list(APPEND ${MODULE_NAME}_SOURCES fplib.cpp)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user