Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/m68k/quad Use stack adjustment in the lnk inst...
details: https://anonhg.NetBSD.org/src/rev/a3aa0588e167
branches: trunk
changeset: 788724:a3aa0588e167
user: matt <matt%NetBSD.org@localhost>
date: Thu Jul 18 21:18:36 2013 +0000
description:
Use stack adjustment in the lnk instruction to adjust the stack.
Saves one word on the following moveml
diffstat:
lib/libc/arch/m68k/quad/ashldi3.S | 6 +++---
lib/libc/arch/m68k/quad/ashrdi3.S | 6 +++---
lib/libc/arch/m68k/quad/lshrdi3.S | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diffs (60 lines):
diff -r ec185903de69 -r a3aa0588e167 lib/libc/arch/m68k/quad/ashldi3.S
--- a/lib/libc/arch/m68k/quad/ashldi3.S Thu Jul 18 21:11:47 2013 +0000
+++ b/lib/libc/arch/m68k/quad/ashldi3.S Thu Jul 18 21:18:36 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ashldi3.S,v 1.6 2013/07/16 21:49:45 matt Exp $ */
+/* $NetBSD: ashldi3.S,v 1.7 2013/07/18 21:18:36 matt Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -37,8 +37,8 @@
| d3 offset (32 - shift)
ENTRY(__ashldi3)
- link %fp,#0
- moveml %d2-%d4,-(%sp)
+ link %fp,#-12
+ moveml %d2-%d4,(%sp)
movel 8(%fp),%d0
movel 12(%fp),%d1
movel 16(%fp),%d2
diff -r ec185903de69 -r a3aa0588e167 lib/libc/arch/m68k/quad/ashrdi3.S
--- a/lib/libc/arch/m68k/quad/ashrdi3.S Thu Jul 18 21:11:47 2013 +0000
+++ b/lib/libc/arch/m68k/quad/ashrdi3.S Thu Jul 18 21:18:36 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ashrdi3.S,v 1.6 2013/07/16 21:49:45 matt Exp $ */
+/* $NetBSD: ashrdi3.S,v 1.7 2013/07/18 21:18:36 matt Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -37,8 +37,8 @@
| d3 offset (32 - shift)
ENTRY(__ashrdi3)
- link %fp,#0
- moveml %d2-%d4,-(%sp)
+ link %fp,#-12
+ moveml %d2-%d4,(%sp)
movel 8(%fp),%d0
movel 12(%fp),%d1
movel 16(%fp),%d2
diff -r ec185903de69 -r a3aa0588e167 lib/libc/arch/m68k/quad/lshrdi3.S
--- a/lib/libc/arch/m68k/quad/lshrdi3.S Thu Jul 18 21:11:47 2013 +0000
+++ b/lib/libc/arch/m68k/quad/lshrdi3.S Thu Jul 18 21:18:36 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lshrdi3.S,v 1.7 2013/07/16 21:49:45 matt Exp $ */
+/* $NetBSD: lshrdi3.S,v 1.8 2013/07/18 21:18:36 matt Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -37,8 +37,8 @@
| d3 offset (32 - shift)
ENTRY(__lshrdi3)
- link %fp,#0
- moveml %d2-%d4,-(%sp)
+ link %fp,#-12
+ moveml %d2-%d4,(%sp)
movel 8(%fp),%d0
movel 12(%fp),%d1
movel 16(%fp),%d2
Home |
Main Index |
Thread Index |
Old Index