* config/tc-arm.c (do_iwmmxt_byte_addr): Reject control

registers.
	(do_iwmmxt_word_addr): With a control register, reject conditional
	execution and reject a non-word size.
This commit is contained in:
Ian Lance Taylor 2003-10-17 07:01:44 +00:00
parent 91e93d2617
commit ece01a639d
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2003-10-17 Ian Lance Taylor <ian@wasabisystems.com>
* config/tc-arm.c (do_iwmmxt_byte_addr): Reject control
registers.
(do_iwmmxt_word_addr): With a control register, reject conditional
execution and reject a non-word size.
2003-10-16 Peter Bergner <bergner@vnet.ibm.com>
* configure.in: Set em=linux for ppc-*-linux-gnu* target.

View File

@ -4890,6 +4890,7 @@ do_iwmmxt_byte_addr (str)
if (wc_register (reg))
{
as_bad (_("non-word size not supported with control register"));
inst.instruction |= 0xf0000100;
inst.instruction &= ~0x00400000;
}
@ -5065,6 +5066,10 @@ do_iwmmxt_word_addr (str)
if (wc_register (reg))
{
if ((inst.instruction & COND_MASK) != COND_ALWAYS)
as_bad (_("conditional execution not supported with control register"));
if (op != 2)
as_bad (_("non-word size not supported with control register"));
inst.instruction |= 0xf0000100;
inst.instruction &= ~0x00400000;
}