Implement CPCOND0 and insns BC0F/BC0FL/BC0T/BC0TL.
This commit is contained in:
parent
2a62f119fa
commit
05faca8731
1 changed files with 32 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue