29 lines · plain
1; RUN: llc -filetype=asm -mtriple mipsel-unknown-linux \2; RUN: -mcpu=mips32 %s -o - | FileCheck %s3; RUN: llc -filetype=asm -mtriple mipsel-unknown-linux \4; RUN: -mcpu=mips32r2 -mattr=fp64 %s -o - | FileCheck -check-prefix=CHECK-64 %s5; RUN: llc -filetype=asm -mtriple mipsel-unknown-linux \6; RUN: -mcpu=mips64 -target-abi n32 %s -o - | FileCheck -check-prefix=CHECK-64n %s7; RUN: llc -filetype=asm -mtriple mipsel-unknown-linux -mcpu=mips32 \8; RUN: -mattr=soft-float %s -o - | FileCheck -check-prefix=SOFT %s9; RUN: llc -filetype=asm -mtriple mipsel-unknown-linux -mcpu=mips32r6 \10; RUN: -mattr=soft-float %s -o - | FileCheck -check-prefix=SOFT %s11; RUN: llc -filetype=asm -mtriple mipsel-unknown-linux -mcpu=mips64 \12; RUN: -mattr=soft-float -target-abi n64 %s -o - | FileCheck -check-prefix=SOFT %s13 14; CHECK: .nan legacy15; We don't emit '.module fp=32' for compatibility with binutils 2.24 which16; doesn't accept .module.17; CHECK-NOT: .module fp=3218 19; CHECK-64: .nan legacy20; We do emit '.module fp=64' though since it contradicts the default value.21; CHECK-64: .module fp=6422 23; CHECK-64n: .nan legacy24; We don't emit '.module fp=64' for compatibility with binutils 2.24 which25; doesn't accept .module.26; CHECK-64n-NOT: .module fp=6427 28; SOFT: .module softfloat29