2001-06-18 Philip Blundell <philb@gnu.org>
* config/tc-arm.c (do_msr): Remove restriction on usage of immediate operands.
This commit is contained in:
parent
45c500fa3e
commit
2172d73b21
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2001-06-18 Philip Blundell <philb@gnu.org>
|
||||
|
||||
* config/tc-arm.c (do_msr): Remove restriction on usage of
|
||||
immediate operands.
|
||||
|
||||
2001-06-19 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* dwarf2dbg.c (dwarf2_finish): Output file info even when no
|
||||
|
|
|
@ -2289,12 +2289,17 @@ do_msr (str, flags)
|
|||
return;
|
||||
}
|
||||
|
||||
#if 0 /* The first edition of the ARM architecture manual stated that
|
||||
writing anything other than the flags with an immediate operation
|
||||
had UNPREDICTABLE effects. This constraint was removed in the
|
||||
second edition of the specification. */
|
||||
if ((cpu_variant & ARM_EXT_V5) != ARM_EXT_V5
|
||||
&& inst.instruction & ((PSR_c | PSR_x | PSR_s) << PSR_SHIFT))
|
||||
{
|
||||
inst.error = _("immediate value cannot be used to set this field");
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
flags |= INST_IMMEDIATE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue