mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 04:18:26 +01:00
Merge "cpu.h: enable NEON w/_M_ARM64EC" into main
This commit is contained in:
commit
50ac4f7c97
@ -98,8 +98,9 @@
|
|||||||
// inclusion of arm64_neon.h; Visual Studio 2019 includes this file in
|
// inclusion of arm64_neon.h; Visual Studio 2019 includes this file in
|
||||||
// arm_neon.h. Compile errors were seen with Visual Studio 2019 16.4 with
|
// arm_neon.h. Compile errors were seen with Visual Studio 2019 16.4 with
|
||||||
// vtbl4_u8(); a fix was made in 16.6.
|
// vtbl4_u8(); a fix was made in 16.6.
|
||||||
#if defined(_MSC_VER) && ((_MSC_VER >= 1700 && defined(_M_ARM)) || \
|
#if defined(_MSC_VER) && \
|
||||||
(_MSC_VER >= 1926 && defined(_M_ARM64)))
|
((_MSC_VER >= 1700 && defined(_M_ARM)) || \
|
||||||
|
(_MSC_VER >= 1926 && (defined(_M_ARM64) || defined(_M_ARM64EC))))
|
||||||
#define WEBP_USE_NEON
|
#define WEBP_USE_NEON
|
||||||
#define WEBP_USE_INTRINSICS
|
#define WEBP_USE_INTRINSICS
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user