Does Intel C++ compiler and/or GCC support the following intrinsics, like MSVC does since 2012 / 2013?
int _rdrand16_step(uint16_t*);
int _rdrand32_step(
Both GCC and Intel compiler support them. GCC support was introduced at the end of 2010. They require the header .
GCC support has been present since at least version 4.6, but there doesn't seem to be any specific compile-time constant - you can just check __GNUC_MAJOR__ > 4 || (__GNUC_MAJOR__ == 4 && __GNUC_MINOR__ >= 6).