This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 02/12] gas/ * config/tc-microblaze.c: Remove special register condition check


From: David Holsgrove <david.holsgrove@xilinx.com>

For "tncaput" type insns there is no register in syntax, dont need special
register condition check

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
---
 gas/ChangeLog              |    5 +++++
 gas/config/tc-microblaze.c |    3 ---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 02aee11..ff75419 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
 2012-10-10  David Holsgrove  <david.holsgrove@xilinx.com>
 
+	* config/tc-microblaze.c: Remove special register condition check
+	for INST_TYPE_RFSL related insn
+
+2012-10-10  David Holsgrove  <david.holsgrove@xilinx.com>
+
 	* config/tc-microblaze.c: md_estimate_size_before_relax check
 	not a weak symbol
 
diff --git a/gas/config/tc-microblaze.c b/gas/config/tc-microblaze.c
index 86ac90b..de0efda 100644
--- a/gas/config/tc-microblaze.c
+++ b/gas/config/tc-microblaze.c
@@ -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;
-- 
1.7.0.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]