diff options
author | Georgi Gerganov <ggerganov@gmail.com> | 2023-03-30 20:27:32 +0300 |
---|---|---|
committer | Georgi Gerganov <ggerganov@gmail.com> | 2023-03-30 20:27:32 +0300 |
commit | 77efdf5a501b1140801da5cd8751e9f9b259ec32 (patch) | |
tree | 7b0fe033f14b35e00b7131beba9de7c1c03fd375 | |
parent | ed3c680bcd0e8ce6e574573ba95880b694449878 (diff) |
ggml : fix NEON signs (close #620, #622)
-rw-r--r-- | ggml.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1038,8 +1038,8 @@ static void dequantize_row_q4_1(const void * restrict vx, float * restrict y, in const uint8x16_t vq = vcombine_u8(vx_0, vx_1); // convert to 2x uint16x8_t - const uint16x8_t vi_0 = vmovl_s8(vget_low_u8 (vq)); - const uint16x8_t vi_1 = vmovl_s8(vget_high_u8(vq)); + const uint16x8_t vi_0 = vmovl_u8(vget_low_u8 (vq)); + const uint16x8_t vi_1 = vmovl_u8(vget_high_u8(vq)); // convert to 4x float32x4_t const float32x4_t vf_0 = vcvtq_f32_u32(vmovl_u16(vget_low_u16 (vi_0))); |