blob: b8ce9bc80d2b26e4b83ff32156c6ef8ce15de6f4 [file] [log] [blame]
Neels Hofmeyr6862cd32020-09-13 23:56:21 +02001--- 16 be
2osmo_store16be_ext(0x2211, &buf[0], 2) = 22 11 00 00
3osmo_load16be_ext(&buf[0], 2) = 0x2211
Neels Hofmeyrf6db7652020-09-14 00:39:37 +02004osmo_load16be_ext_2(&buf[0], 2) = 0x2211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +02005osmo_store16be_ext(0x2211, &buf[1], 2) = 00 22 11 00
6osmo_load16be_ext(&buf[1], 2) = 0x2211
Neels Hofmeyrf6db7652020-09-14 00:39:37 +02007osmo_load16be_ext_2(&buf[1], 2) = 0x2211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +02008osmo_store16be_ext(0x2211, &buf[0], 1) = 11 00
9osmo_load16be_ext(&buf[0], 1) = 0x1100
Neels Hofmeyrf6db7652020-09-14 00:39:37 +020010osmo_load16be_ext_2(&buf[0], 1) = 0x11
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020011--- 16 le
12osmo_store16le_ext(0x2211, &buf[0], 2) = 11 22 00 00
13osmo_load16le_ext(&buf[0], 2) = 0x2211
14osmo_store16le_ext(0x2211, &buf[1], 2) = 00 11 22 00
15osmo_load16le_ext(&buf[1], 2) = 0x2211
16osmo_store16le_ext(0x2211, &buf[0], 1) = 11 00
17osmo_load16le_ext(&buf[0], 1) = 0x11
18--- 32 be
19osmo_store32be_ext(0x44332211, &buf[0], 4) = 44 33 22 11 00 00 00 00
20osmo_load32be_ext(&buf[0], 4) = 0x44332211
Neels Hofmeyrf6db7652020-09-14 00:39:37 +020021osmo_load32be_ext_2(&buf[0], 4) = 0x44332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020022osmo_store32be_ext(0x44332211, &buf[1], 4) = 00 44 33 22 11 00 00 00
23osmo_load32be_ext(&buf[1], 4) = 0x44332211
Neels Hofmeyrf6db7652020-09-14 00:39:37 +020024osmo_load32be_ext_2(&buf[1], 4) = 0x44332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020025osmo_store32be_ext(0x44332211, &buf[2], 4) = 00 00 44 33 22 11 00 00
26osmo_load32be_ext(&buf[2], 4) = 0x44332211
Neels Hofmeyrf6db7652020-09-14 00:39:37 +020027osmo_load32be_ext_2(&buf[2], 4) = 0x44332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020028osmo_store32be_ext(0x44332211, &buf[3], 4) = 00 00 00 44 33 22 11 00
29osmo_load32be_ext(&buf[3], 4) = 0x44332211
Neels Hofmeyrf6db7652020-09-14 00:39:37 +020030osmo_load32be_ext_2(&buf[3], 4) = 0x44332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020031osmo_store32be_ext(0x44332211, &buf[0], 3) = 33 22 11 00 00 00
32osmo_load32be_ext(&buf[0], 3) = 0x33221100
Neels Hofmeyrf6db7652020-09-14 00:39:37 +020033osmo_load32be_ext_2(&buf[0], 3) = 0x332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020034osmo_store32be_ext(0x44332211, &buf[1], 3) = 00 33 22 11 00 00
35osmo_load32be_ext(&buf[1], 3) = 0x33221100
Neels Hofmeyrf6db7652020-09-14 00:39:37 +020036osmo_load32be_ext_2(&buf[1], 3) = 0x332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020037osmo_store32be_ext(0x44332211, &buf[2], 3) = 00 00 33 22 11 00
38osmo_load32be_ext(&buf[2], 3) = 0x33221100
Neels Hofmeyrf6db7652020-09-14 00:39:37 +020039osmo_load32be_ext_2(&buf[2], 3) = 0x332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020040osmo_store32be_ext(0x44332211, &buf[0], 2) = 22 11 00 00
41osmo_load32be_ext(&buf[0], 2) = 0x22110000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +020042osmo_load32be_ext_2(&buf[0], 2) = 0x2211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020043osmo_store32be_ext(0x44332211, &buf[1], 2) = 00 22 11 00
44osmo_load32be_ext(&buf[1], 2) = 0x22110000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +020045osmo_load32be_ext_2(&buf[1], 2) = 0x2211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020046osmo_store32be_ext(0x44332211, &buf[0], 1) = 11 00
47osmo_load32be_ext(&buf[0], 1) = 0x11000000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +020048osmo_load32be_ext_2(&buf[0], 1) = 0x11
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020049--- 32 le
50osmo_store32le_ext(0x44332211, &buf[0], 4) = 11 22 33 44 00 00 00 00
51osmo_load32le_ext(&buf[0], 4) = 0x44332211
52osmo_store32le_ext(0x44332211, &buf[1], 4) = 00 11 22 33 44 00 00 00
53osmo_load32le_ext(&buf[1], 4) = 0x44332211
54osmo_store32le_ext(0x44332211, &buf[2], 4) = 00 00 11 22 33 44 00 00
55osmo_load32le_ext(&buf[2], 4) = 0x44332211
56osmo_store32le_ext(0x44332211, &buf[3], 4) = 00 00 00 11 22 33 44 00
57osmo_load32le_ext(&buf[3], 4) = 0x44332211
58osmo_store32le_ext(0x44332211, &buf[0], 3) = 11 22 33 00 00 00
59osmo_load32le_ext(&buf[0], 3) = 0x332211
60osmo_store32le_ext(0x44332211, &buf[1], 3) = 00 11 22 33 00 00
61osmo_load32le_ext(&buf[1], 3) = 0x332211
62osmo_store32le_ext(0x44332211, &buf[2], 3) = 00 00 11 22 33 00
63osmo_load32le_ext(&buf[2], 3) = 0x332211
64osmo_store32le_ext(0x44332211, &buf[0], 2) = 11 22 00 00
65osmo_load32le_ext(&buf[0], 2) = 0x2211
66osmo_store32le_ext(0x44332211, &buf[1], 2) = 00 11 22 00
67osmo_load32le_ext(&buf[1], 2) = 0x2211
68osmo_store32le_ext(0x44332211, &buf[0], 1) = 11 00
69osmo_load32le_ext(&buf[0], 1) = 0x11
70--- 64 be
71osmo_store64be_ext(0x8877665544332211, &buf[0], 8) = 88 77 66 55 44 33 22 11 00 00 00 00 00 00 00 00
72osmo_load64be_ext(&buf[0], 8) = 0x8877665544332211
Neels Hofmeyrf6db7652020-09-14 00:39:37 +020073osmo_load64be_ext_2(&buf[0], 8) = 0x8877665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020074osmo_store64be_ext(0x8877665544332211, &buf[1], 8) = 00 88 77 66 55 44 33 22 11 00 00 00 00 00 00 00
75osmo_load64be_ext(&buf[1], 8) = 0x8877665544332211
Neels Hofmeyrf6db7652020-09-14 00:39:37 +020076osmo_load64be_ext_2(&buf[1], 8) = 0x8877665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020077osmo_store64be_ext(0x8877665544332211, &buf[2], 8) = 00 00 88 77 66 55 44 33 22 11 00 00 00 00 00 00
78osmo_load64be_ext(&buf[2], 8) = 0x8877665544332211
Neels Hofmeyrf6db7652020-09-14 00:39:37 +020079osmo_load64be_ext_2(&buf[2], 8) = 0x8877665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020080osmo_store64be_ext(0x8877665544332211, &buf[3], 8) = 00 00 00 88 77 66 55 44 33 22 11 00 00 00 00 00
81osmo_load64be_ext(&buf[3], 8) = 0x8877665544332211
Neels Hofmeyrf6db7652020-09-14 00:39:37 +020082osmo_load64be_ext_2(&buf[3], 8) = 0x8877665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020083osmo_store64be_ext(0x8877665544332211, &buf[4], 8) = 00 00 00 00 88 77 66 55 44 33 22 11 00 00 00 00
84osmo_load64be_ext(&buf[4], 8) = 0x8877665544332211
Neels Hofmeyrf6db7652020-09-14 00:39:37 +020085osmo_load64be_ext_2(&buf[4], 8) = 0x8877665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020086osmo_store64be_ext(0x8877665544332211, &buf[5], 8) = 00 00 00 00 00 88 77 66 55 44 33 22 11 00 00 00
87osmo_load64be_ext(&buf[5], 8) = 0x8877665544332211
Neels Hofmeyrf6db7652020-09-14 00:39:37 +020088osmo_load64be_ext_2(&buf[5], 8) = 0x8877665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020089osmo_store64be_ext(0x8877665544332211, &buf[6], 8) = 00 00 00 00 00 00 88 77 66 55 44 33 22 11 00 00
90osmo_load64be_ext(&buf[6], 8) = 0x8877665544332211
Neels Hofmeyrf6db7652020-09-14 00:39:37 +020091osmo_load64be_ext_2(&buf[6], 8) = 0x8877665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020092osmo_store64be_ext(0x8877665544332211, &buf[7], 8) = 00 00 00 00 00 00 00 88 77 66 55 44 33 22 11 00
93osmo_load64be_ext(&buf[7], 8) = 0x8877665544332211
Neels Hofmeyrf6db7652020-09-14 00:39:37 +020094osmo_load64be_ext_2(&buf[7], 8) = 0x8877665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020095osmo_store64be_ext(0x8877665544332211, &buf[0], 7) = 77 66 55 44 33 22 11 00 00 00 00 00 00 00
96osmo_load64be_ext(&buf[0], 7) = 0x7766554433221100
Neels Hofmeyrf6db7652020-09-14 00:39:37 +020097osmo_load64be_ext_2(&buf[0], 7) = 0x77665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020098osmo_store64be_ext(0x8877665544332211, &buf[1], 7) = 00 77 66 55 44 33 22 11 00 00 00 00 00 00
99osmo_load64be_ext(&buf[1], 7) = 0x7766554433221100
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200100osmo_load64be_ext_2(&buf[1], 7) = 0x77665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200101osmo_store64be_ext(0x8877665544332211, &buf[2], 7) = 00 00 77 66 55 44 33 22 11 00 00 00 00 00
102osmo_load64be_ext(&buf[2], 7) = 0x7766554433221100
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200103osmo_load64be_ext_2(&buf[2], 7) = 0x77665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200104osmo_store64be_ext(0x8877665544332211, &buf[3], 7) = 00 00 00 77 66 55 44 33 22 11 00 00 00 00
105osmo_load64be_ext(&buf[3], 7) = 0x7766554433221100
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200106osmo_load64be_ext_2(&buf[3], 7) = 0x77665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200107osmo_store64be_ext(0x8877665544332211, &buf[4], 7) = 00 00 00 00 77 66 55 44 33 22 11 00 00 00
108osmo_load64be_ext(&buf[4], 7) = 0x7766554433221100
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200109osmo_load64be_ext_2(&buf[4], 7) = 0x77665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200110osmo_store64be_ext(0x8877665544332211, &buf[5], 7) = 00 00 00 00 00 77 66 55 44 33 22 11 00 00
111osmo_load64be_ext(&buf[5], 7) = 0x7766554433221100
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200112osmo_load64be_ext_2(&buf[5], 7) = 0x77665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200113osmo_store64be_ext(0x8877665544332211, &buf[6], 7) = 00 00 00 00 00 00 77 66 55 44 33 22 11 00
114osmo_load64be_ext(&buf[6], 7) = 0x7766554433221100
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200115osmo_load64be_ext_2(&buf[6], 7) = 0x77665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200116osmo_store64be_ext(0x8877665544332211, &buf[0], 6) = 66 55 44 33 22 11 00 00 00 00 00 00
117osmo_load64be_ext(&buf[0], 6) = 0x6655443322110000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200118osmo_load64be_ext_2(&buf[0], 6) = 0x665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200119osmo_store64be_ext(0x8877665544332211, &buf[1], 6) = 00 66 55 44 33 22 11 00 00 00 00 00
120osmo_load64be_ext(&buf[1], 6) = 0x6655443322110000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200121osmo_load64be_ext_2(&buf[1], 6) = 0x665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200122osmo_store64be_ext(0x8877665544332211, &buf[2], 6) = 00 00 66 55 44 33 22 11 00 00 00 00
123osmo_load64be_ext(&buf[2], 6) = 0x6655443322110000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200124osmo_load64be_ext_2(&buf[2], 6) = 0x665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200125osmo_store64be_ext(0x8877665544332211, &buf[3], 6) = 00 00 00 66 55 44 33 22 11 00 00 00
126osmo_load64be_ext(&buf[3], 6) = 0x6655443322110000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200127osmo_load64be_ext_2(&buf[3], 6) = 0x665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200128osmo_store64be_ext(0x8877665544332211, &buf[4], 6) = 00 00 00 00 66 55 44 33 22 11 00 00
129osmo_load64be_ext(&buf[4], 6) = 0x6655443322110000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200130osmo_load64be_ext_2(&buf[4], 6) = 0x665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200131osmo_store64be_ext(0x8877665544332211, &buf[5], 6) = 00 00 00 00 00 66 55 44 33 22 11 00
132osmo_load64be_ext(&buf[5], 6) = 0x6655443322110000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200133osmo_load64be_ext_2(&buf[5], 6) = 0x665544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200134osmo_store64be_ext(0x8877665544332211, &buf[0], 5) = 55 44 33 22 11 00 00 00 00 00
135osmo_load64be_ext(&buf[0], 5) = 0x5544332211000000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200136osmo_load64be_ext_2(&buf[0], 5) = 0x5544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200137osmo_store64be_ext(0x8877665544332211, &buf[1], 5) = 00 55 44 33 22 11 00 00 00 00
138osmo_load64be_ext(&buf[1], 5) = 0x5544332211000000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200139osmo_load64be_ext_2(&buf[1], 5) = 0x5544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200140osmo_store64be_ext(0x8877665544332211, &buf[2], 5) = 00 00 55 44 33 22 11 00 00 00
141osmo_load64be_ext(&buf[2], 5) = 0x5544332211000000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200142osmo_load64be_ext_2(&buf[2], 5) = 0x5544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200143osmo_store64be_ext(0x8877665544332211, &buf[3], 5) = 00 00 00 55 44 33 22 11 00 00
144osmo_load64be_ext(&buf[3], 5) = 0x5544332211000000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200145osmo_load64be_ext_2(&buf[3], 5) = 0x5544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200146osmo_store64be_ext(0x8877665544332211, &buf[4], 5) = 00 00 00 00 55 44 33 22 11 00
147osmo_load64be_ext(&buf[4], 5) = 0x5544332211000000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200148osmo_load64be_ext_2(&buf[4], 5) = 0x5544332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200149osmo_store64be_ext(0x8877665544332211, &buf[0], 4) = 44 33 22 11 00 00 00 00
150osmo_load64be_ext(&buf[0], 4) = 0x4433221100000000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200151osmo_load64be_ext_2(&buf[0], 4) = 0x44332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200152osmo_store64be_ext(0x8877665544332211, &buf[1], 4) = 00 44 33 22 11 00 00 00
153osmo_load64be_ext(&buf[1], 4) = 0x4433221100000000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200154osmo_load64be_ext_2(&buf[1], 4) = 0x44332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200155osmo_store64be_ext(0x8877665544332211, &buf[2], 4) = 00 00 44 33 22 11 00 00
156osmo_load64be_ext(&buf[2], 4) = 0x4433221100000000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200157osmo_load64be_ext_2(&buf[2], 4) = 0x44332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200158osmo_store64be_ext(0x8877665544332211, &buf[3], 4) = 00 00 00 44 33 22 11 00
159osmo_load64be_ext(&buf[3], 4) = 0x4433221100000000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200160osmo_load64be_ext_2(&buf[3], 4) = 0x44332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200161osmo_store64be_ext(0x8877665544332211, &buf[0], 3) = 33 22 11 00 00 00
162osmo_load64be_ext(&buf[0], 3) = 0x3322110000000000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200163osmo_load64be_ext_2(&buf[0], 3) = 0x332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200164osmo_store64be_ext(0x8877665544332211, &buf[1], 3) = 00 33 22 11 00 00
165osmo_load64be_ext(&buf[1], 3) = 0x3322110000000000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200166osmo_load64be_ext_2(&buf[1], 3) = 0x332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200167osmo_store64be_ext(0x8877665544332211, &buf[2], 3) = 00 00 33 22 11 00
168osmo_load64be_ext(&buf[2], 3) = 0x3322110000000000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200169osmo_load64be_ext_2(&buf[2], 3) = 0x332211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200170osmo_store64be_ext(0x8877665544332211, &buf[0], 2) = 22 11 00 00
171osmo_load64be_ext(&buf[0], 2) = 0x2211000000000000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200172osmo_load64be_ext_2(&buf[0], 2) = 0x2211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200173osmo_store64be_ext(0x8877665544332211, &buf[1], 2) = 00 22 11 00
174osmo_load64be_ext(&buf[1], 2) = 0x2211000000000000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200175osmo_load64be_ext_2(&buf[1], 2) = 0x2211
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200176osmo_store64be_ext(0x8877665544332211, &buf[0], 1) = 11 00
177osmo_load64be_ext(&buf[0], 1) = 0x1100000000000000
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200178osmo_load64be_ext_2(&buf[0], 1) = 0x11
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200179--- 64 le
180osmo_store64le_ext(0x8877665544332211, &buf[0], 8) = 11 22 33 44 55 66 77 88 00 00 00 00 00 00 00 00
181osmo_load64le_ext(&buf[0], 8) = 0x8877665544332211
182osmo_store64le_ext(0x8877665544332211, &buf[1], 8) = 00 11 22 33 44 55 66 77 88 00 00 00 00 00 00 00
183osmo_load64le_ext(&buf[1], 8) = 0x8877665544332211
184osmo_store64le_ext(0x8877665544332211, &buf[2], 8) = 00 00 11 22 33 44 55 66 77 88 00 00 00 00 00 00
185osmo_load64le_ext(&buf[2], 8) = 0x8877665544332211
186osmo_store64le_ext(0x8877665544332211, &buf[3], 8) = 00 00 00 11 22 33 44 55 66 77 88 00 00 00 00 00
187osmo_load64le_ext(&buf[3], 8) = 0x8877665544332211
188osmo_store64le_ext(0x8877665544332211, &buf[4], 8) = 00 00 00 00 11 22 33 44 55 66 77 88 00 00 00 00
189osmo_load64le_ext(&buf[4], 8) = 0x8877665544332211
190osmo_store64le_ext(0x8877665544332211, &buf[5], 8) = 00 00 00 00 00 11 22 33 44 55 66 77 88 00 00 00
191osmo_load64le_ext(&buf[5], 8) = 0x8877665544332211
192osmo_store64le_ext(0x8877665544332211, &buf[6], 8) = 00 00 00 00 00 00 11 22 33 44 55 66 77 88 00 00
193osmo_load64le_ext(&buf[6], 8) = 0x8877665544332211
194osmo_store64le_ext(0x8877665544332211, &buf[7], 8) = 00 00 00 00 00 00 00 11 22 33 44 55 66 77 88 00
195osmo_load64le_ext(&buf[7], 8) = 0x8877665544332211
196osmo_store64le_ext(0x8877665544332211, &buf[0], 7) = 11 22 33 44 55 66 77 00 00 00 00 00 00 00
197osmo_load64le_ext(&buf[0], 7) = 0x77665544332211
198osmo_store64le_ext(0x8877665544332211, &buf[1], 7) = 00 11 22 33 44 55 66 77 00 00 00 00 00 00
199osmo_load64le_ext(&buf[1], 7) = 0x77665544332211
200osmo_store64le_ext(0x8877665544332211, &buf[2], 7) = 00 00 11 22 33 44 55 66 77 00 00 00 00 00
201osmo_load64le_ext(&buf[2], 7) = 0x77665544332211
202osmo_store64le_ext(0x8877665544332211, &buf[3], 7) = 00 00 00 11 22 33 44 55 66 77 00 00 00 00
203osmo_load64le_ext(&buf[3], 7) = 0x77665544332211
204osmo_store64le_ext(0x8877665544332211, &buf[4], 7) = 00 00 00 00 11 22 33 44 55 66 77 00 00 00
205osmo_load64le_ext(&buf[4], 7) = 0x77665544332211
206osmo_store64le_ext(0x8877665544332211, &buf[5], 7) = 00 00 00 00 00 11 22 33 44 55 66 77 00 00
207osmo_load64le_ext(&buf[5], 7) = 0x77665544332211
208osmo_store64le_ext(0x8877665544332211, &buf[6], 7) = 00 00 00 00 00 00 11 22 33 44 55 66 77 00
209osmo_load64le_ext(&buf[6], 7) = 0x77665544332211
210osmo_store64le_ext(0x8877665544332211, &buf[0], 6) = 11 22 33 44 55 66 00 00 00 00 00 00
211osmo_load64le_ext(&buf[0], 6) = 0x665544332211
212osmo_store64le_ext(0x8877665544332211, &buf[1], 6) = 00 11 22 33 44 55 66 00 00 00 00 00
213osmo_load64le_ext(&buf[1], 6) = 0x665544332211
214osmo_store64le_ext(0x8877665544332211, &buf[2], 6) = 00 00 11 22 33 44 55 66 00 00 00 00
215osmo_load64le_ext(&buf[2], 6) = 0x665544332211
216osmo_store64le_ext(0x8877665544332211, &buf[3], 6) = 00 00 00 11 22 33 44 55 66 00 00 00
217osmo_load64le_ext(&buf[3], 6) = 0x665544332211
218osmo_store64le_ext(0x8877665544332211, &buf[4], 6) = 00 00 00 00 11 22 33 44 55 66 00 00
219osmo_load64le_ext(&buf[4], 6) = 0x665544332211
220osmo_store64le_ext(0x8877665544332211, &buf[5], 6) = 00 00 00 00 00 11 22 33 44 55 66 00
221osmo_load64le_ext(&buf[5], 6) = 0x665544332211
222osmo_store64le_ext(0x8877665544332211, &buf[0], 5) = 11 22 33 44 55 00 00 00 00 00
223osmo_load64le_ext(&buf[0], 5) = 0x5544332211
224osmo_store64le_ext(0x8877665544332211, &buf[1], 5) = 00 11 22 33 44 55 00 00 00 00
225osmo_load64le_ext(&buf[1], 5) = 0x5544332211
226osmo_store64le_ext(0x8877665544332211, &buf[2], 5) = 00 00 11 22 33 44 55 00 00 00
227osmo_load64le_ext(&buf[2], 5) = 0x5544332211
228osmo_store64le_ext(0x8877665544332211, &buf[3], 5) = 00 00 00 11 22 33 44 55 00 00
229osmo_load64le_ext(&buf[3], 5) = 0x5544332211
230osmo_store64le_ext(0x8877665544332211, &buf[4], 5) = 00 00 00 00 11 22 33 44 55 00
231osmo_load64le_ext(&buf[4], 5) = 0x5544332211
232osmo_store64le_ext(0x8877665544332211, &buf[0], 4) = 11 22 33 44 00 00 00 00
233osmo_load64le_ext(&buf[0], 4) = 0x44332211
234osmo_store64le_ext(0x8877665544332211, &buf[1], 4) = 00 11 22 33 44 00 00 00
235osmo_load64le_ext(&buf[1], 4) = 0x44332211
236osmo_store64le_ext(0x8877665544332211, &buf[2], 4) = 00 00 11 22 33 44 00 00
237osmo_load64le_ext(&buf[2], 4) = 0x44332211
238osmo_store64le_ext(0x8877665544332211, &buf[3], 4) = 00 00 00 11 22 33 44 00
239osmo_load64le_ext(&buf[3], 4) = 0x44332211
240osmo_store64le_ext(0x8877665544332211, &buf[0], 3) = 11 22 33 00 00 00
241osmo_load64le_ext(&buf[0], 3) = 0x332211
242osmo_store64le_ext(0x8877665544332211, &buf[1], 3) = 00 11 22 33 00 00
243osmo_load64le_ext(&buf[1], 3) = 0x332211
244osmo_store64le_ext(0x8877665544332211, &buf[2], 3) = 00 00 11 22 33 00
245osmo_load64le_ext(&buf[2], 3) = 0x332211
246osmo_store64le_ext(0x8877665544332211, &buf[0], 2) = 11 22 00 00
247osmo_load64le_ext(&buf[0], 2) = 0x2211
248osmo_store64le_ext(0x8877665544332211, &buf[1], 2) = 00 11 22 00
249osmo_load64le_ext(&buf[1], 2) = 0x2211
250osmo_store64le_ext(0x8877665544332211, &buf[0], 1) = 11 00
251osmo_load64le_ext(&buf[0], 1) = 0x11
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200252--- store/load 0x112233 as 24bit big-endian, legacy
Neels Hofmeyr6862cd32020-09-13 23:56:21 +020025311 22 33 00
2540x11223300
Neels Hofmeyrf6db7652020-09-14 00:39:37 +0200255--- store/load 0x112233 as 24bit big-endian
25611 22 33 00
2570x112233
Neels Hofmeyr6862cd32020-09-13 23:56:21 +0200258--- store/load 0x112233 as 24bit little-endian
25933 22 11 00
2600x112233