summaryrefslogtreecommitdiff
path: root/test/MC/Mips/elf_eflags_nanlegacy.s
blob: 6897ad2bda4cf34ef6e1ffbec9b4350505cc73d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 %s -o - | \
# RUN:   llvm-readobj -h | \
# RUN:     FileCheck %s -check-prefix=CHECK-OBJ
# RUN: llvm-mc -triple mipsel-unknown-linux -mcpu=mips32 %s -o -| \
# RUN:   FileCheck %s -check-prefix=CHECK-ASM

# This *MUST* match the output of gas compiled with the same triple.
# CHECK-OBJ: Flags [ (0x50001000)

# CHECK-ASM: .nan 2008
# CHECK-ASM: .nan legacy

.nan 2008
// Let's override the previous directive!
.nan legacy