[Bug gas/18631] New: avx512: wrong memory size for vcvtt?ps2u?qq instructions with data broadcast
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: <.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
[Bug gas/18631] avx512: wrong memory size for vcvtt?ps2u?qq instructions with data broadcast
https://sourceware.org/bugzilla/show_bug.cgi?id=18631 Ramiro Polla changed: What|Removed |Added CC||ram...@hex-rays.com --- Comment #1 from Ramiro Polla --- Created attachment 8418 --> https://sourceware.org/bugzilla/attachment.cgi?id=8418&action=edit Simple patch that should fix the issue (without testcase updates) -- 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
[Bug binutils/20637] New: 32-bit XOP instructions should silently ignore REX_B
https://sourceware.org/bugzilla/show_bug.cgi?id=20637 Bug ID: 20637 Summary: 32-bit XOP instructions should silently ignore REX_B Product: binutils Version: 2.28 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: ram...@hex-rays.com Target Milestone: --- Created attachment 9523 --> https://sourceware.org/bugzilla/attachment.cgi?id=9523&action=edit simple patch (no updates to changelog or testsuite) 32-bit XOP instructions should silently ignore REX_B (confirmed with Intel's XED tool below) $ hd xx.bin 8f c9 78 e2 4d c2 |..x.M.| 0006 $ xed -32 -ir xx.bin XDIS 0: XOP XOP8FC978E24DC2 vphsubwd xmm1, xmmword ptr [ebp-0x3e] $ objdump-bad -Mintel -mi386 -b binary -D xx.bin xx.bin: file format binary Disassembly of section .data: <.data>: 0: 8f c9 78 e2 4d c2 vphsubwd xmm1,XMMWORD PTR [r13d-0x3e] $ objdump-good -Mintel -mi386 -b binary -D xx.bin xx.bin: file format binary Disassembly of section .data: <.data>: 0: 8f c9 78 e2 4d c2 vphsubwd xmm1,XMMWORD PTR [ebp-0x3e] Simple patch attached (no updates to changelog or testsuite). -- 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
[Bug binutils/20637] 32-bit XOP instructions should silently ignore REX_B
https://sourceware.org/bugzilla/show_bug.cgi?id=20637 --- Comment #4 from Ramiro Polla --- Hi Amit, This sample comes from fuzzed data, hence why I provided the bytes directly. The instruction is still valid, though, but with ebp as register (REX_B should be silently ignored). Both XED and LLVM disassemble it correctly. -- 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