0
Are intrinsics available in Sololearn
I wrote a small program that uses an x86 intrinsic to get random numbers. My Visual Studio compiles it without any problem but the code doesn't work in Sololearn. The only thing I get is: In file included from ./Playground/file0.c:2: ./Playground/file0.c: In function 'main': ../Playground/-linux-gnu../Playground/:277:1: error: inlining failed in call to 'always_inline' '_rdrand64_step': target specific option mismatch 277 | _rdrand64_step (unsigned long long *__P) | ^~~~~~~~~~~~~~ ./Playground/file0.c:18:4: note: called from here 18 | _rdrand64_step(&r); | ^~~~~~~~~~~~~~~~~~
1 Resposta
+ 1
No sololearn cant compile anything