about summary refs log tree commit diff
path: root/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorFolkert de Vries <folkert@folkertdev.nl>2025-07-27 23:27:40 +0200
committerGitHub <noreply@github.com>2025-07-27 17:27:40 -0400
commit9c683d3487d8966dad182bc7ad2524bf0bb6d797 (patch)
treebf6ad0e319007035018ca281d3b0a7b19ef49da0 /tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs
parentc061e73d9ff3fa07dcb005a40453e124302bdeb8 (diff)
downloadrust-9c683d3487d8966dad182bc7ad2524bf0bb6d797.tar.gz
rust-9c683d3487d8966dad182bc7ad2524bf0bb6d797.zip
Implement `floor` and `ceil` in assembly on `i586`
Fixes: https://github.com/rust-lang/compiler-builtins/issues/837

The assembly is based on

- https://github.com/NetBSD/src/blob/20433927938987dd64c8f6aa46904b7aca3fa39e/lib/libm/arch/i387/s_floor.S
- https://github.com/NetBSD/src/blob/20433927938987dd64c8f6aa46904b7aca3fa39e/lib/libm/arch/i387/s_ceil.S

Which both state

    /*
     * Written by J.T. Conklin <jtc@NetBSD.org>.
     * Public domain.
     */

Which I believe means we're good in terms of licensing.
Diffstat (limited to 'tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions