File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -387,9 +387,9 @@ uint32_t ZLIB_INTERNAL crc32_sse42_simd_(  /* SSE4.2+PCLMUL */
387387#endif 
388388
389389#if  defined(__aarch64__ )
390- #define  TARGET_ARMV8_WITH_CRC  __attribute__((target("aes, crc")))
390+ #define  TARGET_ARMV8_WITH_CRC  __attribute__((target("arch=armv8-a+ aes+ crc")))
391391#else   // !defined(__aarch64__) 
392- #define  TARGET_ARMV8_WITH_CRC  __attribute__((target("armv8-a, crc")))
392+ #define  TARGET_ARMV8_WITH_CRC  __attribute__((target("crc")))
393393#endif   // defined(__aarch64__) 
394394
395395#elif  defined(__GNUC__ )
@@ -398,7 +398,7 @@ uint32_t ZLIB_INTERNAL crc32_sse42_simd_(  /* SSE4.2+PCLMUL */
398398 */ 
399399#include  <arm_acle.h> 
400400#include  <arm_neon.h> 
401- #define  TARGET_ARMV8_WITH_CRC 
401+ #define  TARGET_ARMV8_WITH_CRC  __attribute__((target("arch=armv8-a+crc"))) 
402402#else   // !defined(__GNUC__) && !defined(_aarch64__) 
403403#error  ARM CRC32 SIMD extensions only supported for Clang and GCC
404404#endif 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments