Skip to content

Commit

Permalink
ALWAYS_INLINE function
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Nov 11, 2024
1 parent d8b1fb1 commit 14c0793
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/PreSieve.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,12 +321,12 @@ void AND_PreSieveTables_Sieve_default(const uint8_t* __restrict preSieved0,
#endif
#endif

void AND_PreSieveTables(const uint8_t* __restrict preSieved0,
const uint8_t* __restrict preSieved1,
const uint8_t* __restrict preSieved2,
const uint8_t* __restrict preSieved3,
uint8_t* __restrict sieve,
std::size_t bytes)
ALWAYS_INLINE void AND_PreSieveTables(const uint8_t* __restrict preSieved0,
const uint8_t* __restrict preSieved1,
const uint8_t* __restrict preSieved2,
const uint8_t* __restrict preSieved3,
uint8_t* __restrict sieve,
std::size_t bytes)
{
#if defined(ENABLE_ARM_SVE)
AND_PreSieveTables_arm_sve(preSieved0, preSieved1, preSieved2, preSieved3, sieve, bytes);
Expand All @@ -352,12 +352,12 @@ void AND_PreSieveTables(const uint8_t* __restrict preSieved0,
#endif
}

void AND_PreSieveTables_Sieve(const uint8_t* __restrict preSieved0,
const uint8_t* __restrict preSieved1,
const uint8_t* __restrict preSieved2,
const uint8_t* __restrict preSieved3,
uint8_t* __restrict sieve,
std::size_t bytes)
ALWAYS_INLINE void AND_PreSieveTables_Sieve(const uint8_t* __restrict preSieved0,
const uint8_t* __restrict preSieved1,
const uint8_t* __restrict preSieved2,
const uint8_t* __restrict preSieved3,
uint8_t* __restrict sieve,
std::size_t bytes)
{
#if defined(ENABLE_ARM_SVE)
AND_PreSieveTables_Sieve_arm_sve(preSieved0, preSieved1, preSieved2, preSieved3, sieve, bytes);
Expand Down

0 comments on commit 14c0793

Please sign in to comment.