brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · f98799e Raw
25 lines · plain
1# RUN: llvm-mc %s -triple=riscv64 -mattr=+zbkb -M no-aliases \2# RUN:     | FileCheck -check-prefixes=CHECK-S-OBJ-NOALIAS %s3# RUN: llvm-mc %s  -triple=riscv64 -mattr=+zbkb \4# RUN:     | FileCheck -check-prefixes=CHECK-S-OBJ %s5# RUN: llvm-mc -filetype=obj -triple riscv64 -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 riscv64 -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 22# CHECK-S-OBJ-NOALIAS: roriw t0, t1, 823# CHECK-S-OBJ: roriw t0, t1, 824rorw x5, x6, 825