From 05faca8731386b842dd8a6214c4a9361d217f930 Mon Sep 17 00:00:00 2001 From: James Lemke Date: Mon, 15 Jun 1998 17:36:23 +0000 Subject: [PATCH] Implement CPCOND0 and insns BC0F/BC0FL/BC0T/BC0TL. --- sim/mips/mips.igen | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/sim/mips/mips.igen b/sim/mips/mips.igen index d6b247cbc38..3f38d7a09b6 100644 --- a/sim/mips/mips.igen +++ b/sim/mips/mips.igen @@ -5382,6 +5382,14 @@ // 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 @@ -5397,6 +5405,14 @@ // 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 @@ -5405,6 +5421,14 @@ *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 @@ -5421,6 +5445,14 @@ // 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 -- 2.30.2