1# RUN: llvm-mc %s -triple=riscv64 -mattr=+experimental-zbb -riscv-no-aliases \ 2# RUN: | FileCheck -check-prefixes=CHECK-S-OBJ-NOALIAS %s 3# RUN: llvm-mc %s -triple=riscv64 -mattr=+experimental-zbb \ 4# RUN: | FileCheck -check-prefixes=CHECK-S-OBJ %s 5# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+experimental-zbb < %s \ 6# RUN: | llvm-objdump -d -r -M no-aliases --mattr=+experimental-zbb - \ 7# RUN: | FileCheck -check-prefixes=CHECK-S-OBJ-NOALIAS %s 8# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+experimental-zbb < %s \ 9# RUN: | llvm-objdump -d -r --mattr=+experimental-zbb - \ 10# RUN: | FileCheck -check-prefixes=CHECK-S-OBJ %s 11 12# The following check prefixes are used in this test: 13# CHECK-S-OBJ Match both the .s and objdumped object output with 14# aliases enabled 15# CHECK-S-OBJ-NOALIAS Match both the .s and objdumped object output with 16# aliases disabled 17 18# CHECK-S-OBJ-NOALIAS: zext.h t0, t1 19# CHECK-S-OBJ: zext.h t0, t1 20zext.h x5, x6 21 22# CHECK-S-OBJ-NOALIAS: rev8 t0, t1 23# CHECK-S-OBJ: rev8 t0, t1 24rev8 x5, x6 25 26# CHECK-S-OBJ-NOALIAS: orc.b t0, t1 27# CHECK-S-OBJ: orc.b t0, t1 28orc.b x5, x6 29 30# CHECK-S-OBJ-NOALIAS: rori t0, t1, 8 31# CHECK-S-OBJ: rori t0, t1, 8 32ror x5, x6, 8 33 34# CHECK-S-OBJ-NOALIAS: roriw t0, t1, 8 35# CHECK-S-OBJ: roriw t0, t1, 8 36rorw x5, x6, 8 37