This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] sh: clone little optimization


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]