cpu `x86intrin.h` 的要求?
cpu requirements for `x86intrin.h`?
您好,我认为 运行 x86intrin.h
的最低 CPU 要求是英特尔第三代处理器。
然而当我运行这个代码
_rdseed64_step(&temp2);
我收到以下错误
error: inlining failed in call to always_inline 'int _rdseed64_step(long long unsigned int*)': target specific option mismatch
_rdseed64_step (unsigned long long *__p)
我已将标志设置为 march=native
,它仅在我使用台式机时发生,当我 运行 在 运行 配备第 6 代处理器的笔记本电脑上时工作正常。
The corresponding 4th Generation Intel® Core™ instruction is RDSEED.
所以看起来你不能在第 3 代处理器上使用它。
您好,我认为 运行 x86intrin.h
的最低 CPU 要求是英特尔第三代处理器。
然而当我运行这个代码
_rdseed64_step(&temp2);
我收到以下错误
error: inlining failed in call to always_inline 'int _rdseed64_step(long long unsigned int*)': target specific option mismatch
_rdseed64_step (unsigned long long *__p)
我已将标志设置为 march=native
,它仅在我使用台式机时发生,当我 运行 在 运行 配备第 6 代处理器的笔记本电脑上时工作正常。
The corresponding 4th Generation Intel® Core™ instruction is RDSEED.
所以看起来你不能在第 3 代处理器上使用它。