brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.4 KiB · b63e3a8 Raw
45 lines · plain
1# RUN: not llvm-mc -triple=riscv64 < %s 2>&1 | FileCheck %s -check-prefixes=CHECK-FEATURE2# RUN: not llvm-mc -triple=riscv64 -mattr=+xmipslsp,+xmipscmov,+xmipscbop,+xmipsexectl < %s 2>&1 | FileCheck %s3 4mips.pause 105# CHECK: error: invalid operand for instruction6 7mips.ehb 108# CHECK: error: invalid operand for instruction 9 10mips.ihb 1011# CHECK: error: invalid operand for instruction12 13mips.pref   8, 512(a0)14# CHECK: error: immediate offset must be in the range [0, 511]15 16mips.pref	817# CHECK: error: too few operands for instruction18 19mips.pref	8, 511(a0)20# CHECK-FEATURE: error: instruction requires the following: 'Xmipscbop' (MIPS hardware prefetch)21 22mips.ccmov x0, x1, 0x1023# CHECK: error: invalid operand for instruction24 25mips.ccmov x1026# CHECK: error: too few operands for instruction27 28mips.ccmov	s0, s1, s2, s329# CHECK-FEATURE: error: instruction requires the following: 'Xmipscmov' ('mips.ccmov' instruction)30 31mips.lwp x10, x1132# CHECK: error: too few operands for instruction33 34mips.ldp x9, 0x2035# CHECK: error: invalid operand for instruction36 37mips.lwp x11, x12, 0(x13)38# CHECK-FEATURE: error: instruction requires the following: 'Xmipslsp' (load and store pair instructions)39 40mips.swp x18, x19, 8(x2)41# CHECK-FEATURE: error: instruction requires the following: 'Xmipslsp' (load and store pair instructions)42 43mips.sdp 0x10, x3, 12(x4)44# CHECK: error: invalid operand for instruction45