Merge branch 'master' into isa/arm64
[lunaix-os.git] / lunaix-os / arch / aarch64 / includes / asm / aa64_asm.h
1 #ifndef __LUNAIX_AA64_ASM_H
2 #define __LUNAIX_AA64_ASM_H
3
4 #define __const_expr_sign #
5 #define __comma() ,
6 #define __const_expr()    __const_expr_sign
7
8 #define __sr_encode(op0, op1, crn, crm, op2)    \
9             s##op0##_##op1##_c##crn##_c##crm##_##op2
10 #define __sysop_encode(op1, crn, crm, op2)      \
11             "#" #op1 ",C" #crn ",C" #crm ",#" #op2
12
13 #ifndef __ASM__
14
15 #include <lunaix/compiler.h>
16
17 #else
18 #endif
19 #endif /* __LUNAIX_AA64_ASM_H */