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
F154267741: D25025.id.diff
Mon, Apr 27, 12:13 PM
Unknown Object (File)
Mon, Apr 6, 4:03 AM
Unknown Object (File)
Mar 26 2026, 5:04 AM
Unknown Object (File)
Mar 20 2026, 6:13 AM
Unknown Object (File)
Mar 20 2026, 6:13 AM
Unknown Object (File)
Mar 19 2026, 5:32 AM
Unknown Object (File)
Mar 13 2026, 6:15 PM
Unknown Object (File)
Mar 4 2026, 10:44 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable