]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ggml-cpu: Optimized x86 and generic cpu q1_0 dot (follow up) (#21636)
authorpl752 <redacted>
Mon, 20 Apr 2026 16:02:54 +0000 (21:02 +0500)
committerGitHub <redacted>
Mon, 20 Apr 2026 16:02:54 +0000 (19:02 +0300)
commit7f251fdbce614a50141005dc70ce3787b7777a8e
tree24ae326c833469812b5f5a24763043da1be1bb0d
parenta6cc43c286a2ebc429aa69b9a4d16de082cedb51
ggml-cpu: Optimized x86 and generic cpu q1_0 dot (follow up) (#21636)

* Implemented optimized q1_0 dot for x86 and generic

* Removed redundant helper definition

* Removed two redundant instructions from AVX q1_0 dot

* Fixed inconsistency with fp16 conversion for generic q1_0 dot and deduplicated generic fallback

* Style cleanup around AVX q1_0 dot

* Replaced explicitly unrolled blocks with inner for loop for q1_0

* Replaced scalar ARM q1_0 impl with new generic one
ggml/src/ggml-cpu/arch-fallback.h
ggml/src/ggml-cpu/arch/arm/quants.c
ggml/src/ggml-cpu/arch/x86/quants.c
ggml/src/ggml-cpu/quants.c