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 4 exp mrt8 v3, v2, v1, v0 5 // GCN: :5: error: invalid exp target 6 7 exp pos4 v3, v2, v1, v0 8 // GCN: :5: error: invalid exp target 9 10 exp param32 v3, v2, v1, v0 11 // GCN: :5: error: invalid exp target 12 13 exp invalid_target_10 v3, v2, v1, v0 14 // GCN: :5: error: invalid exp target 15 16 exp invalid_target_10 v3, v2, v1, v0 done 17 // GCN: :5: error: invalid exp target 18 19 exp invalid_target_11 v3, v2, v1, v0 20 // GCN: :5: error: invalid exp target 21 22 exp invalid_target_11 v3, v2, v1, v0 done 23 // GCN: :5: error: invalid exp target 24 25 exp mrt-1 v3, v2, v1, v0 26 // GCN: :5: error: failed parsing operand 27 28 exp mrtX v3, v2, v1, v0 29 // GCN: :5: error: failed parsing operand 30 31 exp pos-1 v3, v2, v1, v0 32 // GCN: :5: error: failed parsing operand 33 34 exp posX v3, v2, v1, v0 35 // GCN: :5: error: failed parsing operand 36 37 exp param-1 v3, v2, v1, v0 38 // GCN: :5: error: failed parsing operand 39 40 exp paramX v3, v2, v1, v0 41 // GCN: :5: error: failed parsing operand 42 43 exp invalid_target_-1 v3, v2, v1, v0 44 // GCN: :5: error: failed parsing operand 45 46 exp invalid_target_X v3, v2, v1, v0 47 // GCN: :5: error: failed parsing operand 48 49 exp mrt0 s0, v0, v0, v0 50 // GCN: 10: error: invalid operand for instruction 51 52 exp mrt0 v0, s0, v0, v0 53 // GCN: 14: error: invalid operand for instruction 54 55 exp mrt0 v0, v0, s0, v0 56 // GCN: 18: error: invalid operand for instruction 57 58 exp mrt0 v0, v0, v0, s0 59 // GCN: 22: error: invalid operand for instruction 60 61 exp mrt0 v[0:1], v0, v0, v0 62 // GCN: 10: error: invalid operand for instruction 63 64 exp mrt0 v0, v[0:1], v0, v0 65 // GCN: 14: error: invalid operand for instruction 66 67 exp mrt0 v0, v0, v[0:1], v0 68 // GCN: 18: error: invalid operand for instruction 69 70 exp mrt0 v0, v0, v0, v[0:1] 71 // GCN: 22: error: invalid operand for instruction 72 73 exp mrt0 1.0, v0, v0, v0 74 // GCN: 10: error: invalid operand for instruction 75 76 exp mrt0 v0, 1.0, v0, v0 77 // GCN: 14: error: invalid operand for instruction 78 79 exp mrt0 v0, v0, 1.0, v0 80 // GCN: 18: error: invalid operand for instruction 81 82 exp mrt0 v0, v0, v0, 1.0 83 // GCN: 22: error: invalid operand for instruction 84 85 exp mrt0 7, v0, v0, v0 86 // GCN: 10: error: invalid operand for instruction 87 88 exp mrt0 v0, 7, v0, v0 89 // GCN: 14: error: invalid operand for instruction 90 91 exp mrt0 v0, v0, 7, v0 92 // GCN: 18: error: invalid operand for instruction 93 94 exp mrt0 v0, v0, v0, 7 95 // GCN: 22: error: invalid operand for instruction 96 97 exp mrt0 0x12345678, v0, v0, v0 98 // GCN: 10: error: invalid operand for instruction 99 100 exp mrt0 v0, 0x12345678, v0, v0 101 // GCN: 14: error: invalid operand for instruction 102 103 exp mrt0 v0, v0, 0x12345678, v0 104 // GCN: 18: error: invalid operand for instruction 105 106 exp mrt0 v0, v0, v0, 0x12345678 107 // GCN: 22: error: invalid operand for instruction 108