aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/122 llvm ir and assembly/square-arm.S
blob: 4dd446753bf224fd22fde1705f99f6e5a266707a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "symbol-underscore.h"

.text
.globl SYMBOL_NAME(square_unsigned)
# ifdef __linux__
.type square_unsigned, %function
#endif

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