https://sourceware.org/bugzilla/show_bug.cgi?id=18631

            Bug ID: 18631
           Summary: avx512: wrong memory size for vcvtt?ps2u?qq
                    instructions with data broadcast
           Product: binutils
           Version: 2.26 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: ram...@hex-rays.com
  Target Milestone: ---

The vcvtps2qq, vcvtps2uqq, vcvttps2qq, and vcvttps2uqq instructions are
incorrectly defined regarding the memory operand size with data broadcast for
avx512. Simple example (with git master):

==========
$ cat vcvtps2qq.s
.text
vcvtps2qq (%rax){1to8}, %zmm0
$ as-new -o vcvtps2qq.o vcvtps2qq.s
$ objdump -Mintel -d vcvtps2qq.o 

vcvtps2qq.o:     file format elf64-x86-64


Disassembly of section .text:

0000000000000000 <.text>:
   0:   62 f1 7d 58 7b 00       vcvtps2qq zmm0,YMMWORD PTR [rax]{1to8}
==========

It should be:

vcvtps2qq zmm0,DWORD PTR [rax]{1to8}

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

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to