Bastian Blank wrote:
On Tue, Feb 12, 2008 at 01:42:50PM -0800, H. Peter Anvin wrote:
Okay, the faulting instruction is the following:
c0383360:       0f 1f 40 00             nopl   0x0(%eax)

include/asm-x86/nops.h:
| /* P6 nops */
| /* uses eax dependencies (Intel-recommended choice) */
[...]
| #define P6_NOP4 ".byte 0x0f,0x1f,0x40,0\n"


Yes, which requires a 686-class machine; gcc is also free to use these for -m686, so there is a userspace-visible difference, and thus the hack to call Crusoe a 686-class machine is not correct.

Unfortunately there is no CPUID flag for these, only the CPU level.

        -hpa



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to