]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[i386] Use memory address constraints in __bswap_16s() and __bswap_64s()
authorMichael Brown <mcb30@ipxe.org>
Sun, 4 Mar 2012 21:41:24 +0000 (21:41 +0000)
committerMichael Brown <mcb30@ipxe.org>
Sun, 4 Mar 2012 21:41:24 +0000 (21:41 +0000)
commit732bea2f88d0d471e396831b19d2d5d40833c41c
tree9280045a258fe7932f617a79f70a76ab1211b9d7
parente187de72398a995658d22b583c278532c3f99aa7
[i386] Use memory address constraints in __bswap_16s() and __bswap_64s()

Minimise code size by forcing the use of memory addresses for
__bswap_16s() and __bswap_64s().  (__bswap_32s() cannot avoid loading the
value into a register.)

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/include/bits/byteswap.h