Implement CPCOND0 and insns BC0F/BC0FL/BC0T/BC0TL.
authorJames Lemke <jlemke@cygnus>
Mon, 15 Jun 1998 17:36:23 +0000 (17:36 +0000)
committerJames Lemke <jlemke@cygnus>
Mon, 15 Jun 1998 17:36:23 +0000 (17:36 +0000)
sim/mips/mips.igen

index d6b247cbc388c1ae99e497a2d57da99985a8afd1..3f38d7a09b6fcbe44bf216de20a3134c4e0412c5 100644 (file)
 // end-sanitize-vr5400
 // start-sanitize-r5900
 *r5900:
+// start-sanitize-sky
+{
+  address_word offset = EXTEND16 (OFFSET) << 2;
+  extern int sky_cpcond0;
+  if (sky_cpcond0 == 0)
+    DELAY_SLOT (NIA + offset);
+}
+// end-sanitize-sky
 // end-sanitize-r5900
 
 
 // end-sanitize-vr5400
 // start-sanitize-r5900
 *r5900:
+// start-sanitize-sky
+{
+  address_word offset = EXTEND16 (OFFSET) << 2;
+  extern int sky_cpcond0;
+  if (sky_cpcond0 == 0)
+    DELAY_SLOT (NIA + offset);
+}
+// end-sanitize-sky
 // end-sanitize-r5900
 
 
 *mipsI,mipsII,mipsIII,mipsIV:
 // start-sanitize-r5900
 *r5900:
+// start-sanitize-sky
+{
+  address_word offset = EXTEND16 (OFFSET) << 2;
+  extern int sky_cpcond0;
+  if (sky_cpcond0 != 0)
+    DELAY_SLOT (NIA + offset);
+}
+// end-sanitize-sky
 // end-sanitize-r5900
 
 
 // end-sanitize-vr5400
 // start-sanitize-r5900
 *r5900:
+// start-sanitize-sky
+{
+  address_word offset = EXTEND16 (OFFSET) << 2;
+  extern int sky_cpcond0;
+  if (sky_cpcond0 != 0)
+    DELAY_SLOT (NIA + offset);
+}
+// end-sanitize-sky
 // end-sanitize-r5900