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

--- 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
instruction. 
Checking the third byte shows difference in encoding. E9 in gas and C9 in your
case.

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
manner.


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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to