2012-11-07 David Holsgrove <david.holsgrove@xilinx.com>
authorMichael Eager <eager@eagercon.com>
Wed, 7 Nov 2012 15:36:09 +0000 (15:36 +0000)
committerMichael Eager <eager@eagercon.com>
Wed, 7 Nov 2012 15:36:09 +0000 (15:36 +0000)
* config/tc-microblaze.c: Remove special register condition check
for INST_TYPE_RFSL related instructions.

2012-11-07  David Holsgrove  <david.holsgrove@xilinx.com>

* testsuite/gas/microblaze/special_reg.exp: Add test case.
* testsuite/gas/microblaze/special_reg.s: Likewise.
* testsuite/gas/microblaze/special_reg.d: Likewise.

gas/ChangeLog
gas/config/tc-microblaze.c
gas/testsuite/ChangeLog

index d347f480ea3e0cb7615781dd643514fc62a00f56..657d0df8f2112b0b1e733b5037fd164d7ac94ada 100644 (file)
@@ -1,3 +1,8 @@
+2012-11-07  David Holsgrove  <david.holsgrove@xilinx.com>
+
+       * config/tc-microblaze.c: Remove special register condition check
+       for INST_TYPE_RFSL related instructions.
+
 2012-11-06  Alan Modra  <amodra@gmail.com>
 
        * config/tc-xgate.c: Make some functions static.  Formatting
index 86ac90bc2718ae92a7a3f4d483a2b84c18be16c9..de0efda7c5d5f8a3c5c37bde1380a80498ffa98d 100644 (file)
@@ -1198,9 +1198,6 @@ md_assemble (char * str)
           as_fatal (_("Error in statement syntax"));
           immed = 0;
         }
-      /* Check for spl registers.  */
-      if (check_spl_reg (&reg1))
-        as_fatal (_("Cannot use special register with this instruction"));
       inst |= (immed << IMM_LOW) & RFSL_MASK;
       output = frag_more (isize);
       break;
index 573f020c33a62157e98e29c7c0a88f70d6006d8e..4399fcb4432f8d4909ca74847f164ddcd7e5acff 100644 (file)
@@ -1,3 +1,9 @@
+2012-11-07  David Holsgrove  <david.holsgrove@xilinx.com>
+
+       * testsuite/gas/microblaze/special_reg.exp: Add test case.
+       * testsuite/gas/microblaze/special_reg.s: Likewise.
+       * testsuite/gas/microblaze/special_reg.d: Likewise.
+
 2012-11-01  Chao-ying Fu  <fu@mips.com>
 
        * gas/mips/micromips-b16.d: New test.