Skip to content

Commit 23f3f5e

Browse files
committed
ggml-cpu: attempt direct reference
Signed-off-by: Aaron Teo <[email protected]>
1 parent d8926e0 commit 23f3f5e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ggml/src/ggml-cpu/simd-mappings.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -984,10 +984,7 @@ static inline void __lzs_f16cx4_store(ggml_fp16_t * x, float32x4_t y) {
984984
#ifdef __NNPA__
985985
float32x4_t zero = vec_splats(0.0f);
986986
uint16x8_t nnpa = vec_round_from_fp32(y, zero, 0);
987-
x[0] = nnpa[0];
988-
x[1] = nnpa[1];
989-
x[2] = nnpa[2];
990-
x[3] = nnpa[3];
987+
x = nnpa;
991988
#else
992989
float arr[4];
993990

0 commit comments

Comments
 (0)