From 1f22984313a783c46b74e2bdfd25ed7c896464c6 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Thu, 12 Aug 2021 15:15:32 +0200 Subject: [PATCH] The hc_bytealign_be_S() was merged too early, but is not yet used anywhere for this platform so we can remove it again. --- OpenCL/inc_common.cl | 9 --------- include/common.h | 1 + 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/OpenCL/inc_common.cl b/OpenCL/inc_common.cl index 95d82caa4..0443b3821 100644 --- a/OpenCL/inc_common.cl +++ b/OpenCL/inc_common.cl @@ -1711,15 +1711,6 @@ DECLSPEC u32 hc_bfe_S (const u32 a, const u32 b, const u32 c) return r; } -DECLSPEC u32 hc_bytealign_be_S (const u32 a, const u32 b, const int c) -{ - const int c_mod_4 = c & 3; - - const u32 r = hc_byte_perm_S (b, a, (0x76543210 >> (c_mod_4 * 4)) & 0xffff); - - return r; -} - DECLSPEC u32x hc_bytealign (const u32x a, const u32x b, const int c) { const int c_mod_4 = c & 3; diff --git a/include/common.h b/include/common.h index 3da61bc6c..c53de63fc 100644 --- a/include/common.h +++ b/include/common.h @@ -144,3 +144,4 @@ but this is nededed for VS compiler which doesn't have inline keyword but has __ #endif #endif // _COMMON_H +