bolt/deps/llvm-18.1.8/llvm/test/MC/RISCV/Ztso.s
2025-02-14 19:21:04 +01:00

15 lines
543 B
ArmAsm

# RUN: llvm-mc %s -triple=riscv64 -mattr=+experimental-ztso -riscv-no-aliases 2>&1 | FileCheck %s
# RUN: llvm-mc %s -triple=riscv32 -mattr=+experimental-ztso -riscv-no-aliases 2>&1 | FileCheck %s
# Note: Ztso doesn't add or remove any instructions, so this is basically
# just checking that a) we accepted the attribute name, and b) codegen did
# not change. The ELF header flag is tested in elf-flags.s
# CHECK-NOT: not a recognized feature
# CHECK: fence iorw, iorw
fence iorw, iorw
# CHECK: fence.tso
fence.tso
# CHECK: fence.i
fence.i