summaryrefslogtreecommitdiffstats
path: root/src/include/assert.h
diff options
context:
space:
mode:
authorMichael Brown2012-03-04 16:06:45 +0100
committerMichael Brown2012-03-04 16:14:47 +0100
commitaf96c4151ce96d04f960a79e5cf317353410bb1e (patch)
treee9e60f0fb1faf73099628a961e7c3223608e55f1 /src/include/assert.h
parent[tls] Add missing #include <stdlib.h> (diff)
downloadipxe-af96c4151ce96d04f960a79e5cf317353410bb1e.tar.gz
ipxe-af96c4151ce96d04f960a79e5cf317353410bb1e.tar.xz
ipxe-af96c4151ce96d04f960a79e5cf317353410bb1e.zip
[i386] Optimise byte-swapping functions and provide __bswap_{16,32,64}s()
Use the "bswap" instruction to shrink the size of byte-swapping code, and provide the in-place variants __bswap_{16,32,64}s. "bswap" is available only on 486 and later processors. (We already assume the presence of "cpuid" and "rdtsc", which are available only on Pentium and later processors.) Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/assert.h')
0 files changed, 0 insertions, 0 deletions