mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 07:47:32 +09:00
Issue #1956 - Fix AV1 on MSVC2022 32-bit build.
This commit is contained in:
parent
8831656c85
commit
b6fc7e7ae6
2 changed files with 26 additions and 1 deletions
|
|
@ -29,7 +29,8 @@
|
|||
// VS compiling for 32 bit targets does not support vector types in
|
||||
// structs as arguments, which makes the v256 type of the intrinsics
|
||||
// hard to support, so optimizations for this target are disabled.
|
||||
#elif HAVE_SSE2 && (defined(_WIN64) || !defined(_MSC_VER) || defined(__clang__))
|
||||
// Disabling optimizations and falling back to plain C here causes problems on newer MSVC.
|
||||
#elif HAVE_SSE2 && (defined(_WIN64) || !defined(_MSC_VER) || _MSC_VER > 1900 || defined(__clang__))
|
||||
#include "simd/v256_intrinsics_x86.h"
|
||||
#else
|
||||
#include "simd/v256_intrinsics.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue