From: Joakim Tjernlund <joakim.tjernlund@transmode.se>
To: unlisted-recipients:; (no To-header on input)
Cc: Bob Pearson <rpearson@systemfabricworks.com>,
akpm@linux-foundation.org, fzago@systemfabricworks.com,
George Spelvin <linux@horizon.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v6 08/10] crc32-add-slicing-by-8.diff
Date: Wed, 7 Sep 2011 10:30:39 +0200 [thread overview]
Message-ID: <OFCE19A3DB.816B06DF-ONC1257904.002E9D19-C1257904.002EC071@transmode.se> (raw)
In-Reply-To: <OF3D37A60B.7A33B855-ONC1257904.00276B5B-C1257904.002951AF@LocalDomain>
Joakim Tjernlund/Transmode wrote on 2011/09/07 09:31:18:
> > +# if CRC_LE_BITS == 32
> > rem_len = len & 3;
> > - /* load data 32 bits wide, xor data 32 bits wide. */
> > len = len >> 2;
> > +# else
> > + rem_len = len & 7;
> > + len = len >> 3;
>
> I still fail to see why this is needed. You still do 32 bit loads so this
> only makes the code uglier, harder to maintain and makes small unaligned crc bufs
> slower.
Sorry, misread this part. Ignore it.
Jocke
next prev parent reply other threads:[~2011-09-07 16:50 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20110831213729.395283830@systemfabricworks.com>
2011-08-31 22:29 ` [PATCH v6 01/10] crc32-remove-trailing-whitespace.diff Bob Pearson
2011-08-31 22:29 ` [PATCH v6 02/10] crc32-move-to-documentation.diff Bob Pearson
2011-08-31 22:29 ` [PATCH v6 03/10] crc32-replace-self-test.diff Bob Pearson
2011-09-02 23:51 ` Andrew Morton
2011-09-06 16:14 ` Bob Pearson
2011-08-31 22:30 ` [PATCH v6 04/10] crc32-add-pointer-to-tab.diff Bob Pearson
2011-09-01 8:16 ` Joakim Tjernlund
2011-08-31 22:30 ` [PATCH v6 05/10] crc32-misc-cleanup.diff Bob Pearson
2011-09-02 23:50 ` Andrew Morton
2011-09-03 1:44 ` Stephen Rothwell
2011-09-06 13:40 ` Joakim Tjernlund
2011-09-06 14:50 ` Stephen Rothwell
2011-09-06 19:38 ` Andrew Morton
2011-09-06 20:18 ` Bob Pearson
2011-09-07 7:39 ` Joakim Tjernlund
2011-09-07 16:30 ` Bob Pearson
2011-09-07 17:51 ` Joakim Tjernlund
2011-09-06 16:05 ` Bob Pearson
2011-08-31 22:30 ` [PATCH v6 06/10] crc32-fix-check-endian-warnings.diff Bob Pearson
2011-08-31 22:30 ` [PATCH v6 07/10] crc32-add-real-8-bit.diff Bob Pearson
2011-08-31 22:30 ` [PATCH v6 08/10] crc32-add-slicing-by-8.diff Bob Pearson
2011-09-07 7:31 ` Joakim Tjernlund
2011-09-07 19:44 ` Bob Pearson
[not found] ` <OF3D37A60B.7A33B855-ONC1257904.00276B5B-C1257904.002951AF@LocalDomain>
2011-09-07 8:30 ` Joakim Tjernlund [this message]
2011-08-31 22:30 ` [PATCH v6 09/10] crc32-optimize-loops-for-x86.diff Bob Pearson
2011-08-31 22:30 ` [PATCH v6 10/10] crc32-final.diff Bob Pearson
2011-09-01 3:03 ` [PATCH v6 08/10] crc32-add-slicing-by-8.diff Bob Pearson
2011-09-07 7:32 ` Joakim Tjernlund
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=OFCE19A3DB.816B06DF-ONC1257904.002E9D19-C1257904.002EC071@transmode.se \
--to=joakim.tjernlund@transmode.se \
--cc=akpm@linux-foundation.org \
--cc=fzago@systemfabricworks.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@horizon.com \
--cc=rpearson@systemfabricworks.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.