For the moment, until I fix it, you can use db to insert the exact bytes you need.
Comment #3 by dlang-bot — 2019-08-15T10:10:49Z
@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
Comment #4 by dlang-bot — 2019-08-16T02:35:31Z
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 inline asm LOCK CMPXCHG; possible REX prefix missing
https://github.com/dlang/dmd/pull/10312