https://sourceware.org/bugzilla/show_bug.cgi?id=16490
Bug ID: 16490 Summary: Disp8 encoding/decoding is wrong AVX512 gather/scatter insns Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: michael.v.zolotukhin at gmail dot com Disp8 encoding/decoding is wrong for the following example (supposedly, encoding is correct, decoding is incorrect): .intel_syntax noprefix vgatherqps ymm1{k1}, [eax+zmm0+4] vpgatherqd ymm1{k1}, [eax+zmm0+4] vpscatterqd [eax+zmm0+4]{k1}, ymm0 vscatterqps [eax+zmm0+4]{k1}, ymm0 After as d.s && objdump -dw: Disassembly of section .text: 0000000000000000 <.text>: 0: 67 62 f2 7d 49 93 4c 00 01 vgatherqps 0x8(%eax,%zmm0,1),%ymm1{%k1} 9: 67 62 f2 7d 49 91 4c 00 01 vpgatherqd 0x8(%eax,%zmm0,1),%ymm1{%k1} 12: 67 62 f2 7d 49 a1 44 00 01 vpscatterqd %ymm0,0x8(%eax,%zmm0,1){%k1} 1b: 67 62 f2 7d 49 a3 44 00 01 vscatterqps %ymm0,0x8(%eax,%zmm0,1){%k1} Note that the disp is 8, while the original disp is 4. -- 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