cpuinfo 中没有暂停标志?

Pause flag not present in cpuinfo?

我读了 here 一些我想尝试的东西,但是当我读 "cat /proc/cpuinfo" 时,没有 pause 英特尔 cpu 的标志。其他 cpu 有。

所以 :

1) 这真的意味着 pause 没有在这个 cpu 上激活吗? (core 2 duo 2006, sse2 标志在那里)

2) 我应该使用 "rep nop" 替代方案吗?

谢谢

英特尔指令集参考说:

This instruction was introduced in the Pentium 4 processors,
but is backward compatible with all IA-32 processors.
In earlier IA-32 processors, the PAUSE instruction operates
like a NOP instruction. The Pentium 4 and Intel Xeon processors
implement  the PAUSE instruction as a delay.

所以您的 core 2 duo 确实有它,但即使在没有它的处理器上它仍然会像 NOP 一样工作。