Different ways to avoid inlining
This commit is contained in:
parent
bd4c5c0d17
commit
121978e2c3
@ -14,7 +14,13 @@ typedef unsigned uint128_t __attribute__((mode(TI)));
|
|||||||
#define SHR(in, shift) (unsigned long long)(in >> (shift))
|
#define SHR(in, shift) (unsigned long long)(in >> (shift))
|
||||||
#define LO(in) (unsigned long long)(in)
|
#define LO(in) (unsigned long long)(in)
|
||||||
|
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
# define POLY1305_NOINLINE __declspec(noinline)
|
||||||
|
#elif defined(__GNUC__)
|
||||||
# define POLY1305_NOINLINE __attribute__((noinline))
|
# define POLY1305_NOINLINE __attribute__((noinline))
|
||||||
|
#else
|
||||||
|
# define POLY1305_NOINLINE
|
||||||
|
#endif
|
||||||
|
|
||||||
#define poly1305_block_size 16
|
#define poly1305_block_size 16
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user