digitalmars.D.bugs - [Issue 22657] New: AVX SIMD Instructions are decoded correctly but
- d-bugmail puremagic.com (38/38) Jan 07 2022 https://issues.dlang.org/show_bug.cgi?id=22657
https://issues.dlang.org/show_bug.cgi?id=22657 Issue ID: 22657 Summary: AVX SIMD Instructions are decoded correctly but printed badly. Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: minor Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: maxhaton gmail.com ``` extern(C) void p51mustang() { asm { naked; vmovaps XMM2, [RIP+3678000]; vmaxpd XMM0, XMM3, [RAX]; vpunpcklbw XMM0, XMM1, XMM2; vpalignr XMM0, XMM5, [RAX+RBX], 3; } } ``` yields: ``` p51mustang: 0000: C5 F8 28 15 30 1F 38 00 tvmovapstXMM2,[0381F30h][RIP] 0008: C5 E1 5F 00 tvmaxpdtXMM0,XMM3,[RAX] 000c: C5 F1 60 C2 tvunpcklbwtXMM0,XMM1,XMM2 0010: C4 E3 51 0F 04 18 03 tvpalignrtXMM0,XMM5,[RBX][RAX],3 ``` The instructions are in a t...t sandwich, and there is no whitespace following the opcode. --
Jan 07 2022