Preserve selected thread in all-stop w/ background execution
[deliverable/binutils-gdb.git] / cpu / iq2000.opc
index 63ef0768dd53fb85eaca22cf14f65f20abd9b3bb..f180373737095e17969719ce7bbcc28209114b0f 100644 (file)
@@ -1,6 +1,6 @@
 /* IQ2000 opcode support.  -*- C -*-
 
 /* IQ2000 opcode support.  -*- C -*-
 
-   Copyright 2000, 2001, 2002, 2005 Free Software Foundation, Inc.
+   Copyright 2000, 2001, 2002, 2005, 2007, 2009 Free Software Foundation, Inc.
 
    Contributed by Red Hat Inc; developed under contract from Fujitsu.
 
 
    Contributed by Red Hat Inc; developed under contract from Fujitsu.
 
@@ -8,7 +8,7 @@
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
 
    This program is distributed in the hope that it will be useful,
    (at your option) any later version.
 
    This program is distributed in the hope that it will be useful,
@@ -218,6 +218,7 @@ parse_hi16 (CGEN_CPU_DESC cd,
          if (value & 0x8000)
            value += 0x10000;
          value >>= 16;
          if (value & 0x8000)
            value += 0x10000;
          value >>= 16;
+         value &= 0xffff;
        }
       *valuep = value;
 
        }
       *valuep = value;
 
@@ -243,6 +244,7 @@ parse_hi16 (CGEN_CPU_DESC cd,
          && result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
        value >>= 16;
 
          && result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
        value >>= 16;
 
+      value &= 0xffff;
       *valuep = value;
 
       return errmsg;
       *valuep = value;
 
       return errmsg;
This page took 0.023705 seconds and 4 git commands to generate.