Pavel P
|
0cda0100ea
|
fix formatting
|
2025-01-24 03:03:22 +02:00 |
|
Pavel P
|
f7e8fc339b
|
Check STATIC_BMI2 instead of STATIC_BMI2 == 1
|
2025-01-24 03:03:21 +02:00 |
|
Pavel P
|
0a183620a3
|
Reorder __BMI2__ check
+ if `__BMI2__` defined, then set STATIC_BMI2 for all compilers
+ use `defined(_MSC_VER) && defined(__AVX2__)` as fallback for ms compiler
|
2025-01-24 03:02:47 +02:00 |
|
Pavel P
|
d486ccc9e9
|
Update comment for STATIC_BMI2 macro
|
2025-01-24 03:02:47 +02:00 |
|
Pavel P
|
1b15e888fc
|
Move STATIC_BMI2 block as-is to portability_macros.h
|
2025-01-24 03:02:46 +02:00 |
|
Pavel P
|
59afb28c97
|
Remove unused ZSTD_decompressSequences_t typedef
|
2025-01-24 02:13:20 +02:00 |
|
Pavel P
|
1204626138
|
Check DYNAMIC_BMI2 instead of DYNAMIC_BMI2 != 0
`#if DYNAMIC_BMI2` is consistent with the rest of the code.
+ use spaces instead of tabs
|
2025-01-23 23:59:38 +02:00 |
|
Pavel P
|
a0872a8372
|
Implement ZSTD_ALIGNED for ms compiler
|
2025-01-21 02:33:25 +02:00 |
|
Pavel P
|
6c1d1cc600
|
Use _M_X64 only without mixing with _M_AMD64
|
2025-01-21 02:27:39 +02:00 |
|
Pavel P
|
fcd684b9b4
|
update sizeof check
|
2025-01-19 02:37:35 +02:00 |
|
Pavel P
|
d60c4d75e9
|
remove unrelated changes
|
2025-01-19 02:36:00 +02:00 |
|
Pavel P
|
462484d5dc
|
change to BitContainerType
|
2025-01-19 02:34:41 +02:00 |
|
Pavel P
|
26e5fb3614
|
handle 32bit size_t when building for x64
|
2025-01-18 23:37:50 +02:00 |
|
Pavel P
|
936927a427
|
handle 32bit size_t when building for x64
|
2025-01-18 23:30:55 +02:00 |
|
Pavel P
|
ee17f4c6d2
|
Use _bzhi_u32 for 32-bit builds when building with STATIC_BMI2
`_bzhi_u64` is available only for 64-bit builds, while `BIT_getLowerBits` expects `nbBits` to be less than `BIT_MASK_SIZE` (`BIT_MASK_SIZE` is 32)
|
2025-01-18 21:33:04 +02:00 |
|
Pavel P
|
46e17b805b
|
[asm] Enable x86_64 asm for windows builds
|
2025-01-18 05:33:08 +02:00 |
|