blob: aea3f1f61c016af1775f99a7a869e7879427bc04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#include "symbol-underscore.h"
#ifdef _MSC_VER
AREA _TEXT, ARM, CODE, READONLY
EXPORT SYMBOL_NAME(square_unsigned)
SYMBOL_NAME(square_unsigned) PROC
mul r1, r0, r0
mov r0, r1
mov pc, lr
SYMBOL_NAME(square_unsigned) ENDP
END
#else
.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
#endif
|