4 # define LDSTL(N, R0, R1) \
5 movi %R0 $(t0 + $offui) \
7 movi %R0 $(t0 + $offl) \
11 # define SI(C, N, x, X, R0) \
12 movi %R0 $(t0 + $off##x) \
14 beqi L##x##C %R0 L##X##N \
18 # define LDRL(C, N, R0, R1) \
22 # define LDSTL(C, R0, R1)
23 # define SI(C, N, x, X, R0) \
24 movi %R0 $(t0 + $off##x) \
26 beqi L##x##C %R0 I##X##N \
30 # define LDRL(C, N, R0, R1)
34 #define UI(C, N, x, X, R0) \
35 movi %R0 $(t0 + $offu##x) \
37 beqi Lu##x##C %R0 X##N \
41 #define LDST1(X, N, R0, R1) \
42 movi %R0 $(t0 + $offc) \
45 movi %R0 $(t0 + $offuc) \
47 movi %R0 $(t0 + $offs) \
50 movi %R0 $(t0 + $offus) \
52 movi %R0 $(t0 + $offi) \
56 movi %R0 $(t0 + $offf) \
64 #define LDST0(R0, R1) \
65 LDST1(0_##R0##_##R1, 0, R0, R1) \
66 LDST1(1_##R0##_##R1, 1, R0, R1) \
67 LDST1(2_##R0##_##R1, 2, R0, R1) \
68 LDST1(3_##R0##_##R1, 3, R0, R1)
70 #define LDST(V0, V1, V2, R0, R1, R2) \
88 /* Simple test to simplify validating encodings before
89 * brute force tests */
90 movi %r0 $(t0 + $offc)
93 movi %r0 $(t0 + $offuc)
95 movi %r0 $(t0 + $offs)
98 movi %r0 $(t0 + $offus)
100 movi %r0 $(t0 + $offi)
104 movi %r0 $(t0 + $offui)
106 movi %r0 $(t0 + $offl)
107 movi %r1 0x8000000000000001
110 movi %r0 $(t0 + $offc)
115 movi %r0 $(t0 + $offuc)
120 movi %r0 $(t0 + $offs)
125 movi %r0 $(t0 + $offus)
130 movi %r0 $(t0 + $offi)
136 movi %r0 $(t0 + $offui)
138 beqi Lui %r0 0x80000001
141 movi %r0 $(t0 + $offl)
143 beqi Ll %r0 0x8000000000000001
148 LDST(v0, v1, v2, r0, r1, r2)
149 // just to know did not abort