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)
Fri, Apr 26, 5:56 PM
Unknown Object (File)
Mar 9 2024, 8:24 AM
Unknown Object (File)
Mar 9 2024, 8:24 AM
Unknown Object (File)
Mar 9 2024, 8:24 AM
Unknown Object (File)
Mar 9 2024, 8:11 AM
Unknown Object (File)
Dec 20 2023, 2:30 AM
Unknown Object (File)
Nov 7 2023, 11:23 AM
Unknown Object (File)
Sep 15 2023, 10:40 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

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