mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
base: disable SIMD on MSVC x86_64 by default
This recreates the case as of commitf1698226(tag v0.4.0-alpha.4), in that, by default (without #define'ing a macro or passing an /arch:ETC compiler flag), Wuffs does not use SIMD on MSVC x86_64. Commitb64a7610(after tag v0.4.0-alpha.4, before tag v0.4.0-alpha.5) changed the default so that x86_64_v2 (roughly equivalent to SSE4.2) was enabled by default, since the user from issue #148 was enabling that anyway (in an unsupported way, by #define'ing a macro that was a private implementation detail) with no problems (and better performance). However, another user later reported (in issue #151) that enabling SIMD on MSVC x86_64 somehow lead to ICEs (Internal Compiler Errors). This commit restores the default to "no SIMD" and it is up to the MSVC user to opt in to the SIMD code paths. Clang and GCC are unaffected: SIMD remains enabled by default. Updates #148 Updates #151
This commit is contained in:
1 parent
5e0b2ae0d5
commit
fb769ff82f
3 files changed
+111
-36
No files matched your search
@@ -26,7 +26,10 @@ The LICENSE has changed from a single license (Apache 2) to a dual license
|
||||
- Added `std/xxhash32`.
|
||||
- Added `std/xxhash64`.
|
||||
- Added `std/xz`.
|
||||
- Added `WUFFS_CONFIG__DISABLE_MSVC_CPU_ARCH__X86_64_FAMILY`.
|
||||
- Added `WUFFS_CONFIG__DST_PIXEL_FORMAT__ENABLE_ALLOWLIST`.
|
||||
- Added `WUFFS_CONFIG__ENABLE_MSVC_CPU_ARCH__X86_64_V2`.
|
||||
- Added `WUFFS_CONFIG__ENABLE_MSVC_CPU_ARCH__X86_64_V3`.
|
||||
- Added `wuffs_base__status__is_truncated_input_error`.
|
||||
- Changed `lzw.set_literal_width` to `lzw.set_quirk`.
|
||||
- Changed `set_quirk_enabled!(quirk: u32, enabled: bool)` to `set_quirk!(key:
|
||||
|
||||
Reference in new issue
Block a user