[InstCombine] Signed saturation tests. NFC
[llvm-complete.git] / test / MC / Mips / virt / invalid64.s
blob8a9aede4b84eefdef3f5afcb5f8b4b1e7fe543a1
1 # Instructions that are invalid.
3 # RUN: not llvm-mc %s -arch=mips -mcpu=mips64r5 -mattr=+virt 2>%t1
4 # RUN: FileCheck %s < %t1
6 dmfgc0 # CHECK: :[[@LINE]]:3: error: too few operands for instruction
7 dmfgc0 0 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
8 dmfgc0 $4 # CHECK: :[[@LINE]]:3: error: too few operands for instruction
9 dmfgc0 0, $4 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
10 dmfgc0 0, $4, $5 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
11 dmfgc0 $4, 0, $5 # CHECK: :[[@LINE]]:14: error: invalid operand for instruction
12 dmfgc0 $4, $5, 8 # CHECK: :[[@LINE]]:18: error: expected 3-bit unsigned immediate
13 dmfgc0 $4, $5, -1 # CHECK: :[[@LINE]]:18: error: expected 3-bit unsigned immediate
14 dmfgc0 $4, $5, 0($4) # CHECK: :[[@LINE]]:19: error: invalid operand for instruction
15 dmtgc0 # CHECK: :[[@LINE]]:3: error: too few operands for instruction
16 dmtgc0 0 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
17 dmtgc0 $4 # CHECK: :[[@LINE]]:3: error: too few operands for instruction
18 dmtgc0 0, $4 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
19 dmtgc0 0, $4, $5 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
20 dmtgc0 $4, 0, $5 # CHECK: :[[@LINE]]:14: error: invalid operand for instruction
21 dmtgc0 $4, $5, 8 # CHECK: :[[@LINE]]:18: error: expected 3-bit unsigned immediate
22 dmtgc0 $4, $5, -1 # CHECK: :[[@LINE]]:18: error: expected 3-bit unsigned immediate
23 dmtgc0 $4, $5, 0($4) # CHECK: :[[@LINE]]:19: error: invalid operand for instruction