bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/25445] movsxd without REX_W prefix incorrectly disassemble


From: hjl.tools at gmail dot com
Subject: [Bug binutils/25445] movsxd without REX_W prefix incorrectly disassembled
Date: Thu, 23 Jan 2020 17:25:40 +0000

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

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jan Beulich from comment #5)
> (In reply to H.J. Lu from comment #4)
> > (In reply to Jan Beulich from comment #3)
> > > (In reply to H.J. Lu from comment #0)
> > > >    0:   66 63 08                movslq (%rax),%cx
> > > 
> > > Looks correct to me.
> > 
> > movslq is AT&T syntax for 32 bits -> 64 bits. It isn't accepted by
> > assembler.  movsxd should be here.
> 
> MOVSXD, like MOVSX and MOVZX, is Intel syntax, and hence has nothing to do
> in AT&T syntax disassembly.
> 

There is no such an instruction of "movslq (%rax),%cx".

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