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
F167916772: D25025.id.diff
Tue, Aug 25, 10:20 AM
F167915796: D25025.id72708.diff
Tue, Aug 25, 10:13 AM
F167915724: D25025.diff
Tue, Aug 25, 10:13 AM
Unknown Object (File)
Sun, Aug 23, 4:36 AM
Unknown Object (File)
Tue, Aug 18, 4:50 PM
Unknown Object (File)
Tue, Aug 18, 4:49 PM
Unknown Object (File)
Tue, Aug 18, 4:32 PM
Unknown Object (File)
Tue, Aug 18, 12:30 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