2 * Copyright (C) 2002 Wolfgang Denk <wd@denx.de>
4 * See file CREDITS for list of people who contributed to this
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of
10 * the License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
28 #include <ppc_asm.tmpl>
30 #include <asm/cache.h>
32 #if CONFIG_POST & CFG_POST_CPU
34 /* void cpu_post_exec_02 (ulong *code, ulong op1, ulong op2); */
35 .global cpu_post_exec_02
56 /* void cpu_post_exec_04 (ulong *code, ulong op1, ulong op2, ulong op3, ulong op4); */
57 .global cpu_post_exec_04
80 /* void cpu_post_exec_12 (ulong *code, ulong *res, ulong op1, ulong op2); */
81 .global cpu_post_exec_12
100 /* void cpu_post_exec_11 (ulong *code, ulong *res, ulong op1); */
101 .global cpu_post_exec_11
119 /* void cpu_post_exec_21 (ulong *code, ulong *cr, ulong *res, ulong op1); */
120 .global cpu_post_exec_21
147 /* void cpu_post_exec_22 (ulong *code, ulong *cr, ulong *res, ulong op1,
149 .global cpu_post_exec_22
177 /* void cpu_post_exec_12w (ulong *code, ulong *op1, ulong op2, ulong op3); */
178 .global cpu_post_exec_12w
198 /* void cpu_post_exec_11w (ulong *code, ulong *op1, ulong op2); */
199 .global cpu_post_exec_11w
218 /* void cpu_post_exec_22w (ulong *code, ulong *op1, ulong op2, ulong *op3); */
219 .global cpu_post_exec_22w
241 /* void cpu_post_exec_21w (ulong *code, ulong *op1, ulong *op2); */
242 .global cpu_post_exec_21w
263 /* void cpu_post_exec_21x (ulong *code, ulong *op1, ulong *op2, ulong op3); */
264 .global cpu_post_exec_21x
285 /* void cpu_post_exec_31 (ulong *code, ulong *ctr, ulong *lr, ulong *jump,
287 .global cpu_post_exec_31
313 /* int cpu_post_complex_1_asm (int a1, int a2, int a3, int a4, int n); */
314 .global cpu_post_complex_1_asm
315 cpu_post_complex_1_asm:
318 bge cpu_post_complex_1_done
320 cpu_post_complex_1_loop:
325 bdnz cpu_post_complex_1_loop
326 cpu_post_complex_1_done:
330 /* int cpu_post_complex_2_asm (int x, int n); */
331 .global cpu_post_complex_2_asm
332 cpu_post_complex_2_asm:
339 cpu_post_complex_2_loop:
342 bdnz cpu_post_complex_2_loop