[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <063D6719AE5E284EB5DD2968C1650D6D1CB40893@AcuExch.aculab.com>
Date: Wed, 27 May 2015 08:41:01 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Scott Wood' <scottwood@...escale.com>
CC: 'Christophe Leroy' <christophe.leroy@....fr>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
"Michael Ellerman" <mpe@...erman.id.au>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v3 2/2] powerpc: add support for csum_add()
From: Scott Wood
> Sent: 26 May 2015 20:43
...
> > I was thinking of all 64bit targets, not 32bit ones.
>
> Oh, you mean move it out of arch/powerpc? Sounds reasonable, but
> someone should probably check what the resulting code looks like on
> other common arches. OTOH, if we're going to modify non-arch code,
> that might be a good opportunity to implement Segher's suggestion and
> move to a 64-bit accumulator.
Or more likely: adding alternate 32bit words to different 64-bit
registers in order to reduce the dependency chains further.
I'm sure I've seen a version that does that somewhere.
David
Powered by blists - more mailing lists