Ticket #7960: insane.patch

File insane.patch, 804 bytes (added by aquadran, 18 years ago)
Line 
1236a237
2> uint32 t;
3238,240c239,246
4< // FIXME: Not implemented yet
5< src += 1;
6< dst += 4;
7---
8> t = src[0];
9> t += (t << 8) + (t << 16) + (t << 24);
10> *(uint32 *)(dst + 0) = t;
11> *(uint32 *)(dst + 320) = t;
12> *(uint32 *)(dst + 320 * 2) = t;
13> *(uint32 *)(dst + 320 * 3) = t;
14> src += 1;
15> dst += 4;
16242c248,259
17< // FIXME: Not implemented yet
18---
19> t = src[0];
20> t += (t << 8) + (t << 16) + (t << 24);
21> *(uint32 *)(dst + 0) = t;
22> t = src[1];
23> t += (t << 8) + (t << 16) + (t << 24);
24> *(uint32 *)(dst + 320) = t;
25> t = src[2];
26> t += (t << 8) + (t << 16) + (t << 24);
27> *(uint32 *)(dst + 320 * 2) = t;
28> t = src[3];
29> t += (t << 8) + (t << 16) + (t << 24);
30> *(uint32 *)(dst + 320 * 3) = t;