This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH v2 02/12] gas/ * config/tc-microblaze.c: Remove special register condition check
- From: david dot holsgrove at xilinx dot com
- To: binutils at sourceware dot org
- Cc: eager at eagercon dot com, edgar dot iglesias at gmail dot com, joseph at codesourcery dot com, john dot williams at xilinx dot com, vidhumouli dot hunsigida at xilinx dot com, nagaraju dot mekala at xilinx dot com, David Holsgrove <david dot holsgrove at xilinx dot com>
- Date: Thu, 11 Oct 2012 17:17:04 +1000
- Subject: [PATCH v2 02/12] gas/ * config/tc-microblaze.c: Remove special register condition check
- References: <cover.1349938301.git.david.holsgrove@xilinx.com>
- References: <cover.1349938301.git.david.holsgrove@xilinx.com>
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 (®1))
- as_fatal (_("Cannot use special register with this instruction"));
inst |= (immed << IMM_LOW) & RFSL_MASK;
output = frag_more (isize);
break;
--
1.7.0.4