2014-04-16 23:48:55 +08:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 %s -o - | \
|
2020-07-20 15:39:14 +08:00
|
|
|
# RUN: llvm-readobj -h - | \
|
2014-04-16 23:48:55 +08:00
|
|
|
# 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
|
|
|
|
|
2014-07-17 17:52:56 +08:00
|
|
|
# This *MUST* match the output of 'gcc -c' compiled with the same triple.
|
|
|
|
# CHECK-OBJ: Flags [ (0x50001004)
|
2014-04-16 23:48:55 +08:00
|
|
|
|
|
|
|
# CHECK-ASM: .nan 2008
|
|
|
|
# CHECK-ASM: .nan legacy
|
|
|
|
|
|
|
|
.nan 2008
|
2014-07-17 17:52:56 +08:00
|
|
|
# Let's override the previous directive!
|
2014-04-16 23:48:55 +08:00
|
|
|
.nan legacy
|