Declare the intrinsics: _byteswap_ushort, _byteswap_long, _byteswap_uint64, __nop
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Have you verified this matches MSVC? (IIRC the only reason we include stdlib.h on x86 is so we can define _mm_malloc.)
Comment Actions
I don't see MSVC intrin.h including stdlib.h. So I guess I will just declare the required intrinsics.
lib/Headers/intrin.h | ||
---|---|---|
569 | Isn't there already a declaration of __nop in intrin.h? (Line 100.) |
Comment Actions
We need full definition for __nop in intrin.h.
lib/Headers/intrin.h | ||
---|---|---|
569 | For nop, we probably need full definition instead of declaration, just like nop for x86/x64 in this file. |
Isn't there already a declaration of __nop in intrin.h? (Line 100.)