Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lib/libkern/arch/sh3 unused file (we have an asm version)



details:   https://anonhg.NetBSD.org/src/rev/8eca5205888a
branches:  trunk
changeset: 476441:8eca5205888a
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Sep 16 15:04:13 1999 +0000

description:
unused file (we have an asm version)

diffstat:

 sys/lib/libkern/arch/sh3/movstr.c |  66 ---------------------------------------
 1 files changed, 0 insertions(+), 66 deletions(-)

diffs (70 lines):

diff -r 6833abe15833 -r 8eca5205888a sys/lib/libkern/arch/sh3/movstr.c
--- a/sys/lib/libkern/arch/sh3/movstr.c Thu Sep 16 14:52:06 1999 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
-/*     $NetBSD: movstr.c,v 1.1 1999/09/13 10:31:38 itojun Exp $        */
-
-/*-
- * Copyright (C) 1999 Tsubai Masanari.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The name of the author may not be used to endorse or promote products
- *    derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-void __movstr __P((int *, int *, int));
-
-void
-__movstr(dst, src, n)
-       int *dst, *src;
-       int n;
-{
-       while (n > 16) {
-               *dst++ = *src++;
-               *dst++ = *src++;
-               *dst++ = *src++;
-               *dst++ = *src++;
-
-               *dst++ = *src++;
-               *dst++ = *src++;
-               *dst++ = *src++;
-               *dst++ = *src++;
-
-               *dst++ = *src++;
-               *dst++ = *src++;
-               *dst++ = *src++;
-               *dst++ = *src++;
-
-               *dst++ = *src++;
-               *dst++ = *src++;
-               *dst++ = *src++;
-               *dst++ = *src++;
-
-               n -= 16;
-       }
-
-       /* n is 1..16 here */
-       n -= 32;
-       while (n != 0) {
-               *dst++ = *src++;
-               n++;
-       }
-}



Home | Main Index | Thread Index | Old Index