36 lines · plain
1# RUN: not llvm-mc -triple=riscv64 -mattr=experimental-xqccmp -M no-aliases -show-encoding < %s 2>&1 \2# RUN: | FileCheck -check-prefixes=CHECK-ERROR %s3 4# CHECK-ERROR: :[[@LINE+1]]:14: error: invalid operand for instruction5qc.cm.mvsa01 a1, a26 7# CHECK-ERROR: :[[@LINE+1]]:14: error: rs1 and rs2 must be different8qc.cm.mvsa01 s0, s09 10# CHECK-ERROR: :[[@LINE+1]]:14: error: invalid operand for instruction11qc.cm.mva01s a1, a212 13# CHECK-ERROR: :[[@LINE+1]]:15: error: invalid register list, '{ra, s0-s10}' or '{x1, x8-x9, x18-x26}' is not supported14qc.cm.popretz {ra, s0-s10}, 11215 16# CHECK-ERROR: :[[@LINE+1]]:28: error: stack adjustment for register list must be a multiple of 16 bytes in the range [32, 80]17qc.cm.popretz {ra, s0-s1}, 11218 19# CHECK-ERROR: :[[@LINE+1]]:18: error: stack adjustment for register list must be a multiple of 16 bytes in the range [-64, -16]20qc.cm.push {ra}, 1621 22# CHECK-ERROR: :[[@LINE+1]]:24: error: stack adjustment for register list must be a multiple of 16 bytes in the range [-64, -16]23qc.cm.pushfp {ra, s0}, 1624 25# CHECK-ERROR: :[[@LINE+1]]:24: error: stack adjustment for register list must be a multiple of 16 bytes in the range [32, 80]26qc.cm.pop {ra, s0-s1}, -3227 28# CHECK-ERROR: :[[@LINE+1]]:18: error: stack adjustment for register list must be a multiple of 16 bytes in the range [-64, -16]29qc.cm.push {ra}, -1530 31# CHECK-ERROR: :[[@LINE+1]]:22: error: stack adjustment for register list must be a multiple of 16 bytes in the range [-64, -16]32qc.cm.push {ra, s0}, -1533 34# CHECK-ERROR: :[[@LINE+1]]:24: error: stack adjustment for register list must be a multiple of 16 bytes in the range [32, 80]35qc.cm.pop {ra, s0-s1}, -3336