aboutsummaryrefslogtreecommitdiff
path: root/sim/mips
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-11-27 16:54:21 +0000
committerIan Lance Taylor <ian@airs.com>1996-11-27 16:54:21 +0000
commit279cca90f4a3d7dca48691f3c307d35f9904d2b4 (patch)
tree9f45c384b4fd752fc57e2660dd9a768862d65806 /sim/mips
parent2e35551c74037f22f29a1e21101eeaca6f934d85 (diff)
downloadgdb-279cca90f4a3d7dca48691f3c307d35f9904d2b4.zip
gdb-279cca90f4a3d7dca48691f3c307d35f9904d2b4.tar.gz
gdb-279cca90f4a3d7dca48691f3c307d35f9904d2b4.tar.bz2
* gencode.c (process_instructions): If ! proc64, skip DOUBLEWORD
16 bit instructions.
Diffstat (limited to 'sim/mips')
-rw-r--r--sim/mips/gencode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/mips/gencode.c b/sim/mips/gencode.c
index 96433e9..74b2ded 100644
--- a/sim/mips/gencode.c
+++ b/sim/mips/gencode.c
@@ -1438,6 +1438,9 @@ process_instructions(doarch,features)
const char *bitmap;
int num;
+ if (! proc64 && GETDATASIZEINSN (&MIPS16_DECODE[loop]) == DOUBLEWORD)
+ continue;
+
bitmap = MIPS16_DECODE[loop].bitmap;
switch (MIPS16_DECODE[loop].mark)
{