xref: /llvm-project-15.0.7/llvm/test/MC/Mips/nooddspreg-error.s (revision 9098a8b5)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: not llvm-mc %s -triple mips-unknown-linux-gnu -mattr=+fp64 2> %t0 | \
2# RUN:   FileCheck %s -check-prefix=CHECK-ASM
3# RUN: FileCheck %s -check-prefix=CHECK-ERROR < %t0
4#
5        .module nooddspreg
6# CHECK-ASM: .module nooddspreg
7
8        add.s $f1, $f2, $f5
9# CHECK-ERROR: :[[@LINE-1]]:15: error: -mno-odd-spreg prohibits the use of odd FPU registers
10# CHECK-ERROR: :[[@LINE-2]]:25: error: -mno-odd-spreg prohibits the use of odd FPU registers
11
12# FIXME: Test should include gnu_attributes directive when implemented.
13#        An explicit .gnu_attribute must be checked against the effective
14#        command line options and any inconsistencies reported via a warning.
15

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026