dmd vasm gives ``` simpleLoop: 0000: 0F 01 F9 invlpg ECX ``` GNU objdump gives ``` 0000000000000000 <simpleLoop>: 0: 0f 01 f9 rdtscp ... ``` Note that this is the wrong type of operand for invlpg too (should be an mm64), luckily however when the instruction is decoded as a true positive (i.e. the source bytes really are a invlpg) the correct operand is given.
@maxhaton created dlang/dmd pull request #14153 "Fix Issue 22664 - -vasm doesn't recognize rdtscp" fixing this issue: - Fix Issue 22664 - -vasm doesn't recognize rdtscp https://github.com/dlang/dmd/pull/14153
dlang/dmd pull request #14153 "Fix Issue 22664 - -vasm doesn't recognize rdtscp" was merged into master: - fa2baf85c86e02834836982d14eadf52cd4bf0b7 by mhh: Fix Issue 22664 - -vasm doesn't recognize rdtscp https://github.com/dlang/dmd/pull/14153