1 # RUN: llvm-mc %s -triple=riscv32 -mattr=+smrnmi -riscv-no-aliases -show-encoding \
2 # RUN: | FileCheck -check-prefixes=CHECK,CHECK-INST %s
3 # RUN: llvm-mc %s -triple=riscv64 -mattr=+smrnmi -riscv-no-aliases -show-encoding \
4 # RUN: | FileCheck -check-prefixes=CHECK,CHECK-INST %s
5 # RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+smrnmi < %s \
6 # RUN: | llvm-objdump --mattr=+smrnmi -M no-aliases -d - \
7 # RUN: | FileCheck -check-prefix=CHECK-INST %s
8 # RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+smrnmi < %s \
9 # RUN: | llvm-objdump --mattr=+smrnmi -M no-aliases -d - \
10 # RUN: | FileCheck -check-prefix=CHECK-INST %s
13 # CHECK: encoding: [0x73,0x00,0x20,0x70]