Date: Mon, 11 Dec 2017 04:19:03 +0000 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) Message-ID: <bug-223415-29464-QthMpYahNY@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-223415-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-223415-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223415 --- Comment #12 from Bertrand Petit <bsdpr@phoe.frmug.org> --- (In reply to Jan Beich from comment #11) Jan, I took another route: $ fetch http://pkg.freebsd.org/FreeBSD:11:i386/latest/All/ripgrep-0.7.1_3.t= xz [...] $ sha256 ripgrep-0.7.1_3.txz=20 SHA256 (ripgrep-0.7.1_3.txz) =3D 501e31aef29bf5cd7c73bdea4eca376126ee2bf1b06da044071e0d8c3179af51 $ tar xf ripgrep-0.7.1_3.txz $ objdump -d usr/local/bin/rg | grep xmm 1d922c: f2 0f 2a 4c 24 08 cvtsi2sd 0x8(%esp),%xmm1 1d9232: f3 0f 10 44 24 04 movss 0x4(%esp),%xmm0 1d923e: f2 0f 59 88 13 62 05 mulsd 0x56213(%eax),%xmm1 1d9246: f2 0f 10 90 03 62 05 movsd 0x56203(%eax),%xmm2 1d924e: f2 0f 5c ca subsd %xmm2,%xmm1 1d9252: 66 0f 56 c2 orpd %xmm2,%xmm0 1d9256: f2 0f 58 c1 addsd %xmm1,%xmm0 1d925a: f2 0f 11 44 24 04 movsd %xmm0,0x4(%esp) 1d9268: f3 0f 10 4c 24 08 movss 0x8(%esp),%xmm1 1d926e: f3 0f 10 44 24 04 movss 0x4(%esp),%xmm0 1d927a: 66 0f 56 88 07 62 05 orpd 0x56207(%eax),%xmm1 1d9282: f2 0f 5c 88 f7 61 05 subsd 0x561f7(%eax),%xmm1 1d928a: 66 0f 56 80 e7 61 05 orpd 0x561e7(%eax),%xmm0 1d9292: f2 0f 58 c1 addsd %xmm1,%xmm0 1d9296: f2 0f 11 44 24 04 movsd %xmm0,0x4(%esp) Unfortunately cvtsi2sd is an SSE2 instruction, this package wont run on non SSE2 hosts unless that operation is located in dead code. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223415-29464-QthMpYahNY>