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);
355355    #define  GGML_FP32_TO_FP16 (x ) GGML_COMPUTE_FP32_TO_FP16(x)
356356
357357    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;
360360        __asm__ (
361361            " mtfprd %0,%2\n " 
362362            " xscvhpdp %0,%0\n " 
@@ -368,8 +368,8 @@ GGML_API void ggml_aligned_free(void * ptr, size_t size);
368368    }
369369
370370    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;
373373        __asm__ ( /*  xscvdphp can work on double or single precision */ 
374374            " xscvdphp %0,%2\n " 
375375            " mffprd %1,%0\n "   :
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments