Page MenuHomeFreeBSD

csu: Avoid additional nops in the MIPS INIT_CALL_SEQ macro
ClosedPublic

Authored by arichardson on May 27 2020, 11:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Aug 2, 9:33 AM
Unknown Object (File)
Jul 7 2025, 1:10 AM
Unknown Object (File)
Jul 6 2025, 1:48 PM
Unknown Object (File)
Jul 5 2025, 4:48 AM
Unknown Object (File)
Jul 4 2025, 3:07 PM
Unknown Object (File)
Jul 3 2025, 7:00 AM
Unknown Object (File)
Jun 28 2025, 5:00 AM
Unknown Object (File)
Jun 25 2025, 3:52 AM
Subscribers

Details

Summary

Since we had a .set reorder, the nop after the "jal" was being placed after
the delay slot, resulting in two nops.
While changing this code also guard the .set noreorder with .set push/pop
and use $zero as the cpsetup save register since we don't need to save $gp.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 31328
Build 28965: arc lint + arc unit