PATCH: PR gas/5534: "XXX PTR" isn't checked properly in Intel syntax

H.J. Lu hjl@lucon.org
Sun Jan 6 23:59:00 GMT 2008


On Fri, Jan 04, 2008 at 08:09:44AM +0000, Jan Beulich wrote:
> While I agree on the subject, I slightly disagree on the approach you took: The added flags shouldn't go on the instructions, but on their operands (otherwise you'll likely end up creating more special case code namely for movzx/movsx, but perhaps also elsewhere): Just like for registers, memory operands should properly specify what sizes are acceptable (basically, operand type and operand size should probably be decoupled). Jan

Another problem is suffix.  I don't like using "suffix" for both
mnemonic suffix in AT&T/Intel modes and operand size in Intel mode.
I like your suggestion. We now have enough bits on operand to do it.
But it is a major work and it can't be done one instruction at a time.



H.J.



More information about the Binutils mailing list