Debian Codegraph @

src/libmpg123/check_neon.S

raw
1 /*
2 check_neon: check NEON availability
3
4 copyright 1995-2014 by the mpg123 project - free software under the terms of the LGPL 2.1
5 see COPYING and AUTHORS files in distribution or http://mpg123.org
6 initially written by Taihei Momma
7 */
8
9 #include "aarch64_defs.h"
10 #include "mangle.h"
11
12 #ifndef __aarch64__
13 #ifndef _M_ARM
14 .code 32
15 #endif
16 #ifndef __APPLE__
17 .fpu neon
18 #endif
19 #endif
20
21 .text
22 GLOBAL_SYMBOL ASM_NAME(INT123_check_neon)
23 #ifdef __ELF__
24 .type ASM_NAME(INT123_check_neon), %function
25 #endif
26 ALIGN4
27 ASM_NAME(INT123_check_neon):
28 #ifdef __aarch64__
29 orr v0.16b, v0.16b, v0.16b
30 ret
31 #else
32 vorr d0, d0, d0
33 bx lr
34 #endif
35
36 NONEXEC_STACK