aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorDawn Perchik <dawn@cygnus>1997-02-25 07:04:39 +0000
committerDawn Perchik <dawn@cygnus>1997-02-25 07:04:39 +0000
commit4580503f2c4b811286c055b8c88cd6a50a75a267 (patch)
treee7e85080a95d22b7fcd046833685add7356e5291 /sim
parentb16a8c8e095eb51e82f033d14ba79bf45ff3d18e (diff)
downloadgdb-4580503f2c4b811286c055b8c88cd6a50a75a267.zip
gdb-4580503f2c4b811286c055b8c88cd6a50a75a267.tar.gz
gdb-4580503f2c4b811286c055b8c88cd6a50a75a267.tar.bz2
start-sanitize-r5900
* gencode.c: #ifdef out offending code until a permanent fix can be added. Code is causing build errors for non-5900 mips targets. end-sanitize-r5900
Diffstat (limited to 'sim')
-rw-r--r--sim/mips/gencode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/mips/gencode.c b/sim/mips/gencode.c
index e7ff998..659422d 100644
--- a/sim/mips/gencode.c
+++ b/sim/mips/gencode.c
@@ -663,6 +663,7 @@ struct instruction MIPS_DECODE[] = {
{"ORI", 1,"001101ssssstttttzzzzzzzzzzzzzzzz",NORMAL, OR, (NONE)},
/* start-sanitize-r5900 */
+#ifdef TARGET_5900
{"PABSH", T5,"01110000000TTTTTddddd00101101000",MMI1, PABS, (HALFWORD)},
{"PABSW", T5,"01110000000TTTTTddddd00001101000",MMI1, PABS, (WORD)},
@@ -782,6 +783,7 @@ struct instruction MIPS_DECODE[] = {
{"PSUBW", T5,"011100SSSSSTTTTTddddd00001001000",MMI0, PADD, (SUBTRACT | WORD)},
{"PXOR", T5,"011100SSSSSTTTTTddddd10011001001",MMI2, POP, (POP_XOR)},
+#endif /* TARGET_5900 */
/* end-sanitize-r5900 */
{"PREF", G2,"110011sssssnnnnnyyyyyyyyyyyyyyyy",NORMAL, PREFETCH, (NONE)},