21 lines · plain
1# RUN: llvm-mc %s -triple=mips -mcpu=mips32 | \2# RUN: FileCheck %s -check-prefix=CHECK-ASM3#4# RUN: llvm-mc %s -triple=mips -mcpu=mips32 -filetype=obj -o - | \5# RUN: llvm-readobj -A - | \6# RUN: FileCheck %s -check-prefix=CHECK-OBJ7 8# CHECK-ASM: .module softfloat9 10# Check if the MIPS.abiflags section was correctly emitted:11# CHECK-OBJ: MIPS ABI Flags {12# CHECK-OBJ: FP ABI: Soft float (0x3)13# CHECK-OBJ: CPR1 size: 014# CHECK-OBJ: }15 16 .module softfloat17 18# FIXME: Test should include gnu_attributes directive when implemented.19# An explicit .gnu_attribute must be checked against the effective20# command line options and any inconsistencies reported via a warning.21