[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / Mips / set-softfloat-hardfloat-bad.s
blob14b1e78afe176238c76b1a6d1765c4fbffbc97c6
1 # RUN: not llvm-mc %s -triple=mips-unknown-linux -mcpu=mips32 -mattr=+soft-float 2>%t1
2 # RUN: FileCheck %s < %t1
4 .set hardfloat
5 add.s $f2, $f2, $f2
6 # CHECK-NOT: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
7 sub.s $f2, $f2, $f2
8 # CHECK-NOT: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
10 .set softfloat
11 add.s $f2, $f2, $f2
12 # CHECK: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
13 sub.s $f2, $f2, $f2
14 # CHECK: :[[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled