August 20, 2008 [Issue 2300] New: pause opcode is not well documented | ||||
---|---|---|---|---|
| ||||
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 [Issue 2300] pause opcode is not well documented | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | 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 -- |
Copyright © 1999-2021 by the D Language Foundation