ggml-cpu: attempt direct reference

Signed-off-by: Aaron Teo <aaron.teo1@ibm.com>
This commit is contained in:
Aaron Teo 2025-06-20 19:30:03 +08:00
parent 0ff0d65162
commit a316d1b7fa
No known key found for this signature in database
1 changed files with 1 additions and 4 deletions

View File

@ -984,10 +984,7 @@ static inline void __lzs_f16cx4_store(ggml_fp16_t * x, float32x4_t y) {
#ifdef __NNPA__
float32x4_t zero = vec_splats(0.0f);
uint16x8_t nnpa = vec_round_from_fp32(y, zero, 0);
x[0] = nnpa[0];
x[1] = nnpa[1];
x[2] = nnpa[2];
x[3] = nnpa[3];
x = nnpa;
#else
float arr[4];