brintos

brintos / llvm-project-archived public Read only

0
0
Text · 4.6 KiB · cf1124e Raw
66 lines · plain
1# Instructions that are invalid.2#3# RUN: not llvm-mc %s -triple=mips -mcpu=mips32r6 -mattr=+crc 2>%t14# RUN: FileCheck %s < %t15# RUN: not llvm-mc %s -triple=mips64 -mcpu=mips64r6 -mattr=+crc 2>%t16# RUN: FileCheck %s < %t17 8  .set noat9  crc32b  $1, $2, $2      # CHECK: :[[@LINE]]:3: error: source and destination must match10  crc32b  $1, $2, $3      # CHECK: :[[@LINE]]:3: error: source and destination must match11  crc32b  $1, $2, 2       # CHECK: :[[@LINE]]:19: error: invalid operand for instruction12  crc32b  $1, 2, $2       # CHECK: :[[@LINE]]:15: error: invalid operand for instruction13  crc32b  1, $2, $2       # CHECK: :[[@LINE]]:11: error: invalid operand for instruction14  crc32b  $1, $2          # CHECK: :[[@LINE]]:3: error: too few operands for instruction15  crc32b  $1              # CHECK: :[[@LINE]]:3: error: too few operands for instruction16  crc32b  $1, $2, 0($2)   # CHECK: :[[@LINE]]:19: error: invalid operand for instruction17 18  crc32h  $1, $2, $2      # CHECK: :[[@LINE]]:3: error: source and destination must match19  crc32h  $1, $2, $3      # CHECK: :[[@LINE]]:3: error: source and destination must match20  crc32h  $1, $2, 2       # CHECK: :[[@LINE]]:19: error: invalid operand for instruction21  crc32h  $1, 2, $2       # CHECK: :[[@LINE]]:15: error: invalid operand for instruction22  crc32h  1, $2, $2       # CHECK: :[[@LINE]]:11: error: invalid operand for instruction23  crc32h  $1, $2          # CHECK: :[[@LINE]]:3: error: too few operands for instruction24  crc32h  $1              # CHECK: :[[@LINE]]:3: error: too few operands for instruction25  crc32h  $1, $2, 0($2)   # CHECK: :[[@LINE]]:19: error: invalid operand for instruction26 27  crc32w  $1, $2, $2      # CHECK: :[[@LINE]]:3: error: source and destination must match28  crc32w  $1, $2, $3      # CHECK: :[[@LINE]]:3: error: source and destination must match29  crc32w  $1, $2, 2       # CHECK: :[[@LINE]]:19: error: invalid operand for instruction30  crc32w  $1, 2, $2       # CHECK: :[[@LINE]]:15: error: invalid operand for instruction31  crc32w  1, $2, $2       # CHECK: :[[@LINE]]:11: error: invalid operand for instruction32  crc32w  $1, $2          # CHECK: :[[@LINE]]:3: error: too few operands for instruction33  crc32w  $1              # CHECK: :[[@LINE]]:3: error: too few operands for instruction34  crc32w  $1, $2, 0($2)   # CHECK: :[[@LINE]]:19: error: invalid operand for instruction35 36  crc32cb  $1, $2, $2     # CHECK: :[[@LINE]]:3: error: source and destination must match37  crc32cb  $1, $2, $3     # CHECK: :[[@LINE]]:3: error: source and destination must match38  crc32cb  $1, $2, 2      # CHECK: :[[@LINE]]:20: error: invalid operand for instruction39  crc32cb  $1, 2, $2      # CHECK: :[[@LINE]]:16: error: invalid operand for instruction40  crc32cb  1, $2, $2      # CHECK: :[[@LINE]]:12: error: invalid operand for instruction41  crc32cb  $1, $2         # CHECK: :[[@LINE]]:3: error: too few operands for instruction42  crc32cb  $1             # CHECK: :[[@LINE]]:3: error: too few operands for instruction43  crc32cb  $1, $2, 0($2)  # CHECK: :[[@LINE]]:20: error: invalid operand for instruction44 45  crc32ch  $1, $2, $2     # CHECK: :[[@LINE]]:3: error: source and destination must match46  crc32ch  $1, $2, $3     # CHECK: :[[@LINE]]:3: error: source and destination must match47  crc32ch  $1, $2, 2      # CHECK: :[[@LINE]]:20: error: invalid operand for instruction48  crc32ch  $1, 2, $2      # CHECK: :[[@LINE]]:16: error: invalid operand for instruction49  crc32ch  1, $2, $2      # CHECK: :[[@LINE]]:12: error: invalid operand for instruction50  crc32ch  $1, $2         # CHECK: :[[@LINE]]:3: error: too few operands for instruction51  crc32ch  $1             # CHECK: :[[@LINE]]:3: error: too few operands for instruction52  crc32ch  $1, $2, 0($2)  # CHECK: :[[@LINE]]:20: error: invalid operand for instruction53 54  crc32cw  $1, $2, $2     # CHECK: :[[@LINE]]:3: error: source and destination must match55  crc32cw  $1, $2, $3     # CHECK: :[[@LINE]]:3: error: source and destination must match56  crc32cw  $1, $2, 2      # CHECK: :[[@LINE]]:20: error: invalid operand for instruction57  crc32cw  $1, 2, $2      # CHECK: :[[@LINE]]:16: error: invalid operand for instruction58  crc32cw  1, $2, $2      # CHECK: :[[@LINE]]:12: error: invalid operand for instruction59  crc32cw  $1, $2         # CHECK: :[[@LINE]]:3: error: too few operands for instruction60  crc32cw  $1             # CHECK: :[[@LINE]]:3: error: too few operands for instruction61  crc32cw  $1, $2, 0($2)  # CHECK: :[[@LINE]]:20: error: invalid operand for instruction62 63  crc32 $1, $2, $2        # CHECK: :[[@LINE]]:3: error: unknown instruction64  crcb $1, $2, $2         # CHECK: :[[@LINE]]:3: error: unknown instruction65  crc $1, $2, $2          # CHECK: :[[@LINE]]:3: error: unknown instruction66