2001-06-18 Philip Blundell <philb@gnu.org>
authorPhil Blundell <philb@gnu.org>
Tue, 19 Jun 2001 07:33:21 +0000 (07:33 +0000)
committerPhil Blundell <philb@gnu.org>
Tue, 19 Jun 2001 07:33:21 +0000 (07:33 +0000)
* config/tc-arm.c (do_msr): Remove restriction on usage of
immediate operands.

gas/ChangeLog
gas/config/tc-arm.c

index b40ed5ff7d5decd1c8925180c7b6d849708c000a..f7365a852dc913a0e571cd7ad44e4be77ee989aa 100644 (file)
@@ -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
index 82ac65d0c1e3a48ce2f038ec8c4755a13f484910..99aff8ef31307494bc2519d2255b3d6b46e54fc0 100644 (file)
@@ -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;
 
This page took 0.034408 seconds and 4 git commands to generate.