* config/tc-mn10200.c (mn10200_insert_operand): Don't
authorJeff Law <law@redhat.com>
Wed, 18 Dec 1996 17:14:10 +0000 (17:14 +0000)
committerJeff Law <law@redhat.com>
Wed, 18 Dec 1996 17:14:10 +0000 (17:14 +0000)
        range check operands with MN10200_OPERAND_NOCHECK set.
        (check_operand): Likewise.
So the assembler won't check on "and -1,dn".

gas/ChangeLog
gas/config/tc-mn10200.c

index 982afbcf9d9f1c6da199cb7451943cefb2eff607..94a9f20326e02fd17883ca92e09951ab9fd4ffa1 100644 (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.
index 46f16105d7e0f26360625cf4f2a7500cd65375db..dcb3e7d214924af1bb433a5b174749d092ae6537 100644 (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;
This page took 0.032096 seconds and 4 git commands to generate.