59 #include <rtems/score/cpuopts.h> 79 #ifndef __USER_LABEL_PREFIX__ 80 #define __USER_LABEL_PREFIX__ _ 83 #ifndef __REGISTER_PREFIX__ 84 #define __REGISTER_PREFIX__ 89 #define CONCAT1(a, b) CONCAT2(a, b) 90 #define CONCAT2(a, b) a ## b 94 #define SYM(x) CONCAT1 (__USER_LABEL_PREFIX__, x) 98 #define REG(x) CONCAT1 (__REGISTER_PREFIX__, x) 109 #define BEGIN_CODE_DCL .text 111 #define BEGIN_DATA_DCL .data 113 #define BEGIN_CODE .text 126 #define PUBLIC(sym) .global SYM (sym) 127 #define EXTERN(sym) .extern SYM (sym) 128 #define TYPE_FUNC(sym) .type SYM (sym), %function 130 #if __riscv_xlen == 32 136 #elif __riscv_xlen == 64 144 #ifdef __riscv_cmodel_medany 154 #if __riscv_flen == 32 160 #define FMVYX fmv.s.x 162 #define FMVXY fmv.x.s 164 #elif __riscv_flen == 64 170 #if __riscv_xlen == 32 172 #define FMVYX fmv.s.x 174 #define FMVXY fmv.x.s 176 #elif __riscv_xlen == 64 178 #define FMVYX fmv.d.x 180 #define FMVXY fmv.x.d 186 .macro GET_SELF_CPU_CONTROL
REG 194 .macro CLEAR_RESERVATIONS
REG 195 #ifdef __riscv_atomic 200 sc.w zero, zero, (
\REG)
#define REG(x)
Definition: asm.h:72