xref: /llvm-project/llvm/test/MC/RISCV/xtheadcmo-invalid.s (revision f5b484c56f7b0bbf265c06de70ed0c432543847f)
1# RUN: not llvm-mc -triple riscv32 -mattr=+xtheadcmo < %s 2>&1 | FileCheck %s
2# RUN: not llvm-mc -triple riscv64 -mattr=+xtheadcmo < %s 2>&1 | FileCheck %s
3
4th.dcache.csw # CHECK: :[[@LINE]]:1: error: too few operands for instruction
5th.dcache.isw # CHECK: :[[@LINE]]:1: error: too few operands for instruction
6th.dcache.cisw # CHECK: :[[@LINE]]:1: error: too few operands for instruction
7th.dcache.cval1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
8th.dcache.cva # CHECK: :[[@LINE]]:1: error: too few operands for instruction
9th.dcache.iva # CHECK: :[[@LINE]]:1: error: too few operands for instruction
10th.dcache.civa # CHECK: :[[@LINE]]:1: error: too few operands for instruction
11th.dcache.cpal1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
12th.dcache.cpa # CHECK: :[[@LINE]]:1: error: too few operands for instruction
13th.dcache.ipa # CHECK: :[[@LINE]]:1: error: too few operands for instruction
14th.dcache.cipa # CHECK: :[[@LINE]]:1: error: too few operands for instruction
15th.icache.iva # CHECK: :[[@LINE]]:1: error: too few operands for instruction
16th.icache.ipa # CHECK: :[[@LINE]]:1: error: too few operands for instruction
17
18th.dcache.call t0 # CHECK: :[[@LINE]]:16: error: invalid operand for instruction
19th.dcache.iall t0 # CHECK: :[[@LINE]]:16: error: invalid operand for instruction
20th.dcache.ciall t0 # CHECK: :[[@LINE]]:17: error: invalid operand for instruction
21th.icache.iall t0 # CHECK: :[[@LINE]]:16: error: invalid operand for instruction
22th.icache.ialls t0 # CHECK: :[[@LINE]]:17: error: invalid operand for instruction
23th.l2cache.call t0 # CHECK: :[[@LINE]]:17: error: invalid operand for instruction
24th.l2cache.iall t0 # CHECK: :[[@LINE]]:17: error: invalid operand for instruction
25th.l2cache.ciall t0 # CHECK: :[[@LINE]]:18: error: invalid operand for instruction
26