Searched refs:__ASM_STR (Results 1 – 5 of 5) sorted by relevance
| /linux/arch/riscv/include/asm/ |
| H A D | asm.h | 10 #define __ASM_STR(x) x 12 #define __ASM_STR(x) #x macro 22 #define __REG_SEL(a, b) __ASM_STR(a) 24 #define __REG_SEL(a, b) __ASM_STR(b) 63 #define RISCV_INT __ASM_STR(.word) 64 #define RISCV_SZINT __ASM_STR(4) 65 #define RISCV_LGINT __ASM_STR(2) 71 #define RISCV_SHORT __ASM_STR(.half) 72 #define RISCV_SZSHORT __ASM_STR(2) 73 #define RISCV_LGSHORT __ASM_STR(1)
|
| H A D | insn-def.h | 170 #define RV_OPCODE(v) __ASM_STR(v) 171 #define RV_FUNC3(v) __ASM_STR(v) 172 #define RV_FUNC7(v) __ASM_STR(v) 173 #define RV_SIMM12(v) __ASM_STR(v) 174 #define RV_RD(v) __ASM_STR(v) 175 #define RV_RS1(v) __ASM_STR(v) 176 #define RV_RS2(v) __ASM_STR(v) 177 #define __RV_REG(v) __ASM_STR(x ## v) 209 __ASM_STR(.error "hlv.d requires 64-bit support") 278 __ASM_STR(.error "ld.aq requires 64-bit support") [all …]
|
| H A D | csr.h | 552 __asm__ __volatile__ ("csrrw %0, " __ASM_STR(csr) ", %1"\ 561 __asm__ __volatile__ ("csrr %0, " __ASM_STR(csr) \ 570 __asm__ __volatile__ ("csrw " __ASM_STR(csr) ", %0" \ 578 __asm__ __volatile__ ("csrrs %0, " __ASM_STR(csr) ", %1"\ 587 __asm__ __volatile__ ("csrs " __ASM_STR(csr) ", %0" \ 595 __asm__ __volatile__ ("csrrc %0, " __ASM_STR(csr) ", %1"\ 604 __asm__ __volatile__ ("csrc " __ASM_STR(csr) ", %0" \
|
| /linux/tools/testing/selftests/riscv/cfi/ |
| H A D | cfi_rv_test.h | 60 #define __ASM_STR(x) x 62 #define __ASM_STR(x) #x macro 68 __asm__ __volatile__ ("csrr %0, " __ASM_STR(csr) \ 77 __asm__ __volatile__ ("csrw " __ASM_STR(csr) ", %0" \
|
| /linux/tools/arch/riscv/include/asm/ |
| H A D | csr.h | 473 #define __ASM_STR(x) x 475 #define __ASM_STR(x) #x macro 483 __asm__ __volatile__ ("csrrw %0, " __ASM_STR(csr) ", %1"\ 492 __asm__ __volatile__ ("csrr %0, " __ASM_STR(csr) \ 501 __asm__ __volatile__ ("csrw " __ASM_STR(csr) ", %0" \ 509 __asm__ __volatile__ ("csrrs %0, " __ASM_STR(csr) ", %1"\ 518 __asm__ __volatile__ ("csrs " __ASM_STR(csr) ", %0" \ 526 __asm__ __volatile__ ("csrrc %0, " __ASM_STR(csr) ", %1"\ 535 __asm__ __volatile__ ("csrc " __ASM_STR(csr) ", %0" \
|