Re: arcbios_calls.S data hazards
Steve Rumble <[email protected]> Wed, 10 Dec 2025 21:40:57 -0800
| Newsgroups | gmane.os.netbsd.ports.mips.devel |
|---|---|
| Message-ID | <CAL4_dASiZwLpMMWLX30m+NAgNA_XwUb+OMsuR6PBPpc7cWAJUw@mail.gmail.com> |
On Tue, Dec 9, 2025 at 1:09=E2=80=AFPM Maciej W. Rozycki <[email protected]= > wrote: > > On Mon, 8 Dec 2025, Steve Rumble wrote: > > > Also, since we're invoking via gcc (-x assembler-with-cpp) and aren't > > specifying an optimisation level, it looks like gcc passes its -O0 > > default into as, overriding as' -O2 default. If I pass -O2 to either > > gcc or into as specifically (via -Wa), as does appear to fill other > > delay slots where it can. I imagine we're producing suboptimal output > > where reordering is currently being used. > > Perhaps it's worth considering then? Yes, though I think it's low priority. fp emulation is the only significant use of reordering I found. Steve