[Top][All Lists]

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

[Bug binutils/20637] 32-bit XOP instructions should silently ignore REX_

From: amit.pawar at amd dot com
Subject: [Bug binutils/20637] 32-bit XOP instructions should silently ignore REX_B
Date: Wed, 28 Sep 2016 10:58:49 +0000


--- Comment #3 from Amit Pawar <amit.pawar at amd dot com> ---
Hi Ramior,

Instruction syntax format
vphsubwd xmm1, xmmword ptr [ebp-0x3e]   -> in intel format 
vphsubwd -0x3e(%ebp),%xmm1              -> GNU AS format.

If I assemble this in gas, instruction is encoded as "8f e9 78 e2 4d c2" (in 32
bit mode)
but your hexdump upcode shows "8f c9 78 e2 4d c2" bytes for the same
Checking the third byte shows difference in encoding. E9 in gas and C9 in your

I verfied the steps give by you and the output is same as what you have
mentioned. I have verified that gnu assembler is not allowing to encode in that

Can you please share the assembly testcase and also which assembler did you use
it to generate the object file. I will try to look into that.

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]