1f50a7f3dSThomas Gleixner/* SPDX-License-Identifier: GPL-2.0-only */
2cb96143dSMichael Ellerman/*
3cb96143dSMichael Ellerman * Copyright 2013, Michael Ellerman, IBM Corp.
4cb96143dSMichael Ellerman */
5cb96143dSMichael Ellerman
60a6121cfSMichael Ellerman#include <ppc-asm.h>
70a6121cfSMichael Ellerman
8cb96143dSMichael Ellerman	.text
9cb96143dSMichael Ellerman
100a6121cfSMichael EllermanFUNC_START(thirty_two_instruction_loop)
110a6121cfSMichael Ellerman	cmpdi	r3,0
12cb96143dSMichael Ellerman	beqlr
130a6121cfSMichael Ellerman	addi	r4,r3,1
140a6121cfSMichael Ellerman	addi	r4,r4,1
150a6121cfSMichael Ellerman	addi	r4,r4,1
160a6121cfSMichael Ellerman	addi	r4,r4,1
170a6121cfSMichael Ellerman	addi	r4,r4,1
180a6121cfSMichael Ellerman	addi	r4,r4,1
190a6121cfSMichael Ellerman	addi	r4,r4,1
200a6121cfSMichael Ellerman	addi	r4,r4,1
210a6121cfSMichael Ellerman	addi	r4,r4,1
220a6121cfSMichael Ellerman	addi	r4,r4,1
230a6121cfSMichael Ellerman	addi	r4,r4,1
240a6121cfSMichael Ellerman	addi	r4,r4,1
250a6121cfSMichael Ellerman	addi	r4,r4,1
260a6121cfSMichael Ellerman	addi	r4,r4,1
270a6121cfSMichael Ellerman	addi	r4,r4,1
280a6121cfSMichael Ellerman	addi	r4,r4,1
290a6121cfSMichael Ellerman	addi	r4,r4,1
300a6121cfSMichael Ellerman	addi	r4,r4,1
310a6121cfSMichael Ellerman	addi	r4,r4,1
320a6121cfSMichael Ellerman	addi	r4,r4,1
330a6121cfSMichael Ellerman	addi	r4,r4,1
340a6121cfSMichael Ellerman	addi	r4,r4,1
350a6121cfSMichael Ellerman	addi	r4,r4,1
360a6121cfSMichael Ellerman	addi	r4,r4,1
370a6121cfSMichael Ellerman	addi	r4,r4,1
380a6121cfSMichael Ellerman	addi	r4,r4,1
390a6121cfSMichael Ellerman	addi	r4,r4,1
400a6121cfSMichael Ellerman	addi	r4,r4,1	# 28 addi's
410a6121cfSMichael Ellerman	subi	r3,r3,1
420a6121cfSMichael Ellerman	b	FUNC_NAME(thirty_two_instruction_loop)
430a6121cfSMichael EllermanFUNC_END(thirty_two_instruction_loop)
44