bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/26685] Error: invalid register operand size for `movdir64b'


From: jbeulich at suse dot com
Subject: [Bug gas/26685] Error: invalid register operand size for `movdir64b'
Date: Thu, 01 Oct 2020 12:26:56 +0000

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

--- Comment #11 from Jan Beulich <jbeulich at suse dot com> ---
(In reply to H.J. Lu from comment #10)
> symbol(%rip) is similar to symbol and DISP.  There is no real register
> in memory operand.

I disagree - the compiler ought to emit

        movdir64b       foo(%eip), %eax

or

        movdir64b       foo(%rip), %rax

in this case, whatever fits the x32 model better. The compiler ought to in
particular be aware that the register operand of this insn is
address-size-prefix, not operand-size-/REX-prefix controlled.

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