This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH] Fix mips_expand_synci_loop
- From: "Fu, Chao-Ying" <fu at mips dot com>
- To: "Richard Sandiford" <rdsandiford at googlemail dot com>, "David Daney" <ddaney at caviumnetworks dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>, "Lau, David" <davidlau at mips dot com>
- Date: Tue, 6 Oct 2009 18:05:17 -0700
- Subject: RE: [PATCH] Fix mips_expand_synci_loop
>
> Yeah, I think that'd be better. It might also be worth using
> a separate
> length, so that the delay slot can be filled. I.e. something like:
>
> (d)subu tmp,0,inc
> and begin,begin,tmp
> (d)subu len,end,begin
> 1:
> synci 0(begin)
> (d)subu len,len,inc
> bgtz len,1f
> (d)addu begin,begin,inc
>
> Richard
>
This sequence is very great. Thanks!
Regards,
Chao-ying