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 d347f48..657d0df 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 86ac90b..de0efda 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 573f020..4399fcb 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.