From owner-svn-src-head@freebsd.org Tue Jul 24 22:05:56 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3D9DC10577C0; Tue, 24 Jul 2018 22:05:56 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E8AA682419; Tue, 24 Jul 2018 22:05:55 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C9C7C11839; Tue, 24 Jul 2018 22:05:55 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6OM5t7Q006374; Tue, 24 Jul 2018 22:05:55 GMT (envelope-from jhibbits@FreeBSD.org) Received: (from jhibbits@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6OM5tNV006373; Tue, 24 Jul 2018 22:05:55 GMT (envelope-from jhibbits@FreeBSD.org) Message-Id: <201807242205.w6OM5tNV006373@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhibbits set sender to jhibbits@FreeBSD.org using -f From: Justin Hibbits Date: Tue, 24 Jul 2018 22:05:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r336689 - head/lib/libc/powerpcspe/gen X-SVN-Group: head X-SVN-Commit-Author: jhibbits X-SVN-Commit-Paths: head/lib/libc/powerpcspe/gen X-SVN-Commit-Revision: 336689 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2018 22:05:56 -0000 Author: jhibbits Date: Tue Jul 24 22:05:55 2018 New Revision: 336689 URL: https://svnweb.freebsd.org/changeset/base/336689 Log: Fix register usage in fabs(3) for powerpcspe This still used the FPU register definition, which gcc converted to using %r1 (stack register). Fix to use %r3. Modified: head/lib/libc/powerpcspe/gen/fabs.S Modified: head/lib/libc/powerpcspe/gen/fabs.S ============================================================================== --- head/lib/libc/powerpcspe/gen/fabs.S Tue Jul 24 22:04:56 2018 (r336688) +++ head/lib/libc/powerpcspe/gen/fabs.S Tue Jul 24 22:05:55 2018 (r336689) @@ -31,7 +31,7 @@ __FBSDID("$FreeBSD$"); * double fabs(double) */ ENTRY(fabs) - efdabs %f1,%f1 + efdabs %r3,%r3 blr END(fabs)