1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/MC/Mips/elf_eflags_nanlegacy.s
Daniel Sanders eea41061d0 [mips] Fix ELF e_flags related to -mabicalls and -mplt.
Summary:
These options are not implemented yet but we act as if they are always
given.

The integrated assembler is driven by the clang driver so the e_flag test
cases should match the e_flags emitted by GCC+GAS rather than GAS
by itself.

Differential Revision: http://reviews.llvm.org/D4536

llvm-svn: 213242
2014-07-17 09:52:56 +00:00

16 lines
496 B
ArmAsm

# 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