xref: /llvm-project/clang/test/Driver/print-supported-extensions-riscv.c (revision 0cb7636a462a8d4209e2b6344304eb43f02853eb)
1b9254adeSTomas Matheson // REQUIRES: riscv-registered-target
2b9254adeSTomas Matheson // RUN: %clang --target=riscv64-linux-gnu --print-supported-extensions | FileCheck --strict-whitespace --implicit-check-not=FEAT_ %s
3b9254adeSTomas Matheson 
4b9254adeSTomas Matheson // CHECK: All available -march extensions for RISC-V
5b9254adeSTomas Matheson // CHECK-EMPTY:
6b9254adeSTomas Matheson // CHECK-NEXT:     Name                 Version   Description
7b9254adeSTomas Matheson // CHECK-NEXT:     i                    2.1       'I' (Base Integer Instruction Set)
8d280a9c5SShao-Ce SUN // CHECK-NEXT:     e                    2.0       'E' (Embedded Instruction Set with 16 GPRs)
9b9254adeSTomas Matheson // CHECK-NEXT:     m                    2.0       'M' (Integer Multiplication and Division)
10b9254adeSTomas Matheson // CHECK-NEXT:     a                    2.1       'A' (Atomic Instructions)
11b9254adeSTomas Matheson // CHECK-NEXT:     f                    2.2       'F' (Single-Precision Floating-Point)
12b9254adeSTomas Matheson // CHECK-NEXT:     d                    2.2       'D' (Double-Precision Floating-Point)
13b9254adeSTomas Matheson // CHECK-NEXT:     c                    2.0       'C' (Compressed Instructions)
14b9254adeSTomas Matheson // CHECK-NEXT:     b                    1.0       'B' (the collection of the Zba, Zbb, Zbs extensions)
15b9254adeSTomas Matheson // CHECK-NEXT:     v                    1.0       'V' (Vector Extension for Application Processors)
16b9254adeSTomas Matheson // CHECK-NEXT:     h                    1.0       'H' (Hypervisor)
17b9254adeSTomas Matheson // CHECK-NEXT:     zic64b               1.0       'Zic64b' (Cache Block Size Is 64 Bytes)
18b9254adeSTomas Matheson // CHECK-NEXT:     zicbom               1.0       'Zicbom' (Cache-Block Management Instructions)
19b9254adeSTomas Matheson // CHECK-NEXT:     zicbop               1.0       'Zicbop' (Cache-Block Prefetch Instructions)
20b9254adeSTomas Matheson // CHECK-NEXT:     zicboz               1.0       'Zicboz' (Cache-Block Zero Instructions)
21b9254adeSTomas Matheson // CHECK-NEXT:     ziccamoa             1.0       'Ziccamoa' (Main Memory Supports All Atomics in A)
22b9254adeSTomas Matheson // CHECK-NEXT:     ziccif               1.0       'Ziccif' (Main Memory Supports Instruction Fetch with Atomicity Requirement)
23b9254adeSTomas Matheson // CHECK-NEXT:     zicclsm              1.0       'Zicclsm' (Main Memory Supports Misaligned Loads/Stores)
24b9254adeSTomas Matheson // CHECK-NEXT:     ziccrse              1.0       'Ziccrse' (Main Memory Supports Forward Progress on LR/SC Sequences)
25b9254adeSTomas Matheson // CHECK-NEXT:     zicntr               2.0       'Zicntr' (Base Counters and Timers)
26b9254adeSTomas Matheson // CHECK-NEXT:     zicond               1.0       'Zicond' (Integer Conditional Operations)
27d280a9c5SShao-Ce SUN // CHECK-NEXT:     zicsr                2.0       'Zicsr' (CSRs)
28b9254adeSTomas Matheson // CHECK-NEXT:     zifencei             2.0       'Zifencei' (fence.i)
29b9254adeSTomas Matheson // CHECK-NEXT:     zihintntl            1.0       'Zihintntl' (Non-Temporal Locality Hints)
30b9254adeSTomas Matheson // CHECK-NEXT:     zihintpause          2.0       'Zihintpause' (Pause Hint)
31b9254adeSTomas Matheson // CHECK-NEXT:     zihpm                2.0       'Zihpm' (Hardware Performance Counters)
32b9254adeSTomas Matheson // CHECK-NEXT:     zimop                1.0       'Zimop' (May-Be-Operations)
33b9254adeSTomas Matheson // CHECK-NEXT:     zmmul                1.0       'Zmmul' (Integer Multiplication)
34b9254adeSTomas Matheson // CHECK-NEXT:     za128rs              1.0       'Za128rs' (Reservation Set Size of at Most 128 Bytes)
35b9254adeSTomas Matheson // CHECK-NEXT:     za64rs               1.0       'Za64rs' (Reservation Set Size of at Most 64 Bytes)
36b9254adeSTomas Matheson // CHECK-NEXT:     zaamo                1.0       'Zaamo' (Atomic Memory Operations)
37b9254adeSTomas Matheson // CHECK-NEXT:     zabha                1.0       'Zabha' (Byte and Halfword Atomic Memory Operations)
38614aeda9SAlex Bradbury // CHECK-NEXT:     zacas                1.0       'Zacas' (Atomic Compare-And-Swap Instructions)
39b9254adeSTomas Matheson // CHECK-NEXT:     zalrsc               1.0       'Zalrsc' (Load-Reserved/Store-Conditional)
40b9254adeSTomas Matheson // CHECK-NEXT:     zama16b              1.0       'Zama16b' (Atomic 16-byte misaligned loads, stores and AMOs)
41b9254adeSTomas Matheson // CHECK-NEXT:     zawrs                1.0       'Zawrs' (Wait on Reservation Set)
42b9254adeSTomas Matheson // CHECK-NEXT:     zfa                  1.0       'Zfa' (Additional Floating-Point)
4332597685SJianjian Guan // CHECK-NEXT:     zfbfmin              1.0       'Zfbfmin' (Scalar BF16 Converts)
44b9254adeSTomas Matheson // CHECK-NEXT:     zfh                  1.0       'Zfh' (Half-Precision Floating-Point)
45b9254adeSTomas Matheson // CHECK-NEXT:     zfhmin               1.0       'Zfhmin' (Half-Precision Floating-Point Minimal)
46b9254adeSTomas Matheson // CHECK-NEXT:     zfinx                1.0       'Zfinx' (Float in Integer)
47b9254adeSTomas Matheson // CHECK-NEXT:     zdinx                1.0       'Zdinx' (Double in Integer)
48b9254adeSTomas Matheson // CHECK-NEXT:     zca                  1.0       'Zca' (part of the C extension, excluding compressed floating point loads/stores)
49b9254adeSTomas Matheson // CHECK-NEXT:     zcb                  1.0       'Zcb' (Compressed basic bit manipulation instructions)
50b9254adeSTomas Matheson // CHECK-NEXT:     zcd                  1.0       'Zcd' (Compressed Double-Precision Floating-Point Instructions)
51b9254adeSTomas Matheson // CHECK-NEXT:     zce                  1.0       'Zce' (Compressed extensions for microcontrollers)
52b9254adeSTomas Matheson // CHECK-NEXT:     zcf                  1.0       'Zcf' (Compressed Single-Precision Floating-Point Instructions)
53b9254adeSTomas Matheson // CHECK-NEXT:     zcmop                1.0       'Zcmop' (Compressed May-Be-Operations)
54015526bfSCraig Topper // CHECK-NEXT:     zcmp                 1.0       'Zcmp' (sequenced instructions for code-size reduction)
55015526bfSCraig Topper // CHECK-NEXT:     zcmt                 1.0       'Zcmt' (table jump instructions for code-size reduction)
56b9254adeSTomas Matheson // CHECK-NEXT:     zba                  1.0       'Zba' (Address Generation Instructions)
57b9254adeSTomas Matheson // CHECK-NEXT:     zbb                  1.0       'Zbb' (Basic Bit-Manipulation)
58b9254adeSTomas Matheson // CHECK-NEXT:     zbc                  1.0       'Zbc' (Carry-Less Multiplication)
59b9254adeSTomas Matheson // CHECK-NEXT:     zbkb                 1.0       'Zbkb' (Bitmanip instructions for Cryptography)
60b9254adeSTomas Matheson // CHECK-NEXT:     zbkc                 1.0       'Zbkc' (Carry-less multiply instructions for Cryptography)
61b9254adeSTomas Matheson // CHECK-NEXT:     zbkx                 1.0       'Zbkx' (Crossbar permutation instructions)
62b9254adeSTomas Matheson // CHECK-NEXT:     zbs                  1.0       'Zbs' (Single-Bit Instructions)
63b9254adeSTomas Matheson // CHECK-NEXT:     zk                   1.0       'Zk' (Standard scalar cryptography extension)
64b9254adeSTomas Matheson // CHECK-NEXT:     zkn                  1.0       'Zkn' (NIST Algorithm Suite)
65b9254adeSTomas Matheson // CHECK-NEXT:     zknd                 1.0       'Zknd' (NIST Suite: AES Decryption)
66b9254adeSTomas Matheson // CHECK-NEXT:     zkne                 1.0       'Zkne' (NIST Suite: AES Encryption)
67b9254adeSTomas Matheson // CHECK-NEXT:     zknh                 1.0       'Zknh' (NIST Suite: Hash Function Instructions)
68b9254adeSTomas Matheson // CHECK-NEXT:     zkr                  1.0       'Zkr' (Entropy Source Extension)
69b9254adeSTomas Matheson // CHECK-NEXT:     zks                  1.0       'Zks' (ShangMi Algorithm Suite)
70b9254adeSTomas Matheson // CHECK-NEXT:     zksed                1.0       'Zksed' (ShangMi Suite: SM4 Block Cipher Instructions)
71b9254adeSTomas Matheson // CHECK-NEXT:     zksh                 1.0       'Zksh' (ShangMi Suite: SM3 Hash Function Instructions)
72b9254adeSTomas Matheson // CHECK-NEXT:     zkt                  1.0       'Zkt' (Data Independent Execution Latency)
7390d79e25SPhilip Reames // CHECK-NEXT:     ztso                 1.0       'Ztso' (Memory Model - Total Store Order)
74b9254adeSTomas Matheson // CHECK-NEXT:     zvbb                 1.0       'Zvbb' (Vector basic bit-manipulation instructions)
75b9254adeSTomas Matheson // CHECK-NEXT:     zvbc                 1.0       'Zvbc' (Vector Carryless Multiplication)
76b9254adeSTomas Matheson // CHECK-NEXT:     zve32f               1.0       'Zve32f' (Vector Extensions for Embedded Processors with maximal 32 EEW and F extension)
77b9254adeSTomas Matheson // CHECK-NEXT:     zve32x               1.0       'Zve32x' (Vector Extensions for Embedded Processors with maximal 32 EEW)
78b9254adeSTomas Matheson // CHECK-NEXT:     zve64d               1.0       'Zve64d' (Vector Extensions for Embedded Processors with maximal 64 EEW, F and D extension)
79b9254adeSTomas Matheson // CHECK-NEXT:     zve64f               1.0       'Zve64f' (Vector Extensions for Embedded Processors with maximal 64 EEW and F extension)
80b9254adeSTomas Matheson // CHECK-NEXT:     zve64x               1.0       'Zve64x' (Vector Extensions for Embedded Processors with maximal 64 EEW)
81d280a9c5SShao-Ce SUN // CHECK-NEXT:     zvfbfmin             1.0       'Zvfbfmin' (Vector BF16 Converts)
8232597685SJianjian Guan // CHECK-NEXT:     zvfbfwma             1.0       'Zvfbfwma' (Vector BF16 widening mul-add)
83b9254adeSTomas Matheson // CHECK-NEXT:     zvfh                 1.0       'Zvfh' (Vector Half-Precision Floating-Point)
84b9254adeSTomas Matheson // CHECK-NEXT:     zvfhmin              1.0       'Zvfhmin' (Vector Half-Precision Floating-Point Minimal)
85b9254adeSTomas Matheson // CHECK-NEXT:     zvkb                 1.0       'Zvkb' (Vector Bit-manipulation used in Cryptography)
86b9254adeSTomas Matheson // CHECK-NEXT:     zvkg                 1.0       'Zvkg' (Vector GCM instructions for Cryptography)
87b9254adeSTomas Matheson // CHECK-NEXT:     zvkn                 1.0       'Zvkn' (shorthand for 'Zvkned', 'Zvknhb', 'Zvkb', and 'Zvkt')
88b9254adeSTomas Matheson // CHECK-NEXT:     zvknc                1.0       'Zvknc' (shorthand for 'Zvknc' and 'Zvbc')
89b9254adeSTomas Matheson // CHECK-NEXT:     zvkned               1.0       'Zvkned' (Vector AES Encryption & Decryption (Single Round))
90d280a9c5SShao-Ce SUN // CHECK-NEXT:     zvkng                1.0       'Zvkng' (shorthand for 'Zvkn' and 'Zvkg')
91b9254adeSTomas Matheson // CHECK-NEXT:     zvknha               1.0       'Zvknha' (Vector SHA-2 (SHA-256 only))
92b9254adeSTomas Matheson // CHECK-NEXT:     zvknhb               1.0       'Zvknhb' (Vector SHA-2 (SHA-256 and SHA-512))
93b9254adeSTomas Matheson // CHECK-NEXT:     zvks                 1.0       'Zvks' (shorthand for 'Zvksed', 'Zvksh', 'Zvkb', and 'Zvkt')
94b9254adeSTomas Matheson // CHECK-NEXT:     zvksc                1.0       'Zvksc' (shorthand for 'Zvks' and 'Zvbc')
95b9254adeSTomas Matheson // CHECK-NEXT:     zvksed               1.0       'Zvksed' (SM4 Block Cipher Instructions)
96b9254adeSTomas Matheson // CHECK-NEXT:     zvksg                1.0       'Zvksg' (shorthand for 'Zvks' and 'Zvkg')
97b9254adeSTomas Matheson // CHECK-NEXT:     zvksh                1.0       'Zvksh' (SM3 Hash Function Instructions)
98b9254adeSTomas Matheson // CHECK-NEXT:     zvkt                 1.0       'Zvkt' (Vector Data-Independent Execution Latency)
99d280a9c5SShao-Ce SUN // CHECK-NEXT:     zvl1024b             1.0       'Zvl1024b' (Minimum Vector Length 1024)
100d280a9c5SShao-Ce SUN // CHECK-NEXT:     zvl128b              1.0       'Zvl128b' (Minimum Vector Length 128)
101d280a9c5SShao-Ce SUN // CHECK-NEXT:     zvl16384b            1.0       'Zvl16384b' (Minimum Vector Length 16384)
102d280a9c5SShao-Ce SUN // CHECK-NEXT:     zvl2048b             1.0       'Zvl2048b' (Minimum Vector Length 2048)
103d280a9c5SShao-Ce SUN // CHECK-NEXT:     zvl256b              1.0       'Zvl256b' (Minimum Vector Length 256)
104d280a9c5SShao-Ce SUN // CHECK-NEXT:     zvl32768b            1.0       'Zvl32768b' (Minimum Vector Length 32768)
105d280a9c5SShao-Ce SUN // CHECK-NEXT:     zvl32b               1.0       'Zvl32b' (Minimum Vector Length 32)
106d280a9c5SShao-Ce SUN // CHECK-NEXT:     zvl4096b             1.0       'Zvl4096b' (Minimum Vector Length 4096)
107d280a9c5SShao-Ce SUN // CHECK-NEXT:     zvl512b              1.0       'Zvl512b' (Minimum Vector Length 512)
108d280a9c5SShao-Ce SUN // CHECK-NEXT:     zvl64b               1.0       'Zvl64b' (Minimum Vector Length 64)
109d280a9c5SShao-Ce SUN // CHECK-NEXT:     zvl65536b            1.0       'Zvl65536b' (Minimum Vector Length 65536)
110d280a9c5SShao-Ce SUN // CHECK-NEXT:     zvl8192b             1.0       'Zvl8192b' (Minimum Vector Length 8192)
111b9254adeSTomas Matheson // CHECK-NEXT:     zhinx                1.0       'Zhinx' (Half Float in Integer)
112b9254adeSTomas Matheson // CHECK-NEXT:     zhinxmin             1.0       'Zhinxmin' (Half Float in Integer Minimal)
11335f6cc6aSAlex Bradbury // CHECK-NEXT:     sha                  1.0       'Sha' (Augmented Hypervisor)
114b9254adeSTomas Matheson // CHECK-NEXT:     shcounterenw         1.0       'Shcounterenw' (Support writeable hcounteren enable bit for any hpmcounter that is not read-only zero)
115d280a9c5SShao-Ce SUN // CHECK-NEXT:     shgatpa              1.0       'Shgatpa' (SvNNx4 mode supported for all modes supported by satp, as well as Bare)
116b9254adeSTomas Matheson // CHECK-NEXT:     shtvala              1.0       'Shtvala' (htval provides all needed values)
117d280a9c5SShao-Ce SUN // CHECK-NEXT:     shvsatpa             1.0       'Shvsatpa' (vsatp supports all modes supported by satp)
118b9254adeSTomas Matheson // CHECK-NEXT:     shvstvala            1.0       'Shvstvala' (vstval provides all needed values)
119b9254adeSTomas Matheson // CHECK-NEXT:     shvstvecd            1.0       'Shvstvecd' (vstvec supports Direct mode)
120b9254adeSTomas Matheson // CHECK-NEXT:     smaia                1.0       'Smaia' (Advanced Interrupt Architecture Machine Level)
121b9254adeSTomas Matheson // CHECK-NEXT:     smcdeleg             1.0       'Smcdeleg' (Counter Delegation Machine Level)
122b9254adeSTomas Matheson // CHECK-NEXT:     smcsrind             1.0       'Smcsrind' (Indirect CSR Access Machine Level)
123c17a9146ST-Tie // CHECK-NEXT:     smdbltrp             1.0       'Smdbltrp' (Double Trap Machine Level)
124b9254adeSTomas Matheson // CHECK-NEXT:     smepmp               1.0       'Smepmp' (Enhanced Physical Memory Protection)
1252c0b3485SAlex Bradbury // CHECK-NEXT:     smmpm                1.0       'Smmpm' (Machine-level Pointer Masking for M-mode)
1262c0b3485SAlex Bradbury // CHECK-NEXT:     smnpm                1.0       'Smnpm' (Machine-level Pointer Masking for next lower privilege mode)
127ed6ddffbSdong-miao // CHECK-NEXT:     smrnmi               1.0       'Smrnmi' (Resumable Non-Maskable Interrupts)
128b9254adeSTomas Matheson // CHECK-NEXT:     smstateen            1.0       'Smstateen' (Machine-mode view of the state-enable extension)
129b9254adeSTomas Matheson // CHECK-NEXT:     ssaia                1.0       'Ssaia' (Advanced Interrupt Architecture Supervisor Level)
130b9254adeSTomas Matheson // CHECK-NEXT:     ssccfg               1.0       'Ssccfg' (Counter Configuration Supervisor Level)
131b9254adeSTomas Matheson // CHECK-NEXT:     ssccptr              1.0       'Ssccptr' (Main memory supports page table reads)
132b9254adeSTomas Matheson // CHECK-NEXT:     sscofpmf             1.0       'Sscofpmf' (Count Overflow and Mode-Based Filtering)
133b9254adeSTomas Matheson // CHECK-NEXT:     sscounterenw         1.0       'Sscounterenw' (Support writeable scounteren enable bit for any hpmcounter that is not read-only zero)
134b9254adeSTomas Matheson // CHECK-NEXT:     sscsrind             1.0       'Sscsrind' (Indirect CSR Access Supervisor Level)
135c17a9146ST-Tie // CHECK-NEXT:     ssdbltrp             1.0       'Ssdbltrp' (Double Trap Supervisor Level)
1362c0b3485SAlex Bradbury // CHECK-NEXT:     ssnpm                1.0       'Ssnpm' (Supervisor-level Pointer Masking for next lower privilege mode)
1372c0b3485SAlex Bradbury // CHECK-NEXT:     sspm                 1.0       'Sspm' (Indicates Supervisor-mode Pointer Masking)
138bacedb56SShao-Ce SUN // CHECK-NEXT:     ssqosid              1.0       'Ssqosid' (Quality-of-Service (QoS) Identifiers)
139b9254adeSTomas Matheson // CHECK-NEXT:     ssstateen            1.0       'Ssstateen' (Supervisor-mode view of the state-enable extension)
140b9254adeSTomas Matheson // CHECK-NEXT:     ssstrict             1.0       'Ssstrict' (No non-conforming extensions are present)
141b9254adeSTomas Matheson // CHECK-NEXT:     sstc                 1.0       'Sstc' (Supervisor-mode timer interrupts)
142b9254adeSTomas Matheson // CHECK-NEXT:     sstvala              1.0       'Sstvala' (stval provides all needed values)
143b9254adeSTomas Matheson // CHECK-NEXT:     sstvecd              1.0       'Sstvecd' (stvec supports Direct mode)
144b9254adeSTomas Matheson // CHECK-NEXT:     ssu64xl              1.0       'Ssu64xl' (UXLEN=64 supported)
1452c0b3485SAlex Bradbury // CHECK-NEXT:     supm                 1.0       'Supm' (Indicates User-mode Pointer Masking)
146b9254adeSTomas Matheson // CHECK-NEXT:     svade                1.0       'Svade' (Raise exceptions on improper A/D bits)
147b9254adeSTomas Matheson // CHECK-NEXT:     svadu                1.0       'Svadu' (Hardware A/D updates)
148d280a9c5SShao-Ce SUN // CHECK-NEXT:     svbare               1.0       'Svbare' (satp mode Bare supported)
149b9254adeSTomas Matheson // CHECK-NEXT:     svinval              1.0       'Svinval' (Fine-Grained Address-Translation Cache Invalidation)
150b9254adeSTomas Matheson // CHECK-NEXT:     svnapot              1.0       'Svnapot' (NAPOT Translation Contiguity)
151b9254adeSTomas Matheson // CHECK-NEXT:     svpbmt               1.0       'Svpbmt' (Page-Based Memory Types)
152d280a9c5SShao-Ce SUN // CHECK-NEXT:     svvptc               1.0       'Svvptc' (Obviating Memory-Management Instructions after Marking PTEs Valid)
153b9254adeSTomas Matheson // CHECK-NEXT:     xcvalu               1.0       'XCValu' (CORE-V ALU Operations)
154b9254adeSTomas Matheson // CHECK-NEXT:     xcvbi                1.0       'XCVbi' (CORE-V Immediate Branching)
155b9254adeSTomas Matheson // CHECK-NEXT:     xcvbitmanip          1.0       'XCVbitmanip' (CORE-V Bit Manipulation)
156b9254adeSTomas Matheson // CHECK-NEXT:     xcvelw               1.0       'XCVelw' (CORE-V Event Load Word)
157b9254adeSTomas Matheson // CHECK-NEXT:     xcvmac               1.0       'XCVmac' (CORE-V Multiply-Accumulate)
158b9254adeSTomas Matheson // CHECK-NEXT:     xcvmem               1.0       'XCVmem' (CORE-V Post-incrementing Load & Store)
159b9254adeSTomas Matheson // CHECK-NEXT:     xcvsimd              1.0       'XCVsimd' (CORE-V SIMD ALU)
160*0cb7636aSDjordje Todorovic // CHECK-NEXT:     xmipscmove           1.0       'XMIPSCMove' (MIPS conditional move instruction(s) (ccmov))
161*0cb7636aSDjordje Todorovic // CHECK-NEXT:     xmipslsp             1.0       'XMIPSLSP' (MIPS optimization for hardware load-store bonding)
162b9254adeSTomas Matheson // CHECK-NEXT:     xsfcease             1.0       'XSfcease' (SiFive sf.cease Instruction)
163b9254adeSTomas Matheson // CHECK-NEXT:     xsfvcp               1.0       'XSfvcp' (SiFive Custom Vector Coprocessor Interface Instructions)
164b9254adeSTomas Matheson // CHECK-NEXT:     xsfvfnrclipxfqf      1.0       'XSfvfnrclipxfqf' (SiFive FP32-to-int8 Ranged Clip Instructions)
165b9254adeSTomas Matheson // CHECK-NEXT:     xsfvfwmaccqqq        1.0       'XSfvfwmaccqqq' (SiFive Matrix Multiply Accumulate Instruction and 4-by-4))
166b9254adeSTomas Matheson // CHECK-NEXT:     xsfvqmaccdod         1.0       'XSfvqmaccdod' (SiFive Int8 Matrix Multiplication Instructions (2-by-8 and 8-by-2))
167b9254adeSTomas Matheson // CHECK-NEXT:     xsfvqmaccqoq         1.0       'XSfvqmaccqoq' (SiFive Int8 Matrix Multiplication Instructions (4-by-8 and 8-by-4))
168b9254adeSTomas Matheson // CHECK-NEXT:     xsifivecdiscarddlone 1.0       'XSiFivecdiscarddlone' (SiFive sf.cdiscard.d.l1 Instruction)
169b9254adeSTomas Matheson // CHECK-NEXT:     xsifivecflushdlone   1.0       'XSiFivecflushdlone' (SiFive sf.cflush.d.l1 Instruction)
170e8ab4132SCraig Topper // CHECK-NEXT:     xtheadba             1.0       'XTHeadBa' (T-Head address calculation instructions)
171e8ab4132SCraig Topper // CHECK-NEXT:     xtheadbb             1.0       'XTHeadBb' (T-Head basic bit-manipulation instructions)
172e8ab4132SCraig Topper // CHECK-NEXT:     xtheadbs             1.0       'XTHeadBs' (T-Head single-bit instructions)
173e8ab4132SCraig Topper // CHECK-NEXT:     xtheadcmo            1.0       'XTHeadCmo' (T-Head cache management instructions)
174e8ab4132SCraig Topper // CHECK-NEXT:     xtheadcondmov        1.0       'XTHeadCondMov' (T-Head conditional move instructions)
175e8ab4132SCraig Topper // CHECK-NEXT:     xtheadfmemidx        1.0       'XTHeadFMemIdx' (T-Head FP Indexed Memory Operations)
176e8ab4132SCraig Topper // CHECK-NEXT:     xtheadmac            1.0       'XTHeadMac' (T-Head Multiply-Accumulate Instructions)
177e8ab4132SCraig Topper // CHECK-NEXT:     xtheadmemidx         1.0       'XTHeadMemIdx' (T-Head Indexed Memory Operations)
178e8ab4132SCraig Topper // CHECK-NEXT:     xtheadmempair        1.0       'XTHeadMemPair' (T-Head two-GPR Memory Operations)
179e8ab4132SCraig Topper // CHECK-NEXT:     xtheadsync           1.0       'XTHeadSync' (T-Head multicore synchronization instructions)
180e8ab4132SCraig Topper // CHECK-NEXT:     xtheadvdot           1.0       'XTHeadVdot' (T-Head Vector Extensions for Dot)
181b9254adeSTomas Matheson // CHECK-NEXT:     xventanacondops      1.0       'XVentanaCondOps' (Ventana Conditional Ops)
1823c5f929aSR // CHECK-NEXT:     xwchc                2.2       'Xwchc' (WCH/QingKe additional compressed opcodes)
183b9254adeSTomas Matheson // CHECK-EMPTY:
184b9254adeSTomas Matheson // CHECK-NEXT: Experimental extensions
18558c7df90SYeting Kuo // CHECK-NEXT:     zicfilp              1.0       'Zicfilp' (Landing pad)
18658c7df90SYeting Kuo // CHECK-NEXT:     zicfiss              1.0       'Zicfiss' (Shadow stack)
187b9254adeSTomas Matheson // CHECK-NEXT:     zalasr               0.1       'Zalasr' (Load-Acquire and Store-Release Instructions)
188a80a90e3SPengcheng Wang // CHECK-NEXT:     zvbc32e              0.7       'Zvbc32e' (Vector Carryless Multiplication with 32-bits elements)
189a80a90e3SPengcheng Wang // CHECK-NEXT:     zvkgs                0.7       'Zvkgs' (Vector-Scalar GCM instructions for Cryptography)
1902fae5bdeSShao-Ce SUN // CHECK-NEXT:     sdext                1.0       'Sdext' (External debugger)
1912fae5bdeSShao-Ce SUN // CHECK-NEXT:     sdtrig               1.0       'Sdtrig' (Debugger triggers)
1920ca77f66SCraig Topper // CHECK-NEXT:     smctr                1.0       'Smctr' (Control Transfer Records Machine Level)
1930ca77f66SCraig Topper // CHECK-NEXT:     ssctr                1.0       'Ssctr' (Control Transfer Records Supervisor Level)
1944a7dbedeSBrandon Wu // CHECK-NEXT:     svukte               0.3       'Svukte' (Address-Independent Latency of User-Mode Faults to Supervisor Addresses)
1956881c6d2SSudharsan Veeravalli // CHECK-NEXT:     xqcia                0.2       'Xqcia' (Qualcomm uC Arithmetic Extension)
1962d068879Squic_hchandel // CHECK-NEXT:     xqciac               0.3       'Xqciac' (Qualcomm uC Load-Store Address Calculation Extension)
197532a2691SSudharsan Veeravalli // CHECK-NEXT:     xqcicli              0.2       'Xqcicli' (Qualcomm uC Conditional Load Immediate Extension)
198737d6ca4Squic_hchandel // CHECK-NEXT:     xqcicm               0.2       'Xqcicm' (Qualcomm uC Conditional Move Extension)
1990614c601Squic_hchandel // CHECK-NEXT:     xqcics               0.2       'Xqcics' (Qualcomm uC Conditional Select Extension)
200c4645ffeSSudharsan Veeravalli // CHECK-NEXT:     xqcicsr              0.2       'Xqcicsr' (Qualcomm uC CSR Extension)
201171d3eddSquic_hchandel // CHECK-NEXT:     xqciint              0.2       'Xqciint' (Qualcomm uC Interrupts Extension)
202163935a4Squic_hchandel // CHECK-NEXT:     xqcilo               0.2       'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)
203668d9688SSudharsan Veeravalli // CHECK-NEXT:     xqcilsm              0.2       'Xqcilsm' (Qualcomm uC Load Store Multiple Extension)
2048fcbba82SSudharsan Veeravalli // CHECK-NEXT:     xqcisls              0.2       'Xqcisls' (Qualcomm uC Scaled Load Store Extension)
205b9254adeSTomas Matheson // CHECK-EMPTY:
206b9254adeSTomas Matheson // CHECK-NEXT: Supported Profiles
207b9254adeSTomas Matheson // CHECK-NEXT:     rva20s64
208b9254adeSTomas Matheson // CHECK-NEXT:     rva20u64
209b9254adeSTomas Matheson // CHECK-NEXT:     rva22s64
210b9254adeSTomas Matheson // CHECK-NEXT:     rva22u64
211ba7555e6SAlex Bradbury // CHECK-NEXT:     rva23s64
212ba7555e6SAlex Bradbury // CHECK-NEXT:     rva23u64
2137544d3afSAlex Bradbury // CHECK-NEXT:     rvb23s64
2147544d3afSAlex Bradbury // CHECK-NEXT:     rvb23u64
215b9254adeSTomas Matheson // CHECK-NEXT:     rvi20u32
216b9254adeSTomas Matheson // CHECK-NEXT:     rvi20u64
217b9254adeSTomas Matheson // CHECK-EMPTY:
218b9254adeSTomas Matheson // CHECK-NEXT: Experimental Profiles
219b9254adeSTomas Matheson // CHECK-NEXT:     rvm23u32
220b9254adeSTomas Matheson // CHECK-EMPTY:
221b9254adeSTomas Matheson // CHECK-NEXT: Use -march to specify the target's extension.
222b9254adeSTomas Matheson // CHECK-NEXT: For example, clang -march=rv32i_v1p0
223