[x265] [PATCH] AArch64: Move neon-sve-bridge.h inclusion to SVE/SVE2 sources

2024-10-07 Thread Hari Limaye
Move the inclusion of neon-sve-bridge.h from sao-prim.h to the SVE/SVE2 source files where it is required, so that this header no longer requires building with SVE/SVE2 feature flags. --- source/common/aarch64/sao-prim-sve.cpp | 1 + source/common/aarch64/sao-prim-sve2.cpp | 1 + source/common/aa

[x265] [PATCH] Fix detection of arm_neon_sve_bridge.h header

2024-10-07 Thread George Steed
When compiling with Clang the __ARM_NEON_SVE_BRIDGE macro is only defined if compiling with -march=...+sve, so add that to the CMAKE_REQUIRED_FLAGS when doing the compile test. --- source/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/CMakeLists.txt b/sou