Commit Graph

27 Commits

Author SHA1 Message Date
dmex 6fdcdc7bf5 Improve phlib helpers and annotations
Improve phlib utility correctness and API contracts across GUI, memory, math, and SIMD support. This updates `PhSendMessageTimeout` to return `NTSTATUS`, fixes pointer subtraction and tick/time macros, adds null guards around image list helpers, and corrects a debug rectangle comparison.

The change also expands public helper coverage with heap, image-directory, 128-bit math, delta-clamping, and SIMD utility declarations, while adding SAL/NTAPI annotations so callers get clearer success/failure and nullability guarantees.
2026-09-25 15:31:30 +10:00
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +10:00
dmex ead9910db9 Fix PCLMUL init and ARM64 shuffle implementations
Use InterlockedCompareExchange when initializing the PCLMUL detection state to avoid a race (replace WriteULongRelease with atomic CAS and adjust local variables). Correct parameter documentation in PhAddFLOAT128 (fix Divisor/Dividend descriptions). Update ARM64 NEON implementations for PhShuffleFLOAT128_2301 and PhShuffleFLOAT128_1032 to produce the correct lane ordering that matches the corresponding _MM_SHUFFLE semantics (adjusted use of vget_low/vget_high and vrev64_f32).
2026-06-02 23:43:59 +10:00
dmex 6c032deb80 Update phintrin.h 2026-06-02 23:33:55 +10:00
dmex 295484637c Add SIMD wrappers for 256 2026-06-01 11:18:11 +10:00
dmex 17d6111701 Fix rndrrs on ARM and build options 2026-05-24 08:59:04 +10:00
dmex 1aa71ebcf4 Update phintrin.h 2026-05-21 08:06:32 +10:00
dmex 444e5e03e8 Add ARM64 random number helper 2026-05-19 02:09:11 +10:00
dmex 736945e66e add CONST qualifiers to static sort function arrays and use proper _CoreCrt* function-pointer types; 2026-04-10 16:01:36 +10:00
dmex f33901babb Add PhUppercaseLatin1INT128by16/PhUppercaseLatin1INT256by16/PhOrINT128 2026-01-13 19:36:36 +11:00
dmex 705c84584f Add AVX and SIMD to PhEqualStringRef/PhCompareStringRef/PhFindStringInStringRef/PhFindCharInStringRef/PhFindLastCharInStringRef 2026-01-13 11:29:20 +11:00
dmex 7005edd20b Update phintrin.h 2025-12-31 03:04:53 +11:00
dmex b6336413b5 Update phintrin.h 2025-12-26 23:22:10 +11:00
dmex 400d9a0ef1 Add SysInfoShowCpuSpeedPerCpu 2025-09-28 18:01:44 +10:00
Johnny Shaw 9429d6da1d clang-msvc fix arm64 build 2025-08-10 21:44:13 -06:00
Johnny Shaw 17647157fa phintrin update popcount intrinsics 2025-01-14 13:38:26 -07:00
Johnny Shaw bfa68929b1 phintrin update popcount intrinsics 2025-01-14 12:55:18 -07:00
dmex 95bc2fe8c1 Update to the latest SDK 2024-12-01 16:35:49 +11:00
dmex 8ca4734d4f Update PhLoadINT128U 2023-08-07 11:06:57 +10:00
dmex b92596b659 Update SDK (#1767) 2023-06-20 09:19:46 +10:00
dmex 65ba43bdd4 Update intrinsic routines 2023-05-20 02:35:00 +10:00
dmex de3b88039a Add PhLoadINT128 2023-05-14 13:19:53 +10:00
Johnny Shaw ac15fc643b Revert "Fix unaligned AVX load"
This reverts commit 0884210aec.
2023-05-04 23:26:45 -06:00
dmex 0884210aec Fix unaligned AVX load 2023-05-04 17:36:52 +10:00
dmex 03c59d266e Remove whitespace 2023-04-26 10:27:13 +10:00
dmex 10a18c058e Update SAL annotations 2023-04-14 20:04:22 +10:00
Johnny Shaw 98406dff2c cross arch intrinsic support 2023-04-13 18:51:18 -06:00