This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]