Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
44 lines
667 B
ArmAsm
44 lines
667 B
ArmAsm
/*
|
|
* Copyright 2013, Michael Ellerman, IBM Corp.
|
|
* Licensed under GPLv2.
|
|
*/
|
|
|
|
#include <ppc-asm.h>
|
|
|
|
.text
|
|
|
|
FUNC_START(thirty_two_instruction_loop)
|
|
cmpdi r3,0
|
|
beqlr
|
|
addi r4,r3,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1
|
|
addi r4,r4,1 # 28 addi's
|
|
subi r3,r3,1
|
|
b FUNC_NAME(thirty_two_instruction_loop)
|
|
FUNC_END(thirty_two_instruction_loop)
|