[Nasm-bugs] [Bug 3392824] New: NASM generates wrong opcodes for EVEX vpclmulqdq

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Mon Nov 28 23:17:17 PST 2022


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

            Bug ID: 3392824
           Summary: NASM generates wrong opcodes for EVEX vpclmulqdq
           Product: NASM
           Version: 2.16 (development)
          Hardware: PC
                OS: Windows
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: andrey.matyukov at gmail.com
                CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
                    hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Binary from nasm.us

Created attachment 411860
  --> https://bugzilla.nasm.us/attachment.cgi?id=411860&action=edit
Reproducer

Hello,

I noticed differences in code generation with nasm 2.15.05 and 2.16rc9.
The newer version emits incorrect opcodes for vpclmulqdq.

I tested with generating object for Win64: nasm -fwin64 rsaz.asm

Please see the screenshot here:
https://user-images.githubusercontent.com/54439240/204458391-4bc54dbd-8eff-41e3-9eb5-10a08b37f0fd.png

Left is objdump from 2.16rc9, right is 2.15.05.
A file with reproducer is also attached.


Regards,
Andrey

-- 
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