]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Rename "arch/power/fallback_builtins.h" to avoid possible conflict with "fallback_bui...
authorVladislav Shchapov <vladislav@shchapov.ru>
Thu, 23 Jan 2025 20:45:26 +0000 (01:45 +0500)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Mon, 27 Jan 2025 11:38:30 +0000 (12:38 +0100)
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
arch/power/crc32_power8.c
arch/power/power_intrins.h [moved from arch/power/fallback_builtins.h with 91% similarity]

index 1cb5f299f3d9ab1821399a06675830822b570340..28c59b663c73b55e844fae9e95ad1fe615797833 100644 (file)
@@ -32,9 +32,7 @@
 #include "crc32_constants.h"
 #include "crc32_braid_tbl.h"
 
-#if defined (__clang__)
-#include "fallback_builtins.h"
-#endif
+#include "power_intrins.h"
 
 #define MAX_SIZE    32768
 #define VMX_ALIGN      16
similarity index 91%
rename from arch/power/fallback_builtins.h
rename to arch/power/power_intrins.h
index ed9584617b156ad3e6aab1e341f00e3a5d04f990..cf71986563af4190e712d8352c1553ee2ed260a0 100644 (file)
@@ -9,9 +9,10 @@
  * For conditions of distribution and use, see copyright notice in zlib.h
  */
 
-#ifndef POWER_BUILTINS_H
-#define POWER_BUILTINS_H
+#ifndef POWER_INTRINS_H
+#define POWER_INTRINS_H
 
+#if defined (__clang__)
 /*
  * These stubs fix clang incompatibilities with GCC builtins.
  */
@@ -29,3 +30,5 @@ vec_ld(int __a, const __vector unsigned long long* __b) {
 }
 
 #endif
+
+#endif