From owner-freebsd-ppc@freebsd.org Thu Sep 8 13:01:44 2016 Return-Path: Delivered-To: freebsd-ppc@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 97753BD17E2 for ; Thu, 8 Sep 2016 13:01:44 +0000 (UTC) (envelope-from kristof@swissmail.org) Received: from smtp.swissmail.org (smtpout.swissmail.org [212.25.22.149]) (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 5539CD80 for ; Thu, 8 Sep 2016 13:01:43 +0000 (UTC) (envelope-from kristof@swissmail.org) Received: from vm-mailout1.vm.swissmail.org (vm-mailout1.vm.swissmail.org [212.25.22.134]) by smtp.swissmail.org (Postfix) with ESMTPS id 46CDC80FE3 for ; Thu, 8 Sep 2016 14:56:31 +0200 (CEST) Received: from vm-pemfos2.intra.swissmail.org (unknown [192.168.173.55]) by vm-mailout1.vm.swissmail.org (Postfix) with ESMTP id 47F649FCD7 for ; Thu, 8 Sep 2016 15:01:40 +0200 (CEST) Received: from vm-pemfos2.intra.swissmail.org (localhost [127.0.0.1]) by localhost (PEmFoS-local-10025) with ESMTP id 3B7CB4A00D for ; Thu, 8 Sep 2016 15:01:40 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by localhost (PEmFoS/1560.7492.a1); Thu, 8 Sep 2016 15:01:40 +0200 (CEST) X-Pemfos-Policyd: accepted (ZdUbEYOav9fEaJN53xOrnhsaFn8fMjUlWRE9IkIlH2FzF+MSHFVlFBgbRlcMVws1) Subject: Re: From llvm: Fwd: [Bug 26519] Clang 3.8.0's "Target: powerpc-unknown-freebsd11.0" code generation is violating the SVR4 ABI (SEGV can result) [fixed in llvm -r280705] To: freebsd-ppc@freebsd.org References: From: Krzysztof Parzyszek Message-ID: <0f2f330a-8eeb-722d-5dcf-12d70543436e@swissmail.org> Date: Thu, 8 Sep 2016 08:01:31 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.99.2 at vm-mailout1 X-Virus-Status: Clean X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2016 13:01:44 -0000 On 9/7/2016 9:42 PM, Mark Millard wrote: > > I think that "optimizations" here means (in part?) avoiding the floating point hardware as the kernel need not save/restore the registers and the like for its own activities. Only user-space gets that service as I understand. > Hi Mark, Thanks, this helps. The kernel may not need this, but in general soft-float needs to generate library calls for floating-point operations. Is there a library for those for powerpc64? The compiler will need to know at least the names and parameters of these functions. -Krzysztof