bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/20838] Strange disassembly for 4d in x86-64 mode


From: hjl.tools at gmail dot com
Subject: [Bug binutils/20838] Strange disassembly for 4d in x86-64 mode
Date: Wed, 23 Nov 2016 15:59:39 +0000

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to James Michael DuPont from comment #5)
> Here are some invalid operations that are generated by objdump but cannot be
> compiled by as :
> 
> 
> # 44 63 0a              movslq (%rdx),%r9d
> test20:
> .byte 68 # 44
> .byte 99 # 63
> .byte 10 # 0a
> 
> compiling and dumping that produces :
> 
> 0000000000000030 <test20>:
>   30:   44 63 0a                movslq (%rdx),%r9d
> 
> compiling the result :
>     movslq (%rdx),%r9d
> 
> Assembler messages:
> 1: Error: operand type mismatch for `movslq'
> 

Without the REX_W prefix, 0x63 opcode behaves as mov.  I don't see a strong
need to change it since it isn't the code generated by a compiler.

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