1 # RUN: llvm-mc %s -triple=riscv32 -riscv-no-aliases -mattr=+zcmt -show-encoding \
2 # RUN: | FileCheck -check-prefixes=CHECK-INST,CHECK-ENC %s
3 # RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+zcmt < %s \
4 # RUN: | llvm-objdump -d --mattr=+zcmt - \
5 # RUN: | FileCheck -check-prefix=CHECK-INST-ALIAS %s
7 # RUN: llvm-mc %s -triple=riscv64 -riscv-no-aliases -mattr=+zcmt -show-encoding \
8 # RUN: | FileCheck -check-prefixes=CHECK-INST,CHECK-ENC %s
9 # RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+zcmt < %s \
10 # RUN: | llvm-objdump -d --mattr=+zcmt - \
11 # RUN: | FileCheck -check-prefix=CHECK-INST-ALIAS %s
13 ##################################
14 # Jump Vector Table CSR
15 ##################################
19 # CHECK-INST: csrrs t1, jvt, zero
20 # CHECK-ENC: encoding: [0x73,0x23,0x70,0x01]
21 # CHECK-INST-ALIAS: csrr t1, jvt
23 # CHECK-INST: csrrs t2, jvt, zero
24 # CHECK-ENC: encoding: [0xf3,0x23,0x70,0x01]
25 # CHECK-INST-ALIAS: csrr t2, jvt