1# RUN: llvm-mc %s -arch=mips -mcpu=mips32 | \ 2# RUN: FileCheck %s -check-prefix=CHECK-ASM 3# 4# RUN: llvm-mc %s -arch=mips -mcpu=mips32 -filetype=obj -o - | \ 5# RUN: llvm-readobj -mips-abi-flags - | \ 6# RUN: FileCheck %s -check-prefix=CHECK-OBJ 7 8# CHECK-ASM: .module softfloat 9 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: 0 14# CHECK-OBJ: } 15 16 .module softfloat 17 18# FIXME: Test should include gnu_attributes directive when implemented. 19# An explicit .gnu_attribute must be checked against the effective 20# command line options and any inconsistencies reported via a warning. 21