From owner-freebsd-toolchain@freebsd.org Mon Dec 11 05:04:39 2017 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 330CEE862A9 for ; Mon, 11 Dec 2017 05:04:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 017BA717C4 for ; Mon, 11 Dec 2017 05:04:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vBB54bgH009150 for ; Mon, 11 Dec 2017 05:04:38 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 223415] lang/rust: don't require SSE2 on i386 (at least for binary packages) Date: Mon, 11 Dec 2017 05:04:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rust@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Dec 2017 05:04:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223415 --- Comment #13 from Jan Beich --- (In reply to Bertrand Petit from comment #12) > $ objdump -d usr/local/bin/rg | grep xmm [...] WITH_DEBUG=3D1 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/bu= ild.rs#L3977 https://github.com/rust-lang-nursery/compiler-builtins/blob/0b9844764ea1/sr= c/float/conv.rs#L91 https://github.com/rust-lang-nursery/compiler-builtins/blob/0b9844764ea1/sr= c/float/conv.rs#L120 https://github.com/rust-lang/compiler-rt/blob/c8a8767c56ad/lib/builtins/i38= 6/floatdidf.S https://github.com/rust-lang/compiler-rt/blob/c8a8767c56ad/lib/builtins/i38= 6/floatundidf.S --=20 You are receiving this mail because: You are on the CC list for the bug.=