bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/16490] New: Disp8 encoding/decoding is wrong AVX512 gather


From: michael.v.zolotukhin at gmail dot com
Subject: [Bug binutils/16490] New: Disp8 encoding/decoding is wrong AVX512 gather/scatter insns
Date: Wed, 22 Jan 2014 07:35:46 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]