Improve support for IAR compiler with attributes and intrinsics

This commit is contained in:
Joseph Chen
2024-05-14 17:01:19 +08:00
parent 78955f5f9d
commit 2955d92ac0
5 changed files with 25 additions and 5 deletions
+4
View File
@@ -38,7 +38,11 @@ const char* HUF_getErrorName(size_t code) { return ERR_getErrorName(code); }
/*-**************************************************************
* FSE NCount encoding-decoding
****************************************************************/
#if defined(__IAR_SYSTEMS_ICC__)
MEM_STATIC
#else
FORCE_INLINE_TEMPLATE
#endif
size_t FSE_readNCount_body(short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr,
const void* headerBuffer, size_t hbSize)
{