lkml.org 
[lkml]   [2014]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/3] x86/hash: swap parameters of crc32_u32()
On a totally different note, it would probably be a good idea to use 
intrinsics more in the kernel where possible. Intrinsics do allow the
compiler to generate better scheduling.

The trick of course is that we'd want to have machinery that can fall
back to inline assembly if the compiler doesn't support the intrinsics,
and perhaps even to .bytes if needed. This pretty much involves a bunch
of compiler and assembler-probing machinery and then wrapping things in
neat little inline functions.

-hpa



\
 
 \ /
  Last update: 2014-02-24 14:41    [W:0.143 / U:0.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site