File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -362,8 +362,8 @@ GGML_API void ggml_aligned_free(void * ptr, size_t size);
362362 #define GGML_FP32_TO_FP16 (x ) GGML_COMPUTE_FP32_TO_FP16(x)
363363
364364 static inline float ggml_compute_fp16_to_fp32 (ggml_fp16_t h) {
365- register float f;
366- register double d;
365+ float f;
366+ double d;
367367 __asm__ (
368368 " mtfprd %0,%2\n "
369369 " xscvhpdp %0,%0\n "
@@ -375,8 +375,8 @@ GGML_API void ggml_aligned_free(void * ptr, size_t size);
375375 }
376376
377377 static inline ggml_fp16_t ggml_compute_fp32_to_fp16 (float f) {
378- register double d;
379- register ggml_fp16_t r;
378+ double d;
379+ ggml_fp16_t r;
380380 __asm__ ( /* xscvdphp can work on double or single precision */
381381 " xscvdphp %0,%2\n "
382382 " mffprd %1,%0\n " :
You can’t perform that action at this time.
0 commit comments