1// RUN: not llvm-mc -arch=amdgcn %s 2>&1 | FileCheck -check-prefix=GCN --implicit-check-not=error: %s 2// RUN: not llvm-mc -arch=amdgcn -mcpu=tonga %s 2>&1 | FileCheck -check-prefix=GCN --implicit-check-not=error: %s 3 4exp mrt8 v3, v2, v1, v0 5// GCN: :5: error: invalid exp target 6 7exp pos4 v3, v2, v1, v0 8// GCN: :5: error: invalid exp target 9 10exp param32 v3, v2, v1, v0 11// GCN: :5: error: invalid exp target 12 13exp invalid_target_10 v3, v2, v1, v0 14// GCN: :5: error: invalid exp target 15 16exp invalid_target_10 v3, v2, v1, v0 done 17// GCN: :5: error: invalid exp target 18 19exp invalid_target_11 v3, v2, v1, v0 20// GCN: :5: error: invalid exp target 21 22exp invalid_target_11 v3, v2, v1, v0 done 23// GCN: :5: error: invalid exp target 24 25exp mrt-1 v3, v2, v1, v0 26// GCN: :5: error: invalid exp target 27 28exp mrtX v3, v2, v1, v0 29// GCN: :5: error: invalid exp target 30 31exp pos-1 v3, v2, v1, v0 32// GCN: :5: error: invalid exp target 33 34exp posX v3, v2, v1, v0 35// GCN: :5: error: invalid exp target 36 37exp param-1 v3, v2, v1, v0 38// GCN: :5: error: invalid exp target 39 40exp paramX v3, v2, v1, v0 41// GCN: :5: error: invalid exp target 42 43exp invalid_target_-1 v3, v2, v1, v0 44// GCN: :5: error: invalid exp target 45 46exp invalid_target_X v3, v2, v1, v0 47// GCN: :5: error: invalid exp target 48 49exp 0 v3, v2, v1, v0 50// GCN: :5: error: invalid operand for instruction 51 52exp , v3, v2, v1, v0 53// GCN: :5: error: unknown token in expression 54 55exp 56// GCN: :4: error: too few operands for instruction 57 58exp mrt0 s0, v0, v0, v0 59// GCN: 10: error: invalid operand for instruction 60 61exp mrt0 v0, s0, v0, v0 62// GCN: 14: error: invalid operand for instruction 63 64exp mrt0 v0, v0, s0, v0 65// GCN: 18: error: invalid operand for instruction 66 67exp mrt0 v0, v0, v0, s0 68// GCN: 22: error: invalid operand for instruction 69 70exp mrt0 v[0:1], v0, v0, v0 71// GCN: 10: error: invalid operand for instruction 72 73exp mrt0 v0, v[0:1], v0, v0 74// GCN: 14: error: invalid operand for instruction 75 76exp mrt0 v0, v0, v[0:1], v0 77// GCN: 18: error: invalid operand for instruction 78 79exp mrt0 v0, v0, v0, v[0:1] 80// GCN: 22: error: invalid operand for instruction 81 82exp mrt0 1.0, v0, v0, v0 83// GCN: 10: error: invalid operand for instruction 84 85exp mrt0 v0, 1.0, v0, v0 86// GCN: 14: error: invalid operand for instruction 87 88exp mrt0 v0, v0, 1.0, v0 89// GCN: 18: error: invalid operand for instruction 90 91exp mrt0 v0, v0, v0, 1.0 92// GCN: 22: error: invalid operand for instruction 93 94exp mrt0 7, v0, v0, v0 95// GCN: 10: error: invalid operand for instruction 96 97exp mrt0 v0, 7, v0, v0 98// GCN: 14: error: invalid operand for instruction 99 100exp mrt0 v0, v0, 7, v0 101// GCN: 18: error: invalid operand for instruction 102 103exp mrt0 v0, v0, v0, 7 104// GCN: 22: error: invalid operand for instruction 105 106exp mrt0 0x12345678, v0, v0, v0 107// GCN: 10: error: invalid operand for instruction 108 109exp mrt0 v0, 0x12345678, v0, v0 110// GCN: 14: error: invalid operand for instruction 111 112exp mrt0 v0, v0, 0x12345678, v0 113// GCN: 18: error: invalid operand for instruction 114 115exp mrt0 v0, v0, v0, 0x12345678 116// GCN: 22: error: invalid operand for instruction 117