1// RUN: not llvm-mc -arch=amdgcn -show-encoding %s 2>&1 | FileCheck -check-prefix=GCN %s 2// RUN: not llvm-mc -arch=amdgcn -mcpu=tonga -show-encoding %s 2>&1 | FileCheck -check-prefix=GCN %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: failed parsing operand 27 28exp mrtX v3, v2, v1, v0 29// GCN: :5: error: failed parsing operand 30 31exp pos-1 v3, v2, v1, v0 32// GCN: :5: error: failed parsing operand 33 34exp posX v3, v2, v1, v0 35// GCN: :5: error: failed parsing operand 36 37exp param-1 v3, v2, v1, v0 38// GCN: :5: error: failed parsing operand 39 40exp paramX v3, v2, v1, v0 41// GCN: :5: error: failed parsing operand 42 43exp invalid_target_-1 v3, v2, v1, v0 44// GCN: :5: error: failed parsing operand 45 46exp invalid_target_X v3, v2, v1, v0 47// GCN: :5: error: failed parsing operand 48 49exp mrt0 s0, v0, v0, v0 50// GCN: 10: error: invalid operand for instruction 51 52exp mrt0 v0, s0, v0, v0 53// GCN: 14: error: invalid operand for instruction 54 55exp mrt0 v0, v0, s0, v0 56// GCN: 18: error: invalid operand for instruction 57 58exp mrt0 v0, v0, v0, s0 59// GCN: 22: error: invalid operand for instruction 60 61exp mrt0 v[0:1], v0, v0, v0 62// GCN: 10: error: invalid operand for instruction 63 64exp mrt0 v0, v[0:1], v0, v0 65// GCN: 14: error: invalid operand for instruction 66 67exp mrt0 v0, v0, v[0:1], v0 68// GCN: 18: error: invalid operand for instruction 69 70exp mrt0 v0, v0, v0, v[0:1] 71// GCN: 22: error: invalid operand for instruction 72 73exp mrt0 1.0, v0, v0, v0 74// GCN: 10: error: invalid operand for instruction 75 76exp mrt0 v0, 1.0, v0, v0 77// GCN: 14: error: invalid operand for instruction 78 79exp mrt0 v0, v0, 1.0, v0 80// GCN: 18: error: invalid operand for instruction 81 82exp mrt0 v0, v0, v0, 1.0 83// GCN: 22: error: invalid operand for instruction 84 85exp mrt0 7, v0, v0, v0 86// GCN: 10: error: invalid operand for instruction 87 88exp mrt0 v0, 7, v0, v0 89// GCN: 14: error: invalid operand for instruction 90 91exp mrt0 v0, v0, 7, v0 92// GCN: 18: error: invalid operand for instruction 93 94exp mrt0 v0, v0, v0, 7 95// GCN: 22: error: invalid operand for instruction 96 97exp mrt0 0x12345678, v0, v0, v0 98// GCN: 10: error: invalid operand for instruction 99 100exp mrt0 v0, 0x12345678, v0, v0 101// GCN: 14: error: invalid operand for instruction 102 103exp mrt0 v0, v0, 0x12345678, v0 104// GCN: 18: error: invalid operand for instruction 105 106exp mrt0 v0, v0, v0, 0x12345678 107// GCN: 22: error: invalid operand for instruction 108