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)
Mon, Feb 24, 9:41 PM
Unknown Object (File)
Mon, Feb 24, 7:59 PM
Unknown Object (File)
Feb 16 2025, 9:22 PM
Unknown Object (File)
Jan 27 2025, 1:59 AM
Unknown Object (File)
Jan 25 2025, 10:51 AM
Unknown Object (File)
Jan 18 2025, 7:44 AM
Unknown Object (File)
Jan 12 2025, 11:26 AM
Unknown Object (File)
Dec 8 2024, 12:49 PM
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