The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
436 B
29 lines
436 B
#include "symbol-underscore.h" |
|
|
|
#ifdef _MSC_VER |
|
|
|
AREA _TEXT, ARM64, CODE, READONLY |
|
|
|
EXPORT SYMBOL_NAME(square_unsigned) |
|
SYMBOL_NAME(square_unsigned) PROC |
|
mul x1, x0, x0 |
|
mov x0, x1 |
|
ret |
|
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 x1, x0, x0 |
|
mov x0, x1 |
|
ret |
|
|
|
#endif
|
|
|