summaryrefslogtreecommitdiff
path: root/lib/libm/arch/mc68881/e_sqrtf.S
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-02-02 13:29:15 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-02-02 13:29:15 +0000
commitbfb23955a64b7aa0e072e92cbfc69f31228df265 (patch)
tree6c50e10532f57c6b648775473ddc5645317ada81 /lib/libm/arch/mc68881/e_sqrtf.S
parenteb379c50371cbe91cdca98004f1424ab57bc5e76 (diff)
Userland bits for m68k/ELF. Mostly addition of register prefixes to the
assembler instructions, and cope with the few changes in return values location.
Diffstat (limited to 'lib/libm/arch/mc68881/e_sqrtf.S')
-rw-r--r--lib/libm/arch/mc68881/e_sqrtf.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libm/arch/mc68881/e_sqrtf.S b/lib/libm/arch/mc68881/e_sqrtf.S
index 1c507b68368..446a240bc0c 100644
--- a/lib/libm/arch/mc68881/e_sqrtf.S
+++ b/lib/libm/arch/mc68881/e_sqrtf.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: e_sqrtf.S,v 1.1 2011/05/28 21:55:04 martynas Exp $ */
+/* $OpenBSD: e_sqrtf.S,v 1.2 2013/02/02 13:29:14 miod Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@@ -41,7 +41,5 @@
*/
ENTRY(sqrtf)
- fsqrts sp@(4),fp0
- fmoves fp0,sp@-
- movel sp@+,d0
+ fsqrts %sp@(4),%fp0
rts