1 # RUN: llvm-mc -triple=arc -disassemble %s | FileCheck %s
3 # CHECK: ld %r0, [%r0,0]
6 # CHECK: ldh %r0, [%r0,0]
9 # CHECK: ldb %r0, [%r0,0]
12 # CHECK: ld %r1, [%r0,12]
15 # CHECK: ld %r14, [%fp,-12]
18 # CHECK: ld %r3, [%r0,-12]
21 # CHECK: ld %r0, [%r0,244]
24 # CHECK: ld %r0, [%r0,-12]
27 # CHECK: ldh.x %r3, [%r1,0]
30 # CHECK: ldh.x %r2, [%r1,2]
33 # CHECK: ldh.x %r2, [%fp,-132]
36 # CHECK: ld %r0, [%r0,64000]
37 0x30 0x20 0x80 0x0f 0x00 0x00 0x00 0xfa
39 # CHECK: ld %r6, [63920]
40 0x00 0x16 0x06 0x70 0x00 0x00 0xb0 0xf9
42 # CHECK: stb %r2, [%sp,35]
45 # CHECK: st %r7, [63920]
46 0x00 0x1e 0xc0 0x71 0x00 0x00 0xb0 0xf9
48 # CHECK: ldb.ab %r1, [%r0,1]
51 # CHECK: stb.ab %r2, [%r0,1]
54 # CHECK: ldh.ab %r3, [%r0,12]
57 # CHECK: sth.ab %r4, [%r0,18]
60 # CHECK: ld.ab %r5, [%r2,128]
63 # CHECK: st.ab %r6, [%r2,64]
66 # CHECK: ldb.aw %r7, [%r0,1]
69 # CHECK: stb.aw %r8, [%r0,1]
72 # CHECK: ldh.aw %r3, [%r0,12]
75 # CHECK: sth.aw %r3, [%r0,18]
78 # CHECK: ld.aw %r6, [%r2,128]
81 # CHECK: st.aw %r6, [%r2,64]
84 # CHECK: ld.aw %r6, [%r2,128]
87 # CHECK: st.aw %r6, [%r2,64]
90 # CHECK: ldb.x.di.aw %r0, [%r8,8]
93 # CHECK: stb.di.ab %r0, [%r9,64]