linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to use CRC32 of SSE 4.2 on i3/5/7?
@ 2010-02-08 11:41 Holger Kiehl
  2010-02-08 12:15 ` Michał Nazarewicz
  0 siblings, 1 reply; 2+ messages in thread
From: Holger Kiehl @ 2010-02-08 11:41 UTC (permalink / raw)
  To: linux-c-programming

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-08 12:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-08 11:41 How to use CRC32 of SSE 4.2 on i3/5/7? Holger Kiehl
2010-02-08 12:15 ` Michał Nazarewicz

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).