Skip to content

Commit

Permalink
ssse3: apply BASE64_FORCE_INLINE macro
Browse files Browse the repository at this point in the history
  • Loading branch information
aklomp committed Feb 29, 2024
1 parent 5b63302 commit 3f4851c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/arch/ssse3/dec_loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion lib/arch/ssse3/dec_reshuffle.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/arch/ssse3/enc_loop.c
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion lib/arch/ssse3/enc_reshuffle.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
static inline __m128i
static BASE64_FORCE_INLINE __m128i
enc_reshuffle (__m128i in)
{
// Input, bytes MSB to LSB:
Expand Down
2 changes: 1 addition & 1 deletion lib/arch/ssse3/enc_translate.c
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 3f4851c

Please sign in to comment.