xref: /llvm-project-15.0.7/llvm/test/MC/Mips/module-softfloat.s (revision 4e00a192)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 -A - | \
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

served by {OpenGrok

Last Index Update: Tue Oct 21 18:42:31 GMT 2025