mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 13:09:48 +00: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:
parent
91e93d2617
commit
ece01a639d
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user