[mips] Test both %dtprel_hi and %dtprel_lo instead of testing %dtprel_hi twice.
[oota-llvm.git] / test / MC / Mips / nooddspreg-error.s
1 # RUN: not llvm-mc %s -arch=mips -mcpu=mips32 -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.