Add quick risc-v workaround in Unittest.cpp

This commit is contained in:
Henrik Rydgård 2025-03-06 14:47:18 +01:00
parent 2cc631338b
commit 7cc42112c1

View file

@ -1099,7 +1099,7 @@ bool TestBuffer() {
return true;
}
#if defined(__GNUC__) || defined(__clang__) || defined(__INTEL_COMPILER)
#if PPSSPP_ARCH(SSE2) && (defined(__GNUC__) || defined(__clang__) || defined(__INTEL_COMPILER))
[[gnu::target("sse4.1")]]
#endif
bool TestSIMD() {