August 20, 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@digitalmars.com
        ReportedBy: manlio.perillo@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;
}


-- 

August 26, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2300


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




------- Comment #1 from bugzilla@digitalmars.com  2008-08-26 02:30 -------
asm
{
    rep; nop;
}

does compile to 0xF3 0x90


--