1cb96143dSMichael Ellerman/*
2cb96143dSMichael Ellerman * Copyright 2013, Michael Ellerman, IBM Corp.
3cb96143dSMichael Ellerman * Licensed under GPLv2.
4cb96143dSMichael Ellerman */
5cb96143dSMichael Ellerman
6cb96143dSMichael Ellerman	.text
7cb96143dSMichael Ellerman
8cb96143dSMichael Ellerman	.global thirty_two_instruction_loop
9cb96143dSMichael Ellerman	.type .thirty_two_instruction_loop,@function
10cb96143dSMichael Ellerman	.section ".opd","aw",@progbits
11cb96143dSMichael Ellermanthirty_two_instruction_loop:
12cb96143dSMichael Ellerman	.quad .thirty_two_instruction_loop, .TOC.@tocbase, 0
13cb96143dSMichael Ellerman	.previous
14cb96143dSMichael Ellerman.thirty_two_instruction_loop:
15cb96143dSMichael Ellerman	cmpwi	%r3,0
16cb96143dSMichael Ellerman	beqlr
17cb96143dSMichael Ellerman	addi	%r4,%r3,1
18cb96143dSMichael Ellerman	addi	%r4,%r4,1
19cb96143dSMichael Ellerman	addi	%r4,%r4,1
20cb96143dSMichael Ellerman	addi	%r4,%r4,1
21cb96143dSMichael Ellerman	addi	%r4,%r4,1
22cb96143dSMichael Ellerman	addi	%r4,%r4,1
23cb96143dSMichael Ellerman	addi	%r4,%r4,1
24cb96143dSMichael Ellerman	addi	%r4,%r4,1
25cb96143dSMichael Ellerman	addi	%r4,%r4,1
26cb96143dSMichael Ellerman	addi	%r4,%r4,1
27cb96143dSMichael Ellerman	addi	%r4,%r4,1
28cb96143dSMichael Ellerman	addi	%r4,%r4,1
29cb96143dSMichael Ellerman	addi	%r4,%r4,1
30cb96143dSMichael Ellerman	addi	%r4,%r4,1
31cb96143dSMichael Ellerman	addi	%r4,%r4,1
32cb96143dSMichael Ellerman	addi	%r4,%r4,1
33cb96143dSMichael Ellerman	addi	%r4,%r4,1
34cb96143dSMichael Ellerman	addi	%r4,%r4,1
35cb96143dSMichael Ellerman	addi	%r4,%r4,1
36cb96143dSMichael Ellerman	addi	%r4,%r4,1
37cb96143dSMichael Ellerman	addi	%r4,%r4,1
38cb96143dSMichael Ellerman	addi	%r4,%r4,1
39cb96143dSMichael Ellerman	addi	%r4,%r4,1
40cb96143dSMichael Ellerman	addi	%r4,%r4,1
41cb96143dSMichael Ellerman	addi	%r4,%r4,1
42cb96143dSMichael Ellerman	addi	%r4,%r4,1
43cb96143dSMichael Ellerman	addi	%r4,%r4,1
44cb96143dSMichael Ellerman	addi	%r4,%r4,1	# 28 addi's
45cb96143dSMichael Ellerman	subi	%r3,%r3,1
46cb96143dSMichael Ellerman	b	.thirty_two_instruction_loop
47