summaryrefslogtreecommitdiffstats
path: root/src/tests/entropy_sample.c
diff options
context:
space:
mode:
authorMichael Brown2014-04-25 01:04:25 +0200
committerMichael Brown2014-04-25 02:45:13 +0200
commitad7d5af5e19a016e484188a2c75818bb2d0a35db (patch)
tree69fdf23ec65cbe67e3791302697d62dbeca38f37 /src/tests/entropy_sample.c
parent[libc] Add inline assembly implementation of flsl() using BSR instruction (diff)
downloadipxe-ad7d5af5e19a016e484188a2c75818bb2d0a35db.tar.gz
ipxe-ad7d5af5e19a016e484188a2c75818bb2d0a35db.tar.xz
ipxe-ad7d5af5e19a016e484188a2c75818bb2d0a35db.zip
[test] Add tests for 64-bit division
On a 32-bit system, 64-bit division is implemented using the libgcc functions provided in __udivmoddi4.c etc. Calls to these functions are generated automatically by gcc, with a calling convention that is somewhat empirical in nature. Add these self-tests primarily as a check that we are using the correct calling convention. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/tests/entropy_sample.c')
0 files changed, 0 insertions, 0 deletions