1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/test/MC/Mips/mt/set-directive.s

15 lines
479 B
ArmAsm
Raw Normal View History

# RUN: llvm-mc < %s -arch=mips -mcpu=mips32r2 -filetype=obj -o - | \
# RUN: llvm-readobj --mips-abi-flags | FileCheck %s --check-prefix=CHECK-OBJ
# RUN: llvm-mc < %s -arch=mips -mcpu=mips32r2 -filetype=asm -o - | \
# RUN: FileCheck %s --check-prefix=CHECK-ASM
# Test that the MT ASE flag in .MIPS.abiflags is _not_ set by .set.
# Test that '.set mt' is emitted by the asm target streamer.
# CHECK-OBJ: ASEs
# CHECK-OBJ-NOT: MT (0x40)
# CHECK-ASM: .set mt
.set mt
nop