Bug 20701 - [libopcodes][x86] Invalid suffix for phaddw instruction
Summary: [libopcodes][x86] Invalid suffix for phaddw instruction
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.26
: P2 normal
Target Milestone: 2.28
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-17 17:16 UTC by nholcomb
Modified: 2016-11-08 19:06 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nholcomb 2016-10-17 17:16:21 UTC
The following instruction (output of objdump) could not be assembled using GAS due to the error:

Bytes: 0f 7a 47 22
Instruction: phaddwq (%rdx), %xmm4
ERROR: invalid instruction suffix for `phaddw'
Comment 1 Sourceware Commits 2016-11-08 19:05:37 UTC
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1f334aeb2268db153f01143e9b0ac01448ecaa56

commit 1f334aeb2268db153f01143e9b0ac01448ecaa56
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Nov 8 11:03:06 2016 -0800

    X86: Remove the THREE_BYTE_0F7A entry
    
    Remove the THREE_BYTE_0F7A entry which is leftover from SSE5.
    
    	PR binutils/20701
    	* i386-dis.c (THREE_BYTE_0F7A): Removed.
    	(dis386_twobyte): Don't use THREE_BYTE_0F7A.
    	(three_byte_table): Remove THREE_BYTE_0F7A.
Comment 2 H.J. Lu 2016-11-08 19:06:02 UTC
Fixed.