zstd
zstd copied to clipboard
Improve support for IAR compiler with attributes and intrinsics
This patch improves development experience and performance for projects using the IAR toolchain.
- Utilize IAR compiler attributes
- Optimized with IAR intrinsics
Sometimes I see __ICCARM__ being tested, and sometimes __IAR_SYSTEMS_ICC__.
Would you mind explaining the difference, and why sometimes one is better than the other ?
Sometimes I see
__ICCARM__being tested, and sometimes__IAR_SYSTEMS_ICC__. Would you mind explaining the difference, and why sometimes one is better than the other ?
__IAR_SYSTEMS_ICC__ identifies the IAR compiler platform, while __ICCARM__ specifically designates the IAR compiler for Arm architecture. Since there're IAR versions for various architectures, such as RISC-V, __ICCARM__ is utilized for IAR intrinsics.
Quick question :
does it sound plausible to feature an __IAR_SYSTEMS_ICC__ compiler test during CI tests on Github Actions ?
If not, this is a "blind fix", and any future update could break compatibility is subtle ways, which would remain invisible.
Quick question : does it sound plausible to feature an
__IAR_SYSTEMS_ICC__compiler test during CI tests on Github Actions ?If not, this is a "blind fix", and any future update could break compatibility is subtle ways, which would remain invisible.
It will be fantastic to have CI tests for IAR. However, it's a paid tool.