Are intrinsics available in Sololearn | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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); | ^~~~~~~~~~~~~~~~~~

29th Jun 2021, 2:04 PM
MightyFixie
MightyFixie - avatar
1 Answer
+ 1
No sololearn cant compile anything
5th Jul 2021, 6:46 PM
Bhavik Mahalle
Bhavik Mahalle - avatar