Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jul 2018 22:05:55 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r336689 - head/lib/libc/powerpcspe/gen
Message-ID:  <201807242205.w6OM5tNV006373@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807242205.w6OM5tNV006373>