This is the mail archive of the binutils@sources.redhat.com 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: Reject illegal ARM iWMMXt instructions


> The ARM assembler in iWMMXt mode currently silently accepts some
> instructions which are not actually supported.  When the
> w{ld,str}{b,h,w,d} instructions are used with a control register,
> conditional execution is not permitted, and only the word size is
> permitted.  The assembler used to silently discard any condition and
> force the instruction to word size.
> 
> I have checked in this patch to make the assembler give an error in
> such cases.
> 
> Ian
> 

There should really be a test-case for this as well.  See 
testsuite/gas/arm/armv1-bad.[sl]

R.


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