contrib: aom: Backport patches to improve the SVE detection
This backports https://aomedia.googlesource.com/aom/+/5ccdc66ab6eb8eb300eda854fab4ff250b2c2f92 and https://aomedia.googlesource.com/aom/+/fb21617c1f3ef49795597e006b68adfba6e54be0. This makes libaom test compiling a more nontrivial function, which according to AAPCS requires backing up and restoring SVE registers. On current versions of Clang when targeting Windows, compiling such a function errors out. This added test makes libaom not try to compile the SVE codepaths for this target. See https://github.com/llvm/llvm-project/issues/80009 for reference on toolchain support for SVE functions on Windows on aarch64.
Showing
- contrib/src/aom/0001-cpu.cmake-Do-more-elaborate-test-of-whether-SVE-can-.patch 51 additions, 0 deletions...pu.cmake-Do-more-elaborate-test-of-whether-SVE-can-.patch
- contrib/src/aom/0002-cpu.cmake-Address-issues-in-SVE-feature-tests.patch 58 additions, 0 deletions.../0002-cpu.cmake-Address-issues-in-SVE-feature-tests.patch
- contrib/src/aom/rules.mak 2 additions, 0 deletionscontrib/src/aom/rules.mak
Loading
Please register or sign in to comment