summaryrefslogtreecommitdiffstats
path: root/test cases/common/127 generated assembly/square-arm.S.in
blob: d2fb7ac205a82f9844cd15ef7537822bfbef5b24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "symbol-underscore.h"

.text
.globl SYMBOL_NAME(square_unsigned)
/* Only supported with GAS */
# if defined(__linux__) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__)
.type	square_unsigned,%function
#endif

SYMBOL_NAME(square_unsigned):
	mul	r1, r0, r0
	mov	r0, r1
	mov	pc, lr