1 /* $NetBSD: movstrSI.S,v 1.7 2006/05/22 21:34:08 uwe Exp $ */
4 * Copyright (c) 2000 SHIMIZU Ryo. All rights reserved.
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 * 3. The name of the author may not be used to endorse or promote products
15 * derived from this software without specific prior written permission.
17 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 #include <machine/asm.h>
33 .hidden __movstrSI4, __movmemSI4
34 .hidden __movstrSI8, __movmemSI8
35 .hidden __movstrSI12, __movmemSI12
36 .hidden __movstrSI16, __movmemSI16
37 .hidden __movstrSI20, __movmemSI20
38 .hidden __movstrSI24, __movmemSI24
39 .hidden __movstrSI28, __movmemSI28
40 .hidden __movstrSI32, __movmemSI32
41 .hidden __movstrSI36, __movmemSI36
42 .hidden __movstrSI40, __movmemSI40
43 .hidden __movstrSI44, __movmemSI44
44 .hidden __movstrSI48, __movmemSI48
45 .hidden __movstrSI52, __movmemSI52
46 .hidden __movstrSI56, __movmemSI56
47 .hidden __movstrSI60, __movmemSI60
48 .hidden __movstrSI64, __movmemSI64
55 ALTENTRY(__movstrSI60)
58 ALTENTRY(__movstrSI56)
61 ALTENTRY(__movstrSI52)
64 ALTENTRY(__movstrSI48)
67 ALTENTRY(__movstrSI44)
70 ALTENTRY(__movstrSI40)
73 ALTENTRY(__movstrSI36)
76 ALTENTRY(__movstrSI32)
79 ALTENTRY(__movstrSI28)
82 ALTENTRY(__movstrSI24)
85 ALTENTRY(__movstrSI20)
88 ALTENTRY(__movstrSI16)
91 ALTENTRY(__movstrSI12)
103 /* gcc4 uses movmem, older versions use movstr */
104 STRONG_ALIAS(__movmemSI4, __movstrSI4)
105 STRONG_ALIAS(__movmemSI8, __movstrSI8)
106 STRONG_ALIAS(__movmemSI12, __movstrSI12)
107 STRONG_ALIAS(__movmemSI16, __movstrSI16)
108 STRONG_ALIAS(__movmemSI20, __movstrSI20)
109 STRONG_ALIAS(__movmemSI24, __movstrSI24)
110 STRONG_ALIAS(__movmemSI28, __movstrSI28)
111 STRONG_ALIAS(__movmemSI32, __movstrSI32)
112 STRONG_ALIAS(__movmemSI36, __movstrSI36)
113 STRONG_ALIAS(__movmemSI40, __movstrSI40)
114 STRONG_ALIAS(__movmemSI44, __movstrSI44)
115 STRONG_ALIAS(__movmemSI48, __movstrSI48)
116 STRONG_ALIAS(__movmemSI52, __movstrSI52)
117 STRONG_ALIAS(__movmemSI56, __movstrSI56)
118 STRONG_ALIAS(__movmemSI60, __movstrSI60)
119 STRONG_ALIAS(__movmemSI64, __movstrSI64)