[Bug 223415] lang/rust: don't require SSE2 on i386 (at least for binary packages)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Dec 11 05:04:39 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223415
--- Comment #13 from Jan Beich <jbeich at FreeBSD.org> ---
(In reply to Bertrand Petit from comment #12)
> $ objdump -d usr/local/bin/rg | grep xmm
[...]
WITH_DEBUG=1 port build contains symbol names. It seems xmm registers are used
by __floatdidf and __floatundidf from compiler-rt. Rust compiler always
includes optimized routines on i386 but not always uses them. If my
understanding is correct then the code is dead.
# Rust 1.22.1
https://github.com/rust-lang-nursery/compiler-builtins/blob/0b9844764ea1/build.rs#L3977
https://github.com/rust-lang-nursery/compiler-builtins/blob/0b9844764ea1/src/float/conv.rs#L91
https://github.com/rust-lang-nursery/compiler-builtins/blob/0b9844764ea1/src/float/conv.rs#L120
https://github.com/rust-lang/compiler-rt/blob/c8a8767c56ad/lib/builtins/i386/floatdidf.S
https://github.com/rust-lang/compiler-rt/blob/c8a8767c56ad/lib/builtins/i386/floatundidf.S
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-toolchain
mailing list