From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: To: Jochen Friedrich Cc: mike_phillips@urscorp.com, linux-tr@linuxtr.net, HP900 PARISC mailing list , Randolph Chung , Matthew Wilcox Subject: Re: [linux-tr] Re: [parisc-linux] IBM TR patch In-Reply-To: Message from Jochen Friedrich of "Tue, 15 Jan 2002 21:28:13 +0100." References: Date: Wed, 16 Jan 2002 22:01:30 -0700 From: Grant Grundler Message-Id: <20020117050130.64F98482D@dsl2.external.hp.com> Sender: parisc-linux-admin@lists.parisc-linux.org Errors-To: parisc-linux-admin@lists.parisc-linux.org List-Help: List-Post: List-Subscribe: , List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: Jochen Friedrich wrote: > Hi Mike, > I guess the pre-summarisation is there for performance reasons. In > particular on older architectures, it's probably faster to copy and > calculate the IPv4 checksum in the same step than to copy and checksum in > two seperate steps. I believe it's faster on all archs to do this in one loop. Assuming one has enough registers to do both operations at the same time. My assumption is anything that can run linux has enough registers. (ie ld/st does not collide with xor). grant