21 lines · plain
1# RUN: llvm-mc %s -triple=riscv32 -mattr=+zbkb -M no-aliases \2# RUN: | FileCheck -check-prefixes=CHECK-S-OBJ-NOALIAS %s3# RUN: llvm-mc %s -triple=riscv32 -mattr=+zbkb \4# RUN: | FileCheck -check-prefixes=CHECK-S-OBJ %s5# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+zbkb < %s \6# RUN: | llvm-objdump --no-print-imm-hex -d -r -M no-aliases --mattr=+zbkb - \7# RUN: | FileCheck -check-prefixes=CHECK-S-OBJ-NOALIAS %s8# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+zbkb < %s \9# RUN: | llvm-objdump --no-print-imm-hex -d -r --mattr=+zbkb - \10# RUN: | FileCheck -check-prefixes=CHECK-S-OBJ %s11 12# The following check prefixes are used in this test:13# CHECK-S-OBJ Match both the .s and objdumped object output with14# aliases enabled15# CHECK-S-OBJ-NOALIAS Match both the .s and objdumped object output with16# aliases disabled17 18# CHECK-S-OBJ-NOALIAS: rori t0, t1, 819# CHECK-S-OBJ: rori t0, t1, 820ror x5, x6, 821