@maxhaton created dlang/dmd pull request #14136 "Fix Issue 23123 - -vasm ignored REX prefix for cmpxchg" fixing this issue:
- Fix Issue 23123 - -vasm ignored REX prefix for cmpxchg
This led to a mistaken bug report because obj2asm has the same issue.
The bug makes it look like dmd is emitting the wrong CAS instruction (but it
actually was)
https://github.com/dlang/dmd/pull/14136
Comment #2 by dlang-bot — 2022-05-18T21:50:42Z
dlang/dmd pull request #14136 "Fix Issue 23123 - -vasm ignored REX prefix for cmpxchg" was merged into master:
- 1785681ed0fe34bc2bc8d3102347ec051b0971c2 by mhh:
Fix Issue 23123 - -vasm ignored REX prefix for cmpxchg
This led to a mistaken bug report because obj2asm has the same issue.
The bug makes it look like dmd is emitting the wrong CAS instruction (but it
actually was)
https://github.com/dlang/dmd/pull/14136