aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/mips/mips.igen8
1 files changed, 8 insertions, 0 deletions
diff --git a/sim/mips/mips.igen b/sim/mips/mips.igen
index 3f38d7a..a9479b2 100644
--- a/sim/mips/mips.igen
+++ b/sim/mips/mips.igen
@@ -5384,10 +5384,12 @@
*r5900:
// start-sanitize-sky
{
+#ifdef TARGET_SKY
address_word offset = EXTEND16 (OFFSET) << 2;
extern int sky_cpcond0;
if (sky_cpcond0 == 0)
DELAY_SLOT (NIA + offset);
+#endif
}
// end-sanitize-sky
// end-sanitize-r5900
@@ -5407,10 +5409,12 @@
*r5900:
// start-sanitize-sky
{
+#ifdef TARGET_SKY
address_word offset = EXTEND16 (OFFSET) << 2;
extern int sky_cpcond0;
if (sky_cpcond0 == 0)
DELAY_SLOT (NIA + offset);
+#endif
}
// end-sanitize-sky
// end-sanitize-r5900
@@ -5423,10 +5427,12 @@
*r5900:
// start-sanitize-sky
{
+#ifdef TARGET_SKY
address_word offset = EXTEND16 (OFFSET) << 2;
extern int sky_cpcond0;
if (sky_cpcond0 != 0)
DELAY_SLOT (NIA + offset);
+#endif
}
// end-sanitize-sky
// end-sanitize-r5900
@@ -5447,10 +5453,12 @@
*r5900:
// start-sanitize-sky
{
+#ifdef TARGET_SKY
address_word offset = EXTEND16 (OFFSET) << 2;
extern int sky_cpcond0;
if (sky_cpcond0 != 0)
DELAY_SLOT (NIA + offset);
+#endif
}
// end-sanitize-sky
// end-sanitize-r5900