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: PowerPC: memset optimization for POWER8/PPC64


Hi,

Some minor spellos...  Looks fine otherwise.


> +	andi.	r11,r10,r15	/* Check alignment of DST.  */

s/r15/15/

> +	/* Size betwen 32 and 255 bytes with constant different than 0, use
> +	   doubleword store instruction to achieve best throughput.  */

s/betwen/between/

> +	/* Replicate set byte to quardword in VMX register.  */

s/quard/quad/

> +	addi	10,r10,64

s/10/r10/

> +	/* Special case when value is 0 and we have a long length to deal
> +	   with.  Use dcbz to zero out a full cacheline of 128-bytes at a time.
> +	   Before using dcbz though, we need to get the destination 128-bytes
> +	   aligned.  */

s/128-bytes/128 bytes/  both times.  Or "128-byte" the second time?

> +L(write_LT_32):
> +	cmpldi	cr6,5,8
> +	mtocrf	0x01,5

s/5/r5/  both times.


Segher


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