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)
May 18 2026, 2:35 AM
Unknown Object (File)
May 18 2026, 2:34 AM
Unknown Object (File)
May 13 2026, 9:00 PM
Unknown Object (File)
May 6 2026, 1:52 AM
Unknown Object (File)
May 5 2026, 12:05 AM
Unknown Object (File)
Apr 30 2026, 5:15 PM
Unknown Object (File)
Apr 29 2026, 8:23 AM
Unknown Object (File)
Apr 29 2026, 8:14 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