Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/sh3/sys Simplify.
details: https://anonhg.NetBSD.org/src/rev/254708da5183
branches: trunk
changeset: 586962:254708da5183
user: uwe <uwe%NetBSD.org@localhost>
date: Fri Jan 06 05:23:46 2006 +0000
description:
Simplify.
diffstat:
lib/libc/arch/sh3/sys/pipe.S | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diffs (30 lines):
diff -r 35b089d8923d -r 254708da5183 lib/libc/arch/sh3/sys/pipe.S
--- a/lib/libc/arch/sh3/sys/pipe.S Fri Jan 06 05:14:39 2006 +0000
+++ b/lib/libc/arch/sh3/sys/pipe.S Fri Jan 06 05:23:46 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pipe.S,v 1.6 2003/08/07 16:42:21 agc Exp $ */
+/* $NetBSD: pipe.S,v 1.7 2006/01/06 05:23:46 uwe Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
- RCSID("$NetBSD: pipe.S,v 1.6 2003/08/07 16:42:21 agc Exp $")
+ RCSID("$NetBSD: pipe.S,v 1.7 2006/01/06 05:23:46 uwe Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@@ -46,8 +46,7 @@
#endif
_SYSCALL(_pipe,pipe)
- mov r4, r2
- mov.l r0, @r2
- mov.l r1, @(4, r2)
+ mov.l r0, @r4
+ mov.l r1, @(4, r4)
rts
- xor r0, r0
+ mov #0, r0
Home |
Main Index |
Thread Index |
Old Index