2 * Copyright (C) 2002 Wolfgang Denk <wd@denx.de>
4 * SPDX-License-Identifier: GPL-2.0+
10 #include <ppc_asm.tmpl>
12 #include <asm/cache.h>
14 #if CONFIG_POST & CONFIG_SYS_POST_CPU
16 /* void cpu_post_exec_02 (ulong *code, ulong op1, ulong op2); */
17 .global cpu_post_exec_02
39 /* void cpu_post_exec_04 (ulong *code, ulong op1, ulong op2, ulong op3, ulong op4); */
40 .global cpu_post_exec_04
64 /* void cpu_post_exec_12 (ulong *code, ulong *res, ulong op1, ulong op2); */
65 .global cpu_post_exec_12
85 /* void cpu_post_exec_11 (ulong *code, ulong *res, ulong op1); */
86 .global cpu_post_exec_11
105 /* void cpu_post_exec_21 (ulong *code, ulong *cr, ulong *res, ulong op1); */
106 .global cpu_post_exec_21
134 /* void cpu_post_exec_22 (ulong *code, ulong *cr, ulong *res, ulong op1,
136 .global cpu_post_exec_22
165 /* void cpu_post_exec_12w (ulong *code, ulong *op1, ulong op2, ulong op3); */
166 .global cpu_post_exec_12w
187 /* void cpu_post_exec_11w (ulong *code, ulong *op1, ulong op2); */
188 .global cpu_post_exec_11w
208 /* void cpu_post_exec_22w (ulong *code, ulong *op1, ulong op2, ulong *op3); */
209 .global cpu_post_exec_22w
232 /* void cpu_post_exec_21w (ulong *code, ulong *op1, ulong *op2); */
233 .global cpu_post_exec_21w
255 /* void cpu_post_exec_21x (ulong *code, ulong *op1, ulong *op2, ulong op3); */
256 .global cpu_post_exec_21x
278 /* void cpu_post_exec_31 (ulong *code, ulong *ctr, ulong *lr, ulong *jump,
280 .global cpu_post_exec_31
310 /* int cpu_post_complex_1_asm (int a1, int a2, int a3, int a4, int n); */
311 .global cpu_post_complex_1_asm
312 cpu_post_complex_1_asm:
315 bge cpu_post_complex_1_done
317 cpu_post_complex_1_loop:
322 bdnz cpu_post_complex_1_loop
323 cpu_post_complex_1_done:
327 /* int cpu_post_complex_2_asm (int x, int n); */
328 .global cpu_post_complex_2_asm
329 cpu_post_complex_2_asm:
336 cpu_post_complex_2_loop:
339 bdnz cpu_post_complex_2_loop