|--- |FIXED
--- Comment #4 from Dlang Bot ---
dlang/dmd pull request #10312 "fix Issue 20131 - Bad codegen from inline asm
LOCK CMPXCHG; possible …" was merged into master:
- e26754056f0e671edbcdb80b9507780fa078907d by Walter Bright:
fix Issue 20131 - Bad codegen from inlin
---
@WalterBright created dlang/dmd pull request #10312 "fix Issue 20131 - Bad
codegen from inline asm LOCK CMPXCHG; possible …" fixing this issue:
- fix Issue 20131 - Bad codegen from inline asm LOCK CMPXCHG; possible REX
prefix missing
https://github.com/dlang/dmd/pull/10312
--
https://issues.dlang.org/show_bug.cgi?id=20131
--- Comment #2 from Walter Bright ---
For the moment, until I fix it, you can use db to insert the exact bytes you
need.
--
https://issues.dlang.org/show_bug.cgi?id=20131
--- Comment #1 from Walter Bright ---
Minimal test case:
bool test() {
asm {
naked;
cmpxchg [RDX], DIL;
}
}
--
https://issues.dlang.org/show_bug.cgi?id=20131
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
Summary|
https://issues.dlang.org/show_bug.cgi?id=20131
Walter Bright changed:
What|Removed |Added
Keywords||iasm
--