[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / Mips / nooddspreg-error.s
blob9044485812e64ab64d7265ae3de8333634b6da5f
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
5 .module nooddspreg
6 # CHECK-ASM: .module nooddspreg
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
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.