1 .text 2 movb r0, r0, r1, 4, 5, 6 3 movb r0, r0, r12, 4, 5, 6 4 movb r15, r15, r12, 4, 5, 6 5 movb.cl r0, r1, 4, 5, 6 6 movb.cl r0, r14, 4, 5, 6 7 movb.cl r13, r1, 4, 5, 6 8 9 movh r0, r0, 1234 10 movh r3, r3, 0xffff 11 movh.cl r0, 1234 12 movh.cl r3, 0xffff 13 14 /* movbi */ 15 movbi r14, r14, 6, 8, 4 16 movbi.f r23, r23, 20, 11, 1 17 movbi.cl r30, 10, 18, 2 18 movbi.f.cl r6, 9, 0, 8 19 20 /* decode1 */ 21 decode1 r0, r0, r2, 5, 11 22 decode1.f r0, r0, r2, 5, 11 23 decode1.cl r0, r2, 11 24 decode1.cl.f r0, r2, 18 25 26 /* fbset */ 27 fbset r1, r1, r3, 3, 15 28 fbset.f r1, r1, r3, 3, 15 29 30 /* fbclear */ 31 fbclr r2, r2, r12, 3, 15 32 fbclr.f r3, r3, r12, 3, 15 33 34 /* encode0 */ 35 encode0 r2, r1, 18, 1 36 encode0.f r0, r0, 0, 32 37 38 /* encode1 */ 39 encode1 r2, r1, 31, 1 40 encode1.f r0, r0, 0, 32 41 42 /* rflt */ 43 rflt r10,r12,r20 44 rflt r0,0x12345678,r20 45 rflt r6,r7,0xffffffff 46 rflt r8,0xffffffff,0xffffffff 47 rflt 0,r14,r13 48 rflt 0,0xffffffff,r10 49 rflt 0,r12,0xffffffff 50 rflt r4,r5,0x1 51 rflt r3,0x12345678,0x2 52 rflt 0,r1,0x4 53 rflt 0,0xffffffff,0x1 54 55 .macro crc_test mnem 56 \mnem r1,r2,r3 57 \mnem r4,0xffffffff,r5 58 \mnem r6,r7,0xffffffff 59 \mnem r8,0xffffffff,0xffffffff 60 \mnem 0,r9,r10 61 \mnem 0,0xffffffff,r11 62 \mnem 0,r12,0xffffffff 63 \mnem r13,r14,0x3f 64 \mnem r15,0xffffffff,0x3f 65 \mnem 0,r16,0x3f 66 \mnem 0,0xffffffff,0x3f 67 .endm 68 69 /* crc16 */ 70 crc_test crc16 71 crc_test crc16.r 72 73 /* crc32 */ 74 crc_test crc32 75 crc_test crc32.r 76