brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.6 KiB · 239f580 Raw
25 lines · plain
1# Instructions that are invalid.2#3# RUN: not llvm-mc %s -triple=mips64-unknown-linux-gnu -mcpu=mips64r6 \4# RUN:     -mattr=+crc 2>%t15# RUN: FileCheck %s < %t16 7  .set noat8  crc32d $1, $2, $2       # CHECK: :[[@LINE]]:3: error: source and destination must match9  crc32d $1, $2, $3       # CHECK: :[[@LINE]]:3: error: source and destination must match10  crc32d $1, $2, 2        # CHECK: :[[@LINE]]:18: error: invalid operand for instruction11  crc32d $1, 2, $2        # CHECK: :[[@LINE]]:14: error: invalid operand for instruction12  crc32d 1, $2, $2        # CHECK: :[[@LINE]]:10: error: invalid operand for instruction13  crc32d $1, $2           # CHECK: :[[@LINE]]:3: error: too few operands for instruction14  crc32d $1               # CHECK: :[[@LINE]]:3: error: too few operands for instruction15  crc32d $1, $2, 0($2)    # CHECK: :[[@LINE]]:18: error: invalid operand for instruction16 17  crc32cd $1, $2, $2      # CHECK: :[[@LINE]]:3: error: source and destination must match18  crc32cd $1, $2, $3      # CHECK: :[[@LINE]]:3: error: source and destination must match19  crc32cd $1, $2, 2       # CHECK: :[[@LINE]]:19: error: invalid operand for instruction20  crc32cd $1, 2, $2       # CHECK: :[[@LINE]]:15: error: invalid operand for instruction21  crc32cd 1, $2, $2       # CHECK: :[[@LINE]]:11: error: invalid operand for instruction22  crc32cd $1, $2          # CHECK: :[[@LINE]]:3: error: too few operands for instruction23  crc32cd $1              # CHECK: :[[@LINE]]:3: error: too few operands for instruction24  crc32cd $1, $2, 0($2)   # CHECK: :[[@LINE]]:19: error: invalid operand for instruction25