[Issue 2300] New: pause opcode is not well documented

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 20 11:11:55 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2300

           Summary: pause opcode is not well documented
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: manlio.perillo at gmail.com


In the "Inline Assembler" documentation it is reported that "pause" opcode is
equivalent to rep; nop;

This is not true on modern IA-32 CPUs.

PAUSE istruction can be executed with:

asm {
    // "pause" opcode is not supported
    db 0xf3, 0x90;
}


-- 



More information about the Digitalmars-d-bugs mailing list