llvm-for-llvmta/test/MC/Mips/elf_eflags_nanlegacy.s

16 lines
498 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# 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 'gcc -c' compiled with the same triple.
# CHECK-OBJ: Flags [ (0x50001004)
# CHECK-ASM: .nan 2008
# CHECK-ASM: .nan legacy
.nan 2008
# Let's override the previous directive!
.nan legacy