Lines Matching +full:isa +full:- +full:extensions
1 /* SPDX-License-Identifier: GPL-2.0-only */
11 #include <asm/alternative-macros.h>
16 #define RISCV_ISA_EXT_a ('a' - 'a')
17 #define RISCV_ISA_EXT_b ('b' - 'a')
18 #define RISCV_ISA_EXT_c ('c' - 'a')
19 #define RISCV_ISA_EXT_d ('d' - 'a')
20 #define RISCV_ISA_EXT_f ('f' - 'a')
21 #define RISCV_ISA_EXT_h ('h' - 'a')
22 #define RISCV_ISA_EXT_i ('i' - 'a')
23 #define RISCV_ISA_EXT_j ('j' - 'a')
24 #define RISCV_ISA_EXT_k ('k' - 'a')
25 #define RISCV_ISA_EXT_m ('m' - 'a')
26 #define RISCV_ISA_EXT_p ('p' - 'a')
27 #define RISCV_ISA_EXT_q ('q' - 'a')
28 #define RISCV_ISA_EXT_s ('s' - 'a')
29 #define RISCV_ISA_EXT_u ('u' - 'a')
30 #define RISCV_ISA_EXT_v ('v' - 'a')
33 * These macros represent the logical IDs of each multi-letter RISC-V ISA
34 * extension and are used in the ISA bitmap. The logical IDs start from
35 * RISCV_ISA_EXT_BASE, which allows the 0-25 range to be reserved for single
36 * letter extensions. The maximum, RISCV_ISA_EXT_MAX, is defined in order
39 * New extensions should just be added to the bottom, rather than added