1 # RUN: llvm-mc %s -arch=mips -mcpu=mips32 | \
2 # RUN: FileCheck %s -check-prefix=CHECK-ASM
4 # RUN: llvm-mc %s -arch=mips -mcpu=mips32 -filetype=obj -o - | \
5 # RUN: llvm-readobj -A - | \
6 # RUN: FileCheck %s -check-prefix=CHECK-OBJ
8 # CHECK-ASM: .module softfloat
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
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.