← Back to index
|
Original Bugzilla link
Bug 12878 – inline asm memory operand always uses 64-bit addressing
Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2014-06-08T16:43:33Z
Last change time
2024-12-13T18:21:23Z
Keywords
iasm, pull, wrong-code
Assigned to
No Owner
Creator
Martin Nowak
Moved to GitHub: dmd#17664 →
Comments
Comment #0
by code — 2014-06-08T16:43:33Z
cat > bug.d << CODE void main() { asm { mov EAX, [ESI]; movdqu XMM0, [ESI]; } } CODE dmd -c bug.d objdump -d bug.o ---- 4: 8b 06 mov (%rsi),%eax 6: f3 0f 6f 06 movdqu (%rsi),%xmm0 ---- The compiler should emit an address size prefix (67H) like so. ---- 15: 67 8b 06 mov (%esi),%eax 18: 67 f3 0f 6f 06 movdqu (%esi),%xmm0 ----
Comment #1
by dlang-bot — 2020-08-14T09:45:22Z
@WalterBright created dlang/dmd pull request #11571 "fix Issue 12878 - inline asm memory operand always uses 64-bit addres…" fixing this issue: - fix Issue 12878 - inline asm memory operand always uses 64-bit addressing
https://github.com/dlang/dmd/pull/11571
Comment #2
by robert.schadek — 2024-12-13T18:21:23Z
THIS ISSUE HAS BEEN MOVED TO GITHUB
https://github.com/dlang/dmd/issues/17664
DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB