Add Linux-compatible rol32/ror32 functions. Amazingly, gcc will
authorMichael Brown <mcb30@etherboot.org>
Wed, 24 Jan 2007 23:31:58 +0000 (23:31 +0000)
committerMichael Brown <mcb30@etherboot.org>
Wed, 24 Jan 2007 23:31:58 +0000 (23:31 +0000)
commit9cf5c4557d570fac79b1fe2c908a81e272fe1102
tree631eaabc2bc52209206e2c7569328377ef5c7be8
parent6a765fdc15d78c6d857006df6ceb1dc781d05976
Add Linux-compatible rol32/ror32 functions.  Amazingly, gcc will
optimise these down to the correct single "roll"/"rorl" instruction.
src/include/gpxe/bitops.h [new file with mode: 0644]