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 10fb7f8 commit a9ab03e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/arch/avx512/enc_loop.c
@@ -1,3 +1,4 @@
BASE64_FORCE_INLINE
static inline void
enc_loop_avx512_inner (const uint8_t **s, uint8_t **o)
{
Expand All @@ -12,6 +13,7 @@ enc_loop_avx512_inner (const uint8_t **s, uint8_t **o)
*o += 64;
}

BASE64_FORCE_INLINE
static inline void
enc_loop_avx512 (const uint8_t **s, size_t *slen, uint8_t **o, size_t *olen)
{
Expand Down
1 change: 1 addition & 0 deletions lib/arch/avx512/enc_reshuffle_translate.c
@@ -1,6 +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.

BASE64_FORCE_INLINE
static inline __m512i
enc_reshuffle_translate (const __m512i input)
{
Expand Down

0 comments on commit a9ab03e

Please sign in to comment.