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 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317
|
# RUN: llvm-mc -triple x86_64 -show-encoding %s | FileCheck %s
# RUN: not llvm-mc -triple i386 -show-encoding %s 2>&1 | FileCheck %s --check-prefix=ERROR
# ERROR-COUNT-104: error:
# ERROR-NOT: error:
# CHECK: {evex} andb $123, %bl
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0x80,0xe3,0x7b]
{evex} andb $123, %bl
# CHECK: {nf} andb $123, %bl
# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0x80,0xe3,0x7b]
{nf} andb $123, %bl
# CHECK: andb $123, %bl, %cl
# CHECK: encoding: [0x62,0xf4,0x74,0x18,0x80,0xe3,0x7b]
andb $123, %bl, %cl
# CHECK: {nf} andb $123, %bl, %cl
# CHECK: encoding: [0x62,0xf4,0x74,0x1c,0x80,0xe3,0x7b]
{nf} andb $123, %bl, %cl
# CHECK: {evex} andw $123, %dx
# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0x83,0xe2,0x7b]
{evex} andw $123, %dx
# CHECK: {nf} andw $123, %dx
# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0x83,0xe2,0x7b]
{nf} andw $123, %dx
# CHECK: andw $123, %dx, %ax
# CHECK: encoding: [0x62,0xf4,0x7d,0x18,0x83,0xe2,0x7b]
andw $123, %dx, %ax
# CHECK: {nf} andw $123, %dx, %ax
# CHECK: encoding: [0x62,0xf4,0x7d,0x1c,0x83,0xe2,0x7b]
{nf} andw $123, %dx, %ax
# CHECK: {evex} andl $123, %ecx
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0x83,0xe1,0x7b]
{evex} andl $123, %ecx
# CHECK: {nf} andl $123, %ecx
# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0x83,0xe1,0x7b]
{nf} andl $123, %ecx
# CHECK: andl $123, %ecx, %edx
# CHECK: encoding: [0x62,0xf4,0x6c,0x18,0x83,0xe1,0x7b]
andl $123, %ecx, %edx
# CHECK: {nf} andl $123, %ecx, %edx
# CHECK: encoding: [0x62,0xf4,0x6c,0x1c,0x83,0xe1,0x7b]
{nf} andl $123, %ecx, %edx
# CHECK: {evex} andq $123, %r9
# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0x83,0xe1,0x7b]
{evex} andq $123, %r9
# CHECK: {nf} andq $123, %r9
# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0x83,0xe1,0x7b]
{nf} andq $123, %r9
# CHECK: andq $123, %r9, %r15
# CHECK: encoding: [0x62,0xd4,0x84,0x18,0x83,0xe1,0x7b]
andq $123, %r9, %r15
# CHECK: {nf} andq $123, %r9, %r15
# CHECK: encoding: [0x62,0xd4,0x84,0x1c,0x83,0xe1,0x7b]
{nf} andq $123, %r9, %r15
# CHECK: {evex} andb $123, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x80,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]
{evex} andb $123, 291(%r8,%rax,4)
# CHECK: {nf} andb $123, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x80,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]
{nf} andb $123, 291(%r8,%rax,4)
# CHECK: andb $123, 291(%r8,%rax,4), %bl
# CHECK: encoding: [0x62,0xd4,0x64,0x18,0x80,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]
andb $123, 291(%r8,%rax,4), %bl
# CHECK: {nf} andb $123, 291(%r8,%rax,4), %bl
# CHECK: encoding: [0x62,0xd4,0x64,0x1c,0x80,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]
{nf} andb $123, 291(%r8,%rax,4), %bl
# CHECK: {evex} andw $123, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0x83,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]
{evex} andw $123, 291(%r8,%rax,4)
# CHECK: {nf} andw $123, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0x83,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]
{nf} andw $123, 291(%r8,%rax,4)
# CHECK: andw $123, 291(%r8,%rax,4), %dx
# CHECK: encoding: [0x62,0xd4,0x6d,0x18,0x83,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]
andw $123, 291(%r8,%rax,4), %dx
# CHECK: {nf} andw $123, 291(%r8,%rax,4), %dx
# CHECK: encoding: [0x62,0xd4,0x6d,0x1c,0x83,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]
{nf} andw $123, 291(%r8,%rax,4), %dx
# CHECK: {evex} andl $123, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x83,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]
{evex} andl $123, 291(%r8,%rax,4)
# CHECK: {nf} andl $123, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x83,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]
{nf} andl $123, 291(%r8,%rax,4)
# CHECK: andl $123, 291(%r8,%rax,4), %ecx
# CHECK: encoding: [0x62,0xd4,0x74,0x18,0x83,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]
andl $123, 291(%r8,%rax,4), %ecx
# CHECK: {nf} andl $123, 291(%r8,%rax,4), %ecx
# CHECK: encoding: [0x62,0xd4,0x74,0x1c,0x83,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]
{nf} andl $123, 291(%r8,%rax,4), %ecx
# CHECK: {evex} andq $123, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0x83,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]
{evex} andq $123, 291(%r8,%rax,4)
# CHECK: {nf} andq $123, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0x83,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]
{nf} andq $123, 291(%r8,%rax,4)
# CHECK: andq $123, 291(%r8,%rax,4), %r9
# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0x83,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]
andq $123, 291(%r8,%rax,4), %r9
# CHECK: {nf} andq $123, 291(%r8,%rax,4), %r9
# CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0x83,0xa4,0x80,0x23,0x01,0x00,0x00,0x7b]
{nf} andq $123, 291(%r8,%rax,4), %r9
# CHECK: {evex} andw $1234, %dx
# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0x81,0xe2,0xd2,0x04]
{evex} andw $1234, %dx
# CHECK: {nf} andw $1234, %dx
# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0x81,0xe2,0xd2,0x04]
{nf} andw $1234, %dx
# CHECK: andw $1234, %dx, %ax
# CHECK: encoding: [0x62,0xf4,0x7d,0x18,0x81,0xe2,0xd2,0x04]
andw $1234, %dx, %ax
# CHECK: {nf} andw $1234, %dx, %ax
# CHECK: encoding: [0x62,0xf4,0x7d,0x1c,0x81,0xe2,0xd2,0x04]
{nf} andw $1234, %dx, %ax
# CHECK: {evex} andw $1234, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0x81,0xa4,0x80,0x23,0x01,0x00,0x00,0xd2,0x04]
{evex} andw $1234, 291(%r8,%rax,4)
# CHECK: {nf} andw $1234, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0x81,0xa4,0x80,0x23,0x01,0x00,0x00,0xd2,0x04]
{nf} andw $1234, 291(%r8,%rax,4)
# CHECK: andw $1234, 291(%r8,%rax,4), %dx
# CHECK: encoding: [0x62,0xd4,0x6d,0x18,0x81,0xa4,0x80,0x23,0x01,0x00,0x00,0xd2,0x04]
andw $1234, 291(%r8,%rax,4), %dx
# CHECK: {nf} andw $1234, 291(%r8,%rax,4), %dx
# CHECK: encoding: [0x62,0xd4,0x6d,0x1c,0x81,0xa4,0x80,0x23,0x01,0x00,0x00,0xd2,0x04]
{nf} andw $1234, 291(%r8,%rax,4), %dx
# CHECK: {evex} andl $123456, %ecx
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0x81,0xe1,0x40,0xe2,0x01,0x00]
{evex} andl $123456, %ecx
# CHECK: {nf} andl $123456, %ecx
# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0x81,0xe1,0x40,0xe2,0x01,0x00]
{nf} andl $123456, %ecx
# CHECK: andl $123456, %ecx, %edx
# CHECK: encoding: [0x62,0xf4,0x6c,0x18,0x81,0xe1,0x40,0xe2,0x01,0x00]
andl $123456, %ecx, %edx
# CHECK: {nf} andl $123456, %ecx, %edx
# CHECK: encoding: [0x62,0xf4,0x6c,0x1c,0x81,0xe1,0x40,0xe2,0x01,0x00]
{nf} andl $123456, %ecx, %edx
# CHECK: {evex} andq $123456, %r9
# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0x81,0xe1,0x40,0xe2,0x01,0x00]
{evex} andq $123456, %r9
# CHECK: {nf} andq $123456, %r9
# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0x81,0xe1,0x40,0xe2,0x01,0x00]
{nf} andq $123456, %r9
# CHECK: andq $123456, %r9, %r15
# CHECK: encoding: [0x62,0xd4,0x84,0x18,0x81,0xe1,0x40,0xe2,0x01,0x00]
andq $123456, %r9, %r15
# CHECK: {nf} andq $123456, %r9, %r15
# CHECK: encoding: [0x62,0xd4,0x84,0x1c,0x81,0xe1,0x40,0xe2,0x01,0x00]
{nf} andq $123456, %r9, %r15
# CHECK: {evex} andl $123456, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x81,0xa4,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
{evex} andl $123456, 291(%r8,%rax,4)
# CHECK: {nf} andl $123456, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x81,0xa4,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
{nf} andl $123456, 291(%r8,%rax,4)
# CHECK: andl $123456, 291(%r8,%rax,4), %ecx
# CHECK: encoding: [0x62,0xd4,0x74,0x18,0x81,0xa4,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
andl $123456, 291(%r8,%rax,4), %ecx
# CHECK: {nf} andl $123456, 291(%r8,%rax,4), %ecx
# CHECK: encoding: [0x62,0xd4,0x74,0x1c,0x81,0xa4,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
{nf} andl $123456, 291(%r8,%rax,4), %ecx
# CHECK: {evex} andq $123456, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0xfc,0x08,0x81,0xa4,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
{evex} andq $123456, 291(%r8,%rax,4)
# CHECK: {nf} andq $123456, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0xfc,0x0c,0x81,0xa4,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
{nf} andq $123456, 291(%r8,%rax,4)
# CHECK: andq $123456, 291(%r8,%rax,4), %r9
# CHECK: encoding: [0x62,0xd4,0xb4,0x18,0x81,0xa4,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
andq $123456, 291(%r8,%rax,4), %r9
# CHECK: {nf} andq $123456, 291(%r8,%rax,4), %r9
# CHECK: encoding: [0x62,0xd4,0xb4,0x1c,0x81,0xa4,0x80,0x23,0x01,0x00,0x00,0x40,0xe2,0x01,0x00]
{nf} andq $123456, 291(%r8,%rax,4), %r9
# CHECK: {evex} andb %bl, %cl
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0x20,0xd9]
{evex} andb %bl, %cl
# CHECK: {nf} andb %bl, %cl
# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0x20,0xd9]
{nf} andb %bl, %cl
# CHECK: andb %bl, %cl, %r8b
# CHECK: encoding: [0x62,0xf4,0x3c,0x18,0x20,0xd9]
andb %bl, %cl, %r8b
# CHECK: {nf} andb %bl, %cl, %r8b
# CHECK: encoding: [0x62,0xf4,0x3c,0x1c,0x20,0xd9]
{nf} andb %bl, %cl, %r8b
# CHECK: {evex} andb %bl, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x20,0x9c,0x80,0x23,0x01,0x00,0x00]
{evex} andb %bl, 291(%r8,%rax,4)
# CHECK: {nf} andb %bl, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x20,0x9c,0x80,0x23,0x01,0x00,0x00]
{nf} andb %bl, 291(%r8,%rax,4)
# CHECK: andb %bl, 291(%r8,%rax,4), %cl
# CHECK: encoding: [0x62,0xd4,0x74,0x18,0x20,0x9c,0x80,0x23,0x01,0x00,0x00]
andb %bl, 291(%r8,%rax,4), %cl
# CHECK: {nf} andb %bl, 291(%r8,%rax,4), %cl
# CHECK: encoding: [0x62,0xd4,0x74,0x1c,0x20,0x9c,0x80,0x23,0x01,0x00,0x00]
{nf} andb %bl, 291(%r8,%rax,4), %cl
# CHECK: {evex} andw %dx, %ax
# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0x21,0xd0]
{evex} andw %dx, %ax
# CHECK: {nf} andw %dx, %ax
# CHECK: encoding: [0x62,0xf4,0x7d,0x0c,0x21,0xd0]
{nf} andw %dx, %ax
# CHECK: andw %dx, %ax, %r9w
# CHECK: encoding: [0x62,0xf4,0x35,0x18,0x21,0xd0]
andw %dx, %ax, %r9w
# CHECK: {nf} andw %dx, %ax, %r9w
# CHECK: encoding: [0x62,0xf4,0x35,0x1c,0x21,0xd0]
{nf} andw %dx, %ax, %r9w
# CHECK: {evex} andw %dx, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0x21,0x94,0x80,0x23,0x01,0x00,0x00]
{evex} andw %dx, 291(%r8,%rax,4)
# CHECK: {nf} andw %dx, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0x21,0x94,0x80,0x23,0x01,0x00,0x00]
{nf} andw %dx, 291(%r8,%rax,4)
# CHECK: andw %dx, 291(%r8,%rax,4), %ax
# CHECK: encoding: [0x62,0xd4,0x7d,0x18,0x21,0x94,0x80,0x23,0x01,0x00,0x00]
andw %dx, 291(%r8,%rax,4), %ax
# CHECK: {nf} andw %dx, 291(%r8,%rax,4), %ax
# CHECK: encoding: [0x62,0xd4,0x7d,0x1c,0x21,0x94,0x80,0x23,0x01,0x00,0x00]
{nf} andw %dx, 291(%r8,%rax,4), %ax
# CHECK: {evex} andl %ecx, %edx
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0x21,0xca]
{evex} andl %ecx, %edx
# CHECK: {nf} andl %ecx, %edx
# CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0x21,0xca]
{nf} andl %ecx, %edx
# CHECK: andl %ecx, %edx, %r10d
# CHECK: encoding: [0x62,0xf4,0x2c,0x18,0x21,0xca]
andl %ecx, %edx, %r10d
# CHECK: {nf} andl %ecx, %edx, %r10d
# CHECK: encoding: [0x62,0xf4,0x2c,0x1c,0x21,0xca]
{nf} andl %ecx, %edx, %r10d
# CHECK: {evex} andl %ecx, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x21,0x8c,0x80,0x23,0x01,0x00,0x00]
{evex} andl %ecx, 291(%r8,%rax,4)
# CHECK: {nf} andl %ecx, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x21,0x8c,0x80,0x23,0x01,0x00,0x00]
{nf} andl %ecx, 291(%r8,%rax,4)
# CHECK: andl %ecx, 291(%r8,%rax,4), %edx
# CHECK: encoding: [0x62,0xd4,0x6c,0x18,0x21,0x8c,0x80,0x23,0x01,0x00,0x00]
andl %ecx, 291(%r8,%rax,4), %edx
# CHECK: {nf} andl %ecx, 291(%r8,%rax,4), %edx
# CHECK: encoding: [0x62,0xd4,0x6c,0x1c,0x21,0x8c,0x80,0x23,0x01,0x00,0x00]
{nf} andl %ecx, 291(%r8,%rax,4), %edx
# CHECK: {evex} andq %r9, %r15
# CHECK: encoding: [0x62,0x54,0xfc,0x08,0x21,0xcf]
{evex} andq %r9, %r15
# CHECK: {nf} andq %r9, %r15
# CHECK: encoding: [0x62,0x54,0xfc,0x0c,0x21,0xcf]
{nf} andq %r9, %r15
# CHECK: andq %r9, %r15, %r11
# CHECK: encoding: [0x62,0x54,0xa4,0x18,0x21,0xcf]
andq %r9, %r15, %r11
# CHECK: {nf} andq %r9, %r15, %r11
# CHECK: encoding: [0x62,0x54,0xa4,0x1c,0x21,0xcf]
{nf} andq %r9, %r15, %r11
# CHECK: {evex} andq %r9, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0x54,0xfc,0x08,0x21,0x8c,0x80,0x23,0x01,0x00,0x00]
{evex} andq %r9, 291(%r8,%rax,4)
# CHECK: {nf} andq %r9, 291(%r8,%rax,4)
# CHECK: encoding: [0x62,0x54,0xfc,0x0c,0x21,0x8c,0x80,0x23,0x01,0x00,0x00]
{nf} andq %r9, 291(%r8,%rax,4)
# CHECK: andq %r9, 291(%r8,%rax,4), %r15
# CHECK: encoding: [0x62,0x54,0x84,0x18,0x21,0x8c,0x80,0x23,0x01,0x00,0x00]
andq %r9, 291(%r8,%rax,4), %r15
# CHECK: {nf} andq %r9, 291(%r8,%rax,4), %r15
# CHECK: encoding: [0x62,0x54,0x84,0x1c,0x21,0x8c,0x80,0x23,0x01,0x00,0x00]
{nf} andq %r9, 291(%r8,%rax,4), %r15
# CHECK: {evex} andb 291(%r8,%rax,4), %bl
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x22,0x9c,0x80,0x23,0x01,0x00,0x00]
{evex} andb 291(%r8,%rax,4), %bl
# CHECK: {nf} andb 291(%r8,%rax,4), %bl
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x22,0x9c,0x80,0x23,0x01,0x00,0x00]
{nf} andb 291(%r8,%rax,4), %bl
# CHECK: andb 291(%r8,%rax,4), %bl, %cl
# CHECK: encoding: [0x62,0xd4,0x74,0x18,0x22,0x9c,0x80,0x23,0x01,0x00,0x00]
andb 291(%r8,%rax,4), %bl, %cl
# CHECK: {nf} andb 291(%r8,%rax,4), %bl, %cl
# CHECK: encoding: [0x62,0xd4,0x74,0x1c,0x22,0x9c,0x80,0x23,0x01,0x00,0x00]
{nf} andb 291(%r8,%rax,4), %bl, %cl
# CHECK: {evex} andw 291(%r8,%rax,4), %dx
# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0x23,0x94,0x80,0x23,0x01,0x00,0x00]
{evex} andw 291(%r8,%rax,4), %dx
# CHECK: {nf} andw 291(%r8,%rax,4), %dx
# CHECK: encoding: [0x62,0xd4,0x7d,0x0c,0x23,0x94,0x80,0x23,0x01,0x00,0x00]
{nf} andw 291(%r8,%rax,4), %dx
# CHECK: andw 291(%r8,%rax,4), %dx, %ax
# CHECK: encoding: [0x62,0xd4,0x7d,0x18,0x23,0x94,0x80,0x23,0x01,0x00,0x00]
andw 291(%r8,%rax,4), %dx, %ax
# CHECK: {nf} andw 291(%r8,%rax,4), %dx, %ax
# CHECK: encoding: [0x62,0xd4,0x7d,0x1c,0x23,0x94,0x80,0x23,0x01,0x00,0x00]
{nf} andw 291(%r8,%rax,4), %dx, %ax
# CHECK: {evex} andl 291(%r8,%rax,4), %ecx
# CHECK: encoding: [0x62,0xd4,0x7c,0x08,0x23,0x8c,0x80,0x23,0x01,0x00,0x00]
{evex} andl 291(%r8,%rax,4), %ecx
# CHECK: {nf} andl 291(%r8,%rax,4), %ecx
# CHECK: encoding: [0x62,0xd4,0x7c,0x0c,0x23,0x8c,0x80,0x23,0x01,0x00,0x00]
{nf} andl 291(%r8,%rax,4), %ecx
# CHECK: andl 291(%r8,%rax,4), %ecx, %edx
# CHECK: encoding: [0x62,0xd4,0x6c,0x18,0x23,0x8c,0x80,0x23,0x01,0x00,0x00]
andl 291(%r8,%rax,4), %ecx, %edx
# CHECK: {nf} andl 291(%r8,%rax,4), %ecx, %edx
# CHECK: encoding: [0x62,0xd4,0x6c,0x1c,0x23,0x8c,0x80,0x23,0x01,0x00,0x00]
{nf} andl 291(%r8,%rax,4), %ecx, %edx
# CHECK: {evex} andq 291(%r8,%rax,4), %r9
# CHECK: encoding: [0x62,0x54,0xfc,0x08,0x23,0x8c,0x80,0x23,0x01,0x00,0x00]
{evex} andq 291(%r8,%rax,4), %r9
# CHECK: {nf} andq 291(%r8,%rax,4), %r9
# CHECK: encoding: [0x62,0x54,0xfc,0x0c,0x23,0x8c,0x80,0x23,0x01,0x00,0x00]
{nf} andq 291(%r8,%rax,4), %r9
# CHECK: andq 291(%r8,%rax,4), %r9, %r15
# CHECK: encoding: [0x62,0x54,0x84,0x18,0x23,0x8c,0x80,0x23,0x01,0x00,0x00]
andq 291(%r8,%rax,4), %r9, %r15
# CHECK: {nf} andq 291(%r8,%rax,4), %r9, %r15
# CHECK: encoding: [0x62,0x54,0x84,0x1c,0x23,0x8c,0x80,0x23,0x01,0x00,0x00]
{nf} andq 291(%r8,%rax,4), %r9, %r15
|