Bug 7228 – MOVDQ2Q instruction is emitted with swapped register indices

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2012-01-04T21:03:00Z
Last change time
2012-01-24T22:53:11Z
Keywords
iasm
Assigned to
nobody
Creator
pszturmaj

Comments

Comment #0 by pszturmaj — 2012-01-04T21:03:48Z
With D's inline assembler, this instruction: movdq2q MM2, XMM7; is emitted as: movdq2q MM7, XMM2; I encountered this behaviour only with this instruction. Its reverse instruction movq2dq is emitted correctly.
Comment #1 by github-bugzilla — 2012-01-24T22:46:50Z
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/0f07f631b597ea47847c1e0f1833d30ef5ee9574 fix Issue 7228 - MOVDQ2Q instruction is emitted with swapped register indices
Comment #2 by github-bugzilla — 2012-01-24T22:47:26Z
Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/29354fe3be9244e8730507e99d131efebe0a786a fix Issue 7228 - MOVDQ2Q instruction is emitted with swapped register indices