[PATCH] sh: clone little optimization
Kaz Kojima
kkojima@rr.iij4u.or.jp
Wed Aug 27 11:45:00 GMT 2008
"Carmelo Amoroso" <carmelo73@gmail.com> wrote:
> attached patch tries to optimize a little clone implementation for sh
> by loading the r3 register (for holding syscall number) into a delay slot.
[snip]
> + bf/s 1f
> + mov #+SYS_ify(clone), r3
> +0:
One minor style issue. For SH .S files, we usually add a space
at the head of the instruction in a delayed slot. You can see
other examples in clone.S.
The patch looks ok with that change and an appropriate ChangeLog
entry.
Regards,
kaz
More information about the Libc-alpha
mailing list