mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 11:39:26 +08:00
* 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:
@ -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>
|
2003-10-16 Peter Bergner <bergner@vnet.ibm.com>
|
||||||
|
|
||||||
* configure.in: Set em=linux for ppc-*-linux-gnu* target.
|
* configure.in: Set em=linux for ppc-*-linux-gnu* target.
|
||||||
|
@ -4890,6 +4890,7 @@ do_iwmmxt_byte_addr (str)
|
|||||||
|
|
||||||
if (wc_register (reg))
|
if (wc_register (reg))
|
||||||
{
|
{
|
||||||
|
as_bad (_("non-word size not supported with control register"));
|
||||||
inst.instruction |= 0xf0000100;
|
inst.instruction |= 0xf0000100;
|
||||||
inst.instruction &= ~0x00400000;
|
inst.instruction &= ~0x00400000;
|
||||||
}
|
}
|
||||||
@ -5065,6 +5066,10 @@ do_iwmmxt_word_addr (str)
|
|||||||
|
|
||||||
if (wc_register (reg))
|
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 |= 0xf0000100;
|
||||||
inst.instruction &= ~0x00400000;
|
inst.instruction &= ~0x00400000;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user