Details
Diff Detail
Event Timeline
lib/Headers/arm64intr.h | ||
---|---|---|
50 | These should be available for all Microsoft targets, I think. Please define these as inline functions or proper builtins, rather than macros; a macro is very likely to break something. (For example, if someone includes stdlib.h, which declares "unsigned long _byteswap_ulong(unsigned long);", replacing _byteswap_ulong with __builtin_bswap32 will cause a compile error.) |
LGTM
test/Headers/ms-arm64-intrin.cpp | ||
---|---|---|
18–81 | While you're here, please fix all four tests to just check the IR. |
Before you commit, please verify this actually compiles if you include both this intrin.h and stdlib.h from the Microsoft SDK, in either order.
Verified that this compiles when both intrin.h and stdlib.h from the Microsoft SDK are included, in either order.
These should be available for all Microsoft targets, I think.
Please define these as inline functions or proper builtins, rather than macros; a macro is very likely to break something. (For example, if someone includes stdlib.h, which declares "unsigned long _byteswap_ulong(unsigned long);", replacing _byteswap_ulong with __builtin_bswap32 will cause a compile error.)