Refactor fast-interpreter SIMD compilation flags (#4261)
- enable SIMD flag by default unless hardware limitation - use SIMDE flag to control fast-interpreter behavior
This commit is contained in:
@ -377,10 +377,7 @@ else ()
|
||||
message (" Wakeup of blocking operations enabled")
|
||||
endif ()
|
||||
if (WAMR_BUILD_SIMD EQUAL 1)
|
||||
if (WAMR_BUILD_FAST_INTERP EQUAL 1 AND WAMR_BUILD_SIMDE EQUAL 0)
|
||||
set(SIMD_ENABLED 0)
|
||||
message(" SIMD disabled for fast-interp as simde is not being built")
|
||||
elseif (WAMR_BUILD_TARGET MATCHES "RISCV64.*")
|
||||
if (WAMR_BUILD_TARGET MATCHES "RISCV64.*")
|
||||
set(SIMD_ENABLED 0)
|
||||
message (" SIMD disabled due to not supported on target RISCV64")
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user