From: Holger Kiehl <Holger.Kiehl@dwd.de>
To: linux-c-programming@vger.kernel.org
Subject: How to use CRC32 of SSE 4.2 on i3/5/7?
Date: Mon, 8 Feb 2010 11:41:04 +0000 (GMT) [thread overview]
Message-ID: <alpine.LRH.2.00.1002081130110.11287@praktifix.dwd.de> (raw)
Hello
In my application I use a lot of crc32 checksum calculation in a little
C function. I now have access to a system with an i7 which does have
crc32 as an instruction. How can I make use of this instruction in
my program? Most likely one can do this directly via assembler code, but
is there support for this via libc?
Can someone please show me how I could use hardware accelerated crc32
checksum calculation in my code?
Thanks,
Holger
next reply other threads:[~2010-02-08 11:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-08 11:41 Holger Kiehl [this message]
2010-02-08 12:15 ` How to use CRC32 of SSE 4.2 on i3/5/7? Michał Nazarewicz
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=alpine.LRH.2.00.1002081130110.11287@praktifix.dwd.de \
--to=holger.kiehl@dwd.de \
--cc=linux-c-programming@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).