1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188
|
# RUN: llvm-mc -triple=ve --show-encoding < %s \
# RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
# RUN: llvm-mc -triple=ve -filetype=obj < %s | llvm-objdump -d - \
# RUN: | FileCheck %s --check-prefixes=CHECK-INST
# CHECK-INST: smir %s11, %usrcc
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x00,0x0b,0x22]
smir %s11, 0
# CHECK-INST: smir %s11, %usrcc
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x00,0x0b,0x22]
smir %s11, %usrcc
# CHECK-INST: smir %s11, %psw
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x01,0x0b,0x22]
smir %s11, 1
# CHECK-INST: smir %s11, %psw
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x01,0x0b,0x22]
smir %s11, %psw
# CHECK-INST: smir %s11, %sar
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x02,0x0b,0x22]
smir %s11, 2
# CHECK-INST: smir %s11, %sar
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x02,0x0b,0x22]
smir %s11, %sar
# CHECK-INST: smir %s11, %pmmr
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x07,0x0b,0x22]
smir %s11, 7
# CHECK-INST: smir %s11, %pmmr
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x07,0x0b,0x22]
smir %s11, %pmmr
# CHECK-INST: smir %s11, %pmcr0
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x08,0x0b,0x22]
smir %s11, 8
# CHECK-INST: smir %s11, %pmcr0
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x08,0x0b,0x22]
smir %s11, %pmcr0
# CHECK-INST: smir %s11, %pmcr1
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x09,0x0b,0x22]
smir %s11, 9
# CHECK-INST: smir %s11, %pmcr1
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x09,0x0b,0x22]
smir %s11, %pmcr1
# CHECK-INST: smir %s11, %pmcr2
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x0a,0x0b,0x22]
smir %s11, 10
# CHECK-INST: smir %s11, %pmcr2
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x0a,0x0b,0x22]
smir %s11, %pmcr2
# CHECK-INST: smir %s11, %pmcr3
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x0b,0x0b,0x22]
smir %s11, 11
# CHECK-INST: smir %s11, %pmcr3
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x0b,0x0b,0x22]
smir %s11, %pmcr3
# CHECK-INST: smir %s11, %pmc0
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x10,0x0b,0x22]
smir %s11, 16
# CHECK-INST: smir %s11, %pmc0
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x10,0x0b,0x22]
smir %s11, %pmc0
# CHECK-INST: smir %s11, %pmc1
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x11,0x0b,0x22]
smir %s11, 17
# CHECK-INST: smir %s11, %pmc1
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x11,0x0b,0x22]
smir %s11, %pmc1
# CHECK-INST: smir %s11, %pmc2
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x12,0x0b,0x22]
smir %s11, 18
# CHECK-INST: smir %s11, %pmc2
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x12,0x0b,0x22]
smir %s11, %pmc2
# CHECK-INST: smir %s11, %pmc3
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x13,0x0b,0x22]
smir %s11, 19
# CHECK-INST: smir %s11, %pmc3
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x13,0x0b,0x22]
smir %s11, %pmc3
# CHECK-INST: smir %s11, %pmc4
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x14,0x0b,0x22]
smir %s11, 20
# CHECK-INST: smir %s11, %pmc4
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x14,0x0b,0x22]
smir %s11, %pmc4
# CHECK-INST: smir %s11, %pmc5
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x15,0x0b,0x22]
smir %s11, 21
# CHECK-INST: smir %s11, %pmc5
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x15,0x0b,0x22]
smir %s11, %pmc5
# CHECK-INST: smir %s11, %pmc6
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x16,0x0b,0x22]
smir %s11, 22
# CHECK-INST: smir %s11, %pmc6
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x16,0x0b,0x22]
smir %s11, %pmc6
# CHECK-INST: smir %s11, %pmc7
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x17,0x0b,0x22]
smir %s11, 23
# CHECK-INST: smir %s11, %pmc7
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x17,0x0b,0x22]
smir %s11, %pmc7
# CHECK-INST: smir %s11, %pmc8
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x18,0x0b,0x22]
smir %s11, 24
# CHECK-INST: smir %s11, %pmc8
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x18,0x0b,0x22]
smir %s11, %pmc8
# CHECK-INST: smir %s11, %pmc9
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x19,0x0b,0x22]
smir %s11, 25
# CHECK-INST: smir %s11, %pmc9
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x19,0x0b,0x22]
smir %s11, %pmc9
# CHECK-INST: smir %s11, %pmc10
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x1a,0x0b,0x22]
smir %s11, 26
# CHECK-INST: smir %s11, %pmc10
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x1a,0x0b,0x22]
smir %s11, %pmc10
# CHECK-INST: smir %s11, %pmc11
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x1b,0x0b,0x22]
smir %s11, 27
# CHECK-INST: smir %s11, %pmc11
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x1b,0x0b,0x22]
smir %s11, %pmc11
# CHECK-INST: smir %s11, %pmc12
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x1c,0x0b,0x22]
smir %s11, 28
# CHECK-INST: smir %s11, %pmc12
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x1c,0x0b,0x22]
smir %s11, %pmc12
# CHECK-INST: smir %s11, %pmc13
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x1d,0x0b,0x22]
smir %s11, 29
# CHECK-INST: smir %s11, %pmc13
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x1d,0x0b,0x22]
smir %s11, %pmc13
# CHECK-INST: smir %s11, %pmc14
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x1e,0x0b,0x22]
smir %s11, 30
# CHECK-INST: smir %s11, %pmc14
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x1e,0x0b,0x22]
smir %s11, %pmc14
|