Last active
January 6, 2019 07:29
-
-
Save croepha/dde73eb313b15538251ef032e8548047 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <wmmintrin.h> | |
int main() { | |
__m128i v = {}; | |
static const int r0 = 0x00; | |
static const int r[] = {0x00}; | |
static const int r1 = r[0]; | |
_mm_aeskeygenassist_si128(v, r0); // compiles | |
_mm_aeskeygenassist_si128(v, r1); // fails with error: argument to '__builtin_ia32_aeskeygenassist128' must be a constant integer | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment