Skip to content

Commit

Permalink
avx512: apply BASE64_FORCE_INLINE keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
aklomp committed Jan 13, 2024
1 parent 08fa9d8 commit c17debf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/arch/avx512/enc_loop.c
@@ -1,4 +1,4 @@
static inline void
BASE64_FORCE_INLINE void
enc_loop_avx512_inner (const uint8_t **s, uint8_t **o)
{
// Load input.
Expand All @@ -12,7 +12,7 @@ enc_loop_avx512_inner (const uint8_t **s, uint8_t **o)
*o += 64;
}

static inline void
BASE64_FORCE_INLINE void
enc_loop_avx512 (const uint8_t **s, size_t *slen, uint8_t **o, size_t *olen)
{
if (*slen < 64) {
Expand Down
2 changes: 1 addition & 1 deletion lib/arch/avx512/enc_reshuffle_translate.c
@@ -1,7 +1,7 @@
// AVX512 algorithm is based on permutevar and multishift. The code is based on
// https://github.com/WojciechMula/base64simd which is under BSD-2 license.

static inline __m512i
BASE64_FORCE_INLINE __m512i
enc_reshuffle_translate (const __m512i input)
{
// 32-bit input
Expand Down

0 comments on commit c17debf

Please sign in to comment.