1 ; RUN: llc -filetype=asm -mtriple mipsel-unknown-linux -mcpu=mips32 %s -o - | FileCheck %s
2 ; RUN: llc -filetype=asm -mtriple mipsel-unknown-linux -mcpu=mips32 -mattr=fp64 %s -o - | FileCheck -check-prefix=CHECK-64 %s
3 ; RUN: llc -filetype=asm -mtriple mipsel-unknown-linux -mcpu=mips64 -target-abi n32 %s -o - | FileCheck -check-prefix=CHECK-64n %s
6 ; We don't emit '.module fp=32' for compatibility with binutils 2.24 which
7 ; doesn't accept .module.
8 ; CHECK-NOT: .module fp=32
10 ; CHECK-64: .nan legacy
11 ; We do emit '.module fp=64' though since it contradicts the default value.
12 ; CHECK-64: .module fp=64
14 ; CHECK-64n: .nan legacy
15 ; We don't emit '.module fp=64' for compatibility with binutils 2.24 which
16 ; doesn't accept .module.
17 ; CHECK-64n-NOT: .module fp=64