* config/tc-mn10200.c (mn10200_insert_operand): Don't

range check operands with MN10200_OPERAND_NOCHECK set.
        (check_operand): Likewise.
So the assembler won't check on "and -1,dn".
This commit is contained in:
Jeff Law 1996-12-18 17:14:10 +00:00
parent e098bae8e7
commit 5545556dc8
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,9 @@
Wed Dec 18 10:08:46 1996 Jeffrey A Law (law@cygnus.com)
* config/tc-mn10200.c (mn10200_insert_operand): Don't
range check operands with MN10200_OPERAND_NOCHECK set.
(check_operand): Likewise.
Tue Dec 17 10:59:32 1996 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c: Undo part of last Friday's alignment changes.

View file

@ -888,7 +888,8 @@ mn10200_insert_operand (insnp, extensionp, operand, val, file, line, shift)
unsigned int shift;
{
/* No need to check 24 or 32bit operands for a bit. */
if (operand->bits < 24)
if (operand->bits < 24
&& (operand->flags & MN10200_OPERAND_NOCHECK) == 0)
{
long min, max;
offsetT test;
@ -944,7 +945,8 @@ check_operand (insn, operand, val)
offsetT val;
{
/* No need to check 24bit or 32bit operands for a bit. */
if (operand->bits < 24)
if (operand->bits < 24
&& (operand->flags & MN10200_OPERAND_NOCHECK) == 0)
{
long min, max;
offsetT test;