mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-07-27 11:43:35 -04:00
ggml-cpu: remove noop, general code cleanup
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com>
This commit is contained in:
@ -3177,7 +3177,6 @@ void ggml_cpu_fp16_to_fp32(const ggml_fp16_t * x, float * y, int64_t n) {
|
||||
float32x4_t v_xdl = vec_extend_to_fp32_lo(v_xd, 0);
|
||||
vec_xst(v_xdh, 0, (float *)(y + i + 0));
|
||||
vec_xst(v_xdl, 0, (float *)(y + i + 4));
|
||||
(void)0;
|
||||
}
|
||||
|
||||
for (; i + 3 < n; i += 4) {
|
||||
@ -3185,11 +3184,6 @@ void ggml_cpu_fp16_to_fp32(const ggml_fp16_t * x, float * y, int64_t n) {
|
||||
uint16x8_t nnpa_dfl16 = vec_convert_from_fp16(v_x, 0);
|
||||
float32x4_t result = vec_extend_to_fp32_hi(nnpa_dfl16, 0);
|
||||
vec_xst(result, 0, (float *)(y + i));
|
||||
(void)0;
|
||||
// y[i + 0] = result[0];
|
||||
// y[i + 1] = result[1];
|
||||
// y[i + 2] = result[2];
|
||||
// y[i + 3] = result[3];
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user