summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Mips/mt/set-directive.s
blob: 9088655d8c5d71c082edc968fa03282e0a59f6e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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
OpenPOWER on IntegriCloud