This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Reject illegal ARM iWMMXt instructions
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Ian Lance Taylor <ian at wasabisystems dot com>
- Cc: binutils at sources dot redhat dot com, Richard dot Earnshaw at arm dot com
- Date: Fri, 17 Oct 2003 11:07:33 +0100
- Subject: Re: Reject illegal ARM iWMMXt instructions
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> 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.