Re: [PATCH v1 0/3] powerpc: memcmp() optimization

2017-09-20 Thread Simon Guo
Hi Chris, On Tue, Sep 19, 2017 at 02:21:33PM +0200, Christophe LEROY wrote: > Hi > > Could you in the email/patch subject and in the commit texts write > powerpc/64 instead of powerpc as it doesn't apply to powerpc/32 > > Christophe > Sure. I will update in v2. BR, - Simon

Re: [PATCH v1 0/3] powerpc: memcmp() optimization

2017-09-19 Thread Christophe LEROY
Hi Could you in the email/patch subject and in the commit texts write powerpc/64 instead of powerpc as it doesn't apply to powerpc/32 Christophe Le 19/09/2017 à 12:03, wei.guo.si...@gmail.com a écrit : From: Simon Guo There is some room to optimize memcmp() in powerpc for following 2 cases

[PATCH v1 0/3] powerpc: memcmp() optimization

2017-09-19 Thread wei . guo . simon
From: Simon Guo There is some room to optimize memcmp() in powerpc for following 2 cases: (1) Even src/dst addresses are not aligned with 8 bytes at the beginning, memcmp() can align them and go with .Llong comparision mode without fallback to .Lshort comparision mode do compare buffer byte by by