[Nasm-bugs] [Bug 3392460] Use of VAESENC, VAESDEC, VAESENCLAST, VAESDECLAST, VPCLUMQUDQ produce assemble error

no-reply at bugzilla-nasm.gorcunov.org no-reply at bugzilla-nasm.gorcunov.org
Wed Feb 7 10:44:15 PST 2018


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

H. Peter Anvin <hpa at zytor.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Medium                      |Highest

--- Comment #1 from H. Peter Anvin <hpa at zytor.com> ---
It Works For Me[TM] in 2.13.03rc5 (not 2.13rc5) which is also the head of the
nasm-2.13.xx branch. 

You had a typo in your code: in the vaesenclast instruction, you have a period
rather than a comma.  Was that present in your test case?  If so that should
produce the error message:

vaesenc.asm:9: error: comma, colon, decorator or end of line expected after
operand

Please give your full test case as well as the command line you used with NASM.

I get the following output:

     1                                  ;; BR 3392454, 3392460
     2                                  
     3                                          bits 64
     4 00000000 660F38DCC4                      aesenc xmm0,xmm4
     5 00000005 62F27D48DCC4                    vaesenc zmm0,zmm0,zmm4
     6 0000000B 62F3754844CD00                  vpclmullqlqdq zmm1,zmm1,zmm5
     7 00000012 62F3754844C200                  vpclmulqdq zmm0, zmm1, zmm2, 0
     8 00000019 62F27548DDC2                    vaesenclast zmm0, zmm1, zmm2
     9                                  
    10                                          bits 32
    11 0000001F 660F38DCC4                      aesenc xmm0,xmm4
    12 00000024 62F27D48DCC4                    vaesenc zmm0,zmm0,zmm4
    13 0000002A 62F3754844CD00                  vpclmullqlqdq zmm1,zmm1,zmm5
    14 00000031 62F3754844C200                  vpclmulqdq zmm0, zmm1, zmm2, 0
    15 00000038 62F27548DDC2                    vaesenclast zmm0, zmm1, zmm2
    16                                  
    17                                          bits 16
    18 0000003E 660F38DCC4                      aesenc xmm0,xmm4
    19 00000043 62F27D48DCC4                    vaesenc zmm0,zmm0,zmm4
    20 00000049 62F3754844CD00                  vpclmullqlqdq zmm1,zmm1,zmm5
    21 00000050 62F3754844C200                  vpclmulqdq zmm0, zmm1, zmm2, 0
    22 00000057 62F27548DDC2                    vaesenclast zmm0, zmm1, zmm2

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