Home
last modified time | relevance | path

Searched refs:__ASM_STR (Results 1 – 2 of 2) sorted by relevance

/DragonStub/inc/dragonstub/linux/arch/riscv/asm/
H A Dasm.h10 #define __ASM_STR(x) x
12 #define __ASM_STR(x) #x macro
16 #define __REG_SEL(a, b) __ASM_STR(a)
18 #define __REG_SEL(a, b) __ASM_STR(b)
56 #define RISCV_INT __ASM_STR(.word)
57 #define RISCV_SZINT __ASM_STR(4)
58 #define RISCV_LGINT __ASM_STR(2)
64 #define RISCV_SHORT __ASM_STR(.half)
65 #define RISCV_SZSHORT __ASM_STR(2)
66 #define RISCV_LGSHORT __ASM_STR(1)
H A Dcsr.h459 __asm__ __volatile__ ("csrrw %0, " __ASM_STR(csr) ", %1"\
468 __asm__ __volatile__ ("csrr %0, " __ASM_STR(csr) \
477 __asm__ __volatile__ ("csrw " __ASM_STR(csr) ", %0" \
485 __asm__ __volatile__ ("csrrs %0, " __ASM_STR(csr) ", %1"\
494 __asm__ __volatile__ ("csrs " __ASM_STR(csr) ", %0" \
502 __asm__ __volatile__ ("csrrc %0, " __ASM_STR(csr) ", %1"\
511 __asm__ __volatile__ ("csrc " __ASM_STR(csr) ", %0" \