summaryrefslogtreecommitdiff
path: root/lib/libc/arch/m68k/gen/subdf3.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/libc/arch/m68k/gen/subdf3.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/libc/arch/m68k/gen/subdf3.S')
-rw-r--r--lib/libc/arch/m68k/gen/subdf3.S9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/arch/m68k/gen/subdf3.S b/lib/libc/arch/m68k/gen/subdf3.S
index 0c86a4c832b..07a425a97c1 100644
--- a/lib/libc/arch/m68k/gen/subdf3.S
+++ b/lib/libc/arch/m68k/gen/subdf3.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: subdf3.S,v 1.4 2005/08/07 16:40:14 espie Exp $ */
+/* $OpenBSD: subdf3.S,v 1.5 2013/02/02 13:29:14 miod Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@@ -36,9 +36,6 @@
/* double - double */
ENTRY(__subdf3)
- fmoved sp@(4),fp0
- fsubd sp@(12),fp0
- fmoved fp0,sp@-
- movel sp@+,d0
- movel sp@+,d1
+ fmoved %sp@(4),%fp0
+ fsubd %sp@(12),%fp0
rts