From owner-freebsd-bugs@freebsd.org Wed Aug 23 04:02:27 2017 Return-Path: Delivered-To: freebsd-bugs@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 0DD22DD866A for ; Wed, 23 Aug 2017 04:02:27 +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 E6AE3E4B for ; Wed, 23 Aug 2017 04:02:26 +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 v7N42QUx046899 for ; Wed, 23 Aug 2017 04:02:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 221733] SSE2 instructions emited in compiler-rt on AMD Sempron 3000+ Date: Wed, 23 Aug 2017 04:02:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bsdpr@phoe.frmug.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Aug 2017 04:02:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221733 Bug ID: 221733 Summary: SSE2 instructions emited in compiler-rt on AMD Sempron 3000+ Product: Base System Version: 10.3-STABLE Hardware: i386 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: bsdpr@phoe.frmug.org On an i386 host using an AMD Sempron 3000+ CPU the compiler-rt include at l= east one SSE2 instruction which is not supported by that CPU. Boot log CPU identification: CPU: AMD Sempron(tm) 3000+ (1999.82-MHz 686-class CPU) Origin=3D"AuthenticAMD" Id=3D0x6a0 Family=3D0x6 Model=3D0xa Stepping= =3D0 =20 Features=3D0x383fbff AMD Features=3D0xc0480800 Excerpt from objdump -d /usr/lib/libcompiler-rt.a: floatdidf.o: file format elf32-i386-freebsd Disassembly of section .text: 00000000 : 0: 00 00 add %al,(%eax) 2: 00 00 add %al,(%eax) 4: 00 00 add %al,(%eax) 6: 30 43 00 xor %al,0x0(%ebx) 00000008 : 8: 00 00 add %al,(%eax) a: 00 00 add %al,(%eax) c: 00 00 add %al,(%eax) e: f0 41 lock inc %ecx 00000010 <__floatdidf>: 10: f2 0f 2a 4c 24 08 cvtsi2sd 0x8(%esp),%xmm1 16: f3 0f 10 44 24 04 movss 0x4(%esp),%xmm0 1c: e8 00 00 00 00 call 21 <__floatdidf+0x11> 21: 58 pop %eax 22: f2 0f 59 88 e7 ff ff mulsd -0x19(%eax),%xmm1 29: ff 2a: f2 0f 10 90 df ff ff movsd -0x21(%eax),%xmm2 31: ff 32: f2 0f 5c ca subsd %xmm2,%xmm1 36: 66 0f 56 c2 orpd %xmm2,%xmm0 3a: f2 0f 58 c1 addsd %xmm1,%xmm0 3e: f2 0f 11 44 24 04 movsd %xmm0,0x4(%esp) 44: dd 44 24 04 fldl 0x4(%esp) 48: c3 ret The first instruction of __floatdidf, cvtsi2sd, is not supported by that CP= U. World and kernel were built on that same host from svn revision 320864. --=20 You are receiving this mail because: You are the assignee for the bug.=