1## Arch string without version. 2 3# RUN: llvm-mc %s -triple=riscv32 -filetype=asm | FileCheck %s 4# RUN: llvm-mc %s -triple=riscv64 -filetype=asm | FileCheck %s 5 6.attribute arch, "rv32i" 7# CHECK: attribute 5, "rv32i2p0" 8 9.attribute arch, "rv32i2" 10# CHECK: attribute 5, "rv32i2p0" 11 12.attribute arch, "rv32i2p" 13# CHECK: attribute 5, "rv32i2p0" 14 15.attribute arch, "rv32i2p0" 16# CHECK: attribute 5, "rv32i2p0" 17 18.attribute arch, "rv32i2_m2" 19# CHECK: attribute 5, "rv32i2p0_m2p0" 20 21.attribute arch, "rv32i2_ma" 22# CHECK: attribute 5, "rv32i2p0_m2p0_a2p0" 23 24.attribute arch, "rv32g" 25# CHECK: attribute 5, "rv32i2p0_m2p0_a2p0_f2p0_d2p0" 26 27.attribute arch, "rv32imafdc" 28# CHECK: attribute 5, "rv32i2p0_m2p0_a2p0_f2p0_d2p0_c2p0" 29 30.attribute arch, "rv32i2p0_mafdc" 31# CHECK: attribute 5, "rv32i2p0_m2p0_a2p0_f2p0_d2p0_c2p0" 32 33.attribute arch, "rv32ima2p0_fdc" 34# CHECK: attribute 5, "rv32i2p0_m2p0_a2p0_f2p0_d2p0_c2p0" 35 36.attribute arch, "rv32ima2p_fdc" 37# CHECK: attribute 5, "rv32i2p0_m2p0_a2p0_f2p0_d2p0_c2p0" 38