bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/24263] New: Missing 0x67 prefix for VSIB address without base r


From: hjl.tools at gmail dot com
Subject: [Bug gas/24263] New: Missing 0x67 prefix for VSIB address without base register
Date: Mon, 25 Feb 2019 02:10:41 +0000

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

            Bug ID: 24263
           Summary: Missing 0x67 prefix for VSIB address without base
                    register
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---
            Target: x32

address@hidden x32]$ make AS=as
as --x32  -o x.o x.s
objdump -dw x.o

x.o:     file format elf32-x86-64


Disassembly of section .text:

00000000 <.text>:
   0:   c4 22 1d 92 1c 3d 0c 00 00 00   vgatherdps %ymm12,0xc(,%ymm15,1),%ymm11
address@hidden x32]$ 

Since VSIB index is sign-extended, without base register, 0xc(,%ymm15,1)
will point to the wrong address if there is no 0x67 address size prefix.

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