2 * Copyright (C) 1998 Dan Malek <dmalek@jlc.net>
3 * Copyright (C) 1999 Magnus Damm <kieraypc01.p.y.kie.era.ericsson.se>
4 * Copyright (C) 2001 Sysgo Real-Time Solutions, GmbH <www.elinos.com>
5 * Andreas Heppel <aheppel@sysgo.de>
6 * Copyright (C) 2002 Wolfgang Denk <wd@denx.de>
8 * See file CREDITS for list of people who contributed to this
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License as
13 * published by the Free Software Foundation; either version 2 of
14 * the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
28 #include <ppc_asm.tmpl>
30 /* ------------------------------------------------------------------------------- */
32 /* Description: Input 8 bits */
33 /* ------------------------------------------------------------------------------- */
40 /* ------------------------------------------------------------------------------- */
42 /* Description: Input 16 bits */
43 /* ------------------------------------------------------------------------------- */
50 /* ------------------------------------------------------------------------------- */
52 /* Description: Input 16 bits and byte reverse */
53 /* ------------------------------------------------------------------------------- */
60 /* ------------------------------------------------------------------------------- */
62 /* Description: Input 32 bits */
63 /* ------------------------------------------------------------------------------- */
70 /* ------------------------------------------------------------------------------- */
72 /* Description: Input 32 bits and byte reverse */
73 /* ------------------------------------------------------------------------------- */
80 /* ------------------------------------------------------------------------------- */
82 /* Description: Output 8 bits */
83 /* ------------------------------------------------------------------------------- */
90 /* ------------------------------------------------------------------------------- */
92 /* Description: Output 16 bits */
93 /* ------------------------------------------------------------------------------- */
100 /* ------------------------------------------------------------------------------- */
101 /* Function: out16r */
102 /* Description: Byte reverse and output 16 bits */
103 /* ------------------------------------------------------------------------------- */
110 /* ------------------------------------------------------------------------------- */
111 /* Function: out32 */
112 /* Description: Output 32 bits */
113 /* ------------------------------------------------------------------------------- */
120 /* ------------------------------------------------------------------------------- */
121 /* Function: out32r */
122 /* Description: Byte reverse and output 32 bits */
123 /* ------------------------------------------------------------------------------- */