Lines Matching refs:ext
114 #define riscv_isa_extension_mask(ext) BIT_MASK(RISCV_ISA_EXT_##ext) argument
117 #define riscv_isa_extension_available(isa_bitmap, ext) \ argument
118 __riscv_isa_extension_available(isa_bitmap, RISCV_ISA_EXT_##ext)
121 riscv_has_extension_likely(const unsigned long ext) in riscv_has_extension_likely() argument
123 compiletime_assert(ext < RISCV_ISA_EXT_MAX, in riscv_has_extension_likely()
128 ALTERNATIVE("j %l[l_no]", "nop", 0, %[ext], 1) in riscv_has_extension_likely()
130 : [ext] "i" (ext) in riscv_has_extension_likely()
134 if (!__riscv_isa_extension_available(NULL, ext)) in riscv_has_extension_likely()
144 riscv_has_extension_unlikely(const unsigned long ext) in riscv_has_extension_unlikely() argument
146 compiletime_assert(ext < RISCV_ISA_EXT_MAX, in riscv_has_extension_unlikely()
151 ALTERNATIVE("nop", "j %l[l_yes]", 0, %[ext], 1) in riscv_has_extension_unlikely()
153 : [ext] "i" (ext) in riscv_has_extension_unlikely()
157 if (__riscv_isa_extension_available(NULL, ext)) in riscv_has_extension_unlikely()