diff options
author | William Cohen <wcohen@redhat.com> | 2011-03-24 11:22:49 -0400 |
---|---|---|
committer | William Cohen <wcohen@redhat.com> | 2011-03-24 11:22:49 -0400 |
commit | 0df8ca8621715af71afbfc255f3ebe462898288e (patch) | |
tree | d2288544113cdfe257f7db81f5aef6482f64bb73 /config.sub | |
parent | d1f97aa76432df9bb63fa254712bce5074628e37 (diff) | |
download | memstomp-0df8ca8621715af71afbfc255f3ebe462898288e.tar.gz memstomp-0df8ca8621715af71afbfc255f3ebe462898288e.tar.xz memstomp-0df8ca8621715af71afbfc255f3ebe462898288e.zip |
Reduce the overhead of the memcpy check
This is based on patch from John Reiser <jreiser@bitwagon.com>. Rather
than use _buildin_abs (which also has issues with 64-bit values) do
the test as two conditional tests. Also add the unlikely() notation to give
the compiler some hint on how to organize the code to make common
case straight-line code.
Diffstat (limited to 'config.sub')
0 files changed, 0 insertions, 0 deletions