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 @@ -355,8 +355,8 @@ GGML_API void ggml_aligned_free(void * ptr, size_t size);
355
355
#define GGML_FP32_TO_FP16 (x ) GGML_COMPUTE_FP32_TO_FP16(x)
356
356
357
357
static inline float ggml_compute_fp16_to_fp32 (ggml_fp16_t h) {
358
- register float f;
359
- register double d;
358
+ float f;
359
+ double d;
360
360
__asm__ (
361
361
" mtfprd %0,%2\n "
362
362
" xscvhpdp %0,%0\n "
@@ -368,8 +368,8 @@ GGML_API void ggml_aligned_free(void * ptr, size_t size);
368
368
}
369
369
370
370
static inline ggml_fp16_t ggml_compute_fp32_to_fp16 (float f) {
371
- register double d;
372
- register ggml_fp16_t r;
371
+ double d;
372
+ ggml_fp16_t r;
373
373
__asm__ ( /* xscvdphp can work on double or single precision */
374
374
" xscvdphp %0,%2\n "
375
375
" mffprd %1,%0\n " :
You can’t perform that action at this time.
0 commit comments