arm64-memory.txt 14.1 KB
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 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564
# RUN: llvm-mc --disassemble -triple arm64-apple-darwin < %s | FileCheck %s

#-----------------------------------------------------------------------------
# Indexed loads
#-----------------------------------------------------------------------------

  0x85 0x14 0x40 0xb9
  0x64 0x00 0x40 0xf9
  0xe2 0x13 0x40 0xf9
  0xe5 0x07 0x40 0x3d
  0xe6 0x07 0x40 0x7d
  0xe7 0x07 0x40 0xbd
  0xe8 0x07 0x40 0xfd
  0xe9 0x07 0xc0 0x3d
  0x64 0x00 0x40 0x39
  0x20 0x78 0xa0 0xb8
  0x85 0x50 0x40 0x39

# CHECK: ldr	w5, [x4, #20]
# CHECK: ldr	x4, [x3]
# CHECK: ldr	x2, [sp, #32]
# CHECK: ldr	b5, [sp, #1]
# CHECK: ldr	h6, [sp, #2]
# CHECK: ldr	s7, [sp, #4]
# CHECK: ldr	d8, [sp, #8]
# CHECK: ldr	q9, [sp, #16]
# CHECK: ldrb	w4, [x3]
# CHECK: ldrsw	x0, [x1, x0, lsl #2]
# CHECK: ldrb	w5, [x4, #20]
# CHECK: ldrsb	w9, [x3]
# CHECK: ldrsb	x2, [sp, #128]
# CHECK: ldrh	w2, [sp, #32]
# CHECK: ldrsh	w3, [sp, #32]
# CHECK: ldrsh	x5, [x9, #24]
# CHECK: ldrsw	x9, [sp, #512]
# CHECK: prfm	pldl3strm, [sp, #32]

  0x69 0x00 0xc0 0x39
  0xe2 0x03 0x82 0x39
  0xe2 0x43 0x40 0x79
  0xe3 0x43 0xc0 0x79
  0x25 0x31 0x80 0x79
  0xe9 0x03 0x82 0xb9
  0xe5 0x13 0x80 0xf9
  0x40 0x00 0x80 0xf9
  0x41 0x00 0x80 0xf9
  0x42 0x00 0x80 0xf9
  0x43 0x00 0x80 0xf9
  0x44 0x00 0x80 0xf9
  0x45 0x00 0x80 0xf9
  0x50 0x00 0x80 0xf9
  0x51 0x00 0x80 0xf9
  0x52 0x00 0x80 0xf9
  0x53 0x00 0x80 0xf9
  0x54 0x00 0x80 0xf9
  0x55 0x00 0x80 0xf9

# CHECK: prfm	pldl1keep, [x2]
# CHECK: prfm	pldl1strm, [x2]
# CHECK: prfm	pldl2keep, [x2]
# CHECK: prfm	pldl2strm, [x2]
# CHECK: prfm	pldl3keep, [x2]
# CHECK: prfm	pldl3strm, [x2]
# CHECK: prfm	pstl1keep, [x2]
# CHECK: prfm	pstl1strm, [x2]
# CHECK: prfm	pstl2keep, [x2]
# CHECK: prfm	pstl2strm, [x2]
# CHECK: prfm	pstl3keep, [x2]
# CHECK: prfm	pstl3strm, [x2]

#-----------------------------------------------------------------------------
# Indexed stores
#-----------------------------------------------------------------------------

  0x64 0x00 0x00 0xf9
  0xe2 0x13 0x00 0xf9
  0x85 0x14 0x00 0xb9
  0xe5 0x07 0x00 0x3d
  0xe6 0x07 0x00 0x7d
  0xe7 0x07 0x00 0xbd
  0xe8 0x07 0x00 0xfd
  0xe9 0x07 0x80 0x3d
  0x64 0x00 0x00 0x39
  0x85 0x50 0x00 0x39
  0xe2 0x43 0x00 0x79
  0x00 0xe8 0x20 0x38
  0x00 0x48 0x20 0x38

# CHECK: str	x4, [x3]
# CHECK: str	x2, [sp, #32]
# CHECK: str	w5, [x4, #20]
# CHECK: str	b5, [sp, #1]
# CHECK: str	h6, [sp, #2]
# CHECK: str	s7, [sp, #4]
# CHECK: str	d8, [sp, #8]
# CHECK: str	q9, [sp, #16]
# CHECK: strb	w4, [x3]
# CHECK: strb	w5, [x4, #20]
# CHECK: strh	w2, [sp, #32]
# CHECK: strb	w0, [x0, x0, sxtx]
# CHECK: strb	w0, [x0, w0, uxtw]

#-----------------------------------------------------------------------------
# Unscaled immediate loads and stores
#-----------------------------------------------------------------------------

  0x62 0x00 0x40 0xb8
  0xe2 0x83 0x41 0xb8
  0x62 0x00 0x40 0xf8
  0xe2 0x83 0x41 0xf8
  0xe5 0x13 0x40 0x3c
  0xe6 0x23 0x40 0x7c
  0xe7 0x43 0x40 0xbc
  0xe8 0x83 0x40 0xfc
  0xe9 0x03 0xc1 0x3c
  0x69 0x00 0xc0 0x38
  0xe2 0x03 0x88 0x38
  0xe3 0x03 0xc2 0x78
  0x25 0x81 0x81 0x78
  0xe9 0x03 0x98 0xb8

# CHECK: ldur	w2, [x3]
# CHECK: ldur	w2, [sp, #24]
# CHECK: ldur	x2, [x3]
# CHECK: ldur	x2, [sp, #24]
# CHECK: ldur	b5, [sp, #1]
# CHECK: ldur	h6, [sp, #2]
# CHECK: ldur	s7, [sp, #4]
# CHECK: ldur	d8, [sp, #8]
# CHECK: ldur	q9, [sp, #16]
# CHECK: ldursb	w9, [x3]
# CHECK: ldursb	x2, [sp, #128]
# CHECK: ldursh	w3, [sp, #32]
# CHECK: ldursh	x5, [x9, #24]
# CHECK: ldursw	x9, [sp, #-128]

  0x64 0x00 0x00 0xb8
  0xe2 0x03 0x02 0xb8
  0x64 0x00 0x00 0xf8
  0xe2 0x03 0x02 0xf8
  0x85 0x40 0x01 0xb8
  0xe5 0x13 0x00 0x3c
  0xe6 0x23 0x00 0x7c
  0xe7 0x43 0x00 0xbc
  0xe8 0x83 0x00 0xfc
  0xe9 0x03 0x81 0x3c
  0x64 0x00 0x00 0x38
  0x85 0x40 0x01 0x38
  0xe2 0x03 0x02 0x78
  0xe5 0x03 0x82 0xf8

# CHECK: stur	w4, [x3]
# CHECK: stur	w2, [sp, #32]
# CHECK: stur	x4, [x3]
# CHECK: stur	x2, [sp, #32]
# CHECK: stur	w5, [x4, #20]
# CHECK: stur	b5, [sp, #1]
# CHECK: stur	h6, [sp, #2]
# CHECK: stur	s7, [sp, #4]
# CHECK: stur	d8, [sp, #8]
# CHECK: stur	q9, [sp, #16]
# CHECK: sturb	w4, [x3]
# CHECK: sturb	w5, [x4, #20]
# CHECK: sturh	w2, [sp, #32]
# CHECK: prfum	pldl3strm, [sp, #32]

#-----------------------------------------------------------------------------
# Unprivileged loads and stores
#-----------------------------------------------------------------------------

  0x83 0x08 0x41 0xb8
  0x83 0x08 0x41 0xf8
  0x83 0x08 0x41 0x38
  0x69 0x08 0xc0 0x38
  0xe2 0x0b 0x88 0x38
  0x83 0x08 0x41 0x78
  0xe3 0x0b 0xc2 0x78
  0x25 0x89 0x81 0x78
  0xe9 0x0b 0x98 0xb8

# CHECK: ldtr	w3, [x4, #16]
# CHECK: ldtr	x3, [x4, #16]
# CHECK: ldtrb	w3, [x4, #16]
# CHECK: ldtrsb	w9, [x3]
# CHECK: ldtrsb	x2, [sp, #128]
# CHECK: ldtrh	w3, [x4, #16]
# CHECK: ldtrsh	w3, [sp, #32]
# CHECK: ldtrsh	x5, [x9, #24]
# CHECK: ldtrsw	x9, [sp, #-128]

  0x85 0x48 0x01 0xb8
  0x64 0x08 0x00 0xf8
  0xe2 0x0b 0x02 0xf8
  0x64 0x08 0x00 0x38
  0x85 0x48 0x01 0x38
  0xe2 0x0b 0x02 0x78

# CHECK: sttr	w5, [x4, #20]
# CHECK: sttr	x4, [x3]
# CHECK: sttr	x2, [sp, #32]
# CHECK: sttrb	w4, [x3]
# CHECK: sttrb	w5, [x4, #20]
# CHECK: sttrh	w2, [sp, #32]

#-----------------------------------------------------------------------------
# Pre-indexed loads and stores
#-----------------------------------------------------------------------------

  0xfd 0x8c 0x40 0xf8
  0xfe 0x8c 0x40 0xf8
  0x05 0x1c 0x40 0x3c
  0x06 0x2c 0x40 0x7c
  0x07 0x4c 0x40 0xbc
  0x08 0x8c 0x40 0xfc
  0x09 0x0c 0xc1 0x3c

# CHECK: ldr	x29, [x7, #8]!
# CHECK: ldr	x30, [x7, #8]!
# CHECK: ldr	b5, [x0, #1]!
# CHECK: ldr	h6, [x0, #2]!
# CHECK: ldr	s7, [x0, #4]!
# CHECK: ldr	d8, [x0, #8]!
# CHECK: ldr	q9, [x0, #16]!

  0xfe 0x8c 0x1f 0xf8
  0xfd 0x8c 0x1f 0xf8
  0x05 0xfc 0x1f 0x3c
  0x06 0xec 0x1f 0x7c
  0x07 0xcc 0x1f 0xbc
  0x08 0x8c 0x1f 0xfc
  0x09 0x0c 0x9f 0x3c

# CHECK: str	x30, [x7, #-8]!
# CHECK: str	x29, [x7, #-8]!
# CHECK: str	b5, [x0, #-1]!
# CHECK: str	h6, [x0, #-2]!
# CHECK: str	s7, [x0, #-4]!
# CHECK: str	d8, [x0, #-8]!
# CHECK: str	q9, [x0, #-16]!

#-----------------------------------------------------------------------------
# post-indexed loads and stores
#-----------------------------------------------------------------------------

  0xfe 0x84 0x1f 0xf8
  0xfd 0x84 0x1f 0xf8
  0x05 0xf4 0x1f 0x3c
  0x06 0xe4 0x1f 0x7c
  0x07 0xc4 0x1f 0xbc
  0x08 0x84 0x1f 0xfc
  0x09 0x04 0x9f 0x3c

# CHECK: str	x30, [x7], #-8
# CHECK: str	x29, [x7], #-8
# CHECK: str	b5, [x0], #-1
# CHECK: str	h6, [x0], #-2
# CHECK: str	s7, [x0], #-4
# CHECK: str	d8, [x0], #-8
# CHECK: str	q9, [x0], #-16

  0xfd 0x84 0x40 0xf8
  0xfe 0x84 0x40 0xf8
  0x05 0x14 0x40 0x3c
  0x06 0x24 0x40 0x7c
  0x07 0x44 0x40 0xbc
  0x08 0x84 0x40 0xfc
  0x09 0x04 0xc1 0x3c

# CHECK: ldr	x29, [x7], #8
# CHECK: ldr	x30, [x7], #8
# CHECK: ldr	b5, [x0], #1
# CHECK: ldr	h6, [x0], #2
# CHECK: ldr	s7, [x0], #4
# CHECK: ldr	d8, [x0], #8
# CHECK: ldr	q9, [x0], #16

#-----------------------------------------------------------------------------
# Load/Store pair (indexed  offset)
#-----------------------------------------------------------------------------

  0xe3 0x09 0x42 0x29
  0xe4 0x27 0x7f 0xa9
  0xc2 0x0d 0x42 0x69
  0xe2 0x0f 0x7e 0x69
  0x4a 0x04 0x48 0x2d
  0x4a 0x04 0x40 0x6d

# CHECK: ldp	w3, w2, [x15, #16]
# CHECK: ldp	x4, x9, [sp, #-16]
# CHECK: ldpsw	x2, x3, [x14, #16]
# CHECK: ldpsw	x2, x3, [sp, #-16]
# CHECK: ldp	s10, s1, [x2, #64]
# CHECK: ldp	d10, d1, [x2]

  0xe3 0x09 0x02 0x29
  0xe4 0x27 0x3f 0xa9
  0x4a 0x04 0x08 0x2d
  0x4a 0x04 0x00 0x6d

# CHECK: stp	w3, w2, [x15, #16]
# CHECK: stp	x4, x9, [sp, #-16]
# CHECK: stp	s10, s1, [x2, #64]
# CHECK: stp	d10, d1, [x2]

#-----------------------------------------------------------------------------
# Load/Store pair (pre-indexed)
#-----------------------------------------------------------------------------

  0xe3 0x09 0xc2 0x29
  0xe4 0x27 0xff 0xa9
  0xc2 0x0d 0xc2 0x69
  0xe2 0x0f 0xfe 0x69
  0x4a 0x04 0xc8 0x2d
  0x4a 0x04 0xc1 0x6d

# CHECK: ldp	w3, w2, [x15, #16]!
# CHECK: ldp	x4, x9, [sp, #-16]!
# CHECK: ldpsw	x2, x3, [x14, #16]!
# CHECK: ldpsw	x2, x3, [sp, #-16]!
# CHECK: ldp	s10, s1, [x2, #64]!
# CHECK: ldp	d10, d1, [x2, #16]!

  0xe3 0x09 0x82 0x29
  0xe4 0x27 0xbf 0xa9
  0x4a 0x04 0x88 0x2d
  0x4a 0x04 0x81 0x6d

# CHECK: stp	w3, w2, [x15, #16]!
# CHECK: stp	x4, x9, [sp, #-16]!
# CHECK: stp	s10, s1, [x2, #64]!
# CHECK: stp	d10, d1, [x2, #16]!

#-----------------------------------------------------------------------------
# Load/Store pair (post-indexed)
#-----------------------------------------------------------------------------

  0xe3 0x09 0xc2 0x28
  0xe4 0x27 0xff 0xa8
  0xc2 0x0d 0xc2 0x68
  0xe2 0x0f 0xfe 0x68
  0x4a 0x04 0xc8 0x2c
  0x4a 0x04 0xc1 0x6c

# CHECK: ldp	w3, w2, [x15], #16
# CHECK: ldp	x4, x9, [sp], #-16
# CHECK: ldpsw	x2, x3, [x14], #16
# CHECK: ldpsw	x2, x3, [sp], #-16
# CHECK: ldp	s10, s1, [x2], #64
# CHECK: ldp	d10, d1, [x2], #16

  0xe3 0x09 0x82 0x28
  0xe4 0x27 0xbf 0xa8
  0x4a 0x04 0x88 0x2c
  0x4a 0x04 0x81 0x6c

# CHECK: stp	w3, w2, [x15], #16
# CHECK: stp	x4, x9, [sp], #-16
# CHECK: stp	s10, s1, [x2], #64
# CHECK: stp	d10, d1, [x2], #16

#-----------------------------------------------------------------------------
# Load/Store pair (no-allocate)
#-----------------------------------------------------------------------------

  0xe3 0x09 0x42 0x28
  0xe4 0x27 0x7f 0xa8
  0x4a 0x04 0x48 0x2c
  0x4a 0x04 0x40 0x6c

# CHECK: ldnp	w3, w2, [x15, #16]
# CHECK: ldnp	x4, x9, [sp, #-16]
# CHECK: ldnp	s10, s1, [x2, #64]
# CHECK: ldnp	d10, d1, [x2]

  0xe3 0x09 0x02 0x28
  0xe4 0x27 0x3f 0xa8
  0x4a 0x04 0x08 0x2c
  0x4a 0x04 0x00 0x6c

# CHECK: stnp	w3, w2, [x15, #16]
# CHECK: stnp	x4, x9, [sp, #-16]
# CHECK: stnp	s10, s1, [x2, #64]
# CHECK: stnp	d10, d1, [x2]

#-----------------------------------------------------------------------------
# Load/Store register offset
#-----------------------------------------------------------------------------

  0x00 0x68 0x60 0xb8
  0x00 0x78 0x60 0xb8
  0x00 0x68 0x60 0xf8
  0x00 0x78 0x60 0xf8
  0x00 0xe8 0x60 0xf8

# CHECK: ldr	w0, [x0, x0]
# CHECK: ldr	w0, [x0, x0, lsl #2]
# CHECK: ldr	x0, [x0, x0]
# CHECK: ldr	x0, [x0, x0, lsl #3]
# CHECK: ldr	x0, [x0, x0, sxtx]

  0x21 0x68 0x62 0x3c
  0x21 0x78 0x62 0x3c
  0x21 0x68 0x62 0x7c
  0x21 0x78 0x62 0x7c
  0x21 0x68 0x62 0xbc
  0x21 0x78 0x62 0xbc
  0x21 0x68 0x62 0xfc
  0x21 0x78 0x62 0xfc
  0x21 0x68 0xe2 0x3c
  0x21 0x78 0xe2 0x3c

# CHECK: ldr	b1, [x1, x2]
# CHECK: ldr	b1, [x1, x2, lsl #0]
# CHECK: ldr	h1, [x1, x2]
# CHECK: ldr	h1, [x1, x2, lsl #1]
# CHECK: ldr	s1, [x1, x2]
# CHECK: ldr	s1, [x1, x2, lsl #2]
# CHECK: ldr	d1, [x1, x2]
# CHECK: ldr	d1, [x1, x2, lsl #3]
# CHECK: ldr	q1, [x1, x2]
# CHECK: ldr	q1, [x1, x2, lsl #4]

  0x00 0x48 0x20 0x7c
  0xe1 0x6b 0x23 0xfc
  0xe1 0x5b 0x23 0xfc
  0xe1 0x6b 0xa3 0x3c
  0xe1 0x5b 0xa3 0x3c

# CHECK: str	h0, [x0, w0, uxtw]
# CHECK: str	d1, [sp, x3]
# CHECK: str	d1, [sp, w3, uxtw #3]
# CHECK: str	q1, [sp, x3]
# CHECK: str	q1, [sp, w3, uxtw #4]

#-----------------------------------------------------------------------------
# Load/Store exclusive
#-----------------------------------------------------------------------------

  0x26 0x7c 0x5f 0x08
  0x26 0x7c 0x5f 0x48
  0x27 0x0d 0x7f 0x88
  0x27 0x0d 0x7f 0xc8

# CHECK: ldxrb	w6, [x1]
# CHECK: ldxrh	w6, [x1]
# CHECK: ldxp	w7, w3, [x9]
# CHECK: ldxp	x7, x3, [x9]

  0x64 0x7c 0x01 0xc8
  0x64 0x7c 0x01 0x88
  0x64 0x7c 0x01 0x08
  0x64 0x7c 0x01 0x48
  0x22 0x18 0x21 0xc8
  0x22 0x18 0x21 0x88

# CHECK: stxr	w1, x4, [x3]
# CHECK: stxr	w1, w4, [x3]
# CHECK: stxrb	w1, w4, [x3]
# CHECK: stxrh	w1, w4, [x3]
# CHECK: stxp	w1, x2, x6, [x1]
# CHECK: stxp	w1, w2, w6, [x1]

#-----------------------------------------------------------------------------
# Load-acquire/Store-release non-exclusive
#-----------------------------------------------------------------------------

  0xe4 0xff 0xdf 0x88
  0xe4 0xff 0xdf 0xc8
  0xe4 0xff 0xdf 0x08
  0xe4 0xff 0xdf 0x48

# CHECK: ldar	w4, [sp]
# CHECK: ldar	x4, [sp]
# CHECK: ldarb	w4, [sp]
# CHECK: ldarh	w4, [sp]

  0xc3 0xfc 0x9f 0x88
  0xc3 0xfc 0x9f 0xc8
  0xc3 0xfc 0x9f 0x08
  0xc3 0xfc 0x9f 0x48

# CHECK: stlr	w3, [x6]
# CHECK: stlr	x3, [x6]
# CHECK: stlrb	w3, [x6]
# CHECK: stlrh	w3, [x6]

#-----------------------------------------------------------------------------
# Load-acquire/Store-release exclusive
#-----------------------------------------------------------------------------

  0x82 0xfc 0x5f 0x88
  0x82 0xfc 0x5f 0xc8
  0x82 0xfc 0x5f 0x08
  0x82 0xfc 0x5f 0x48
  0x22 0x98 0x7f 0x88
  0x22 0x98 0x7f 0xc8

# CHECK: ldaxr	w2, [x4]
# CHECK: ldaxr	x2, [x4]
# CHECK: ldaxrb	w2, [x4]
# CHECK: ldaxrh	w2, [x4]
# CHECK: ldaxp	w2, w6, [x1]
# CHECK: ldaxp	x2, x6, [x1]

  0x27 0xfc 0x08 0xc8
  0x27 0xfc 0x08 0x88
  0x27 0xfc 0x08 0x08
  0x27 0xfc 0x08 0x48
  0x22 0x98 0x21 0xc8
  0x22 0x98 0x21 0x88

# CHECK: stlxr	w8, x7, [x1]
# CHECK: stlxr	w8, w7, [x1]
# CHECK: stlxrb	w8, w7, [x1]
# CHECK: stlxrh	w8, w7, [x1]
# CHECK: stlxp	w1, x2, x6, [x1]
# CHECK: stlxp	w1, w2, w6, [x1]

#-----------------------------------------------------------------------------
# Load/Store with explicit LSL values
#-----------------------------------------------------------------------------
  0x20 0x78 0xa0 0xb8
  0x20 0x78 0x60 0xf8
  0x20 0x78 0x20 0xf8
  0x20 0x78 0x60 0xb8
  0x20 0x78 0x20 0xb8
  0x20 0x78 0xe0 0x3c
  0x20 0x78 0xa0 0x3c
  0x20 0x78 0x60 0xfc
  0x20 0x78 0x20 0xfc
  0x20 0x78 0x60 0xbc
  0x20 0x78 0x20 0xbc
  0x20 0x78 0x60 0x7c
  0x20 0x78 0x60 0x3c
  0x20 0x78 0x60 0x38
  0x20 0x78 0x20 0x38
  0x20 0x78 0xe0 0x38
  0x20 0x78 0x60 0x78
  0x20 0x78 0x20 0x78
  0x20 0x78 0xe0 0x78
  0x20 0x78 0xa0 0x38
  0x20 0x78 0xa0 0x78

# CHECK: ldrsw	x0, [x1, x0, lsl #2]
# CHECK: ldr	x0, [x1, x0, lsl #3]
# CHECK: str	x0, [x1, x0, lsl #3]
# CHECK: ldr	w0, [x1, x0, lsl #2]
# CHECK: str	w0, [x1, x0, lsl #2]
# CHECK: ldr	q0, [x1, x0, lsl #4]
# CHECK: str	q0, [x1, x0, lsl #4]
# CHECK: ldr	d0, [x1, x0, lsl #3]
# CHECK: str	d0, [x1, x0, lsl #3]
# CHECK: ldr	s0, [x1, x0, lsl #2]
# CHECK: str	s0, [x1, x0, lsl #2]
# CHECK: ldr	h0, [x1, x0, lsl #1]
# CHECK: ldr	b0, [x1, x0, lsl #0]
# CHECK: ldrb	w0, [x1, x0, lsl #0]
# CHECK: strb	w0, [x1, x0, lsl #0]
# CHECK: ldrsb	w0, [x1, x0, lsl #0]
# CHECK: ldrh	w0, [x1, x0, lsl #1]
# CHECK: strh	w0, [x1, x0, lsl #1]
# CHECK: ldrsh	w0, [x1, x0, lsl #1]
# CHECK: ldrsb	x0, [x1, x0, lsl #0]
# CHECK: ldrsh	x0, [x1, x0, lsl #1]