1 ## Arch string without version.
3 # RUN: llvm-mc %s -triple=riscv32 -filetype=asm | FileCheck %s
4 # RUN: llvm-mc %s -triple=riscv64 -filetype=asm | FileCheck %s
6 .attribute arch, "rv32i"
7 # CHECK: attribute 5, "rv32i2p0"
9 .attribute arch, "rv32i2"
10 # CHECK: attribute 5, "rv32i2p0"
12 .attribute arch, "rv32i2p"
13 # CHECK: attribute 5, "rv32i2p0"
15 .attribute arch, "rv32i2p0"
16 # CHECK: attribute 5, "rv32i2p0"
18 .attribute arch, "rv32i2_m2"
19 # CHECK: attribute 5, "rv32i2p0_m2p0"
21 .attribute arch, "rv32i2_ma"
22 # CHECK: attribute 5, "rv32i2p0_m2p0_a2p0"
24 .attribute arch, "rv32g"
25 # CHECK: attribute 5, "rv32i2p0_m2p0_a2p0_f2p0_d2p0"
27 .attribute arch, "rv32imafdc"
28 # CHECK: attribute 5, "rv32i2p0_m2p0_a2p0_f2p0_d2p0_c2p0"
30 .attribute arch, "rv32i2p0_mafdc"
31 # CHECK: attribute 5, "rv32i2p0_m2p0_a2p0_f2p0_d2p0_c2p0"
33 .attribute arch, "rv32ima2p0_fdc"
34 # CHECK: attribute 5, "rv32i2p0_m2p0_a2p0_f2p0_d2p0_c2p0"
36 .attribute arch, "rv32ima2p_fdc"
37 # CHECK: attribute 5, "rv32i2p0_m2p0_a2p0_f2p0_d2p0_c2p0"
39 .attribute arch, "rv32ib"
40 # CHECK: attribute 5, "rv32i2p0_b0p93_zba0p93_zbb0p93_zbc0p93_zbe0p93_zbf0p93_zbm0p93_zbp0p93_zbr0p93_zbs0p93_zbt0p93"
42 .attribute arch, "rv32iv"
43 # CHECK: attribute 5, "rv32i2p0_v0p10"
45 .attribute arch, "rv32izba"
46 # CHECK: attribute 5, "rv32i2p0_zba0p93"
48 .attribute arch, "rv32izbb"
49 # CHECK: attribute 5, "rv32i2p0_zbb0p93"
51 .attribute arch, "rv32izbc"
52 # CHECK: attribute 5, "rv32i2p0_zbc0p93"
54 .attribute arch, "rv32izbe"
55 # CHECK: attribute 5, "rv32i2p0_zbe0p93"
57 .attribute arch, "rv32izbf"
58 # CHECK: attribute 5, "rv32i2p0_zbf0p93"
60 .attribute arch, "rv32izbm"
61 # CHECK: attribute 5, "rv32i2p0_zbm0p93"
63 .attribute arch, "rv32izbp"
64 # CHECK: attribute 5, "rv32i2p0_zbp0p93"
66 .attribute arch, "rv32izbproposedc"
67 # CHECK: attribute 5, "rv32i2p0_zbproposedc0p93"
69 .attribute arch, "rv32izbr"
70 # CHECK: attribute 5, "rv32i2p0_zbr0p93"
72 .attribute arch, "rv32izbs"
73 # CHECK: attribute 5, "rv32i2p0_zbs0p93"
75 .attribute arch, "rv32izbt"
76 # CHECK: attribute 5, "rv32i2p0_zbt0p93"
78 .attribute arch, "rv32ifzfh"
79 # CHECK: attribute 5, "rv32i2p0_f2p0_zfh0p1"
81 .attribute arch, "rv32ivzvamo_zvlsseg"
82 # CHECK: attribute 5, "rv32i2p0_v0p10_zvamo0p10_zvlsseg0p10"
84 .attribute arch, "rv32iv_zvamo0p10_zvlsseg"
85 # CHECK: attribute 5, "rv32i2p0_v0p10_zvamo0p10_zvlsseg0p10"