You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
667 B
43 lines
667 B
/*
|
|
* 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)
|
|
|