[Nasm-bugs] [Bug 3392396] New: EVEX compressed offsets broken in recent commit

no-reply at bugzilla-nasm.gorcunov.org no-reply at bugzilla-nasm.gorcunov.org
Tue Apr 4 13:06:40 PDT 2017


https://bugzilla.nasm.us/show_bug.cgi?id=3392396

            Bug ID: 3392396
           Summary: EVEX compressed offsets broken in recent commit
           Product: NASM
           Version: unspecified
          Hardware: All
                OS: All
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: henrik at gramner.com
                CC: gorcunov at gmail.com, hpa at zytor.com, nasm-bugs at nasm.us

Noticed yet another bug introduced with commit
c33d95fde9f8ae6252c8ecf4d66c543dfa914d83 (BR 3392370: {z} decorator allowed on
MOVDQ* memory operands) - it also broke EVEX compressed disp8*N encoded
offsets.

Things will still work, but with needlessly long instructions.

Before:
62 e1 7d 48 7f 07 vmovdqa32 [rdi], zmm16
62 e1 7d 48 7f 4f 01 vmovdqa32 [rdi+0x40], zmm17
62 e1 7d 48 7f 57 02 vmovdqa32 [rdi+0x80], zmm18
62 e1 7d 48 7f 5f 03 vmovdqa32 [rdi+0xc0], zmm19

After:
62 e1 7d 48 7f 07 vmovdqa32 [rdi], zmm16
62 e1 7d 48 7f 8f 40 00 00 00 vmovdqa32 [rdi+0x40], zmm17
62 e1 7d 48 7f 97 80 00 00 00 vmovdqa32 [rdi+0x80], zmm18
62 e1 7d 48 7f 9f c0 00 00 00 vmovdqa32 [rdi+0xc0], zmm19

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


More information about the Nasm-bugs mailing list