From 34ecb04d4243a6f5ac0edd070818287203a4f264 Mon Sep 17 00:00:00 2001 From: Michael Eager Date: Wed, 7 Nov 2012 15:36:09 +0000 Subject: [PATCH] 2012-11-07 David Holsgrove * config/tc-microblaze.c: Remove special register condition check for INST_TYPE_RFSL related instructions. 2012-11-07 David Holsgrove * 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 | 5 +++++ gas/config/tc-microblaze.c | 3 --- gas/testsuite/ChangeLog | 6 ++++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index d347f480ea3..657d0df8f21 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2012-11-07 David Holsgrove + + * config/tc-microblaze.c: Remove special register condition check + for INST_TYPE_RFSL related instructions. + 2012-11-06 Alan Modra * config/tc-xgate.c: Make some functions static. Formatting diff --git a/gas/config/tc-microblaze.c b/gas/config/tc-microblaze.c index 86ac90bc271..de0efda7c5d 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; diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 573f020c33a..4399fcb4432 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2012-11-07 David Holsgrove + + * 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 * gas/mips/micromips-b16.d: New test. -- 2.30.2