From 3f4851c47b785ed82525e35d2e750cefbd20ccb0 Mon Sep 17 00:00:00 2001 From: Alfred Klomp Date: Sat, 13 Jan 2024 19:31:00 +0100 Subject: [PATCH] ssse3: apply BASE64_FORCE_INLINE macro --- lib/arch/ssse3/dec_loop.c | 2 +- lib/arch/ssse3/dec_reshuffle.c | 2 +- lib/arch/ssse3/enc_loop.c | 2 +- lib/arch/ssse3/enc_reshuffle.c | 2 +- lib/arch/ssse3/enc_translate.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/arch/ssse3/dec_loop.c b/lib/arch/ssse3/dec_loop.c index 9da71abe..7ddb73bf 100644 --- a/lib/arch/ssse3/dec_loop.c +++ b/lib/arch/ssse3/dec_loop.c @@ -65,7 +65,7 @@ // 1110 0x10 andlut 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 // 1111 0x10 andlut 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 -static inline int +static BASE64_FORCE_INLINE int dec_loop_ssse3_inner (const uint8_t **s, uint8_t **o, size_t *rounds) { const __m128i lut_lo = _mm_setr_epi8( diff --git a/lib/arch/ssse3/dec_reshuffle.c b/lib/arch/ssse3/dec_reshuffle.c index fdf587fe..d3dd3954 100644 --- a/lib/arch/ssse3/dec_reshuffle.c +++ b/lib/arch/ssse3/dec_reshuffle.c @@ -1,4 +1,4 @@ -static inline __m128i +static BASE64_FORCE_INLINE __m128i dec_reshuffle (const __m128i in) { // in, bits, upper case are most significant bits, lower case are least significant bits diff --git a/lib/arch/ssse3/enc_loop.c b/lib/arch/ssse3/enc_loop.c index 6de652e1..9b67b70d 100644 --- a/lib/arch/ssse3/enc_loop.c +++ b/lib/arch/ssse3/enc_loop.c @@ -1,4 +1,4 @@ -static inline void +static BASE64_FORCE_INLINE void enc_loop_ssse3_inner (const uint8_t **s, uint8_t **o) { // Load input: diff --git a/lib/arch/ssse3/enc_reshuffle.c b/lib/arch/ssse3/enc_reshuffle.c index b738591f..f9dc949f 100644 --- a/lib/arch/ssse3/enc_reshuffle.c +++ b/lib/arch/ssse3/enc_reshuffle.c @@ -1,4 +1,4 @@ -static inline __m128i +static BASE64_FORCE_INLINE __m128i enc_reshuffle (__m128i in) { // Input, bytes MSB to LSB: diff --git a/lib/arch/ssse3/enc_translate.c b/lib/arch/ssse3/enc_translate.c index 04f288fc..60d9a42b 100644 --- a/lib/arch/ssse3/enc_translate.c +++ b/lib/arch/ssse3/enc_translate.c @@ -1,4 +1,4 @@ -static inline __m128i +static BASE64_FORCE_INLINE __m128i enc_translate (const __m128i in) { // A lookup table containing the absolute offsets for all ranges: