25 lines · plain
1# RUN: llvm-mc %s -triple=riscv32 -mattr=+zihintpause -M no-aliases \2# RUN: | FileCheck -check-prefixes=CHECK-S-OBJ-NOALIAS %s3# RUN: llvm-mc %s -triple=riscv32 -mattr=+zihintpause \4# RUN: | FileCheck -check-prefixes=CHECK-S-OBJ %s5# RUN: llvm-mc %s -triple=riscv64 -mattr=+zihintpause -M no-aliases \6# RUN: | FileCheck -check-prefixes=CHECK-S-OBJ-NOALIAS %s7# RUN: llvm-mc %s -triple=riscv64 -mattr=+zihintpause \8# RUN: | FileCheck -check-prefixes=CHECK-S-OBJ %s9# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+zihintpause < %s \10# RUN: | llvm-objdump --mattr=+zihintpause -d -r -M no-aliases - \11# RUN: | FileCheck -check-prefixes=CHECK-S-OBJ-NOALIAS %s12# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+zihintpause < %s \13# RUN: | llvm-objdump --mattr=+zihintpause -d -r - \14# RUN: | FileCheck -check-prefixes=CHECK-S-OBJ %s15# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+zihintpause < %s \16# RUN: | llvm-objdump --mattr=+zihintpause -d -r -M no-aliases - \17# RUN: | FileCheck -check-prefixes=CHECK-S-OBJ-NOALIAS %s18# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+zihintpause < %s \19# RUN: | llvm-objdump --mattr=+zihintpause -d -r - \20# RUN: | FileCheck -check-prefixes=CHECK-S-OBJ %s21 22# CHECK-S-OBJ-NOALIAS: fence w, 023# CHECK-S-OBJ: pause24pause25