@ariadne @cr1901 Are you sure the behavior of jumps in delay slots isn't documented, or at least documented as invalid/undocumented? I don't think it's expected for them to behave as a normal jump, but if I understand right here, it's behaving as an "else" for the conditional jump, right?
Conversation
Notices
-
Embed this notice
Rich Felker (dalias@hachyderm.io)'s status on Wednesday, 26-Aug-2026 11:00:28 JST
Rich Felker
-
Embed this notice
pinskia (pinskia@hachyderm.io)'s status on Wednesday, 26-Aug-2026 12:05:42 JST
pinskia
Jumps in delay slots were undefined behavior in mips isa when I was working with it.
So this is testing the exact implementation of delay slots. Some emulators handle delay slots as instructions before the branch iirc.
-
Embed this notice