start-sanitize-r5900
authorDawn Perchik <dawn@cygnus>
Tue, 25 Feb 1997 07:04:39 +0000 (07:04 +0000)
committerDawn Perchik <dawn@cygnus>
Tue, 25 Feb 1997 07:04:39 +0000 (07:04 +0000)
* 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

sim/mips/gencode.c

index e7ff9985d1d93c19f793d76b9c9f07f63ea3f204..659422d9c957ca4a5f2919d1b93ee78635cc8adb 100644 (file)
@@ -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)},