1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
|
2007-06-13 David Schleef <ds@schleef.org>
* liboil/amd64/wavelet.c:
* liboil/i386/Makefile.am:
* liboil/i386/convert_i386.c:
* liboil/i386/math.c:
* liboil/i386/sad8x8_i386.c:
* liboil/i386_amd64/Makefile.am:
* liboil/i386_amd64/convert.c:
* liboil/i386_amd64/copy.c:
* liboil/i386_amd64/math.c:
* liboil/i386_amd64/sad8x8.c:
Convert a bunch of stuff to dual-arch.
2007-06-12 David Schleef <ds@schleef.org>
* liboil/i386/convert_i386.c:
* liboil/i386/copy_i386.c:
* liboil/i386/wavelet.c:
* liboil/ref/wavelet.c:
More implementations related to schro.
2007-06-11 David Schleef <ds@schleef.org>
* examples/oil-suggest-lib:
* examples/oil-suggest.c:
Add suggester for all the symbols in a library.
2007-06-07 David Schleef <ds@schleef.org>
* liboil/i386/sad8x8_i386.c: Add i386 impls for sad12x12 and sad16x16
2007-06-07 David Schleef <ds@schleef.org>
* configure.ac: bump to 0.3.12.1
2007-06-07 David Schleef <ds@schleef.org>
* liboil/liboilclasses.h:
* liboil/liboilfuncs-04.h:
* liboil/liboilfuncs.h:
* liboil/liboiltrampolines.c:
* liboil/ref/sad8x8.c:
Add 12x12 and 16x16 classes.
2007-06-04 David Schleef <ds@schleef.org>
* m4/as-host-defines.m4: Add powerpc64
2007-05-28 David Schleef <ds@schleef.org>
* configure.ac: release 0.3.12
2007-05-28 David Schleef <ds@schleef.org>
* m4/ac_libtool_tags.m4:
Add.
2007-05-28 David Schleef <ds@schleef.org>
* liboil/i386/wavelet.c:
Disable broken impl
2007-05-16 David Schleef <ds@schleef.org>
* configure.ac:
Use AC_LIBTOOL_TAGS so we don't check for FORTRAN
* liboil/ref/wavelet.c:
Don't construct out-of-range values for testing.
* testsuite/mmx_engine.c:
Switch to p2align assembler directive.
2007-05-14 David Schleef <ds@schleef.org>
* HACKING:
Patch from Stephane Fillod <f8cfe@free.fr>
* liboil/liboil.h:
* liboil/liboilcolorspace.h:
* liboil/liboilcpu.h:
* liboil/liboildebug.h:
* liboil/liboilfunction.h:
* liboil/liboilgcc.h:
* liboil/liboilparameter.h:
* liboil/liboilprofile.h:
* liboil/liboilprototype.h:
* liboil/liboilrandom.h:
* liboil/liboiltest.h:
* liboil/liboiltypes.h:
Add C++ wrappers everywhere.
* m4/as-libtool.m4:
Fix macro.
2007-04-19 David Schleef <ds@schleef.org>
* liboil/i386/wavelet.c:
Disable mas4_across_add_s16_mmx, because it's broken.
2007-04-10 David Schleef <ds@schleef.org>
* liboil/i386/sad8x8_i386.c:
* liboil/liboilclasses.h:
* liboil/liboilfuncs-04.h:
* liboil/liboilfuncs.h:
* liboil/liboiltrampolines.c:
* liboil/ref/sad8x8.c:
Add sad8x8_8xn_u8 class.
2007-03-26 David Schleef <ds@schleef.org>
* liboil/i386/wavelet.c:
Add MMX implementation
2007-03-23 David Schleef <ds@schleef.org>
* examples/jpeg/Makefile.am:
* examples/jpeg/bits.h:
* examples/jpeg/huffman.c:
* examples/jpeg/huffman.h:
* examples/jpeg/jpeg_bits.c:
* examples/jpeg/jpeg_bits.h:
* examples/jpeg/jpeg_huffman.c:
* examples/jpeg/jpeg_huffman.h:
* examples/jpeg/jpeg_internal.h:
Name changes
2007-03-22 David Schleef <ds@schleef.org>
* liboil/liboilclasses.h:
* liboil/liboilfuncs-04.h:
* liboil/liboilfuncs.h:
* liboil/liboiltrampolines.c:
* liboil/math/ag_math.c:
* liboil/math/generate_math.pl:
* liboil/ref/math.c:
* liboil/sse/math_sse.c:
Add f64 math functions. From Marcus Brubaker. Fixes #6958.
2007-03-22 David Schleef <ds@schleef.org>
* configure.ac: back to CVS
2007-03-22 David Schleef <ds@schleef.org>
* liboil/liboilcpu.c:
Restore the signal mask if we caught a signal. Fixes #10247
2007-03-21 David Schleef <ds@schleef.org>
* examples/jpeg/jpeg.c:
* examples/jpeg/jpeg_internal.h:
More JPEG hacking.
2007-03-20 David Schleef <ds@schleef.org>
* examples/jpeg/jpeg.c:
* examples/jpeg/jpeg.h:
* examples/jpeg/jpeg_rgb_decoder.c:
* examples/jpeg/jpeg_rgb_decoder.h:
* examples/jpeg/test_rgb.c:
More JPEG hacking.
2007-03-20 David Schleef <ds@schleef.org>
* examples/jpeg/Makefile.am:
* examples/jpeg/bits.h:
* examples/jpeg/huffman.c:
* examples/jpeg/huffman.h:
* examples/jpeg/jpeg.c:
* examples/jpeg/jpeg.h:
* examples/jpeg/jpeg_bits.c:
* examples/jpeg/jpeg_internal.h:
* examples/jpeg/jpeg_markers.h:
* examples/jpeg/jpeg_tables.c:
* examples/jpeg/test.c:
* examples/jpeg/test_rgb.c:
Major hacking on the jpeg decoder.
=== 0.3.11 ===
2007-03-16 David Schleef <ds@schleef.org>
* configure.ac:
* liboil/Makefile.am:
* liboil/sse/Makefile.am:
* liboil/sse/composite_sse_2pix.c:
* liboil/sse/composite_sse_4pix.c:
* liboil/sse/sad8x8_sse.c:
* liboil/sse/sse_wrapper.h:
Add idea to wrap SSE2 functions that have trouble with
unaligned stacks with a function that aligns the stack. From
Christian Aichinger.
* m4/as-gcc-inline-assembly.m4:
Fix test for gcc version.
* testsuite/stack_align.c:
improve somewhat
2007-03-16 David Schleef <ds@schleef.org>
* configure.ac:
version bump to 0.3.11
2007-03-16 David Schleef <ds@schleef.org>
* doc/tmpl/liboildebug.sgml:
* doc/tmpl/liboilimpl-unstable.sgml:
Apparently gtk-doc became sane again.
2007-03-16 David Schleef <ds@schleef.org>
* configure.ac:
Add -maltivec flag
* m4/as-gcc-inline-assembly.m4:
Require gcc-3.4
* m4/as-nano.m4:
handle two-digit version numbers, like in 0.3.10
2007-03-02 David Schleef <ds@schleef.org>
* liboil/i386/math.c:
Oops, fix typo.
2007-03-02 David Schleef <ds@schleef.org>
* liboil/i386/Makefile.am:
* liboil/i386/math.c:
* liboil/i386/wavelet.c:
Add some mmx impls for new classes.
2007-03-02 David Schleef <ds@schleef.org>
* liboil/liboilclasses.h:
* liboil/liboilfuncs-04.h:
* liboil/liboilfuncs.h:
* liboil/liboiltrampolines.c:
* liboil/ref/math.c:
* liboil/ref/wavelet.c:
Migrate more functions from schro.
2007-02-14 David Schleef <ds@schleef.org>
* examples/printcpu.c:
* liboil/liboilcpu.c:
* liboil/c/swab.c:
* liboil/powerpc/md5.c:
Compile fixes on OS/X (powerpc).
2007-02-14 David Schleef <ds@schleef.org>
* liboil/liboilcpu.c:
Oops, fix typo.
2007-02-13 David Schleef <ds@schleef.org>
* examples/printcpu.c:
* testsuite/stack_align.c:
Fix minor errors on Solaris. Fixed #9824.
2007-02-13 David Schleef <ds@schleef.org>
* liboil/liboilcpu.c:
Patch from Brian Cameron to fix #9925. Adds detection of
cpu features on Solaris. Modified somewhat to rearrange
the detection code.
2007-02-13 David Schleef <ds@schleef.org>
* examples/Makefile.am:
* examples/oil-random.c:
Add example generating random numbers
2007-02-13 David Schleef <ds@schleef.org>
* examples/jpeg/huffman.c:
* examples/jpeg/jpeg.c:
* examples/jpeg/jpeg.h:
* examples/jpeg/jpeg_internal.h:
* examples/jpeg/jpeg_rgb_decoder.c:
* examples/jpeg/test_rgb.c:
2007-01-01 David Schleef <ds@schleef.org>
* liboil/i386_amd64/mt19937.c:
* liboil/liboilclasses.h:
* liboil/liboilfuncs-04.h:
* liboil/liboilfuncs.h:
* liboil/liboiltrampolines.c:
* liboil/ref/mt19937ar.c:
Revert the mt19937x8 class. It is dumb.
2007-01-01 David Schleef <ds@schleef.org>
* liboil/i386/sad8x8_i386.c:
Add impl based on psadbw. Nice.
* liboil/i386/wavelet.c:
Fix broken impl.
* liboil/liboil.h:
Add some consts to macro.
* liboil/liboilcpu.c:
XScale's timestamp isn't available from userspace. Fixes #7988.
* liboil/liboiltmp.c:
Add some temporary symbols. Fixes build on Windows and OS/X
* testsuite/mmx_engine.c:
Add psadbw instruction.
2007-01-01 David Schleef <ds@schleef.org>
* examples/audioresample/Makefile.am:
* examples/audioresample/functable.c:
* examples/audioresample/resample.c:
* examples/audioresample/resample.h:
* examples/audioresample/test_functable1.c:
A bunch of hacking.
2007-01-01 David Schleef <ds@schleef.org>
* liboil/amd64/Makefile.am:
* liboil/amd64/wavelet.c:
Convert i386 asm to amd64.
2007-01-01 David Schleef <ds@schleef.org>
* liboil/liboildebug.c:
* liboil/liboildebug.h:
Change _oil_debug_print to oil_debug_print. Fixes #9494.
2006-12-31 David Schleef <ds@schleef.org>
* liboil/i386_amd64/mt19937.c:
amd64 fixes
2006-12-31 David Schleef <ds@schleef.org>
* liboil/i386/Makefile.am:
* liboil/i386/mt19937.c:
* liboil/i386_amd64/mt19937.c:
Convert to dual arch code.
2006-12-31 David Schleef <ds@schleef.org>
* liboil/ref/mt19937ar.c:
* liboil/liboilclasses.h:
* liboil/liboilfuncs-04.h:
* liboil/liboilfuncs.h:
* liboil/liboiltrampolines.c:
Add mt19937x8 class.
* liboil/i386/Makefile.am:
* liboil/i386/mt19937.c:
Implement in MMX and SSE
2006-12-13 David Schleef <ds@schleef.org>
* configure.ac:
* examples/Makefile.am:
* examples/audioresample/Makefile.am:
* examples/audioresample/buffer.c:
* examples/audioresample/buffer.h:
* examples/audioresample/functable.c:
* examples/audioresample/functable.h:
* examples/audioresample/resample-removed.c:
* examples/audioresample/resample.c:
* examples/audioresample/resample.h:
* examples/audioresample/resample_chunk.c:
* examples/audioresample/resample_functable.c:
* examples/audioresample/resample_ref.c:
* examples/audioresample/test_functable1.c:
Copied from elsewhere and hacked up.
2006-12-08 David Schleef <ds@schleef.org>
* liboil/Makefile.am: Disable sse directory until the stack
alignment problems get fixed.
2006-11-16 David Schleef <ds@schleef.org>
* examples/jpeg/Makefile.am:
* examples/jpeg/huffman.c:
* examples/jpeg/huffman.h:
* examples/jpeg/jpeg.c:
* examples/jpeg/jpeg_rgb_decoder.c:
* examples/jpeg/test.c:
* examples/jpeg/test_rgb.c:
Remove glibisms from jpeg code.
* configure.ac:
* examples/Makefile.am:
* examples/videoscale/Makefile.am:
* examples/videoscale/vs_4tap.c:
* examples/videoscale/vs_4tap.h:
* examples/videoscale/vs_image.c:
* examples/videoscale/vs_image.h:
* examples/videoscale/vs_scanline.c:
* examples/videoscale/vs_scanline.h:
Add videoscale code from gstreamer.
2006-11-05 David Schleef <ds@schleef.org>
* configure.ac:
version bump
* liboil/Makefile.am:
Don't dist created files.
=== 0.3.10 ===
2006-11-05 David Schleef <ds@schleef.org>
* liboil/liboilfunction.c: compile fix.
2006-11-05 David Schleef <ds@schleef.org>
* BUGS:
remove.
* BUG-REPORTING:
add.
* HACKING:
* Makefile.am:
* NEWS:
* README:
documentation fixes.
2006-11-05 David Schleef <ds@schleef.org>
* liboil/liboilcpu.c:
* liboil/liboilfunction.c:
Clean up some debugging.
2006-11-04 David Schleef <ds@schleef.org>
* liboil/Makefile.am: dist fix
* liboil/i386_amd64/resample.c: fix flags
* testsuite/mmx_engine.c: fix for pure mmx cpus
2006-11-04 David Schleef <ds@schleef.org>
* configure.ac:
* liboil/Makefile.am:
* liboil/amd64/Makefile.am:
* liboil/amd64/empty.c:
* liboil/i386/Makefile.am:
* liboil/i386/clamp.c:
* liboil/i386/idct8x8_i386.c:
* liboil/i386/mt19937.c:
* liboil/i386/resample.c:
* liboil/i386/sum.c:
* liboil/i386/swab.c:
* liboil/i386_amd64/Makefile.am:
* liboil/i386_amd64/clamp.c:
* liboil/i386_amd64/idct8x8_i386.c:
* liboil/i386_amd64/mt19937.c:
* liboil/i386_amd64/resample.c:
* liboil/i386_amd64/sum.c:
* liboil/i386_amd64/swab.c:
* testsuite/stack_align.c:
Move stuff from i386/ to i386_amd64/ that compiles on amd64
(along with a resample fix). Other random amd64 fixes.
2006-11-04 David Schleef <ds@schleef.org>
* testsuite/instruction/check-instructions.pl:
Add more instructions.
* liboil/i386/wavelet.c:
Fix flags.
2006-11-04 David Schleef <ds@schleef.org>
* liboil/i386/convert_i386.c:
Fix the mmx_2 impl.
* liboil/ref/wavelet.c:
Fix mas4_across and mas8_across testing function.
2006-11-04 David Schleef <ds@schleef.org>
* configure.ac: version bump
2006-11-04 David Schleef <ds@schleef.org>
* liboil/liboilcpu.c: Add NetBSD to known-good SSE kernels.
2006-10-28 David Schleef <ds@schleef.org>
* liboil/i386/Makefile.am:
* liboil/i386/wavelet.c:
* liboil/i386/convert_i386.c:
* liboil/liboilclasses.h:
* liboil/liboilfuncs-04.h:
* liboil/liboilfuncs.h:
* liboil/liboiltrampolines.c:
* liboil/ref/wavelet.c:
New classes plus MMX code. For Schrödinger.
* liboil/liboilprototype.c:
Add a useful error message.
2006-10-11 David Schleef <ds@schleef.org>
* liboil/i386/wavelet.c:
* liboil/liboilclasses.h:
* liboil/liboilfuncs-04.h:
* liboil/liboilfuncs.h:
* liboil/liboiltrampolines.c:
* liboil/ref/wavelet.c:
New classes plus MMX code. For Schrödinger.
2006-10-11 David Schleef <ds@schleef.org>
* liboil/i386/wavelet.c:
* liboil/liboilclasses.h:
* liboil/liboilfuncs-04.h:
* liboil/liboilfuncs.h:
* liboil/liboiltrampolines.c:
* liboil/ref/wavelet.c:
New classes plus MMX code. For Schrödinger.
2006-10-10 David Schleef <ds@schleef.org>
* liboil-uninstalled.pc.in:
* liboil.pc.in:
Spelling fix. Tee-hee.
* liboil/liboilclasses.h:
* liboil/liboilfuncs-04.h:
* liboil/liboilfuncs.h:
* liboil/liboilmarshal.c:
* liboil/liboiltrampolines.c:
* liboil/ref/wavelet.c:
Add some new classes.
2006-10-02 David Schleef <ds@schleef.org>
* configure.ac:
Bump the nano. Duh.
* liboil/i386/wavelet.c:
* liboil/ref/wavelet.c:
Change the mas functions to have 32-bit intermediates, since
that's necessary for Schroedinger.
* liboil/liboilcpu.c:
Fix a compile warning.
2006-10-02 David Schleef <ds@schleef.org>
* liboil/i386/wavelet.c:
Convert [de]interleave to new classes. Add mas impls.
* liboil/liboiltest.c:
* liboil/liboiltest.h:
Add some helper functions.
* liboil/ref/wavelet.c:
Add a test for mas classes.
2006-10-01 David Schleef <ds@schleef.org>
* examples/memcpy-speed.c:
Check read speed.
* liboil/ref/Makefile.am:
* liboil/ref/sum.c:
new class sum_s16.
* liboil/i386/Makefile.am:
* liboil/i386/sum.c:
* liboil/liboilclasses.h:
* liboil/liboilfuncs-04.h:
* liboil/liboilfuncs.h:
* liboil/liboiltrampolines.c:
update.
2006-09-28 David Schleef <ds@schleef.org>
* liboil/i386/resample.c:
Disable some (apparently) broken code.
* liboil/i386/wavelet.c:
Some MMX code.
* liboil/liboilclasses.h:
* liboil/liboilfuncs-04.h:
* liboil/liboilfuncs.h:
* liboil/liboiltrampolines.c:
updated for new classes.
* liboil/liboilparameter.h:
Export oil_param_from_string().
* liboil/liboilprototype.c:
* liboil/liboiltest.c:
Handle 'np2' notation.
* liboil/ref/rgb.c:
* liboil/ref/wavelet.c:
Fix a test bug, add some classes.
* testsuite/proto3.c:
Use oil_param_from_string() in library.
2006-07-06 David Schleef <ds@schleef.org>
* testsuite/Makefile.am:
* testsuite/stack_align.c:
Add test for calling functions with multiple stack alignments.
Only works on i386/amd64.
2006-07-04 David Schleef <ds@schleef.org>
* liboil/liboilcpu.c: Fix AMD64 cpu detection (again). Fixes
Debian #369315
2006-05-22 David Schleef <ds@schleef.org>
* liboil/powerpc/copy.c:
Fix a mistake in the fast path.
2006-05-22 David Schleef <ds@schleef.org>
* liboil/sse/multsum_sse.c: disable broken impl
2006-05-22 David Schleef <ds@schleef.org>
* configure.ac: version bump
2006-05-22 David Schleef <ds@schleef.org>
* liboil/i386/abs_i386.c:
* liboil/i386/error8x8_i386.c:
Change movsx opcodes to something more AT&T-like.
2006-05-22 David Schleef <ds@schleef.org>
* liboil/i386/diff8x8_i386.c: remove .rept macro, since it isn't
portable.
* liboil/i386/sad8x8_i386.c: same
2006-05-22 David Schleef <ds@schleef.org>
* liboil/c/composite.c:
* liboil/copy/copy.c:
* liboil/copy/copy8x8.c:
* liboil/copy/splat_ref.c:
Wrap a bunch of functions in HAVE_UNALIGNED_ACCESS to fix
alignment issues (Fixes: #6969)
2006-05-19 David Schleef <ds@schleef.org>
* liboil/deprecated/conv.c: Fix the test function on conv_ functions,
since it was testing convertion of negative numbers to unsigned
ints.
* liboil/ref/convert.c: same
2006-05-18 David Schleef <ds@schleef.org>
* m4/as-intrinsics.m4: Fix SSE2 check. (Fixes #6714)
2006-05-18 David Schleef <ds@schleef.org>
* liboil/liboilcpu.c: (oil_cpu_detect_arch): Oops, fix compile bug
from last checkin.
* liboil/simdpack/multsum.c: (multsum_f64_unroll8):
* liboil/sse/multsum_sse.c: New file.
* liboil/sse/Makefile.am:
Patch from Marcus Brubaker adding some multsum_f64 impls.
(Fixes #6957)
2006-05-18 David Schleef <ds@schleef.orog>
* configure.ac: Remove -O2
* liboil/liboilcpu.c: (oil_cpu_detect_arch): use __ppc__ and __PPC__
instead of __powerpc__, which is not supported on OS/X.
2006-05-04 David Schleef <ds@schleef.org>
* liboil/utf8/utf8_fast.c: Make some code dependent on unaligned
access.
2006-04-28 David Schleef <ds@schleef.org>
* liboil/i386/copy8x8_i386.c: Remove .balign directives
* liboil/i386/diff8x8_i386.c:
* liboil/i386/error8x8_i386.c:
* liboil/i386/fdct8x8theora_i386.c:
* liboil/i386/recon8x8_i386.c:
* liboil/i386/rowcolsad8x8_i386.c:
* liboil/i386/sad8x8_i386.c:
* liboil/i386/sad8x8avg_i386.c:
2006-04-21 David Schleef <ds@schleef.org>
* liboil/liboilcpu.c: attempt to make it compile on arm
2006-04-21 David Schleef <ds@schleef.org>
* Makefile.am:
* liboil/Makefile.am: dist various files
* liboil/liboildebug.c: debug fix
* liboil/liboilfunction.c: doc fix
* liboil/liboilcpu.c: move timestamp code here, since it depends
closely on the cpu detection code.
* liboil/liboilprofile.c:
2006-03-21 David Schleef <ds@schleef.org>
* configure.ac: version 0.3.8
* doc/tmpl/liboildebug.sgml: gtk-doc wanted to change these
* doc/tmpl/liboilimpl-unstable.sgml:
2006-03-21 David Schleef <ds@schleef.org>
* liboil/i386/wavelet.c: add mmx/mmxext flag to impls
2006-03-20 David Schleef <ds@schleef.org>
* examples/Makefile.am: add oil-bugreport
* examples/oil-bugreport.c:
* liboil/liboildebug.c:
2006-03-20 David Schleef <ds@schleef.org>
* liboil/fb/fbmmx.c: Disabling fbCompositeSolid_nx8888mmx().
I'm tired of it being randomly broken.
* liboil/liboilcpu.c: Changes some of the debug messages to
produce a coherent story at OIL_DEBUG=3.
* liboil/liboilfunction.c: same
2006-03-20 David Schleef <ds@schleef.org>
* liboil/liboilfunction.c: (oil_impl_is_runnable): Check if
impl is disabled.
2006-03-20 David Schleef <ds@schleef.org>
* liboil/Makefile.am: Disable fb/ if SSE2 instrinsics aren't
present. Rather harsh, but it's uncommon and people should
really be using a decent toolchain. (Fixes #6067)
2006-03-20 David Schleef <ds@schleef.org>
* liboil/i386/mt19937.c: Add MMXEXT flag to functions that
require it. (Fixes #6060)
2006-03-20 David Schleef <ds@schleef.org>
* liboil/liboilprofile.c: Detect what kind of ARM processor
is being run on and select the correct profile function.
(Fixes parts of #6077). Fix s390 assembly (fixes #5822)
2006-03-20 David Schleef <ds@schleef.org>
* liboil/liboilprofile.c: Fix misspelling of XScale profile
function (fixes #6076)
2006-03-04 David Schleef <ds@schleef.org>
* liboil/i386/Makefile.am:
* liboil/liboilclasses.h:
* liboil/liboilfuncs-04.h:
* liboil/liboilfuncs.h:
* liboil/liboilmarshal.c:
* liboil/liboiltrampolines.c:
* liboil/ref/Makefile.am:
Reenable wavelet code.
2006-02-18 Eric Anholt <anholt@FreeBSD.org>
* liboil/liboilcpu.c: (get_proc_cpuinfo), (oil_cpu_i386_getflags):
Disable linux-only code on non-linux to pacify Werror.
2006-02-15 David Schleef <ds@schleef.org>
* liboil/Makefile.am:
Require SSE2 intrinsics for sse/. It likely only affects gcc-3.3
although it should be fixed some day.
* liboil/i386/copy_i386.c:
Disable some code that's being bad.
* m4/as-intrinsics.m4:
Check for an intrinsic that's buggy in gcc-3.3.
2006-02-03 David Schleef <ds@schleef.org>
* liboil/conv/conv_bitstuff.c: Disable impl that is busted
on powerpc.
2006-02-03 David Schleef <ds@schleef.org>
* liboil/powerpc/conv.c: Fix compile failure on powerpc.
2006-02-02 David Schleef <ds@schleef.org>
* configure.ac: version bump
=== 0.3.7 ===
2006-02-02 David Schleef <ds@schleef.org>
* liboil/i386/wavelet.c:
* liboil/liboilclasses.h:
* liboil/liboilfuncs-04.h:
* liboil/liboilfuncs.h:
* liboil/liboilmarshal.c:
* liboil/liboiltrampolines.c:
* liboil/ref/Makefile.am:
* liboil/ref/wavelet.c:
Revert wavelet stuff for release.
* testsuite/instruction/list-impls.c:
Fixes for HAVE_arch macros from a few days ago.
2006-01-30 David Schleef <ds@schleef.org>
* testsuite/mmx_engine.c: Add SSE2
2006-01-30 David Schleef <ds@schleef.org>
* configure.ac:
* m4/as-host-defines.m4:
* liboil/Makefile.am:
* liboil/motovec/Makefile.am:
* doc/liboil-sections.txt:
* doc/tmpl/liboil-unused.sgml:
* doc/tmpl/liboilimpl-unstable.sgml:
* examples/oil-inspect.c:
* testsuite/instruction/Makefile.am:
Rewrite macros/defines for cpu selection. HAVE_${arch} is
the define for cpu architecture, HAVE_GCC_ASM is the define
for GCC inline assembly.
* liboil/liboilfunction.h:
Make implementation flags all part of the same enum, making
flags unique across all architectures. This makes it easier
to turn flags into feature names platform-independently.
* liboil/liboilclasses.h: update
* liboil/liboilfuncs-04.h:
* liboil/liboilfuncs.h:
* liboil/liboiltrampolines.c:
* liboil/liboilrandom.c: Fix documentation.
* liboil/liboiltest.c: same
* liboil/liboilrandom.h: remove config.h
* license_block: new year
* COPYING: Add copyright for mt19937
* examples/Makefile.am:
* examples/oil-mt19937.c:
* liboil/ref/Makefile.am:
* liboil/ref/mt19937ar.c:
* liboil/i386/Makefile.am:
* liboil/i386/mt19937.c:
Add mt19937 and example.
* testsuite/Makefile.am:
* testsuite/mmx_engine.c:
A little thingy for testing the features of an MMX engine.
2006-01-28 David Schleef <ds@schleef.org>
* liboil/i386/composite_i386.c:
* liboil/i386/resample.c:
Fixes for SSE2 code
2006-01-28 David Schleef <ds@schleef.org>
* liboil/i386/composite_i386.c:
* liboil/i386/copy_i386.c:
* liboil/i386/resample.c:
* testsuite/instruction/check-instructions.pl:
* testsuite/instruction/list-impls.c:
Fix the instruction lists in check-instructions.pl and fix
all the crap it found.
2006-01-28 David Schleef <ds@schleef.org>
* examples/oil-suggest.c: cleanup
* liboil/Makefile.am: clean liboil-stdint.h
* liboil/liboilclasses.h: add splat_u16_ns
* liboil/ref/splat.c: same
* liboil/liboilfuncs-04.h: same
* liboil/liboilfuncs.h: same
* liboil/liboiltrampolines.c: same
2006-01-20 David Schleef <ds@schleef.org>
* configure.ac: Add LIBOIL_OLD_MAJORMINOR
* liboil/Makefile.am: Use LIBOIL_OLD_MAJORMINOR and link liboiltmp.c
into liboiltmp, so that it doesn't have unresolved symbols.
* liboil/liboiltmp.c: new
2006-01-18 David Schleef <ds@schleef.org>
* liboil/ref/convert.c:
new classes
* liboil/sse/clamp_sse.c:
compile fix
2006-01-18 David Schleef <ds@schleef.org>
* liboil/ref/Makefile.am:
* liboil/ref/wavelet.c:
* liboil/c/Makefile.am:
* liboil/c/wavelet.c:
* liboil/i386/wavelet.c:
add some new wavelet code
* liboil/liboilclasses.h:
* liboil/liboilfuncs-04.h:
* liboil/liboilfuncs.h:
* liboil/liboilmarshal.c:
* liboil/liboiltrampolines.c:
updates
2006-01-06 David Schleef <ds@schleef.org>
* liboil/build_prototypes.c:
* liboil/build_prototypes_04.c:
* liboil/build_trampolines.c:
* liboil/liboilfunction.c:
Replace strdup() calls with a local function. Fixes #5515
2006-01-05 Eric Anholt <anholt@FreeBSD.org>
* liboil/jpeg/zigzag8x8_c.c: (unzigzag8x8_s16_unroll):
Add an unrolled unzigzag8x8_s16, just like zigzag8x8_s16 has.
Performance improvement is similar at over 6x.
2006-01-05 Eric Anholt <anholt@FreeBSD.org>
* liboil/math/Makefile.am:
Minor distcheck fix.
2006-01-05 David Schleef <ds@schleef.org>
* liboil/liboilcpu.c:
Fix a memleak if /proc/cpuinfo doesn't exist. (Fixes
#5513) Also fix an fd leak. Reenable SSE on OS's that
don't support it, since there's no SSE detection for
Windows, but Windows 2000+ does support it.
2005-12-27 David Schleef <ds@schleef.org>
* configure.ac:
If --enable-new-abi is selected, use 0.4
* liboil/Makefile.am:
* liboil/build_prototypes.c:
* liboil/build_prototypes_04.c:
* liboil/build_trampolines.c:
Misc changes for making it easy to switch betwen 0.3 and 0.4
ABIs.
* liboil/i386/Makefile.am:
* liboil/liboilfuncs-04.h:
* liboil/liboiltrampolines.c:
* liboil/simdpack/Makefile.am:
Disable impls for deprecated classes if --enable-new-abi is
used.
* liboil/deprecated/.cvsignore:
* liboil/deprecated/Makefile.am:
* liboil/deprecated/abs.c:
* liboil/deprecated/average2_u8.c:
* liboil/deprecated/clip_ref.c:
* liboil/deprecated/conv.c:
* liboil/deprecated/permute.c:
* liboil/deprecated/scalaradd.c:
* liboil/deprecated/scalarmult.c:
* liboil/deprecated/tablelookup.c:
* liboil/deprecated/vectoradd_f64.c:
* liboil/deprecated/vectoradd_s.c:
* liboil/ref/Makefile.am:
* liboil/ref/abs.c:
* liboil/ref/average2_u8.c:
* liboil/ref/clip_ref.c:
* liboil/ref/conv.c:
* liboil/ref/permute.c:
* liboil/ref/scalaradd.c:
* liboil/ref/scalarmult.c:
* liboil/ref/tablelookup.c:
* liboil/ref/vectoradd_f64.c:
* liboil/ref/vectoradd_s.c:
Move a bunch of reference functions because they're now
deprecated.
2005-12-26 Eric Anholt <anholt@FreeBSD.org>
* examples/.cvsignore:
* examples/Makefile.am:
* examples/printcpu.c: (string_append), (oil_cpu_flags_to_string),
(main):
Add an example program to pretty-print the set of cpu flags. To be used
by the tinderbox for reporting about the cpu it's running on.
2005-12-26 David Schleef <ds@schleef.org>
* liboil/c/Makefile.am:
* liboil/c/ag_clamp.c:
* liboil/c/generate_clamp.pl:
Some autogenerated C implementations for clamp.
* liboil/i386/Makefile.am:
* liboil/i386/clamp.c:
Some implementations.
* liboil/i386/conv_3dnow.c:
Disable a slightly broken impl.
* liboil/ref/clamp.c:
Fix some silliness in the prototypes for the clamp functions.
I'm surprised it even worked at all.
2005-12-25 David Schleef <ds@schleef.org>
* liboil/i386/Makefile.am: add resample.c
* liboil/i386/conv_3dnow.c: Fix impl
* liboil/i386/conv_sse.c: New impl
* liboil/i386/idct8x8_i386.c: disable impls
* liboil/i386/swab.c: fix impl
* liboil/i386/resample.c: new impls
* liboil/liboilclasses.h: update
* liboil/liboilfuncs.h: update
* liboil/liboilfunction.c: Call srand() at startup. At some
point, we need a self-contained random number generator.
* liboil/liboiltrampolines.c: update
* liboil/ref/resample.c: add new class: merge_linear_u8
* testsuite/instruction/check-instructions.pl: fix misspelling
2005-12-23 Eric Anholt <anholt@FreeBSD.org>
* liboil/i386/copy_i386.c: (copy_u8_i386_mmx),
(splat_u8_ns_i386_mmx):
* liboil/i386/splat_i386.c: (splat_u32_ns_i386_mmx):
* liboil/mmx/copy_mmx.c: (copy_u8_mmx), (copy_u8_mmx_unroll4):
* liboil/mmx/splat_mmx.c: (splat_u32_ns_mmx),
(splat_u32_ns_mmx_unroll4), (splat_u8_ns_mmx),
(splat_u8_ns_mmx_unroll4):
Rename some i386 mmx implementations to not collide with mmx intrinsics
implementations. And don't forget the _mm_empty()s in the new mmx code.
2005-12-23 Eric Anholt <anholt@FreeBSD.org>
* liboil/mmx/Makefile.am:
* liboil/mmx/copy_mmx.c: (copy_u8_mmx), (copy_u8_mmx_unroll4):
* liboil/sse/Makefile.am:
* liboil/sse/copy_sse.c: (copy_u8_sse), (copy_u8_sse_unroll2):
Add MMX/SSE2 copy implementations. MMX wins on my desktop, but I'm
leaving SSE2 in just in case (note: both of them beat out the previous
winner).
2005-12-23 Eric Anholt <anholt@FreeBSD.org>
* liboil/sse/Makefile.am:
Correct the splat_sse.c filename, which I botched at the last minute
while splitting up commits.
2005-12-23 Eric Anholt <anholt@FreeBSD.org>
* liboil/mmx/Makefile.am:
* liboil/mmx/splat_mmx.c: (splat_u32_ns_mmx),
(splat_u32_ns_mmx_unroll4), (splat_u8_ns_mmx),
(splat_u8_ns_mmx_unroll4):
* liboil/sse/Makefile.am:
* liboil/sse/splat_sse.c: (splat_u32_ns_sse),
(splat_u32_ns_sse_unroll2), (splat_u8_ns_sse),
(splat_u8_ns_sse_unroll2):
Add some MMX/SSE2 splat_ns implementations.
2005-12-23 Eric Anholt <anholt@FreeBSD.org>
* liboil/sse/clamp_sse.c: (clamp_u8_sse), (clamp_s16_sse),
(clamplow_u8_sse), (clamplow_s16_sse), (clamphigh_u8_sse),
(clamphigh_s16_sse):
Add a few more easy-to-write clamp implementations for SSE2.
2005-12-23 Eric Anholt <anholt@FreeBSD.org>
* liboil/sse/Makefile.am:
* liboil/sse/sad8x8_sse.c: (sad8x8_u8_sse):
Add an SSE2 sad8x8 implementation that's way faster than _ref.
2005-12-23 Eric Anholt <anholt@FreeBSD.org>
* liboil/i386/Makefile.am:
Disable fdct8x8theora_mmx, since it produces garbage results for me.
2005-12-23 Eric Anholt <anholt@FreeBSD.org>
* testsuite/Makefile.am:
Move list_impls to a noinst_PROGRAMS variable, so that it gets build
rules that give it the usual cflags, fixing the build here.
2005-12-23 Eric Anholt <anholt@FreeBSD.org>
* liboil/c/Makefile.am:
* liboil/c/composite.c: (composite_in_argb_fast),
(composite_in_argb_const_src_fast),
(composite_in_argb_const_mask_fast), (composite_over_argb_fast),
(composite_over_argb_const_src_fast), (composite_add_argb_fast),
(composite_add_argb_const_src_fast), (composite_in_over_argb_fast),
(composite_in_over_argb_const_src_fast),
(composite_in_over_argb_const_mask_fast), (composite_add_u8_fast),
(composite_add_u8_const_src_fast), (composite_over_u8_fast):
Add fast C implementations of composite classes, operating on two
channels at a time in a uint32_t. Inspired by fbpict.h's FbByte*
macros. oil-inspect says they generally take about 2/3 the cycles of
_ref.
2005-12-22 David Schleef <ds@schleef.org>
* liboil/mmx/Makefile.am:
* liboil/mmx/fbmmx.c:
Oops, duplicate of fb/fbmmx.c
2005-12-22 David Schleef <ds@schleef.org>
* .cvsignore:
* BUGS:
* doc/.cvsignore:
* liboil/mmx/Makefile.am:
* liboil/mmx/fbmmx.c:
* patches/divide.c:
* patches/nr_mmx_R8G8B8A8_P_EMPTY_A8_RGBAP.S:
* patches/nr_mmx_R8G8B8A8_P_R8G8B8A8_P_A8_RGBAP.S:
* patches/nr_mmx_R8G8B8A8_P_R8G8B8A8_P_R8G8B8A8_N_TRANSFORM.S:
* patches/nr_mmx_R8G8B8_R8G8B8_R8G8B8A8_P.S:
* patches/patch-small-lib-2:
* testsuite/Makefile.am:
* testsuite/list_impls.c:
Clean up local source tree. Put spare files in the place where
spare files go.
2005-12-22 David Schleef <ds@schleef.org>
* doc/tmpl/liboil-unused.sgml:
* doc/tmpl/liboilprofile.sgml:
* liboil/liboilfunction.c: init_no_optimize() should agree with
oil_init() that the library has been initialized. Also stop
using oil_profile_stamp_gtod()
* liboil/liboilprofile.c:
* liboil/liboilprofile.h: Move all the inline profile functions
to liboilprofile.c. Remove oil_profile_stamp_gtod(). Also
fix the s390 timestamp function.
* liboil/copy/splat_ref.c: More impls.
* liboil/i386/copy_i386.c: More impls.
2005-12-22 David Schleef <ds@schleef.org>
* examples/jpeg/jpeg_rgb_decoder.c: Use new colorspace_argb
class.
* liboil/colorspace/Makefile.am: remove ayuv2argb.c (broken)
* liboil/colorspace/ayuv2argb.c: remove (broken)
* liboil/i386/ayuv2argb_i386.c: remove broken impls, add mmx
for colorspace_argb
* liboil/jpeg/yuv2rgb_c.c: disable broken impls
* liboil/liboilclasses.h: new class
* liboil/liboilfuncs.h: new class
* liboil/liboiltrampolines.c: new class
* liboil/ref/ayuv2argb.c: add colorspace_argb reference
2005-12-21 Eric Anholt <anholt@FreeBSD.org>
* liboil/sse/composite_sse.c: (composite_add_u8_sse),
(composite_add_u8_const_src_sse):
Don't forget to increment the source pointer in composite_add_u8_sse,
and also be careful about getting some types promoted, to prevent
overflow. Fixes testsuite errors.
2005-12-21 Eric Anholt <anholt@FreeBSD.org>
* liboil/utf8/utf8_fast.c: (utf8_validate_fast2),
(utf8_validate_fast3), (utf8_validate_lookup):
Check for overflows in fast utf8 functions where truncated wide
characters would result in reads past the end of the buffer. Fixes
testsuite failures.
2005-12-20 Eric Anholt <anholt@FreeBSD.org>
* liboil/i386/recon8x8_i386.c: (recon8x8_intra_i386_mmx),
(recon8x8_inter_i386_mmx), (recon8x8_inter2_i386_mmx):
* liboil/mmx/Makefile.am:
* liboil/mmx/recon8x8_mmx.c: (recon8x8_intra_mmx),
(recon8x8_inter_mmx), (recon8x8_inter2_mmx):
Add a set of MMX-intrinsics implementations of recon8x8_*. Disable the
two i386 recon8x8_inter* implementations that didn't respect the
strides.
2005-12-21 David Schleef <ds@schleef.org>
* m4/as-unaligned-access.m4: New macro.
2005-12-21 David Schleef <ds@schleef.org>
* configure.ac: Check whether we can do unaligned access.
* liboil/c/Makefile.am: Add copy.c
* liboil/c/copy.c: Some impls
* liboil/i386/Makefile.am: add swab.c
* liboil/i386/swab.c: Add some swabbing code. asm, MMX, SSE2.
* liboil/i386/error8x8_i386.c: Fix impl. pavgb sucks.
* liboil/i386/sad8x8avg_i386.c: same
* liboil/ref/copy.c: fix doc
* liboil/ref/swab.c: Doh! stupid mistake in reference function
* liboil/c/swab.c: same
2005-12-21 David Schleef <ds@schleef.org>
* liboil/dct/idct8x8theora_ref.c: Fix stupid bug in reference
implementation.
2005-12-20 David Schleef <ds@schleef.org>
* examples/oil-test.c: Print out the correct values for
the test results.
2005-12-20 David Schleef <ds@schleef.org>
* liboil/dct/idct8x8_c.c: Add a test function.
* liboil/i386/fdct8x8theora_i386.c: Compile fix on gcc-4.1.
* liboil/liboilfunction.h: wrap a macro arg in ()
* liboil/liboiltest.c: Doh! Maybe we should compare values
in the actual data region rather than the header. This
shows lots of additional breakage.
2005-12-20 Eric Anholt <anholt@FreeBSD.org>
* liboil/sse/Makefile.am:
* liboil/sse/composite_sse.c: (composite_add_argb_sse),
(composite_add_argb_const_src_sse), (composite_add_u8_sse),
(composite_add_u8_const_src_sse):
* liboil/sse/composite_sse_2pix.c: (argb_A_sse2),
(muldiv_255_sse2), (negate_argb_sse2), (load_argb_sse2),
(set1_argb_sse2), (load_u8_mask), (set1_u8_mask),
(store_argb_sse2), (over_argb_sse2), (composite_in_argb_sse_2pix),
(composite_in_argb_const_src_sse_2pix),
(composite_in_argb_const_mask_sse_2pix),
(composite_over_argb_sse_2pix),
(composite_over_argb_const_src_sse_2pix),
(composite_in_over_argb_sse_2pix),
(composite_in_over_argb_const_src_sse_2pix),
(composite_in_over_argb_const_mask_sse_2pix),
(composite_over_u8_sse_2pix):
* liboil/sse/composite_sse_4pix.c: (argb_A_sse2),
(inner_muldiv_255_sse2), (muldiv_255_sse2), (negate_argb_sse2),
(load_argb_sse2), (set1_argb_sse2), (load_u8_mask), (set1_u8_mask),
(store_argb_sse2), (over_argb_sse2), (composite_in_argb_sse),
(composite_in_argb_const_src_sse),
(composite_in_argb_const_mask_sse), (composite_over_argb_sse),
(composite_over_argb_const_src_sse), (composite_in_over_argb_sse),
(composite_in_over_argb_const_src_sse),
(composite_in_over_argb_const_mask_sse), (composite_over_u8_sse):
Add more SSE2-intrinsics composite code. There are actually 2 copies,
unless we can figure out if 2pix is always slower. The 4pix version
operates on registers with 4 packed pixels, and does unpacking for the
purposes of the muldiv stage. On the other hand, the 2pix version works
on registers containing 2 unpacked pixels. Speeds are similar, and
generally around 25 to 50% the ticks of _ref, according to oil-inspect.
It's not very pretty code, but I've been staring at it for too long and
want to get it committed.
2005-12-19 Eric Anholt <anholt@FreeBSD.org>
* liboil/sse/Makefile.am:
Add an SSE2 implementation of composite_add_u8_const_src.
2005-12-19 Eric Anholt <anholt@FreeBSD.org>
* liboil/Makefile.am:
Enable building of mmx intrinsics code on amd64.
2005-12-19 Eric Anholt <anholt@FreeBSD.org>
* liboil/liboilclasses.h:
* liboil/liboilfuncs.h:
* liboil/liboilmarshal.c: (_oil_test_marshal_function):
* liboil/liboiltrampolines.c: (oil_clamp_f32), (oil_clamp_f64),
(oil_clamp_s16), (oil_clamp_s32), (oil_clamp_s8), (oil_clamp_u16),
(oil_clamp_u32), (oil_clamp_u8), (oil_clamphigh_f32),
(oil_clamphigh_f64), (oil_clamphigh_s16), (oil_clamphigh_s32),
(oil_clamphigh_s8), (oil_clamphigh_u16), (oil_clamphigh_u32),
(oil_clamphigh_u8), (oil_clamplow_f32), (oil_clamplow_f64),
(oil_clamplow_s16), (oil_clamplow_s32), (oil_clamplow_s8),
(oil_clamplow_u16), (oil_clamplow_u32), (oil_clamplow_u8):
* liboil/ref/Makefile.am:
* liboil/ref/clamp.c:
* liboil/sse/Makefile.am:
* liboil/sse/clamp_sse.c: (clamp_f32_sse), (clamp_f64_sse),
(clamplow_f32_sse), (clamplow_f64_sse), (clamphigh_f32_sse),
(clamphigh_f64_sse):
Add a ref and sse implementation of a new group of "clamp" functions.
They behave like clip, but unstrided, and renamed to something people
might expect more than "clip". Also offered are clamplow/high, which
perform clamping on only one side. SSE implementations are about half
the ticks of the ref funtions on this amd64.
2005-12-19 Eric Anholt <anholt@FreeBSD.org>
* liboil/Makefile.am:
* liboil/liboilclasses.h:
* liboil/liboilfuncs.h:
* liboil/liboiltrampolines.c: (oil_composite_add_u8_const_src):
* liboil/mmx/.cvsignore:
* liboil/mmx/Makefile.am:
* liboil/mmx/composite_mmx.c: (composite_add_u8_const_src_mmx):
* liboil/ref/composite.c: (composite_add_u8_const_src_ref):
Add a ref and mmx implementation of composite_add_u8_const_src, like
composite_add_argb_const_src. This may prove useful for trapezoid
rasterization in cairo.
2005-12-19 David Schleef <ds@schleef.org>
* doc/Makefile.am:
* doc/liboil-sections.txt:
* doc/tmpl/liboil-unused.sgml:
* doc/tmpl/liboilfuncs-copy.sgml:
* doc/tmpl/liboilparameter.sgml:
* doc/tmpl/liboilprototype.sgml:
* doc/tmpl/liboilrandom.sgml:
* doc/tmpl/liboiltest.sgml:
* doc/tmpl/liboiltypes.sgml:
Documentation updates.
* examples/Makefile.am:
* examples/oil-test.c: Add an -n option and fix printing u8.
* examples/oil-suggest.c: A proggy for recommending stuff to
work on.
* examples/taylor/example1.c: Random minor changes.
* liboil/conv/conv_c.c: Disable lrint stuff for u32, because it
can't possibly work.
* liboil/i386/conv_3dnow.c: (conv_s32_f32_3dnow): Fix.
* liboil/i386/md5_i386.c: (md5_asm1), (md5_asm2): Fix.
* liboil/liboilparameter.h: Add oil_type_is_floating_point();
* liboil/liboiltest.c: Add OilTest::tolerance for setting the
tolerance on dest arrays.
* liboil/liboiltest.h:
* liboil/ref/conv.c: (conv_test): Implement a test function for
floating point to integer conversions (to test the entire range).
* testsuite/align.c: (check_class_with_alignment), (check_class):
Rearrange some code here and rely on the internal testing stuff
to work.
* testsuite/n_impls.c: (oil_class_get_n_impls), (main): New test
to make sure we don't accidentally delete implementations between
versions.
2005-12-18 David Schleef <ds@schleef.org>
* liboil/utf8/utf8.c: (utf8_validate_test), (utf8_validate_ref):
* liboil/utf8/utf8_fast.c: (utf8_validate_fast),
(utf8_validate_fast2), (utf8_validate_fast3),
(utf8_validate_lookup):
Some utf8 hacking. At least it works now.
2005-12-17 David Schleef <ds@schleef.org>
* liboil/liboilparameter.h:
* liboil/liboilprototype.c: (oil_param_get_source_data):
* liboil/liboiltest.c: (oil_test_get_value):
* liboil/liboiltest.h:
New functions for getting values common in test setup functions.
* liboil/dct/idct8x8theora_ref.c:
* liboil/ref/clip_ref.c:
* liboil/ref/composite.c:
* liboil/ref/permute.c:
* liboil/ref/resample.c:
* liboil/utf8/utf8.c:
Use new functions.
2005-12-17 David Schleef <ds@schleef.org>
* liboil/Makefile.am: Add librandom.c
* liboil/liboilcolorspace.h:
* liboil/liboilrandom.c: Some C code to write arrays of random
numbers.
* liboil/liboilrandom.h: Add prototypes from above, remove a
bunch of macros that aren't used.
* liboil/liboiltest.c: Use array functions instead of macros.
* liboil/liboiltest.h: Add oil_test_get_source_data()
* liboil/liboiltypes.h: Add 64-bit types.
* liboil/i386/composite_i386.c: Add simple mmx implementations
for all the composite functions.
2005-12-16 David Schleef <ds@schleef.org>
* liboil/conv/conv_bitstuff.c:
* liboil/conv/conv_c.c:
* liboil/conv/conv_misc.c:
* liboil/copy/copy.c:
* liboil/copy/copy8x8.c:
* liboil/copy/splat_ref.c:
* liboil/copy/trans8x8_c.c:
* liboil/dct/dct12_f32.c:
* liboil/dct/dct36_f32.c:
* liboil/dct/fdct8_f64.c:
* liboil/dct/fdct8x8_f64.c:
* liboil/dct/fdct8x8s_s16.c:
* liboil/dct/fdct8x8theora.c:
* liboil/dct/idct8_f64.c:
* liboil/dct/idct8x8_c.c:
* liboil/dct/idct8x8theora_ref.c:
* liboil/dct/imdct32_f32.c:
Put const in all the right places in implementation prototypes.
2005-12-15 David Schleef <ds@schleef.org>
* liboil/c/swab.c: swabbing functions
* liboil/liboilclasses.h:
* liboil/liboilfuncs.h:
* liboil/ref/copy.c: some new classes.
2005-12-15 David Schleef <ds@schleef.org>
* doc/liboil-sections.txt:
* doc/tmpl/liboil-unused.sgml:
* doc/tmpl/liboiltypes.sgml:
* liboil/conv/conv_c.c:
* liboil/liboilprototype.c:
* liboil/liboiltypes.h:
* liboil/ref/clip_ref.c:
* liboil/ref/conv.c:
* liboil/ref/multsum.c:
* liboil/ref/permute.c:
* liboil/ref/scalaradd.c:
* liboil/ref/scalarmult.c:
* liboil/ref/trans8x8.c:
* liboil/ref/vectoradd_f64.c:
* liboil/ref/vectoradd_s.c:
* liboil/simdpack/scalaradd.c:
* liboil/simdpack/scalarmult.c:
Global change from type_* to oil_type_*
2005-12-15 Eric Anholt <anholt@FreeBSD.org>
* liboil/jpeg/zigzag8x8_c.c: (zigzag8x8_s16_unroll):
* testsuite/Makefile.am:
Fix an issue in the unrolled zigzag function where the src and dst
offsets were swapped. Add a testsuite entry to check that the process
of zigzagging and unzigzagging results in the original data.
2005-12-15 Eric Anholt <anholt@FreeBSD.org>
* liboil/fb/fbmmx.c: (pix_multiply):
Fix an off-by-one reported by the align test (reported as a much larger
error, since the pixels get represented as ints) by fixing an ordering
issue of instructions in the rounding code. This is also reflected in
current upstream sources.
2005-12-15 David Schleef <ds@schleef.org>
* liboil/liboilcolorspace.h: Fix doc on oil_divide_255().
2005-12-15 David Schleef <ds@schleef.org>
* configure.ac:
* liboil/Makefile.am:
* liboil/build_prototypes.c:
* liboil/build_trampolines.c:
* liboil/liboiltrampolines.c:
Add a configure option --enable-new-abi, which compiles liboil
with an experimental (and incompatible) ABI. You need to run
'make; make update; make' to get it to build correctly, and
remember to not check in the files autogenerated for the new
ABI.
2005-12-15 David Schleef <ds@schleef.org>
* liboil/Makefile.am:
* liboil/build_trampolines.c:
* liboil/liboilprototype.c:
* liboil/liboilprototype.h:
* liboil/liboiltrampolines.c:
Some C code to generate trampolines for every class in C. For
possible use in the 0.4 ABI.
2005-12-15 David Schleef <ds@schleef.org>
* liboil/sse/Makefile.am:
* liboil/sse/conv_sse.c: Remove this, since I'm not sure of its
provenance and a bug (GNOME #324069) complained it's broken.
2005-12-14 Eric Anholt <anholt@FreeBSD.org>
* liboil/sse/math_sse.c: (scalaradd_f32_ns_sse),
(scalarmultiply_f32_ns_sse):
* liboil/sse/math_sse_unroll2.c: (scalaradd_f32_ns_sse_unroll2),
(scalarmultiply_f32_ns_sse_unroll2):
Use _mm_load_ps1 to avoid manually expanding the constant fp value into
a temporary array and doing _mm_loadu_ps. The resulting assembly also
looks a decent bit better. Suggested by Stephane Fillod.
2005-12-14 Eric Anholt <anholt@FreeBSD.org>
* liboil/Makefile.am:
* liboil/amd64/Makefile.am:
* liboil/amd64/scalarmult_amd64.c:
* liboil/dct/idct8x8theora_ref.c: (idct8theora_s16_test),
(idct8x8theora_s16_test):
* liboil/i386/Makefile.am:
* liboil/i386/scalarmult_i386.c:
* liboil/liboilparameter.h:
* liboil/liboiltest.c: (oil_test_new), (oil_test_set_test_header),
(oil_test_set_test_footer), (oil_test_check_function),
(oil_test_check_impl), (init_parameter):
* liboil/liboiltest.h:
* liboil/ref/clip_ref.c:
* liboil/ref/composite.c: (composite_test):
* liboil/ref/permute.c: (permute_test):
* liboil/ref/resample.c: (resample_linear_u8_test),
(resample_linear_argb_test), (merge_linear_argb_test):
* liboil/utf8/utf8.c: (utf8_validate_test):
* testsuite/.cvsignore:
* testsuite/Makefile.am:
* testsuite/align.c: (dump_array), (dump_source), (dump_dest_ref),
(test_difference), (check_test), (check_class), (main):
Make the guard header/footer size configurable at test runtime. Use
this to make a test of implementation invariance with respect to the
alignment of arguments (offsetting arguments by 0 to 3 times the size of
their type). The align test also varies the length of arguments, to
catch issues with fixups at the end of unrolled loops. Note that its
tests of the results are stricter than oil's internal tests, resulting
in some failures due to accuracy, that should probably be examined.
Remove scalarmult_f32_sse which is hopelessly broken (and when fixed,
is much slower than ref).
2005-12-14 Eric Anholt <anholt@FreeBSD.org>
* liboil/fb/fbmmx.c: (store8888), (fbCompositeSolid_nx8888mmx):
Fix a write past the end of the buffer when doing a short alignment
fixup or odd-length fixup in fbCompositeSolid_nx8888mmx. Probably saves
some work, as well.
2005-12-14 Eric Anholt <anholt@FreeBSD.org>
* liboil/utf8/utf8_fast.c: (utf8_validate_fast):
For (n % 4) != 0, utf8_validate_fast would read up to 3 bytes beyond the
end of the buffer and could return a value greater than n if the bytes
read happened to not have their highest bits set.
2005-12-13 Eric Anholt <anholt@FreeBSD.org>
* liboil/amd64/Makefile.am:
* liboil/amd64/math_amd64.c:
* liboil/sse/math_sse.c: (add_f32_sse), (subtract_f32_sse),
(multiply_f32_sse), (divide_f32_sse), (minimum_f32_sse),
(maximum_f32_sse), (inverse_f32_sse), (negative_f32_sse),
(scalaradd_f32_ns_sse), (scalarmultiply_f32_ns_sse):
* liboil/sse/math_sse_unroll2.c: (add_f32_sse_unroll2),
(subtract_f32_sse_unroll2), (multiply_f32_sse_unroll2),
(divide_f32_sse_unroll2), (minimum_f32_sse_unroll2),
(maximum_f32_sse_unroll2), (inverse_f32_sse_unroll2),
(negative_f32_sse_unroll2), (scalaradd_f32_ns_sse_unroll2),
(scalarmultiply_f32_ns_sse_unroll2):
Fix SSE intrinsics code in the presence of un-SSE-alignment of the dest
pointer, detected by hardcoding a new value of OIL_TEST_HEADER. Remove
the AMD64 SSE inline asm code for being broken in the same way but not
caring enough to fix it (inline asm version might be useful for older
GCC on i386, but probably not on amd64 where we'll have intrinsics).
2005-12-13 Eric Anholt <anholt@FreeBSD.org>
* liboil/simdpack/multsum.c: (multsum_f32_unroll2):
Implement multsum_f32_unroll2 as I think it was meant to be implemented
(previous implementation looked bogus). Fixes a make check failure
for me.
2005-12-12 Eric Anholt <anholt@FreeBSD.org>
* liboil/amd64/math_amd64.c: (add_f32_amd64), (subtract_f32_amd64),
(multiply_f32_amd64), (divide_f32_amd64), (negative_f32_amd64),
(scalaradd_f32_ns_amd64), (scalarmultiply_f32_ns_amd64):
* liboil/sse/Makefile.am:
* liboil/sse/math_sse.c: (add_f32_sse), (subtract_f32_sse),
(multiply_f32_sse), (divide_f32_sse), (minimum_f32_sse),
(maximum_f32_sse), (inverse_f32_sse), (negative_f32_sse),
(scalaradd_f32_ns_sse), (scalarmultiply_f32_ns_sse):
* liboil/sse/math_sse_unroll2.c: (add_f32_sse_unroll2),
(subtract_f32_sse_unroll2), (multiply_f32_sse_unroll2),
(divide_f32_sse_unroll2), (minimum_f32_sse_unroll2),
(maximum_f32_sse_unroll2), (inverse_f32_sse_unroll2),
(negative_f32_sse_unroll2), (scalaradd_f32_ns_sse_unroll2),
(scalarmultiply_f32_ns_sse_unroll2):
* testsuite/.cvsignore:
* testsuite/Makefile.am:
* testsuite/math.c: (dump_array), (dump_source), (test_difference),
(check_test), (check_class), (main):
Add SSE intrinsics code doing what math_amd64.c does, but working for
both amd64 and i386, and with a couple more functions. Performance is
generally equivalent to math_amd64.c but better in some cases. Renames
math_amd64.c functions to avoid clashes with intrinsics code. Also add
an unrolled-once version of this code that's around a 2-10% improvement
in the tests I've done with oil-test.
2005-12-12 David Schleef <ds@schleef.org>
* liboil/liboilcpu.c: (get_cpuid): Revert the broken change to
i386 cpu detection. (oops)
2005-12-12 Eric Anholt <anholt@FreeBSD.org>
* liboil/amd64/math_amd64.c:
Note: New code doesn't work well if you leave in the #if 0 you used for
turning it off for final performance tests.
2005-12-12 Eric Anholt <anholt@FreeBSD.org>
* configure.ac:
* liboil/Makefile.am:
* liboil/amd64/Makefile.am:
* liboil/amd64/math_amd64.c: (add_f32_sse), (subtract_f32_sse),
(multiply_f32_sse), (divide_f32_sse), (negative_f32_sse),
(scalaradd_f32_ns_sse), (scalarmultiply_f32_ns_sse):
* liboil/amd64/scalarmult_amd64.c: (scalarmult_f32_sse):
* liboil/liboilcpu.c: (get_cpuid),
(oil_cpu_i386_kernel_restrict_flags), (_oil_cpu_init):
Add support for detecting amd64 capabilities, and add the existing SSE
intrinsics and fbmmx code for it. Add a set of simple math
implementations using SSE that could use some tuning, but have provided
my app a 10.5% +/- 1.0% performance improvement in the case I'm testing.
2005-12-10 David Schleef <ds@schleef.org>
* m4/ax_create_stdint_h.m4: New macro.
2005-12-10 David Schleef <ds@schleef.org>
* liboil/Makefile.am:
* liboil/liboil.h:
* liboil/liboilgcc.h:
* liboil/liboilprofile.h:
* liboil/liboiltypes.h:
Use generated stdint.h file.
2005-12-09 David Schleef <ds@schleef.org>
* configure.ac:
* examples/oil-test.c: (dump_array), (help), (main):
* m4/pkg.m4:
Check for inttypes.h header. Use PRIx8 and friends in
oil-test.c to print stuff correctly on 64-bit platforms.
Also add new -x option to print in hex. (Fixes: #5042)
2005-12-06 David Schleef <ds@schleef.org>
* liboil/fb/fbmmx.c:
* liboil/sse/conv_sse.c: (conv_f32_s32_sse): And make sure that
it works with gcc.
2005-12-06 David Schleef <ds@schleef.org>
* liboil/fb/fbmmx.c:
* liboil/sse/conv_sse.c: Compilation fixes for icc. configure
still thinks it's ok to use -Werror with icc, which is a
problem, so turn it off manually.
2005-12-06 David Schleef <ds@schleef.org>
* liboil/c/swab.c: Disable the i386 asm, 'cuz it's in the
wrong place.
2005-12-04 David Schleef <ds@schleef.org>
* liboil/Makefile.am: Fix build dependencies for update target
(Fixes: #5121)
2005-12-04 David Schleef <ds@schleef.org>
* testsuite/stride.c: (main): Fix crash with -v. (Fixes: #5162)
2005-12-04 David Schleef <ds@schleef.org>
* configure.ac:
* m4/as-gcc-inline-assembly.m4:
* liboil/powerpc/clip.c:
* liboil/powerpc/conv.c:
Add HAVE_GCC_ASM_POWERPC_FPU and use it if -fsoft-float is
specified.
2005-12-04 David Schleef <ds@schleef.org>
* liboil/Makefile.am:
* liboil/c/Makefile.am:
* liboil/c/swab.c:
* liboil/liboilclasses.h:
* liboil/liboilfuncs.h:
* liboil/ref/Makefile.am:
* liboil/ref/swab.c: (swab_u16_ref), (swab_u32_ref):
Add swabbing functions.
2005-12-04 David Schleef <ds@schleef.org>
* doc/Makefile.am:
Add a sync target to encourage me to upload docs.
* examples/Makefile.am:
* examples/oil-graph.c: (test), (main):
New program to print out time v. N results easily graphable.
* liboil/liboilfunction.c: (oil_class_optimize):
* liboil/liboiltest.c: (oil_test_check_function),
(oil_test_check_impl):
* liboil/liboiltest.h:
Add ave/std members to OilProfile and use them.
* liboil/fb/fbmmx.c:
This requires MMXEXT.
* testsuite/instruction/check-instructions.pl:
Fix regexp.
* testsuite/instruction/list-impls.c: (main):
Architecture test switched to HAVE_GCC_I386.
2005-11-30 David Schleef <ds@schleef.org>
* doc/liboil-sections.txt:
* doc/tmpl/liboilfuncs-math.sgml:
* liboil/liboilclasses.h:
* liboil/liboilfuncs.h:
* liboil/ref/squaresum_f64.c: (squaresum_shifted_s16_ref):
New class for thomasvs.
2005-11-23 David Schleef <ds@schleef.org>
* configure.ac:
* liboil/3dnow/Makefile.am:
* liboil/Makefile.am:
* liboil/c/Makefile.am:
* liboil/mmx/Makefile.am:
2005-11-18 David Schleef <ds@schleef.org>
* liboil/math/Makefile.am: Autogenerated implementations. Doesn't
get better than this!
* liboil/math/ag_math.c:
* liboil/math/generate_math.pl:
* liboil/math/math.c:
2005-11-16 David Schleef <ds@schleef.org>
* liboil/copy/copy.c: (copy_u8_llints), (copy_u8_llints_duff):
* liboil/copy/copy8x8.c: (copy8x8_u8_ints_unrolled):
Some implementations from Adam Moss
2005-11-14 David Schleef <ds@schleef.org>
* configure.ac: return version to nano=1
=== 0.3.5 ===
2005-11-14 David Schleef <ds@schleef.org>
* configure.ac: version bump
2005-11-13 David Schleef <ds@schleef.org>
* doc/tmpl/conv.sgml: Remove old template files.
* doc/tmpl/convert.sgml:
* doc/tmpl/dct.sgml:
* doc/tmpl/jpeg.sgml:
* doc/tmpl/liboilgcc.sgml:
* doc/tmpl/md5.sgml:
* doc/tmpl/simdpack.sgml:
* doc/tmpl/utf8.sgml:
2005-11-13 David Schleef <ds@schleef.org>
* doc/liboil-docs.sgml: Clean up documentation, document
remaining functions. Up to 96% coverage, woohoo!
* doc/liboil-overrides.txt:
* doc/liboil-sections.txt:
* doc/tmpl/liboil-unused.sgml:
* doc/tmpl/liboilclass-unstable.sgml:
* doc/tmpl/liboildebug.sgml:
* doc/tmpl/liboilfunction.sgml:
* doc/tmpl/liboilimpl-unstable.sgml:
* doc/tmpl/liboilinit-unstable.sgml:
* doc/tmpl/liboilinit.sgml:
* doc/tmpl/liboiljunk.sgml:
* doc/tmpl/liboilmacros.sgml:
* doc/tmpl/liboilparameter.sgml:
* doc/tmpl/liboilprofile.sgml:
* doc/tmpl/liboilprototype.sgml:
* doc/tmpl/liboilrandom.sgml:
* doc/tmpl/liboiltest.sgml:
* doc/tmpl/liboiltypes.sgml:
* liboil/liboil.h:
* liboil/liboildebug.h:
* liboil/liboilfunction.c:
* liboil/liboilfunction.h:
* liboil/liboilprofile.h:
* liboil/liboiltest.h:
* liboil/liboiltypes.h:
2005-11-13 David Schleef <ds@schleef.org>
* doc/liboil-sections.txt: Clean up documentation.
* doc/tmpl/liboil.sgml:
* doc/tmpl/liboilcpu.sgml:
* doc/tmpl/liboildebug.sgml:
* doc/tmpl/liboilfuncs-conv.sgml:
* doc/tmpl/liboilfuncs-copy.sgml:
* doc/tmpl/liboilfuncs-dct.sgml:
* doc/tmpl/liboilfuncs-doc.sgml:
* doc/tmpl/liboilfuncs-math.sgml:
* doc/tmpl/liboilfuncs-math8x8.sgml:
* doc/tmpl/liboilfuncs-pixel.sgml:
* doc/tmpl/liboilfunction.sgml:
* doc/tmpl/liboilparameter.sgml:
* doc/tmpl/liboilprofile.sgml:
* doc/tmpl/liboilprototype.sgml:
* doc/tmpl/liboilrandom.sgml:
* doc/tmpl/liboiltest.sgml:
* doc/tmpl/liboiltypes.sgml:
* liboil/dct/fdct8x8s_s16.c:
* liboil/dct/idct8x8_c.c:
* liboil/liboilcpu.c:
* liboil/liboildebug.c:
* liboil/liboildebug.h:
* liboil/liboilfunction.c:
* liboil/liboilfunction.h:
* liboil/liboilprofile.c:
* liboil/liboilprofile.h:
* liboil/liboilprototype.c:
* liboil/liboilrandom.h:
* liboil/liboiltest.c:
* liboil/ref/clip_ref.c:
* liboil/ref/composite.c:
* liboil/ref/conv.c:
* liboil/ref/copy.c:
* liboil/ref/generate-conv:
* liboil/ref/math.c:
2005-11-13 David Schleef <ds@schleef.org>
* doc/Makefile.am: Write a little bit of documentation.
* doc/liboil-overrides.txt:
* doc/liboil-sections.txt:
* doc/tmpl/liboil-unused.sgml:
* doc/tmpl/liboil.sgml:
* doc/tmpl/liboilfuncs-conv.sgml:
* doc/tmpl/liboilfuncs-copy.sgml:
* doc/tmpl/liboilfuncs-dct.sgml:
* doc/tmpl/liboilfuncs-doc.sgml:
* doc/tmpl/liboilfuncs-math.sgml:
* doc/tmpl/liboilfuncs-math8x8.sgml:
* doc/tmpl/liboilfuncs-pixel.sgml:
* doc/tmpl/liboilfunction.sgml:
* doc/tmpl/liboilparameter.sgml:
* doc/tmpl/liboilprofile.sgml:
* doc/tmpl/liboiltest.sgml:
* doc/tmpl/liboiltypes.sgml:
* liboil/dct/dct12_f32.c:
* liboil/dct/dct36_f32.c:
* liboil/dct/fdct8_f64.c:
* liboil/dct/fdct8x8_f64.c:
* liboil/dct/fdct8x8s_s16.c:
* liboil/dct/fdct8x8theora.c:
* liboil/dct/idct8_f64.c:
* liboil/dct/idct8x8_c.c:
* liboil/dct/idct8x8theora_ref.c:
* liboil/dct/imdct32_f32.c:
* liboil/jpeg/convert8x8_c.c:
* liboil/jpeg/jpeg_rgb_decoder.c:
* liboil/jpeg/quantize8x8_c.c:
* liboil/jpeg/zigzag8x8_c.c:
* liboil/liboilclasses.h:
* liboil/liboilcolorspace.h:
* liboil/liboilcpu.c: (oil_cpu_fault_check_enable):
* liboil/liboildebug.c:
* liboil/liboildebug.h:
* liboil/liboilfuncs.h:
* liboil/liboilfunction.c:
* liboil/liboilfunction.h:
* liboil/liboilparameter.h:
* liboil/liboilprofile.c:
* liboil/liboilprofile.h:
* liboil/liboilprototype.c: (oil_prototype_to_string),
(oil_prototype_from_string):
* liboil/liboilprototype.h:
* liboil/liboilrandom.h:
* liboil/liboiltest.c:
* liboil/liboiltest.h:
* liboil/liboiltypes.h:
* liboil/md5/md5.c:
* liboil/null.c:
* liboil/ref/average2_u8.c:
* liboil/ref/clip_ref.c:
* liboil/ref/composite.c:
* liboil/ref/conv.c:
* liboil/ref/copy.c:
* liboil/ref/copy8x8.c:
* liboil/ref/diff8x8.c:
* liboil/ref/diffsquaresum_f64.c:
* liboil/ref/error8x8.c:
* liboil/ref/math.c:
* liboil/ref/mix_u8.c:
* liboil/ref/mult8x8_s16.c:
* liboil/ref/multsum.c:
* liboil/ref/permute.c:
* liboil/ref/recon8x8.c:
* liboil/ref/resample.c:
* liboil/ref/rowcolsad8x8.c:
* liboil/ref/sad8x8.c:
* liboil/ref/sad8x8_broken.c:
* liboil/ref/sad8x8avg.c:
* liboil/ref/scalaradd.c:
* liboil/ref/scalarmult.c:
* liboil/ref/sincos_f64.c:
* liboil/ref/splat.c:
* liboil/ref/squaresum_f64.c:
* liboil/ref/sum_f64.c:
* liboil/ref/tablelookup.c:
* liboil/ref/trans8x8.c:
* liboil/ref/vectoradd_f64.c:
* liboil/ref/vectoradd_s.c:
* liboil/utf8/utf8.c:
2005-11-13 David Schleef <ds@schleef.org>
* liboil/i386/fdct8x8theora_i386.c: (fdct8x8theora_mmx):
* liboil/i386/recon8x8_i386.c: (recon8x8_intra_mmx):
Fix some asm code that accesses global variables from asm
code in a very incorrect manner. (#5032)
2005-11-12 David Schleef <ds@schleef.org>
* liboil/math/math.c: split math.c into ref/ and math/ versions.
* liboil/ref/Makefile.am:
* liboil/ref/math.c:
2005-11-11 David Schleef <ds@schleef.org>
* doc/liboil-sections.txt: Documentation? Is he MAD?
* doc/tmpl/liboil-unused.sgml:
* doc/tmpl/liboilfuncs-math.sgml:
* liboil/jpeg/yuv2rgb_c.c:
* liboil/liboilfunction.c:
* liboil/ref/abs.c:
* liboil/ref/argb_paint.c:
* liboil/ref/ayuv2argb.c:
* liboil/ref/composite.c:
* liboil/ref/resample.c:
* liboil/ref/rgb.c:
* liboil/ref/yuv.c:
2005-11-06 David Schleef <ds@schleef.org>
* liboil/Makefile.am: Fix more stuff and reenable MMX
* liboil/conv/Makefile.am:
* liboil/conv/conv_3dnow.c: move
* liboil/conv/conv_sse.c: move
* liboil/fb/Makefile.am:
* liboil/i386/Makefile.am:
* liboil/i386/conv_3dnow.c: move
* liboil/i386/conv_sse.c: move
2005-11-04 David Schleef <ds@schleef.org>
* configure.ac: version bump
2005-11-04 David Schleef <ds@schleef.org>
* configure.ac: version bump
* liboil/Makefile.am: Don't install liboiltmp1.la. This change
actually made it into the release.
=== 0.3.4 ===
2005-11-03 David Schleef <ds@schleef.org>
* liboil/sse/Makefile.am: Clean up sse building
2005-11-03 David Schleef <ds@schleef.org>
* configure.ac: Turn of asm-blocks, becuase it doesn't compile
on OS/X.
2005-11-02 David Schleef <ds@schleef.org>
* configure.ac: revert to -Wa,-mregnames
* liboil/powerpc/md5.c: fixes
* liboil/powerpc/zigzag8x8.c: fixes
* liboil/powerpc/Makefile.am: move fdct8x8theora_altivec.c
* liboil/powerpc/fdct8x8theora_altivec.c: from here
* liboil/powerpc_asm_blocks/fdct8x8theora_altivec.c: to here
* liboil/powerpc_asm_blocks/Makefile.am:
* m4/as-intrinsics.m4: fix altivec test
2005-11-02 David Schleef <ds@schleef.org>
* configure.ac: Use AC_CANONICAL_HOST
* liboil/powerpc/Makefile.am: fix dist
2005-10-28 David Schleef <ds@schleef.org>
* configure.ac: Use AC_LIBTOOL_WIN32_DLL
* liboil/Makefile.am: Fix sed patterns for extracting symbols
from libtool .exp files to handle different format on windows
targets. Move sse directory to a conditional.
* liboil/README: new file
* liboil/liboiltest.h: remove // comment
* liboil/powerpc_asm_blocks/Makefile.am: name ltlibrary correctly
* m4/as-intrinsics.m4: Fix SSE2 test
2005-10-28 David Schleef <ds@schleef.org>
* liboil/i386/diff8x8_i386.c: (diff8x8_const128_s16_u8_mmx):
Fix problem pulling in global constant.
2005-10-27 David Schleef <ds@schleef.org>
* liboil/Makefile.am: Fixups from conflicts in previous commit.
* liboil/conv/Makefile.am:
* liboil/powerpc/recon8x8_altivec.c:
* liboil/powerpc/recon8x8_ppc.c:
* liboil/powerpc_asm_blocks/Makefile.am: Move asm-blocks stuff
to a separate directory, since it requires different CPU flags.
* liboil/powerpc_asm_blocks/recon8x8_altivec.c:
* liboil/powerpc_asm_blocks/recon8x8_ppc.c:
2005-10-27 David Schleef <ds@schleef.org>
* autogen.sh: Refactor how we check for intrinsics and flags.
Remove hard-coded CFLAGS that don't work on Forte. This is
not complete, specifically, some of the makefiles aren't up
to the new order.
* configure.ac:
* liboil/Makefile.am:
* liboil/conv/Makefile.am:
* liboil/fb/Makefile.am:
* liboil/i386/Makefile.am:
* liboil/math/Makefile.am:
* liboil/motovec/Makefile.am:
* liboil/powerpc/Makefile.am:
* liboil/sse/Makefile.am:
* liboil/utf8/Makefile.am:
* m4/as-gcc-inline-assembly.m4:
* m4/as-intrinsics.m4:
* testsuite/instruction/Makefile.am:
2005-10-17 Eric Anholt <anholt@FreeBSD.org>
* liboil/liboilcpu.c: (oil_cpu_i386_kernel_restrict_flags),
(oil_cpu_i386_getflags):
Disable SSE on versions of FreeBSD with no kernel support for it. On
non-FreeBSD, non-Linux kernels, disable it until we learn to check
whether the operating system supports SSE.
2005-10-17 Eric Anholt <anholt@FreeBSD.org>
* liboil/powerpc/Makefile.am:
Don't attempt to build powerpc files on non-powerpcs, where the altivec
flags break the compile.
2005-10-17 David Schleef <ds@schleef.org>
* configure.ac: Check for -masm-blocks before using the feature
* liboil/powerpc/Makefile.am:
2005-10-10 David Schleef <ds@schleef.org>
* liboil/powerpc/clip.c: Move more files around
* liboil/ref/Makefile.am:
* liboil/ref/abs.c:
* liboil/ref/average2_u8.c:
* liboil/ref/clip_ref.c:
* liboil/ref/diffsquaresum_f64.c:
* liboil/ref/mix_u8.c:
* liboil/ref/mult8x8_s16.c:
* liboil/ref/multsum.c:
* liboil/ref/sad8x8.c:
* liboil/ref/sad8x8_broken.c:
* liboil/ref/scalaradd.c:
* liboil/ref/scalarmult.c:
* liboil/ref/sincos_f64.c:
* liboil/ref/squaresum_f64.c:
* liboil/ref/sum_f64.c:
* liboil/ref/vectoradd_f64.c:
* liboil/ref/vectoradd_s.c:
* liboil/simdpack/Makefile.am:
* liboil/simdpack/abs.c:
* liboil/simdpack/average2_u8.c:
* liboil/simdpack/clip_ref.c:
* liboil/simdpack/diffsquaresum_f64.c:
* liboil/simdpack/mix_u8.c:
* liboil/simdpack/mult8x8_s16.c:
* liboil/simdpack/multsum.c:
* liboil/simdpack/sad8x8.c:
* liboil/simdpack/sad8x8_broken.c:
* liboil/simdpack/scalaradd.c:
* liboil/simdpack/scalarmult.c:
* liboil/simdpack/sincos_f64.c:
* liboil/simdpack/squaresum_f64.c:
* liboil/simdpack/sum_f64.c:
* liboil/simdpack/vectoradd_f64.c:
* liboil/simdpack/vectoradd_s.c:
2005-10-10 David Schleef <ds@schleef.org>
* m4/ltdl.m4: Seems Debian's new libtool package doesn't
have a good definition of AC_LTDL_SYMBOL_USCORE
2005-10-10 David Schleef <ds@schleef.org>
* liboil/i386/abs_i386.c: Move more files.
* liboil/i386/argb_paint_i386.c:
* liboil/i386/ayuv2argb_i386.c:
* liboil/i386/composite_i386.c:
* liboil/i386/copy8x8_i386.c:
* liboil/i386/copy_i386.c:
* liboil/i386/fdct8x8theora_i386.c:
* liboil/i386/idct8x8_i386.c:
* liboil/i386/md5_i386.c:
* liboil/i386/mult8x8_i386.c:
* liboil/i386/scalarmult_i386.c:
* liboil/i386/splat_i386.c:
* liboil/i386/trans8x8_i386.c:
* liboil/i386/vectoradd_s_i386.c:
2005-10-01 David Schleef <ds@schleef.org>
What have I done?!? Move files around.
* liboil/colorspace/Makefile.am:
* liboil/colorspace/argb_paint.c:
* liboil/colorspace/argb_paint_i386.c:
* liboil/colorspace/ayuv2argb.c:
* liboil/colorspace/ayuv2argb_i386.c:
* liboil/colorspace/composite.c:
* liboil/colorspace/composite_i386.c:
* liboil/colorspace/resample.c:
* liboil/colorspace/resample_powerpc.c:
* liboil/colorspace/rgb2bgr.c:
* liboil/colorspace/rgb2bgr_powerpc.c:
* liboil/colorspace/rgb2rgba.c:
* liboil/colorspace/rgb2rgba_powerpc.c:
* liboil/colorspace/yuv.c:
* liboil/conv/Makefile.am:
* liboil/conv/conv_powerpc.c:
* liboil/conv/conv_ref.c:
* liboil/copy/Makefile.am:
* liboil/copy/copy.c:
* liboil/copy/copy8x8.c:
* liboil/copy/copy8x8_i386.c:
* liboil/copy/copy_i386.c:
* liboil/copy/copy_powerpc.c:
* liboil/copy/permute.c:
* liboil/copy/splat_i386.c:
* liboil/copy/splat_powerpc.c:
* liboil/copy/splat_ref.c:
* liboil/copy/tablelookup_ref.c:
* liboil/copy/trans8x8.c:
* liboil/copy/trans8x8_i386.c:
* liboil/dct/Makefile.am:
* liboil/dct/fdct8x8theora_i386.c:
* liboil/dct/idct8x8_i386.c:
* liboil/i386/Makefile.am:
* liboil/jpeg/Makefile.am:
* liboil/jpeg/zigzag8x8_powerpc.c:
* liboil/md5/Makefile.am:
* liboil/md5/md5_i386.c:
* liboil/md5/md5_powerpc.c:
* liboil/powerpc/Makefile.am:
* liboil/powerpc/abs.c: (abs_u16_s16_a16_altivec):
* liboil/powerpc/clip.c: (clip_s16_ppcasm), (clip_s16_ppcasm2),
(clip_s16_ppcasm3):
* liboil/powerpc/conv.c: (_sl_clipconv_S8_F32__powerpc_altivec),
(_sl_clipconv_S16_F32__powerpc_altivec),
(_sl_clipconvert_S32_F32__powerpc_altivec),
(convert_s16_f64__powerpc), (_sl_convert_S16_F32__powerpc),
(conv_f64_s16_altivec), (clipconv_s16_f64_ppcasm):
* liboil/powerpc/copy.c: (copy_u8_altivec), (copy_u8_altivec2):
* liboil/powerpc/md5.c: (md5_asm1), (md5_asm2), (md5_asm3):
* liboil/powerpc/mix.c: (mix_u8_a16_altivec):
* liboil/powerpc/multsum.c: (multsum_f32_ppcasm):
* liboil/powerpc/resample.c: (__attribute__),
(merge_linear_argb_powerpc):
* liboil/powerpc/rgb2bgr.c: (rgb2bgr_ppc), (rgb2bgr_ppc2),
(rgb2bgr_ppc3), (rgb2bgr_ppc4):
* liboil/powerpc/rgb2rgba.c: (rgb2rgba_powerpcasm):
* liboil/powerpc/sad8x8.c: (sad8x8_s16_a16_altivec),
(sad8x8_s16_l15_a16_altivec):
* liboil/powerpc/splat.c: (splat_u8_ns_altivec),
(splat_u8_ns_altivec2), (splat_u32_ns_altivec):
* liboil/powerpc/zigzag8x8.c: (__attribute__),
(zigzag8x8_s16_a16_altivec):
* liboil/ref/Makefile.am:
* liboil/ref/argb_paint.c: (argb_paint_u8_ref):
* liboil/ref/ayuv2argb.c: (ayuv2argb_u8_ref):
* liboil/ref/composite.c: (composite_test),
(composite_in_argb_ref), (composite_in_argb_const_src_ref),
(composite_in_argb_const_mask_ref), (composite_over_argb_ref),
(composite_over_argb_const_src_ref), (composite_add_argb_ref),
(composite_add_argb_const_src_ref), (composite_in_over_argb_ref),
(composite_in_over_argb_const_src_ref),
(composite_in_over_argb_const_mask_ref), (composite_add_u8_ref),
(composite_over_u8_ref):
* liboil/ref/conv.c:
* liboil/ref/copy.c: (copy_u8_ref):
* liboil/ref/copy8x8.c: (copy8x8_u8_ref):
* liboil/ref/permute.c: (permute_test):
* liboil/ref/resample.c: (resample_linear_u8_test),
(resample_linear_argb_test), (resample_linear_u8_ref),
(resample_linear_argb_ref), (merge_linear_argb_test),
(merge_linear_argb_ref):
* liboil/ref/rgb.c: (rgb2bgr_ref), (rgb2rgba_ref):
* liboil/ref/splat.c: (splat_u8_ref), (splat_u32_ref),
(splat_u8_ns_ref), (splat_u32_ns_ref):
* liboil/ref/tablelookup.c: (tablelookup_u8_ref):
* liboil/ref/trans8x8.c:
* liboil/ref/yuv.c: (yuyv2ayuv_ref), (yvyu2ayuv_ref),
(uyvy2ayuv_ref), (ayuv2yuyv_ref), (ayuv2yvyu_ref), (ayuv2uyvy_ref):
* liboil/simdpack/Makefile.am:
* liboil/simdpack/abs_i386.c:
* liboil/simdpack/abs_powerpc.c:
* liboil/simdpack/clip_powerpc.c:
* liboil/simdpack/mix_powerpc.c:
* liboil/simdpack/mult8x8_i386.c:
* liboil/simdpack/multsum_powerpc.c:
* liboil/simdpack/sad8x8_powerpc.c:
* liboil/simdpack/scalarmult_i386.c:
* liboil/simdpack/vectoradd_s_i386.c:
2005-10-01 David Schleef <ds@schleef.org>
* configure.ac: nano back to 1
=== 0.3.3 ===
2005-09-30 David Schleef <ds@schleef.org>
* doc/liboil-sections.txt: remove old functions
2005-09-30 David Schleef <ds@schleef.org>
* configure.ac: version bump
* doc/liboil-overrides.txt: doc fixes
* doc/liboil-sections.txt:
* doc/tmpl/liboilrandom.sgml:
2005-09-29 David Schleef <ds@schleef.org>
* liboil/colorspace/rgb2bgr_powerpc.c: Fix impl
2005-09-28 David Schleef <ds@schleef.org>
* doc/tmpl/liboil-unused.sgml:
* doc/tmpl/liboil.sgml:
* doc/tmpl/liboilcpu.sgml:
* doc/tmpl/liboildebug.sgml:
* doc/tmpl/liboilfuncs-conv.sgml:
* doc/tmpl/liboilfuncs-copy.sgml:
* doc/tmpl/liboilfuncs-dct.sgml:
* doc/tmpl/liboilfuncs-doc.sgml:
* doc/tmpl/liboilfuncs-math.sgml:
* doc/tmpl/liboilfuncs-math8x8.sgml:
* doc/tmpl/liboilfuncs-pixel.sgml:
* doc/tmpl/liboilfunction.sgml:
* doc/tmpl/liboilgcc.sgml:
* doc/tmpl/liboilparameter.sgml:
* doc/tmpl/liboilprofile.sgml:
* doc/tmpl/liboilprototype.sgml:
* doc/tmpl/liboilrandom.sgml:
* doc/tmpl/liboiltest.sgml:
* doc/tmpl/liboiltypes.sgml:
documentation update.
2005-09-15 David Schleef <ds@schleef.org>
* examples/oil-test.c: Add 64-bit types
* liboil/liboilparameter.h: same
* liboil/liboilprototype.c: same
* liboil/liboilrandom.h: same
* liboil/liboiltest.c: same
* liboil/Makefile.am: fix windows build
* liboil/simdpack/sincos_f64.c: minor change
2005-09-13 David Schleef <ds@schleef.org>
* liboil/simdpack/sincos_f64.c: (sincos_f64_sincos): Add impl
using sincos()
2005-08-15 David Schleef <ds@schleef.org>
GCC complains on solaris when isspace() is called with a
char argument. Rather than argue about such stupidity,
I'll play along.
* liboil/liboilprototype.c: (oil_prototype_from_string),
(parse_string), (oil_param_from_string):
* testsuite/introspect.c: (parse_type), (parse_size),
(parse_string), (parse_prototype):
* testsuite/proto3.c: (check_param):
2005-08-15 David Schleef <ds@schleef.org>
* liboil/powerpc/Makefile.am: disable fdct8x8theora_altivec.c,
because it doesn't compile.
* liboil/powerpc/recon8x8_ppc.c: (recon8x8_inter_ppc),
(recon8x8_inter2_ppc): disable functions, because they cause
bus errors.
* liboil/simdpack/clip_fast.c: (clip_s16_fast2): Fix endpoint
problem.
* testsuite/Makefile.am: remove unused GLIB flags
2005-08-15 David Schleef <ds@schleef.org>
* liboil/i386/Makefile.am: compile empty file on non-i386
* liboil/motovec/motovec.c: get underscore conditional correctly
2005-08-15 David Schleef <ds@schleef.org>
* testsuite/abs.c: (test), (main): remove glib usage in testsuite
* testsuite/copy.c: (test), (main):
* testsuite/md5.c: (test), (main):
* testsuite/md5_profile.c: (test), (main):
* testsuite/trans.c: (test), (main):
2005-08-15 David Schleef <ds@schleef.org>
* configure.ac: Add some altivec theora code
* liboil/Makefile.am:
* liboil/powerpc/Makefile.am:
* liboil/powerpc/fdct8x8theora_altivec.c: (fdct8x8theora_altivec):
* liboil/powerpc/recon8x8_altivec.c: (recon8x8_intra_altivec),
(recon8x8_inter_altivec), (recon8x8_inter2_altivec):
* liboil/powerpc/recon8x8_ppc.c: (recon8x8_intra_ppc),
(recon8x8_inter_ppc), (recon8x8_inter2_ppc):
* liboil/colorspace/composite.c: Fix bug in ADD operator.
* liboil/dct/fdct8x8theora_i386.c:
* liboil/simdpack/average2_u8.c: (average2_u8_trick),
(average2_u8_unroll4): Fix n%4!=0 problems noticed by thomasvs.
* liboil/simdpack/scalarmult_i386.c: (scalarmult_f32_sse): Fix
n%4!=0 problems.
* testsuite/stride.c: (main): use a random n to test possible
endpoint problems.
2005-08-15 David Schleef <ds@schleef.org>
* liboil/liboilcpu.c: (oil_cpu_i386_getflags_cpuinfo): SSE2
implies MMXEXT in both codepaths.
2005-08-13 David Schleef <ds@schleef.org>
* configure.ac: use macro for gtk-doc checking
* doc/tmpl/liboil-unused.sgml: update
* doc/tmpl/liboilfuncs-conv.sgml:
* doc/tmpl/liboilfuncs-copy.sgml:
* doc/tmpl/liboilfuncs-dct.sgml:
* doc/tmpl/liboilfuncs-doc.sgml:
* doc/tmpl/liboilfuncs-math.sgml:
* doc/tmpl/liboilfuncs-math8x8.sgml:
* doc/tmpl/liboilfuncs-pixel.sgml:
* liboil/simdpack/Makefile.am: AMD64 fix
* m4/gtk-doc.m4: enable gtk-doc by default
* patches/patch-remove-indirection: update
* testsuite/instruction/Makefile.am: don't run by default
* testsuite/stride.c: (main): add some random striding
2005-08-08 David Schleef <ds@schleef.org>
* liboil/null.c: MMX isn't really portable
2005-08-04 David Schleef <ds@schleef.org>
* liboil/colorspace/Makefile.am: Disable some code on amd64.
* liboil/copy/Makefile.am:
* liboil/dct/Makefile.am:
2005-08-02 David Schleef <ds@schleef.org>
* doc/Makefile.am: updates
* doc/liboil-docs.sgml:
* doc/liboil-sections.txt:
* doc/tmpl/liboil-unused.sgml:
* doc/tmpl/liboilcpu.sgml:
* doc/tmpl/liboilfuncs-doc.sgml:
* doc/tmpl/liboilfunction.sgml:
* doc/tmpl/liboiltest.sgml:
* testsuite/instruction/check-instructions.pl: minor opcode fixes
2005-08-02 David Schleef <ds@schleef.org>
* liboil/fb/fbpict.h: oops, need this
2005-08-02 David Schleef <ds@schleef.org>
* liboil/simdpack/scalarmult.c: Readd some implementations,
since they're unbroken now. (They still suck.)
2005-08-02 David Schleef <ds@schleef.org>
* HACKING: some notes
* configure.ac: readd _GNU_SOURCE
* liboil/Makefile.am: add new dirs, create decls header
* liboil/build_class_decls.c: create decls header
* liboil/liboilclasses.h: new decls header
* liboil/liboilinternal.h: general internal header
* liboil/fb/.cvsignore: cvsignore
* liboil/i386/.cvsignore:
* liboil/math/.cvsignore:
* liboil/motovec/.cvsignore:
* liboil/ref/.cvsignore:
* liboil/sse/.cvsignore:
* liboil/utf8/.cvsignore:
* testsuite/instruction/check-instructions.pl: minor opcode fixes
2005-08-02 David Schleef <ds@schleef.org>
Patch from Wim Taymans adding a bunch of classes and MMX
implementations for libtheora. Heavily modified by ds.
* Makefile.am:
* liboil-uninstalled.pc.in:
* liboil/copy/Makefile.am:
* liboil/copy/copy.c:
* liboil/copy/copy8x8.c:
* liboil/copy/copy8x8_i386.c:
* liboil/dct/Makefile.am:
* liboil/dct/fdct8x8theora.c:
* liboil/dct/fdct8x8theora_i386.c:
* liboil/i386/Makefile.am:
* liboil/i386/diff8x8_i386.c:
* liboil/i386/error8x8_i386.c:
* liboil/i386/recon8x8_i386.c:
* liboil/i386/rowcolsad8x8_i386.c:
* liboil/i386/sad8x8_i386.c:
* liboil/i386/sad8x8avg_i386.c:
* liboil/ref/Makefile.am:
* liboil/ref/diff8x8.c:
* liboil/ref/error8x8.c:
* liboil/ref/recon8x8.c:
* liboil/ref/rowcolsad8x8.c:
* liboil/ref/sad8x8avg.c:
2005-08-02 David Schleef <ds@schleef.org>
* liboil/Makefile.am: add libcolorspace.h
* liboil/build_marshal.c: (main): use oil_init_no_optimize() to
save us from horrible build problems (like what happened today)
* liboil/build_prototypes.c: (main): same
* liboil/build_prototypes_doc.c: (main): same
* liboil/liboilfunction.h: same
* liboil/liboilfunction.c: (oil_init_no_optimize): same
* liboil/liboilmarshal.c: (_oil_test_marshal_function): some new
marshal cases needed by wim's code.
* liboil/null.c: (null_mmx): add mmx impl
* liboil/colorspace/argb_paint.c: prototype fixes
* liboil/colorspace/ayuv2argb.c:
* liboil/colorspace/composite.c:
* liboil/colorspace/rgb2bgr.c:
* liboil/colorspace/rgb2rgba.c:
* liboil/fb/Makefile.am: add headers
* liboil/fb/fbmmx.c: hacking
* liboil/liboilfuncs.h: update
2005-08-02 David Schleef <ds@schleef.org>
* configure.ac: Define HAVE_LD_UNDERSCORE to indicate whether
or not an underscore is prepended to C symbols.
* liboil/motovec/motovec.c:
2005-08-01 David Schleef <ds@schleef.org>
* configure.ac: use BSD_SOURCE instead of POSIX_C_SOURCE, because
POSIX_C_SOURCE causes symbols that we'd like to use to be hidden.
2005-08-01 David Schleef <ds@schleef.org>
* configure.ac: Changes to make amd64 not suck
* liboil/colorspace/Makefile.am:
* liboil/conv/Makefile.am:
* liboil/copy/Makefile.am:
* liboil/dct/Makefile.am:
* liboil/fb/Makefile.am:
* liboil/liboilprofile.h:
* liboil/md5/Makefile.am:
* liboil/simdpack/Makefile.am:
* liboil/simdpack/scalarmult.c:
* liboil/sse/Makefile.am:
* liboil/utf8/Makefile.am:
2005-08-01 David Schleef <ds@schleef.org>
* m4/gtk-doc.m4: this is useful
2005-08-01 David Schleef <ds@schleef.org>
* configure.ac: add -D_BSD_SOURCE
2005-08-01 David Schleef <ds@schleef.org>
* liboil/colorspace/composite_i386.c: (composite_over_argb_sse2_3):
minor improvement
2005-08-01 David Schleef <ds@schleef.org>
* Makefile.am: add 'foreign' to automake flags
* configure.ac: add some dirs
* examples/Makefile.am: same
* examples/memcpy-speed.c: (main): change back to gromit's cpu
* examples/oil-inspect.c: (oil_print_impl): Don't run non-runnable
implementations.
* examples/oil-test.c: (dump_array), (main): minor fixes
* examples/taylor/Makefile.am: new
* examples/taylor/example1.c: new
* liboil/Makefile.am: add dirs
* liboil/colorspace/composite.c: (composite_over_argb_noclamp_2):
alternate clamping version
* liboil/simdpack/scalarmult.c: add unrolled impls
* testsuite/instruction/check-instructions.pl: fixes
* liboil/fb/Makefile.am: new
* liboil/fb/fbmmx.h: new
* liboil/fb/fbmmx.c: new
2005-08-01 David Schleef <ds@schleef.org>
* liboil/colorspace/composite_i386.c: (composite_over_argb_sse2_2),
(composite_over_argb_sse2_3): hacking
* liboil/liboilcpu.c: (oil_cpu_i386_getflags_cpuid): Intel's SSE2
implies MMXEXT
2005-07-31 David Schleef <ds@schleef.org>
* liboil/colorspace/composite_i386.c: (composite_over_argb_mmx_4),
(composite_over_argb_mmx_5), (composite_over_argb_sse2): hacking
2005-07-30 David Schleef <ds@schleef.org>
* liboil/colorspace/composite_i386.c: (composite_over_argb_mmx),
(composite_over_argb_mmx_2), (composite_over_argb_mmx_3),
(composite_over_argb_mmx_4), (composite_over_argb_sse2): some
new implementations
2005-07-30 David Schleef <ds@schleef.org>
* examples/report.c: (oil_print_class): Fix printing
* liboil/colorspace/Makefile.am:
* liboil/colorspace/composite.c: use colorspace header
* liboil/colorspace/composite_i386.c: new
* liboil/liboil.h: remove prefetch, it was a bad idea
* liboil/liboilcolorspace.h: new header
* liboil/liboilcpu.c: (oil_cpu_get_ticks_per_second):
* liboil/liboilcpu.h:
* liboil/liboiltest.c: (oil_test_init), (oil_test_check_function):
add oil_test_init() and reshuffle code
* liboil/liboiltest.h: ditto
2005-07-26 David Schleef <ds@schleef.org>
* configure.ac: oops, compile fix
2005-07-26 David Schleef <ds@schleef.org>
* doc/liboil-sections.txt: Add some recent new prototypes.
* doc/tmpl/liboilfuncs-math.sgml:
* doc/tmpl/liboilfuncs-pixel.sgml:
* examples/report.c: (get_n_impls), (oil_print_class):
* liboil/Makefile.am: add math subdir
* liboil/colorspace/composite.c: (composite_in_argb_ref),
(composite_in_argb_const_src_ref),
(composite_in_argb_const_mask_ref), (composite_over_argb_ref),
(composite_over_argb_const_src_ref), (composite_add_argb_ref),
(composite_add_argb_const_src_ref), (composite_in_over_argb_ref),
(composite_in_over_argb_const_src_ref),
(composite_in_over_argb_const_mask_ref): Fix OVER operator, and
rename compose to composite everywhere.
* liboil/liboilfuncs.h: new math functions
* liboil/liboiltest.c: (oil_test_new): change size of test array
back to 100, because 1000 is wrong and slow
* liboil/math/Makefile.am: new math code
* liboil/math/math.c:
2005-07-26 David Schleef <ds@schleef.org>
* CVS_HAS_MOVED: Revert last change in new repository
* autogen.sh:
* configure.ac:
* cvs-changeroot:
2005-07-26 David Schleef <ds@schleef.org>
* CVS_HAS_MOVED: disable CVS, pointing to new location
* autogen.sh:
* configure.ac:
* cvs-changeroot:
2005-07-20 Andy Wingo <wingo@pobox.com>
* liboil/liboilprototype.c: (oil_arg_type_name): Implement.
* liboil/liboilfunction.c: (oil_class_optimize): Log what
implementation we chose.
* liboil/liboildebug.h: (OIL_FUNCTION): Make sure we get
PRETTY_FUNCTION with gcc.
2005-06-18 David Schleef <ds@schleef.org>
* configure.ac: add compiler flag for powerpc
* examples/memcpy-speed.c: (main): only run runnable functions
* liboil/colorspace/Makefile.am: add yuv.c
* liboil/colorspace/yuv.c: (yuyv2ayuv_ref), (yvyu2ayuv_ref),
(uyvy2ayuv_ref), (ayuv2yuyv_ref), (ayuv2yvyu_ref), (ayuv2uyvy_ref):
New classes
* liboil/liboilfunction.c: include stdlib for malloc
* liboil/motovec/vec_memcpy.S: change .global to .globl, add
initial underscore
* liboil/motovec/vec_memset.S: same
* liboil/sse/Makefile.am: compile empty.c if nothing else is
available
2005-06-17 David Schleef <ds@schleef.org>
* liboil/Makefile.am: create a tmpfile for liboilarray.c to
avoid unnecessary building of liboil-0.3.la
* liboil/colorspace/Makefile.am: add resample_powerpc.c
* liboil/colorspace/resample.c: (merge_linear_argb_test): add test
function, since one parameter needs to be in the range [0,256]
* liboil/colorspace/resample_powerpc.c: (merge_linear_argb_powerpc):
altivec impl
* liboil/colorspace/rgb2rgba_powerpc.c: (rgb2rgba_powerpcasm):
Improve the asm
* liboil/copy/Makefile.am: new file
* liboil/copy/splat_powerpc.c: (splat_u8_ns_altivec),
(splat_u8_ns_altivec2), (splat_u32_ns_altivec): some altivec impls
2005-06-17 David Schleef <ds@schleef.org>
* liboil/copy/copy_powerpc.c: (copy_u8_altivec),
(copy_u8_altivec2): Rewrite so that they actually work.
* liboil/motovec/Makefile.am: Fix up motovec stuff
* liboil/motovec/motovec.c: (copy_u8_motovec),
(splat_u8_ns_motovec): same
2005-06-17 David Schleef <ds@schleef.org>
* configure.ac: snarf LIBMOTOVEC because it has a compatible
license.
* COPYING:
* liboil/Makefile.am:
* liboil/motovec/Makefile.am:
* liboil/motovec/README:
* liboil/motovec/checksum_vec.S:
* liboil/motovec/string_vec.S:
* liboil/motovec/vec_csum.S:
* liboil/motovec/vec_memcmp.S:
* liboil/motovec/vec_memcpy.S:
* liboil/motovec/vec_memset.S:
* liboil/motovec/vec_strcpy.S:
2005-06-17 David Schleef <ds@schleef.org>
* liboil/colorspace/Makefile.am: new files
* liboil/colorspace/argb_paint.c: remove temporary classes
* liboil/colorspace/composite.c: new
* liboil/colorspace/resample.c: new
* liboil/liboilfuncs.h: update
* liboil/liboilmarshal.c: (_oil_test_marshal_function): update
2005-06-16 David Schleef <ds@schleef.org>
* liboil/conv/conv_sse.c:
* liboil/sse/Makefile.am: Fix flags
* liboil/sse/conv_sse.c: (conv_f32_s32_sse): Remove emms, since it's
not MMX code, and remove MMX flag.
* testsuite/instruction/Makefile.am: convert to check program
* testsuite/instruction/check-instructions.pl: add list of
instructions that are both mmx and sse2, and differentiate based
on usage of %xmm registers.
2005-06-16 David Schleef <ds@schleef.org>
* testsuite/instruction/Makefile.am:
* testsuite/instruction/check-instructions.pl: Add sse2 instructions
2005-06-15 David Schleef <ds@schleef.org>
* configure.ac: Add instruction checker
* testsuite/Makefile.am:
* testsuite/instruction/Makefile.am:
* testsuite/instruction/check-instructions.pl:
* testsuite/instruction/list-impls.c: (main):
* liboil/colorspace/argb_paint_i386.c: Fix flags based on advice of
the instruction checker
* liboil/colorspace/ayuv2argb_i386.c:
* liboil/conv/conv_3dnow.c:
* liboil/conv/conv_sse.c:
* liboil/copy/trans8x8_i386.c:
* liboil/dct/idct8x8_i386.c:
* liboil/sse/conv_sse.c:
* liboil/liboilfuncs.h: update
* liboil/liboilmarshal.c: (_oil_test_marshal_function): update
* liboil/liboiltest.c: (oil_test_new), (oil_test_check_function):
regenerate inplace data for every test iteration. Bump default
n to 1000 to force memcpy to choose a good function. (lame hack)
* liboil/copy/copy_i386.c: (copy_u8_mmx3), (copy_u8_mmx4),
(copy_u8_mmx5): new implementation, fix others
* liboil/copy/splat_i386.c: (splat_u32_ns_mmx): make faster
* liboil/copy/splat_ref.c: (splat_u8_ns_int): fix bug
* liboil/colorspace/argb_paint.c: (argb_splat_u8_ref),
(rgba_splat_u8_ref): New functions
* liboil/simdpack/average2_u8.c: (average2_u8_ref),
(average2_u8_trick), (average2_u8_fast), (average2_u8_unroll4):
Implementations really need to follow stride rules.
* liboil/Makefile.am: Don't use SSE flags, because people on
powerpc don't appreciate it.
* examples/memcpy-speed.c: (main): only go to 1<<24 bytes
2005-06-02 David Schleef <ds@schleef.org>
* examples/Makefile.am:
* examples/memcpy-speed.c: (main):
New memory speed test program
* examples/oil-test.c: (main):
Use n=100 for test.
* liboil/copy/Makefile.am:
* liboil/copy/copy_i386.c: (copy_u8_mmx3):
movntq based copy
* liboil/copy/splat_i386.c: (splat_u32_ns_mmx):
movntq based splat
2005-05-26 David Schleef <ds@schleef.org>
* liboil/liboil.h:
* liboil/liboilcpu.c: (oil_memory_prefetch_local),
(oil_memory_prefetch_transient): Add prefetch functions.
2005-05-26 David Schleef <ds@schleef.org>
* liboil/colorspace/argb_paint_i386.c: (argb_paint_u8_mmx):
fix asm contraints that gcc-4.0 doesn't like
* liboil/conv/conv_3dnow.c: (conv_f32_s16_3dnow),
(conv_s32_f32_3dnow): remove mm0 constraint, it's irrelevant
* liboil/conv/conv_sse.c: (conv_f32_s32_sse), (conv_s32_f64_sse):
* liboil/copy/splat_ref.c: (splat_u32_ns_unroll4): add another
unroll
* liboil/liboilfunction.h: parentheses are good
* liboil/sse/Makefile.am: add a separate directory for SSE
intrinsics, since they need to be compiled with special flags.
* liboil/sse/conv_sse.c: (conv_f32_s32_sse):
* liboil/Makefile.am: add sse directory
* configure.ac: cleanup
2005-05-08 David Schleef <ds@schleef.org>
* patches/patch-remove-indirection: Some patches that might get
applied in 0.4 transition.
* patches/patch-small-lib:
2005-05-08 David Schleef <ds@schleef.org>
* configure.ac: version bump
* liboil/liboilprofile.h: disable broken MIPS code
These are autogenerated.
* doc/xml/liboil-doc.bottom:
* doc/xml/liboil.xml:
* doc/xml/liboilcpu.xml:
* doc/xml/liboildebug.xml:
* doc/xml/liboilfuncs-doc.xml:
* doc/xml/liboilfunction.xml:
* doc/xml/liboilparameter.xml:
* doc/xml/liboilprofile.xml:
* doc/xml/liboilprototype.xml:
* doc/xml/liboilrandom.xml:
* doc/xml/liboiltest.xml:
* doc/xml/liboiltypes.xml:
* doc/xml/object_index.sgml:
* doc/xml/tree_index.sgml:
=== 0.3.2 ===
2005-05-08 David Schleef <ds@schleef.org>
* configure.ac: version bump
2005-05-08 David Schleef <ds@schleef.org>
Rearrangement of docs
* doc/liboil-docs.sgml:
* doc/liboil-sections.txt:
* doc/tmpl/convert.sgml:
* doc/tmpl/liboil-unused.sgml:
* doc/tmpl/liboil.sgml:
* doc/tmpl/liboilfuncs-conv.sgml:
* doc/tmpl/liboilfuncs-copy.sgml:
* doc/tmpl/liboilfuncs-dct.sgml:
* doc/tmpl/liboilfuncs-doc.sgml:
* doc/tmpl/liboilfuncs-math.sgml:
* doc/tmpl/liboilfuncs-math8x8.sgml:
* doc/tmpl/liboilfuncs-pixel.sgml:
* doc/tmpl/liboilgcc.sgml:
* doc/tmpl/utf8.sgml:
2005-05-08 David Schleef <ds@schleef.org>
* README: cleanup
* doc/liboil-sections.txt: add new functions for 0.3.2
* doc/tmpl/liboilfuncs-doc.sgml: updates, plus more words
* doc/tmpl/liboilfunction.sgml: updates
2005-05-07 David Schleef <ds@schleef.org>
* liboil/copy/splat_ref.c: (splat_u8_ns_int): Stupid monkey! make
the function actually do what it's supposed to do.
* liboil/copy/trans8x8_i386.c: (trans8x8_u16_asm2): Remove ebx
clobbering
* liboil/dct/idct8x8theora_ref.c: remove _REF flag for non-ref
function.
2005-05-06 David Schleef <ds@schleef.org>
* examples/jpeg/jpeg.c: (jpeg_decoder_decode_entropy_segment):
Fix gcc-4.0 warning.
* examples/report.c: (oil_print_class): print the chosen impl name
* liboil/conv/conv_ref.c: remove some cruft, add scaleconv classes
* liboil/dct/idct8x8_i386.c: (idct8x8_s16_mmx): Fix usage of ebx
* liboil/liboil.h: add macro for trans8x8_s16
* liboil/liboilfuncs.h: update
* liboil/md5/md5_i386.c: disable some stuff that gcc-4.0 doesn't
like.
2005-05-06 David Schleef <ds@schleef.org>
* doc/xml/liboilfunction.xml: update
* examples/report.c: (oil_print_class): print whether fastest
implementation is due to alternate optimization flags
* liboil/copy/splat_ref.c: (splat_u8_ns_ref), (splat_u32_ns_ref),
(splat_u32_ns_unroll2), (splat_u8_ns_memset), (splat_u8_ns_int):
Add new splat classes
* liboil/copy/trans8x8_c.c: make static
* liboil/copy/trans8x8_i386.c: make functions static
* liboil/utf8/utf8_fast.c: make functions static
* liboil/liboilcpu.c: (oil_cpu_i386_getflags_cpuid),
(oil_cpu_fault_check_enable), (oil_cpu_fault_check_disable):
fix up signal() fallback. Allow nested calls to check_enable().
* liboil/liboilfunction.c: (oil_optimize_all): wrap in fault
check
2005-05-02 David Schleef <ds@schleef.org>
* examples/Makefile.am: add report
* examples/report.c: Create report of classes and speedups.
* liboil/conv/conv_3dnow.c: (conv_f32_s16_3dnow),
(conv_s32_f32_3dnow): reindent
2005-05-02 David Schleef <ds@schleef.org>
* liboil/utf8/Makefile.am:
* liboil/utf8/utf8_fast.c: Some implementations.
2005-05-02 David Schleef <ds@schleef.org>
* configure.ac: Check for gettimeofday and sigaction. Define
LIBM for linking with libm.
* liboil/Makefile.am: Fixes for win32 building
* liboil/conv/Makefile.am: same
* liboil/dct/idct8x8_i386.c: (fdct8x8s_s16_mmx): save ebx properly
* liboil/liboilcpu.c: (oil_cpu_fault_check_enable),
(oil_cpu_fault_check_disable): conditionally use sigaction
* liboil/liboilfunction.c: (oil_class_register_impl),
(oil_class_register_impl_full): Add function
* liboil/liboilfunction.h: same
* liboil/liboilprofile.c: (oil_profile_stamp_gtod): make use
of gettimeofday conditional.
2005-04-30 David Schleef <ds@schleef.org>
* liboil/copy/Makefile.am: Some cool new implementations.
* liboil/copy/trans8x8_c.c: (trans8x8_u16_c1), (trans8x8_u16_c2),
(trans8x8_u16_c3), (trans8x8_u16_c4):
* liboil/copy/trans8x8_i386.c: (trans8x8_u16_asm1),
(trans8x8_u16_asm2):
2005-04-30 David Schleef <ds@schleef.org>
* examples/uberopt/uberopt.c: Select 100 random sequences instead
of generating all possible.
* examples/uberopt/it.c: Example code
2005-04-30 David Schleef <ds@schleef.org>
* liboil/copy/Makefile.am:
* liboil/copy/trans8x8_c.c: (trans8x8_u16_c1), (trans8x8_u16_c2),
(trans8x8_u16_c3), (trans8x8_u16_c4): Some pretty fast C
implementations.
* liboil/copy/trans8x8_i386.c: (trans8x8_u16_asm1),
(trans8x8_u16_asm2): asm implementations. nearly optimal.
2005-04-29 David Schleef <ds@schleef.org>
* examples/Makefile.am: add oil-test
* examples/oil-test.c: A copy of work.c modified for displaying
test results for any class.
* liboil/dct/Makefile.am:
* liboil/dct/idct8x8_i386.c: (idct8x8_s16_mmx), (fdct8x8s_s16_mmx):
Add mmx code for idct
* liboil/dct/idct8x8theora_ref.c: Add some classes for idct8x8
to the theora spec.
* liboil/liboilfuncs.h: update
2005-04-28 David Schleef <ds@schleef.org>
Add an example huffman (variable code length) decoder
* configure.ac:
* examples/Makefile.am:
* examples/huffman/Makefile.am:
* examples/huffman/huffman.c: (huffman_new), (huffman_add_code),
(huffman_decode_iterate), (huffman_decode_ref):
* examples/huffman/huffman.h:
* examples/huffman/huffman_test.c: (main):
2005-04-26 David Schleef <ds@schleef.org>
* configure.ac: version bump
* doc/xml/liboilfunction.xml: update
* liboil/Makefile.am: install a few more headers
* liboil/build_prototypes.c: (main): Make sure we print "void" for
oil_null() function prototype.
* liboil/dct/fdct8x8_f64.c: (fdct8x8_f64_1d):
* liboil/dct/fdct8x8s_s16.c:
* liboil/dct/idct8x8_c.c: (idct8x8_f64_ref),
(idct8x8lim10_f64_ref), (idct8x8_s16_ref), (idct8x8lim10_s16_ref):
* liboil/liboilcpu.c: (test_cpuid), (oil_cpu_i386_getflags_cpuid):
remember to disable fault checking.
* liboil/liboilfuncs.h: update
* liboil/liboilfunction.c: (oil_class_optimize),
(oil_class_register_impl_by_name), (oil_class_register_impl):
Better error checking. Allow registration by class, since we
allow unregistered classes.
* liboil/liboilfunction.h: same
* liboil/liboilmarshal.c: (_oil_test_marshal_function): update
* liboil/liboiltest.c: (oil_test_check_ref): better error checking
* liboil/simdpack/Makefile.am: add sad8x8_broken.c
* liboil/simdpack/clip_ref.c: Add a test function to make sure
low < high.
* liboil/simdpack/sad8x8.c: (sad8x8_f64_2_ref), (sad8x8_s16_2_ref),
(sad8x8_u8_ref): Deprecate old classes, because the prototypes are
strangely wrong. Replace with new, correct class definitions.
Add a new u8 class.
* liboil/simdpack/sad8x8_broken.c: (sad8x8_f64_ref),
(sad8x8_s16_ref): Move old classes here.
2005-03-24 David Schleef <ds@schleef.org>
* liboil/liboilcpu.c: (get_proc_cpuinfo),
(oil_cpu_i386_getflags_cpuinfo), (get_cpuid),
(oil_cpu_i386_getflags_cpuid), (oil_cpu_i386_getflags): Add
support for getting flags from cpuid instruction directly.
* liboil/liboilfunction.h: Add SSE3
2005-03-17 David Schleef <ds@schleef.org>
* configure.ac: bump version
* doc/tmpl/liboil-unused.sgml: revert patch
* doc/tmpl/liboilfuncs-doc.sgml:
* doc/xml/liboilfuncs-doc.xml:
* liboil/Makefile.am:
* liboil/simdpack/Makefile.am:
* liboil/simdpack/clip_ref.c:
* liboil/simdpack/scalaradd.c:
* liboil/simdpack/simdpack.h:
2005-03-17 David Schleef <ds@schleef.org>
* examples/work/Makefile.am: yet another random change
* examples/work/work.c: (main): same
* liboil/liboilcpu.c: (test_altivec): powerpc fixes
* liboil/simdpack/Makefile.am: remove i386 flags
2005-03-17 David Schleef <ds@schleef.org>
* doc/liboil.types: add
2005-03-17 David Schleef <ds@schleef.org>
* examples/work/conv.c: (conv_s16_f32_asm1), (register_impls):
add me
2005-03-17 David Schleef <ds@schleef.org>
* liboil/simdpack/vectoradd_s_i386.c: need this too. part of
the patch below.
2005-03-16 David Schleef <ds@schleef.org>
* gtk-doc.make: add me
2005-03-16 David Schleef <ds@schleef.org>
Patch from Jakub Stachowski <stachowski@hypair.net> to add a
few classes and implementations. They're not correct --
requires fixage before release.
* examples/work/Makefile.am:
* examples/work/work.c:
* liboil/simdpack/Makefile.am:
* liboil/simdpack/abs_sse.c: (abs_u8_s8_sse):
* liboil/simdpack/clip_ref.c:
* liboil/simdpack/scalaradd.c: (scalaradd_s8_mmx):
* liboil/simdpack/simdpack.h:
* liboil/simdpack/vectoradd_s.c:
2005-03-16 David Schleef <ds@schleef.org>
* doc/liboil-sections.txt: clean up
* liboil/Makefile.am: clean liboilfuncs-doc.h
2005-03-16 David Schleef <ds@schleef.org>
* liboil/Makefile.am: add liboilgcc.h, build build_prototypes_doc
* liboil/liboilfunction.c: fix docs
* liboil/build_prototypes_doc.c: build a file appropriate for gtk-doc
* liboil/liboilgcc.h: File for gcc magic
2005-03-16 David Schleef <ds@schleef.org>
* doc/tmpl/liboil-unused.sgml: More of the same
* doc/tmpl/liboilcpu.sgml:
* doc/tmpl/liboilfuncs-doc.sgml:
2005-03-16 David Schleef <ds@schleef.org>
* Makefile.am: upgrade gtk-doc stuff, convert to XML
* configure.ac:
* doc/Makefile.am:
* doc/build_prototypes_doc.c:
* doc/liboil-docs.sgml:
* doc/liboil-sections.txt:
* doc/xml/liboil-doc.bottom: move sgml files here
* doc/xml/liboil.xml:
* doc/xml/liboilcpu.xml:
* doc/xml/liboildebug.xml:
* doc/xml/liboilfuncs-doc.xml:
* doc/xml/liboilfunction.xml:
* doc/xml/liboilparameter.xml:
* doc/xml/liboilprofile.xml:
* doc/xml/liboilprototype.xml:
* doc/xml/liboilrandom.xml:
* doc/xml/liboiltest.xml:
* doc/xml/liboiltypes.xml:
* doc/xml/object_index.sgml:
* doc/xml/tree_index.sgml:
2005-03-01 David Schleef <ds@schleef.org>
* configure.ac: add utf8
* examples/work/work.c: (test), (dump_array), (dump_test),
(dump_source), (main): improve things a bit
* liboil/Makefile.am: add utf8
* liboil/liboilfuncs.h: add utf8
* liboil/liboilfunction.c: (oil_class_optimize): Fix memleak.
* liboil/utf8/Makefile.am: utf8 functions
* liboil/utf8/utf8.c: (utf8_validate_test), (utf8_validate_ref):
* liboil/utf8/utf8.h: same
* testsuite/dso_check.c: (main): fix compilation
2005-02-13 David Schleef <ds@schleef.org>
* testsuite/dso_check.c: (main): Add
2005-02-01 David Schleef <ds@schleef.org>
* liboil/liboilcpu.c: (test_altivec), (oil_cpu_powerpc_getflags),
(illegal_instruction_handler), (oil_cpu_fault_check_enable),
(oil_cpu_fault_check_try), (oil_cpu_fault_check_disable): Add
illegal instruction checking.
* liboil/liboilcpu.h:
* liboil/liboilfunction.c: (oil_init):
* liboil/liboiltest.c: (oil_test_check_function),
(oil_test_check_impl):
2005-01-31 David Schleef <ds@schleef.org>
* doc/Makefile.am: Stop abusing _LDFLAGS
* examples/Makefile.am:
* examples/jpeg/Makefile.am:
* examples/md5/Makefile.am:
* examples/uberopt/Makefile.am:
* liboil/Makefile.am:
* testsuite/Makefile.am:
2005-01-18 David Schleef <ds@schleef.org>
* Makefile.am: documentation. woohoo.
* configure.ac:
* doc/Makefile.am:
* doc/build_prototypes_doc.c: (main), (print_header),
(print_footer):
* doc/liboil-docs.sgml:
* doc/liboil-sections.txt:
* doc/tmpl/conv.sgml:
* doc/tmpl/dct.sgml:
* doc/tmpl/jpeg.sgml:
* doc/tmpl/liboil-unused.sgml:
* doc/tmpl/liboil.sgml:
* doc/tmpl/liboilcpu.sgml:
* doc/tmpl/liboildebug.sgml:
* doc/tmpl/liboilfuncs-doc.sgml:
* doc/tmpl/liboilfunction.sgml:
* doc/tmpl/liboilparameter.sgml:
* doc/tmpl/liboilprofile.sgml:
* doc/tmpl/liboilprototype.sgml:
* doc/tmpl/liboilrandom.sgml:
* doc/tmpl/liboiltest.sgml:
* doc/tmpl/liboiltypes.sgml:
* doc/tmpl/md5.sgml:
* doc/tmpl/simdpack.sgml:
* liboil/liboil.h:
* liboil/liboildebug.h:
* liboil/liboilfunction.c:
* liboil/liboilparameter.h:
* liboil/liboiltest.c: (check_holes):
* liboil/liboiltypes.h:
2005-01-13 David Schleef <ds@schleef.org>
* testsuite/Makefile.am: add proto4
* testsuite/proto1.c: (main): fix
* testsuite/proto4.c: (main): new
2005-01-13 David Schleef <ds@schleef.org>
* liboil/colorspace/rgb2rgba_powerpc.c: (rgb2rgba_ppc): fix code
* liboil/conv/conv_powerpc.c: asm fix
* liboil/simdpack/abs_powerpc.c: broken
* liboil/simdpack/clip_powerpc.c: same
* liboil/simdpack/mix_powerpc.c: same
* liboil/simdpack/multsum_powerpc.c: same
2005-01-13 David Schleef <ds@schleef.org>
* Makefile.am: dist autogen.sh
* README: add comments
* configure.ac: bump version. Fix ordering. failing->broken
* liboil.pc.in: add -lm
* liboil/dct/dct36_f32.c: (dct36_f32_ref): still broken. Note to
self: only add classes that _have_ a reference implementation.
* liboil/dct/fdct8x8_f64.c: (fdct8x8_f64_1d): fix striding
* liboil/liboilfuncs.h: parameter name change
* liboil/liboilparameter.h: Add guard value.
* liboil/liboiltest.c: (oil_test_check_function), (check_guard),
(oil_test_check_impl), (init_parameter), (check_holes): check
interstitial regions. Use a guard value instead of 0.
* liboil/simdpack/abs_i386.c: (abs_u16_s16_mmx2),
(abs_u16_s16_sse2): disable broken impls
* liboil/simdpack/scalarmult_i386.c: (scalarmult_f32_sse): fix
impl
2005-01-11 David Schleef <ds@schleef.org>
* README: additional notes
* configure.ac: look for mmap()
* examples/md5/md5sum.c: (main): fix for same
* liboil/copy/trans8x8_i386.c: (trans8x8_u16_mmx): Need to be
careful about using %ebx
* liboil/dct/idct8x8_i386.c: (fdct8x8s_s16_mmx): same
* liboil/simdpack/abs_i386.c: (abs_u16_s16_mmx): clobber memory
2005-01-09 David Schleef <ds@schleef.org>
* autogen.sh:
* configure.ac: fix regressions. Add some architectures.
2005-01-09 David Schleef <ds@schleef.org>
* INSTALL: er, no, we don't need this
2005-01-09 David Schleef <ds@schleef.org>
* autogen.sh: new and improved simple autogen.sh
* configure.ac: oops, define libversion correctly
2005-01-09 David Schleef <ds@schleef.org>
* AUTHORS: add
* INSTALL: add
* Makefile.am: add ACLOCAL_FLAGS
* NEWS: add
* configure.ac: fix up for modern autoconf/automake
* liboil/Makefile.am: use -version-info
* license_block: update for 2005
2005-01-09 David Schleef <ds@schleef.org>
* examples/oil-inspect.c: (oil_print_impl): use "std." as abbr for
standard
* examples/uberopt/uberopt.c: (main): fix compile problem on ia64
* examples/work/Makefile.am: glib fixes
* liboil/Makefile.am: autobuild a marshalling function
* liboil/build_marshal.c: (main), (add_pointer_mask),
(print_header), (print_footer): same
* liboil/liboilmarshal.c: (_oil_test_marshal_function): the
autobuilt source
* liboil/liboiltest.c: (oil_test_check_function): use the autobuilt
marshalling function
* liboil/liboiltest.h: same
2005-01-09 David Schleef <ds@schleef.org>
* examples/work/work.c: (test), (main): misc changes
* liboil/conv/conv_3dnow.c: (conv_f32_s16_3dnow),
(conv_s32_f32_3dnow): fix asm
* liboil/conv/conv_bitstuff.c: disable brokenness
* liboil/liboilprofile.h: fix s390 profiling
* liboil/simdpack/Makefile.am:
* liboil/simdpack/clip_fast.c: (clip_s16_fast), (clip_s16_fast2),
(clip_s32_fast): merge clip_s16.c and clip_s32.c
* liboil/simdpack/clip_s16.c: remove
* liboil/simdpack/clip_s32.c: remove
* testsuite/Makefile.am: glib fixes
* testsuite/proto3.c: (check_param): fail if problem
* testsuite/stride.c: (main): same
2005-01-09 David Schleef <ds@schleef.org>
* examples/uberopt/uberopt.c: (main): Use gsize
* liboil/colorspace/rgb2bgr_powerpc.c: (rgb2bgr_ppc),
(rgb2bgr_ppc2): Fix powerpc asm
* liboil/colorspace/rgb2rgba_powerpc.c: (rgb2rgba_ppc): same
* liboil/conv/conv_powerpc.c:
(_sl_clipconv_S8_F32__powerpc_altivec): same
* liboil/copy/copy_powerpc.c: (copy_u8_altivec),
(copy_u8_altivec2), (copy_u8_altivec3): same
* liboil/liboilfunction.c: (oil_impl_is_runnable),
(oil_class_optimize): add is_runnable() function
* liboil/liboilfunction.h: same
* liboil/simdpack/abs_powerpc.c: (abs_u16_s16_a16_altivec): fix asm
* liboil/simdpack/clip_powerpc.c: (clip_s16_ppcasm),
(clip_s16_ppcasm2), (clip_s16_ppcasm3): same
* liboil/simdpack/mix_powerpc.c: (mix_u8_a16_altivec): same
* testsuite/copy.c: (main): use oil_impl_is_runnable()
2005-01-09 David Schleef <ds@schleef.org>
* liboil/colorspace/rgb2bgr_powerpc.c: (rgb2bgr_ppc),
(rgb2bgr_ppc2), (rgb2bgr_ppc3), (rgb2bgr_ppc4): Change from NN
notation to rNN.
2005-01-09 David Schleef <ds@schleef.org>
* testsuite/trans.c: (main): Disable some temporary code that
fails on uhv.
2005-01-08 David Schleef <ds@schleef.org>
* examples/md5/md5sum.c: Don't use MAP_POPULATE if it's not
defined.
* liboil/dct/fdct8x8_f64.c: Fix pointer offsets
* liboil/dct/fdct8x8s_s16.c: (fdct8x8s_s16_ref): same
* liboil/simdpack/clip_s32.c: (clip_s32_fast): same
* liboil/simdpack/sad8x8.c: (sad8x8_f64_ref), (sad8x8_s16_ref): same
* testsuite/introspect.c: (xstrndup), (parse_string): add xstrndup()
* liboil/liboiltest.c: (check_array): Solaris chokes on INFINITY.
2005-01-07 David Schleef <ds@schleef.org>
* README: add some stuff to read
* configure.ac: check for ieee754.h header
* liboil/colorspace/argb_paint.c: (argb_paint_u8_ref),
(argb_paint_u8_fast): change algorithm to be more accurate
* liboil/colorspace/argb_paint_i386.c: (argb_paint_u8_mmx): same
* liboil/conv/conv_3dnow.c: (conv_f32_s16_3dnow),
(conv_s32_f32_3dnow): make these implementations actually work
* liboil/conv/conv_bitstuff.c: compile fixes
* liboil/conv/conv_misc.c: (conv_f64_s16_table),
(conv_f32_s16_table): add a f32 impl
* liboil/simdpack/diffsquaresum_f64.c: (diffsquaresum_f64_ref),
(diffsquaresum_f64_i10_simple), (diffsquaresum_f64_i10_fast):
fix implementation
2005-01-05 David Schleef <ds@schleef.org>
* testsuite/stride.c: (main), (hist): new test
2005-01-01 David Schleef <ds@schleef.org>
* liboil/colorspace/argb_paint_i386.c:
* liboil/colorspace/ayuv2argb_i386.c:
* liboil/liboilfunction.c: (oil_class_optimize): disable functions
that fail test
* liboil/liboiltest.c: (oil_test_new), (check_zero),
(oil_test_check_impl), (init_parameter): Fix double-free bug, plus
other problems with testing from applications.
* liboil/dct/idct8x8_i386.c: pshufw apparently is not MMX
* liboil/simdpack/abs_i386.c: (abs_u16_s16_i386asm3),
(abs_u16_s16_mmx), (abs_u16_s16_mmxx): disable code that doesn't
handle strides correctly.
* liboil/simdpack/clip_s32.c: (clip_s32_fast): fix code to pass test
* liboil/simdpack/diffsquaresum_f64.c:
(diffsquaresum_f64_i10_unroll4): fix prototype
* liboil/simdpack/scalaradd.c: fix implementation
* liboil/simdpack/scalarmult.c: fix implementation
* testsuite/Makefile.am: add stride test
2004-12-30 David Schleef <ds@schleef.org>
* liboil/dct/idct8x8_i386.c: (idct8x8_s16_mmx), (fdct8x8s_s16_mmx):
new file
2004-12-30 David Schleef <ds@schleef.org>
* liboil/liboilfunction.h: add DISABLED flag and reformat
2004-12-29 David Schleef <ds@schleef.org>
Add support for checking the output of functions and comparing
it to the reference function.
* examples/oil-inspect.c: (oil_print_impl), (oil_print_class):
* examples/work/Makefile.am:
* examples/work/work.c: (test), (main):
* liboil/copy/permute.c: (permute_test):
* liboil/liboilfuncs.h:
* liboil/liboilfunction.c: (oil_class_optimize),
(oil_class_register_impl_by_name):
* liboil/liboilfunction.h:
* liboil/liboilparameter.h:
* liboil/liboilprototype.c: (oil_param_from_string):
* liboil/liboiltest.c: (oil_test_free),
(_oil_test_marshal_function), (oil_test_check_function),
(oil_test_check_ref), (oil_test_check_impl), (init_parameter),
(fill_array), (check_array):
* liboil/liboiltest.h:
* testsuite/test1.c: (main):
2004-12-29 David Schleef <ds@schleef.org>
* liboil/colorspace/Makefile.am: some new classes
* liboil/colorspace/argb_paint.c: (argb_paint_u8_ref),
(argb_paint_u8_fast):
* liboil/colorspace/argb_paint_i386.c: (argb_paint_u8_mmx):
* liboil/colorspace/ayuv2argb.c: (ayuv2argb_u8_ref),
(ayuv2argb_u8_int):
* liboil/colorspace/ayuv2argb_i386.c: (ayuv2argb_u8_mmx),
(ayuv2argb_u8_mmx2), (ayuv2argb_u8_mmx3):
2004-12-27 David Schleef <ds@schleef.org>
* liboil/copy/copy_i386.c: (copy_u8_mmx), (copy_u8_mmx2):
Fix bug for certain values of n.
* liboil/liboil.h: add oil_memcpy()
2004-12-23 David Schleef <ds@schleef.org>
Clean up API.
* examples/md5/md5sum.c:
* examples/oil-inspect.c: (oil_print_impl), (oil_print_all):
* examples/work/work.c:
* liboil/build_prototypes.c: (main), (print_header),
(print_footer):
* liboil/liboil.h:
* liboil/liboilcpu.c: (_oil_cpu_init), (oil_cpu_get_flags):
* liboil/liboilcpu.h:
* liboil/liboildebug.c: (_oil_debug_init),
(oil_debug_print_valist), (_oil_debug_print),
(oil_debug_get_level), (oil_debug_set_level),
(oil_debug_set_print_function):
* liboil/liboildebug.h:
* liboil/liboilfuncs.h:
* liboil/liboilfunction.c: (oil_optimize_all),
(oil_class_get_n_classes), (oil_class_get_by_index),
(oil_impl_get_by_index), (oil_class_get), (oil_class_optimize),
(oil_init_pointers), (oil_init_structs):
* liboil/liboilfunction.h:
* liboil/liboilprototype.c:
* liboil/liboiltest.c:
* testsuite/abs.c:
* testsuite/copy.c:
* testsuite/introspect.c: (main):
* testsuite/md5.c:
* testsuite/md5_profile.c:
* testsuite/proto1.c: (main):
* testsuite/proto2.c: (main):
* testsuite/test1.c: (main):
* testsuite/trans.c:
2004-12-22 David Schleef <ds@schleef.org>
* configure.ac: add examples/work
* examples/Makefile.am: same
* examples/oil-inspect.c: (oil_flags_to_string): REQUIRES->FLAG
* examples/work/Makefile.am:
* examples/work/work.c: (test), (main):
* liboil/conv/conv_3dnow.c: REQUIRES->FLAG
* liboil/conv/conv_sse.c: same
* liboil/copy/copy_i386.c: same
* liboil/copy/copy_powerpc.c: same
* liboil/dct/dct12_f32.c: (mdct12_f64_ref), (imdct12_f64_ref),
(mdct36_f64_ref), (imdct36_f64_ref): remove mpglib code, new
reference implementations of mdct functions
* liboil/jpeg/zigzag8x8_powerpc.c: REQUIRES->FLAG
* liboil/liboilcpu.c: (oil_cpu_i386_getflags),
(oil_cpu_powerpc_getflags): REQUIRES->FLAG
* liboil/liboilfuncs.h: update
* liboil/liboilfunction.h: REQUIRES->FLAG
* liboil/liboilprototype.c: (oil_prototype_to_string): Add 'const'
for source arrays.
* liboil/simdpack/abs_i386.c: REQUIRES->FLAG
* liboil/simdpack/abs_powerpc.c: REQUIRES->FLAG
* liboil/simdpack/mix_powerpc.c: REQUIRES->FLAG
* liboil/simdpack/mult8x8_i386.c: REQUIRES->FLAG
* liboil/simdpack/scalarmult_i386.c: REQUIRES->FLAG
2004-12-21 David Schleef <ds@schleef.org>
* testsuite/copy.c: (test), (main): new test
2004-12-21 David Schleef <ds@schleef.org>
* examples/example1.c: more relicensing
* examples/md5/md5sum.c:
* examples/oil-inspect.c:
* examples/uberopt/example.c:
* examples/uberopt/uberopt.c:
* testsuite/abs.c:
* testsuite/introspect.c:
* testsuite/md5.c:
* testsuite/md5_profile.c:
* testsuite/moo.c:
* testsuite/proto1.c:
* testsuite/proto2.c:
* testsuite/proto3.c:
* testsuite/test1.c:
* testsuite/trans.c:
2004-12-21 David Schleef <ds@schleef.org>
* liboil/liboil_begin.c: remove, unused
* liboil/liboil_end.c:
2004-12-21 David Schleef <ds@schleef.org>
Move non-relicensed code to lgpl/. Not yet in the build.
* liboil/lgpl/dct12_f32.c: (dct12_f32_mpglib):
* liboil/lgpl/dct36.c: (dct36):
* liboil/lgpl/imdct32_f32.c: (imdct32_f32_mpglib):
2004-12-21 David Schleef <ds@schleef.org>
Global relicensing.
* liboil/build_prototypes.c: (print_header):
* liboil/colorspace/rgb2bgr.c:
* liboil/colorspace/rgb2bgr_powerpc.c:
* liboil/colorspace/rgb2rgba.c:
* liboil/colorspace/rgb2rgba_powerpc.c:
* liboil/conv/conv.h:
* liboil/conv/conv_3dnow.c:
* liboil/conv/conv_bitstuff.c:
* liboil/conv/conv_c.c:
* liboil/conv/conv_misc.c:
* liboil/conv/conv_powerpc.c:
* liboil/conv/conv_ref.c:
* liboil/conv/conv_sse.c:
* liboil/copy/copy.c:
* liboil/copy/copy_i386.c:
* liboil/copy/copy_powerpc.c:
* liboil/copy/permute.c:
* liboil/copy/splat_ref.c:
* liboil/copy/tablelookup_ref.c:
* liboil/copy/trans8x8.c:
* liboil/copy/trans8x8_i386.c:
* liboil/dct/dct.h:
* liboil/dct/dct12_f32.c:
* liboil/dct/dct36.c:
* liboil/dct/dct36_f32.c:
* liboil/dct/fdct8_f64.c:
* liboil/dct/fdct8x8_f64.c:
* liboil/dct/fdct8x8s_s16.c:
* liboil/dct/idct8_f64.c:
* liboil/dct/idct8x8_c.c:
* liboil/dct/imdct32_f32.c:
* liboil/jpeg/convert8x8_c.c:
* liboil/jpeg/jpeg.h:
* liboil/jpeg/jpeg_rgb_decoder.c:
* liboil/jpeg/quantize8x8_c.c:
* liboil/jpeg/yuv2rgb_c.c:
* liboil/jpeg/zigzag8x8_c.c:
* liboil/jpeg/zigzag8x8_powerpc.c:
* liboil/junk/conv8x8_f64_s16.c:
* liboil/junk/conv8x8_s16x8_s8.c:
* liboil/junk/conv_f64_s16.c:
* liboil/junk/conv_s16_f64.c:
* liboil/junk/downsample1x_f64.c:
* liboil/junk/downsample2_f64.c:
* liboil/junk/downsample2_s16.c:
* liboil/junk/downsample2_u8.c:
* liboil/junk/downsamplex_f64.c:
* liboil/junk/fdct8x8_s16.c:
* liboil/junk/get8x8_f64.c:
* liboil/junk/idct8x8_f64.c:
* liboil/junk/idct8x8_s16.c:
* liboil/junk/idct8x8s_s16.c:
* liboil/junk/trans8x8_f32.c:
* liboil/junk/trans8x8_s16.c:
* liboil/junk/zigzag8x8_s16.c:
* liboil/liboil.h:
* liboil/liboil_begin.c:
* liboil/liboil_end.c:
* liboil/liboilcpu.c:
* liboil/liboilcpu.h:
* liboil/liboildebug.c:
* liboil/liboildebug.h:
* liboil/liboilfuncs.h:
* liboil/liboilfunction.c:
* liboil/liboilfunction.h:
* liboil/liboilparameter.h:
* liboil/liboilprofile.c:
* liboil/liboilprofile.h:
* liboil/liboilprototype.c:
* liboil/liboilprototype.h:
* liboil/liboilrandom.h:
* liboil/liboiltest.c:
* liboil/liboiltest.h:
* liboil/liboiltypes.h:
* liboil/md5/md5.c:
* liboil/md5/md5.h:
* liboil/md5/md5_i386.c:
* liboil/md5/md5_powerpc.c:
* liboil/null.c:
* liboil/simdpack/abs.c:
* liboil/simdpack/abs_i386.c:
* liboil/simdpack/abs_misc.c:
* liboil/simdpack/abs_powerpc.c:
* liboil/simdpack/average2_u8.c:
* liboil/simdpack/clip_powerpc.c:
* liboil/simdpack/clip_ref.c:
* liboil/simdpack/clip_s16.c:
* liboil/simdpack/clip_s32.c:
* liboil/simdpack/diffsquaresum_f64.c:
* liboil/simdpack/mix_powerpc.c:
* liboil/simdpack/mix_u8.c:
* liboil/simdpack/mult8x8_i386.c:
* liboil/simdpack/mult8x8_s16.c:
* liboil/simdpack/multsum.c:
* liboil/simdpack/multsum_powerpc.c:
* liboil/simdpack/sad8x8.c:
* liboil/simdpack/sad8x8_powerpc.c:
* liboil/simdpack/scalaradd.c:
* liboil/simdpack/scalarmult.c:
* liboil/simdpack/scalarmult_i386.c:
* liboil/simdpack/simdpack.h:
* liboil/simdpack/sincos_f64.c:
* liboil/simdpack/squaresum_f64.c:
* liboil/simdpack/sum_f64.c:
* liboil/simdpack/vectoradd_f64.c:
2004-12-21 David Schleef <ds@schleef.org>
* testsuite/trans.c: (test), (main): Add test code.
2004-12-21 David Schleef <ds@schleef.org>
* autogen.sh: who needs static libraries
* examples/jpeg/jpeg.c: (jpeg_decoder_decode_entropy_segment),
(sprintbits): clean up
* examples/jpeg/test_rgb.c: (main): clean up
* examples/md5/md5sum.c: (main): use mmap only if available
* examples/uberopt/Makefile.am: depends on glib
* liboil/Makefile.am: liboilarray.c depends on Makefile
* liboil/dct/Makefile.am: add code
* liboil/dct/fdct8x8_f64.c: (fdct8x8_f64_ref), (fdct8x8_f64_ref2),
(fdct8x8_f64_1d): fix code to compile
* liboil/dct/fdct8x8s_s16.c: (fdct8x8s_s16_ref): same
* liboil/liboildebug.c: (oil_debug_print_valist): make stuff const
* liboil/liboilfuncs.h: random update
* liboil/liboilprofile.h: add arm
* liboil/liboilprototype.c: make stuff const
* testsuite/Makefile.am: add test
2004-12-21 David Schleef <ds@schleef.org>
* COPYING: change to BSD license
* license_block: license block
* liboil/copy/copy_powerpc.c: (copy_u8_altivec2),
(copy_u8_altivec3): new implementation
* testsuite/Makefile.am:
2004-12-06 David Schleef <ds@schleef.org>
* examples/uberopt/Makefile.am: dist example.c, not it.c
2004-12-06 David Schleef <ds@schleef.org>
* liboil/copy/Makefile.am: add copy_i386
* liboil/copy/copy_i386.c: (copy_u8_mmx), (copy_u8_mmx2): some mmx
implementations
* liboil/simdpack/Makefile.am: add _i386 sources
* liboil/simdpack/mult8x8_i386.c: (mult8x8_s16_mmx): new impls
* liboil/simdpack/mult8x8_s16.c: (mult8x8_s16_ref): should have
been added earlier
* liboil/simdpack/scalarmult_i386.c: (scalarmult_f32_sse): new
impls
2004-12-05 David Schleef <ds@schleef.org>
* configure.ac: add uberopt
* examples/Makefile.am: same
* examples/oil-inspect.c: (impl_compare), (oil_print_class): sort
implementations by profile_ave before printing.
* examples/uberopt/Makefile.am: add uberopt
* examples/uberopt/example.c: (abs_u16_s16_i386asm_UBER_INDEX):
* examples/uberopt/uberopt.c: (main):
* liboil/copy/Makefile.am: add trans8x8_i386.c
* liboil/copy/copy.c: not reference functions
* liboil/copy/trans8x8.c: fix reference function (oops!)
* liboil/copy/trans8x8_i386.c: new. mmx implementation
* liboil/simdpack/abs_i386.c: (abs_u16_s16_i386asm_uber4),
(abs_u16_s16_i386asm3): new impl created by uberopt
* liboil/simdpack/abs_misc.c: (abs_u16_s16_unroll2),
(abs_u16_s16_unroll4): add unroll2
2004-12-05 David Schleef <ds@schleef.org>
* liboil/jpeg/zigzag8x8_c.c: (zigzag8x8_s16_ref),
(zigzag8x8_s16_unroll): new implementation
* liboil/simdpack/mix_powerpc.c: (mix_u8_a16_altivec): Add altivec
flag.
* testsuite/test1.c: (main):
2004-12-05 David Schleef <ds@schleef.org>
* liboil/copy/Makefile.am: add copy_powerpc.c
* liboil/copy/copy_powerpc.c: a fast altivec copy_u8
* liboil/liboilparameter.h: add ptr field
* liboil/liboiltest.c: (oil_test_free), (init_parameter): use
ptr field instead of value for the allocated area, to make the
code simpler, and also allow for a buffer area.
* liboil/liboiltest.h: add OIL_TEST_HEADER/FOOTER
2004-12-05 David Schleef <ds@schleef.org>
* liboil/jpeg/Makefile.am: Add zigzag8x8_powerpc.c
* liboil/jpeg/jpeg.h:
* liboil/jpeg/zigzag8x8_c.c: (zigzag8x8_s16_ref),
(unzigzag8x8_s16_ref): add zigzag function class
* liboil/jpeg/zigzag8x8_powerpc.c: add non-working altivec
implementation
2004-12-03 David Schleef <ds@schleef.org>
Compile and segfault fixes.
* liboil/colorspace/rgb2bgr_powerpc.c: (rgb2bgr_ppc):
* liboil/colorspace/rgb2rgba_powerpc.c:
* liboil/conv/conv_powerpc.c:
(_sl_clipconv_S8_F32__powerpc_altivec),
(_sl_clipconv_S16_F32__powerpc_altivec),
(_sl_clipconvert_S32_F32__powerpc_altivec),
(convert_s16_f64__powerpc), (_sl_convert_S16_F32__powerpc):
* liboil/copy/copy.c: (copy_u8_ptr), (copy_u8_ints):
* liboil/simdpack/sad8x8_powerpc.c:
2004-12-03 David Schleef <ds@schleef.org>
* liboil/conv/conv_powerpc.c: (convert_s16_f64__powerpc): fix up
some powerpc asm code. probably doesn't compile.
* liboil/liboilfunction.c: (oil_init): bump debugging
* liboil/liboilfunction.h: add OIL_DEFINE_IMPL_ASM
* liboil/md5/md5_i386.c: use it
* liboil/md5/md5_powerpc.c:
* liboil/colorspace/rgb2bgr_powerpc.c:
* liboil/colorspace/rgb2rgba_powerpc.c:
* liboil/simdpack/abs_i386.c:
* liboil/simdpack/clip_powerpc.c:
* liboil/simdpack/mix_powerpc.c:
* liboil/simdpack/multsum_powerpc.c:
* liboil/simdpack/sad8x8_powerpc.c: (sad8x8_s16_l15_a16_altivec):
* testsuite/test1.c: (main), (hist): quiet down a bit
2004-12-03 David Schleef <ds@schleef.org>
Move asm code into arch-specific files.
* liboil/colorspace/Makefile.am:
* liboil/colorspace/rgb2bgr.c:
* liboil/colorspace/rgb2bgr_powerpc.c:
* liboil/colorspace/rgb2rgba.c:
* liboil/colorspace/rgb2rgba_powerpc.c:
* liboil/conv/conv_misc.c:
* liboil/conv/conv_powerpc.c:
* liboil/copy/Makefile.am:
* liboil/dct/Makefile.am:
* liboil/jpeg/Makefile.am:
* liboil/md5/Makefile.am:
* liboil/simdpack/Makefile.am:
* liboil/simdpack/abs_i386.c:
* liboil/simdpack/abs_misc.c:
* liboil/simdpack/abs_powerpc.c:
* liboil/simdpack/abs_u16_s16.c:
* liboil/simdpack/abs_u32_s32.c:
* liboil/simdpack/clip_powerpc.c:
* liboil/simdpack/clip_s16.c:
* liboil/simdpack/mix_powerpc.c:
* liboil/simdpack/mix_u8.c:
* liboil/simdpack/multsum.c:
* liboil/simdpack/multsum_powerpc.c:
* liboil/simdpack/sad8x8.c:
* liboil/simdpack/sad8x8_powerpc.c:
2004-12-03 David Schleef <ds@schleef.org>
* configure.ac: move conv code to its own directory
* liboil/Makefile.am:
* liboil/conv.h:
* liboil/conv/.cvsignore:
* liboil/conv/Makefile.am:
* liboil/conv/conv.h:
* liboil/conv/conv_3dnow.c:
* liboil/conv/conv_bitstuff.c:
* liboil/conv/conv_c.c:
* liboil/conv/conv_misc.c:
* liboil/conv/conv_powerpc.c:
* liboil/conv/conv_ref.c:
* liboil/conv/conv_sse.c:
* liboil/conv_3dnow.c:
* liboil/conv_bitstuff.c:
* liboil/conv_c.c:
* liboil/conv_misc.c:
* liboil/conv_powerpc.c:
* liboil/conv_ref.c:
* liboil/conv_sse.c:
2004-12-02 David Schleef <ds@schleef.org>
* examples/example1.c: (main): remove oil_optimize_all()
* examples/oil-inspect.c: (oil_flags_to_string), (oil_print_impl),
(oil_print_class), (main): fix flag and profile printing
* liboil/liboildebug.c: remove oil_spill()
* liboil/liboildebug.h: same
* liboil/liboilfunction.c: (oil_init), (oil_class_get_by_index),
(oil_impl_get_by_index), (oil_class_optimize), (oil_init_pointers):
remove GNU_LINKER stuff. Implement optimization.
* liboil/liboilfunction.h: change profile info to double. add
ASM flag.
* liboil/liboilprofile.c: (oil_profile_get_ave_std): add function
to eliminate outliers in a profile measurement.
* liboil/liboilprofile.h: same
* liboil/liboiltest.c: (oil_test_go): use it
* testsuite/abs.c: (main): remove oil_optimize_all()
* testsuite/md5.c: (main): remove oil_optimize_all()
* testsuite/md5_profile.c: (main): remove oil_optimize_all()
* testsuite/moo.c: (main): remove oil_optimize_all()
2004-12-02 David Schleef <ds@schleef.org>
* liboil/Makefile.am: add null.c, libprofile.c
* liboil/null.c: a null function
* liboil/liboilprofile.c: profiling code
* liboil/conv_3dnow.c: (conv_f32_s32_3dnow), (conv_s32_f32_3dnow):
add 'emms'
* liboil/liboilprofile.h: clean up, move some stuff to .c
* liboil/liboiltest.c: (oil_test_go): fix for profile changes
* liboil/simdpack/abs_u16_s16.c: (abs_u16_s16_mmx),
(abs_u16_s16_mmxx), (abs_u16_s16_mmx2): add 'emms'
* testsuite/md5_profile.c: (test): fix for profile changes
* testsuite/test1.c: (main), (calc_average), (calc_std),
(calc_std2), (calc_max), (hist): fix for profile changes. Add
code to get a good estimate of the average execution time,
removing outliers.
2004-12-02 David Schleef <ds@schleef.org>
* liboil/copy/trans8x8_f32.c: Move unused files to junk directory
* liboil/copy/trans8x8_s16.c:
* liboil/dct/fdct8x8_s16.c:
* liboil/dct/idct8x8_f64.c:
* liboil/dct/idct8x8_s16.c:
* liboil/dct/idct8x8s_s16.c:
* liboil/jpeg/zigzag8x8_s16.c:
* liboil/junk/conv8x8_f64_s16.c:
* liboil/junk/conv8x8_s16x8_s8.c:
* liboil/junk/conv_f64_s16.c:
* liboil/junk/conv_s16_f64.c:
* liboil/junk/downsample2_f64.c:
* liboil/junk/downsample2_s16.c:
* liboil/junk/downsample2_u8.c:
* liboil/junk/downsamplex_f64.c:
* liboil/junk/fdct8x8_s16.c:
* liboil/junk/idct8x8_f64.c:
* liboil/junk/idct8x8_s16.c:
* liboil/junk/idct8x8s_s16.c:
* liboil/junk/trans8x8_f32.c:
* liboil/junk/trans8x8_s16.c:
* liboil/junk/zigzag8x8_s16.c:
* liboil/simdpack/conv8x8_f64_s16.c:
* liboil/simdpack/conv8x8_s16x8_s8.c:
* liboil/simdpack/conv_f64_s16.c:
* liboil/simdpack/conv_s16_f64.c:
* liboil/simdpack/downsample2_f64.c:
* liboil/simdpack/downsample2_s16.c:
* liboil/simdpack/downsample2_u8.c:
* liboil/simdpack/downsamplex_f64.c:
2004-12-02 David Schleef <ds@schleef.org>
* liboil/liboiltest.c: (oil_test_new), (oil_test_free),
(oil_test_go): Fix memleaks by freeing stuff properly.
* liboil/liboiltest.h: same
* liboil/copy/permute.c: (permute_test): implement test function
* liboil/copy/tablelookup_ref.c: (tablelookup_u8_ref): fix
prototype and remove test function.
2004-12-02 David Schleef <ds@schleef.org>
* liboil/copy/trans8x8_f32.c: Remove simdpack-ish TEST functions
* liboil/copy/trans8x8_s16.c:
* liboil/dct/dct12_f32.c:
* liboil/dct/dct36_f32.c:
* liboil/dct/fdct8_f64.c:
* liboil/dct/fdct8x8_f64.c:
* liboil/dct/fdct8x8_s16.c:
* liboil/dct/fdct8x8s_s16.c:
* liboil/dct/idct8_f64.c:
* liboil/dct/idct8x8_f64.c:
* liboil/dct/idct8x8_s16.c:
* liboil/dct/idct8x8s_s16.c:
* liboil/dct/imdct32_f32.c:
* liboil/jpeg/zigzag8x8_s16.c:
* liboil/junk/downsample1x_f64.c:
* liboil/junk/get8x8_f64.c:
2004-12-02 David Schleef <ds@schleef.org>
* README: some notes
* examples/.cvsignore: update some cvsignore files
* examples/md5/.cvsignore:
* liboil/.cvsignore:
* liboil/colorspace/.cvsignore:
* liboil/copy/.cvsignore:
* liboil/md5/.cvsignore:
* testsuite/.cvsignore:
2004-12-02 David Schleef <ds@schleef.org>
* configure.ac: use -fomit-frame-pointer, -funroll-all-loops and
-Wno-unused-functions
* liboil/colorspace/Makefile.am: create opt libs
* liboil/copy/Makefile.am: same
* liboil/dct/Makefile.am: same
* liboil/jpeg/Makefile.am: same
* liboil/md5/Makefile.am: same
2004-12-02 David Schleef <ds@schleef.org>
* liboil/Makefile.am: fix distcheck
* liboil/liboilprototype.c: (oil_prototype_check_sanity): oops,
remove debugging
2004-12-02 David Schleef <ds@schleef.org>
* liboil/build_prototypes.c: (main): complain if prototype parsing
fails.
* liboil/conv_misc.c: (conv_f64_s16_table): fix valgrind problem
* liboil/liboilcpu.c: (_oil_cpu_init): parse OIL_CPU_FLAGS environment
variable
* liboil/liboilfunction.h: move stuff to liboilparameter.h
* liboil/liboilparameter.h: new
* liboil/liboilprototype.c: (oil_prototype_from_string),
(oil_prototype_check_sanity), (oil_arg_type_name),
(oil_param_from_string): implement a new style of parameter names
* liboil/liboilprototype.h: use liboilparameter.h
* liboil/liboiltest.c: (oil_test_new), (oil_test_go), (fill_array),
(init_parameter), (oil_test_init_params): implement a new style of
parameter names
* liboil/liboiltest.h: add m
* liboil/liboiltypes.h: move some typedefs here
* testsuite/introspect.c: (main): check return values
* testsuite/proto1.c: (main): same
* testsuite/proto2.c: (main): same
* testsuite/test1.c: (main): same
Fixes for new style of parameter names:
* liboil/colorspace/rgb2bgr.c:
* liboil/colorspace/rgb2rgba.c:
* liboil/copy/splat_ref.c:
* liboil/copy/trans8x8.c:
* liboil/dct/dct12_f32.c:
* liboil/dct/dct36_f32.c: (dct36_f32_ref):
* liboil/dct/fdct8_f64.c:
* liboil/dct/fdct8x8_f64.c: (fdct8x8_f64_ref):
* liboil/dct/idct8_f64.c:
* liboil/dct/idct8x8_c.c:
* liboil/dct/imdct32_f32.c:
* liboil/jpeg/convert8x8_c.c:
* liboil/jpeg/quantize8x8_c.c:
* liboil/jpeg/yuv2rgb_c.c:
* liboil/jpeg/zigzag8x8_c.c:
* liboil/md5/md5.c:
* liboil/simdpack/clip_ref.c:
* liboil/simdpack/clip_s16.c: (clip_s16_fast2): fix bugs
* liboil/simdpack/mult8x8_s16.c:
* liboil/simdpack/multsum.c: (multsum_f32_unroll2):
* liboil/simdpack/sad8x8.c:
* liboil/simdpack/scalaradd.c:
* liboil/simdpack/scalarmult.c:
* liboil/simdpack/sincos_f64.c:
* liboil/simdpack/vectoradd_f64.c:
2004-12-01 David Schleef <ds@schleef.org>
* liboil/simdpack/clip_s16.c: (clip_s16_ppcasm),
(clip_s16_ppcasm2), (clip_s16_ppcasm3): Fix compile problem.
Change asm arguments from read/write to read. Not 100% correct,
but we don't care, because we're not simdpack.
2004-12-01 David Schleef <ds@schleef.org>
* autogen.sh: add alt-opt by default
* configure.ac: add -funroll-all-loops
* testsuite/Makefile.am: Add proto3
* testsuite/proto3.c: (main), (check_param), (print_param): A little
proggy to test parsing of a new style of parameter names
2004-12-01 David Schleef <ds@schleef.org>
* liboil/simdpack/abs_u32_s32.c: rip out simdpack test functions
* liboil/simdpack/average2_u8.c:
* liboil/simdpack/conv8x8_f64_s16.c:
* liboil/simdpack/conv8x8_s16x8_s8.c:
* liboil/simdpack/conv_f64_s16.c:
* liboil/simdpack/conv_s16_f64.c:
* liboil/simdpack/diffsquaresum_f64.c:
* liboil/simdpack/downsample2_f64.c:
* liboil/simdpack/downsample2_s16.c:
* liboil/simdpack/downsample2_u8.c:
* liboil/simdpack/downsamplex_f64.c:
* liboil/simdpack/mix_u8.c:
* liboil/simdpack/mult8x8_s16.c:
* liboil/simdpack/multsum.c:
* liboil/simdpack/sad8x8.c:
* liboil/simdpack/squaresum_f64.c:
* liboil/simdpack/sum_f64.c:
2004-12-01 David Schleef <ds@schleef.org>
* configure.ac: Add --enable-prototype-checking and
--enable-alternate-optimization.
* liboil/Makefile.am: same
* liboil/colorspace/Makefile.am: remove colorspace.h
* liboil/colorspace/rgb2bgr.c: (rgb2bgr_test): temporary fix
* liboil/colorspace/rgb2rgba.c: (rgb2rgba_test): temporary fix
* liboil/liboilfuncs.h: update
* liboil/liboilfunction.h: add alternate optimization stuff
* liboil/simdpack/Makefile.am: build alt opt lib
* liboil/simdpack/sincos_f64.c: (sincos_f64_ref),
(sincos_f64_i20_fast): change params to pointers
2004-12-01 David Schleef <ds@schleef.org>
From Benjamin Otte
* liboil/colorspace/Makefile.am:
* liboil/colorspace/rgb2bgr.c: (rgb2bgr_ref), (rgb2bgr_ppc),
(rgb2bgr_ppc2), (rgb2bgr_ppc3), (rgb2bgr_ppc4):
* liboil/colorspace/rgb2rgba.c: (rgb2rgba_ref), (rgb2rgba_ppc):
2004-12-01 David Schleef <ds@schleef.org>
* liboil/Makefile.am: remove old begin/end stuff
* liboil/build_prototypes.c: (main): add a typedef for functions
* liboil/copy/permute.c: (permute_test): add comment
* liboil/copy/tablelookup_ref.c: (tablelookup_test): same
* liboil/liboilfuncs.h: update
* liboil/liboilfunction.h: remove old begin/end stuff
* liboil/liboilprototype.c: switch to OIL_ARG_PARAM1
* liboil/liboilprototype.h: include liboilfunction.h
* liboil/liboiltest.c: (oil_test_go), (fill_array),
(init_src_array), (oil_test_init_src_arrays), (init_param),
(oil_test_init_params): add support for parameters. require
parameters to be pointers.
* liboil/liboiltest.h: same
* liboil/md5/md5.c: (md5_test): add test
* liboil/simdpack/clip_ref.c: fix prototypes and functions
* liboil/simdpack/clip_s16.c: (clip_s16_fast), (clip_s16_fast2),
(clip_s16_ppcasm), (clip_s16_ppcasm2), (clip_s16_ppcasm3): same
* liboil/simdpack/clip_s32.c: (clip_s32_fast): same
* liboil/simdpack/mix_u8.c: (mix_u8_fast2): same
* liboil/simdpack/sad8x8.c: (sad8x8_s16_ref): same
* liboil/simdpack/scalaradd.c: same
* liboil/simdpack/scalarmult.c: same
* liboil/simdpack/scalarmult_f64.c: same
* liboil/simdpack/vectoradd_f64.c: same
2004-11-30 David Schleef <ds@schleef.org>
* liboil/Makefile.am: add target for rebuilding liboilfuncs.h
* liboil/copy/Makefile.am:
* liboil/copy/copy.c: (copy_u8_ref), (copy_u8_libc): Add a memcpy
function.
* liboil/copy/copy.h: remove useless header file
* liboil/copy/splat_ref.c: same
* liboil/copy/trans8x8.c: same
* liboil/liboilfuncs.h: update
2004-11-30 David Schleef <ds@schleef.org>
* liboil/liboilcpu.c: (oil_cpu_i386_getflags), (test_altivec),
(illegal_instruction_handler), (oil_cpu_powerpc_getflags),
(_oil_cpu_init): Detect altivec
2004-11-30 David Schleef <ds@schleef.org>
* liboil/Makefile.am: add testing
* liboil/conv_sse.c: opcodes are SSE2, not SSE (oops)
* liboil/copy/permute.c: (permute_test): avoid generic test function
* liboil/copy/tablelookup_ref.c: (tablelookup_test): same
* liboil/jpeg/yuv2rgb_c.c: (yuv_test): same
* liboil/liboilfunction.c: (oil_class_optimize): change to
OIL_CPU_FLAG_MASK
* liboil/liboilfunction.h: same. Misc API adjustments
* liboil/liboilprototype.c: (oil_type_name), (oil_arg_type_name),
(oil_arg_type_from_string): handle parameter aliases
* liboil/liboilprototype.h: add functions
* liboil/liboilrandom.h: new. #define wrapping rand() for various
types and ranges
* liboil/liboiltest.c: (oil_test_new), (oil_test_free),
(oil_test_set_impl), (oil_test_set_iterations), (oil_test_go),
(oil_test_cleanup), (init_src_array), (oil_test_init_src_arrays),
(init_dest_array), (oil_test_init_dest_arrays): testing structure
* liboil/liboiltest.h: same
* liboil/simdpack/abs_u32_s32.c: (abs_u32_s32_fast): fix. previously
ignored stride.
* testsuite/Makefile.am: new test
* testsuite/proto2.c: (main), (get_param_by_type): ignore this
* testsuite/test1.c: look at this instead. tests the new testing
structure.
2004-11-29 David Schleef <ds@schleef.org>
* configure.ac: bump to 0.3 series
* liboil/liboilfunction.h: Add types and argument types.
* liboil/liboilprototype.c: (oil_prototype_to_string),
(oil_prototype_from_string), (oil_prototype_free), (_strndup),
(oil_type_sizeof), (oil_type_name), (oil_type_from_string),
(oil_arg_type_from_string): Add stuff for types and argument types.
* liboil/liboilprototype.h: Move some stuff to liboilfunction.h (why?)
* testsuite/Makefile.am: Add proto2
* testsuite/introspect.c: (main), (parse_size): remove junk
* testsuite/proto1.c: (main): add state
* testsuite/proto2.c: add
2004-11-29 David Schleef <ds@schleef.org>
From Benjamin Otte
* liboil/Makefile.am:
* liboil/conv_sse.c: (conv_f64_s32_sse), (conv_s32_f64_sse): Fix
implementations.
* liboil/conv_3dnow.c: new
2004-11-27 David Schleef <ds@schleef.org>
* configure.ac: version bump
* testsuite/md5.c: (test): compile fix
2004-11-27 David Schleef <ds@schleef.org>
From Benjamin Otte
* autogen.sh:
* examples/Makefile.am: Add oil-inspect
* examples/oil-inspect.c: (printerr), (string_append),
(oil_flags_to_string), (oil_print_impl), (oil_print_class),
(oil_print_all), (main):
* liboil/liboilfunction.h:
* liboil/md5/md5_i386.c: don't mark functions as reference
2004-11-27 David Schleef <ds@schleef.org>
* examples/md5/md5sum.c: (main): Fix problem with file sizes
that are multiples of 64.
2004-11-27 David Schleef <ds@schleef.org>
* liboil/simdpack/clip_s16.c: (clip_s16_ppcasm3): Use r22 instead
of r30.
2004-11-24 David Schleef <ds@schleef.org>
* liboil/liboilcpu.c: (get_cpuinfo), (oil_cpu_i386_getflags): Fix
segfault if /proc/cpuinfo doesn't exist (reported by Jakub Bogusz)
=== 0.2.2 ===
2004-11-22 David Schleef <ds@schleef.org>
* configure.ac: version bump
* testsuite/md5.c: (test): fix warning
2004-11-22 David Schleef <ds@schleef.org>
* liboil/simdpack/simdpack.h: remove defines that are automatically
in liboilfuncs.h.
2004-11-22 David Schleef <ds@schleef.org>
* liboil/simdpack/clip_s16.c: compile fix.
* liboil/simdpack/downsample2_u8.c: (downsample2_u8_ref),
(downsample2_u8_ave), (downsample2_u8_fast),
(downsample2_u8_trick1), (downsample2_u8_trick2),
(downsample2_u8_trick3), (downsample2_u8_unroll4),
(downsample2_u8_ppcasm): remove more simdpack-isms.
2004-11-22 David Schleef <ds@schleef.org>
* configure.ac: bump nano
* examples/jpeg/jpeg.c: (jpeg_decoder_application0): Fix warnings
under gcc-3.5
* liboil/Makefile.am: Add dependency to convince automake to
build things in the correct order (fixes build problems with -j2)
* liboil/md5/md5_i386.c: (md5_asm1), (md5_asm2), (md5_asm3):
Don't clobber ebx, since gcc can't handle it.
* liboil/simdpack/average2_u8.c: remove simdpack-isms
* liboil/simdpack/clip_s16.c: same
* liboil/simdpack/conv_f64_s16.c: same
* liboil/simdpack/downsample2_s16.c: (downsample2_s16_ref),
(downsample2_s16_fast), (downsample2_s16_unroll4),
(downsample2_s16_ppcasm): same
* liboil/simdpack/mix_u8.c: same
* liboil/simdpack/sad8x8.c: same
=== 0.2.1 ===
2004-11-17 David Schleef <ds@schleef.org>
* configure.ac: version bump
* examples/jpeg/Makefile.am: add deps
* examples/md5/Makefile.am:
* examples/md5/md5sum.c: fix warning
* liboil/md5/md5_i386.c: (md5_asm2), (md5_asm3): fix warning
2004-11-04 David Schleef <ds@schleef.org>
* configure.ac: add endianness check
* examples/md5/md5sum.c: (main): endianness fixes
* liboil/md5/md5.c: (md5_c): endianness fixes
* liboil/md5/md5_powerpc.c: (md5_asm1), (md5_asm2), (md5_asm3): some
asm implementations
* testsuite/Makefile.am:
* testsuite/md5.c: (test): endianness fixes
* testsuite/md5_profile.c: (test), (main): Add a profiling tool
for md5.
2004-11-01 David Schleef <ds@schleef.org>
* configure.ac: add md5sum example
* examples/Makefile.am:
* examples/md5/Makefile.am:
* examples/md5/md5sum.c: (main):
* liboil/md5/Makefile.am:
* liboil/md5/md5_i386.c: (md5_asm3): optimization
* liboil/md5/md5_powerpc.c: (md5_asm1): stub
2004-11-01 David Schleef <ds@schleef.org>
* COPYING: add
* Makefile.am: Add COPYING, fix CLEANFILES
* configure.ac: version bump
* examples/jpeg/Makefile.am: fix glib dep
* liboil/Makefile.am: add md5, fix glib dep
* liboil/copy/Makefile.am:
* liboil/liboilfuncs.h: update
* liboil/liboilfunction.c: (oil_class_choose_by_name): add new
function
* liboil/liboilfunction.h: same
* liboil/md5/Makefile.am: add md5 function class
* liboil/md5/md5.c: (md5_c):
* liboil/md5/md5.h:
* liboil/md5/md5_i386.c: (md5_asm1), (md5_asm2):
* testsuite/Makefile.am: add an md5 test
* testsuite/md5.c: (test), (main):
2004-10-21 David Schleef <ds@schleef.org>
* configure.ac: fixes for powerpc
* liboil/simdpack/abs_u16_s16.c:
* liboil/simdpack/clip_ref.c:
* liboil/simdpack/multsum.c: (multsum_f32_ppcasm):
* liboil/simdpack/sad8x8.c:
* testsuite/Makefile.am:
2004-09-15 David Schleef <ds@schleef.org>
* configure.ac: Add jpeg library from swfdec.
* examples/Makefile.am:
* examples/jpeg/Makefile.am:
* examples/jpeg/bits.h:
* examples/jpeg/huffman.c:
* examples/jpeg/huffman.h:
* examples/jpeg/jpeg.c:
* examples/jpeg/jpeg.h:
* examples/jpeg/jpeg_debug.h:
* examples/jpeg/jpeg_internal.h:
* examples/jpeg/jpeg_rgb_decoder.c:
* examples/jpeg/jpeg_rgb_decoder.h:
* examples/jpeg/jpeg_rgb_internal.h:
* examples/jpeg/test.c:
* examples/jpeg/test_rgb.c:
2004-09-13 David Schleef <ds@schleef.org>
* examples/example1.c: (main): call optimize_all()
* liboil/Makefile.am: remove build_lists
* liboil/liboilfunction.h: use HAVE_GNU_LINKER
* testsuite/Makefile.am: add test
* testsuite/proto1.c: (main):
2004-09-13 David Schleef <ds@schleef.org>
* Makefile.am: Bump API version to 0.2
* configure.ac:
* liboil-0.1-uninstalled.pc.in:
* liboil-0.1.pc.in:
* liboil.pc.in:
2004-09-09 David Schleef <ds@schleef.org>
* liboil/Makefile.am: Hoop jumping to extract a list of symbols
to generate into liboilarray.c
* liboil/build_lists.c: remove
* liboil/liboilarray.c: remove
2004-09-09 David Schleef <ds@schleef.org>
* liboil/build_lists.c: (main), (print_header): new
2004-09-09 David Schleef <ds@schleef.org>
* configure.ac: Check for GNU linker (i.e., Linux)
* liboil/Makefile.am: Use alternate liboilarray.c if not Linux.
* liboil/build_prototypes.c: (main), (print_header):
* liboil/liboilarray.c: Array of classes and impls.
* liboil/liboil_begin.c: fix API changes
* liboil/liboil_end.c: api changes
* liboil/liboildebug.c: (oil_spill): api changes
* liboil/liboilfunction.c: (oil_optimize_all),
(oil_class_get_by_index), (oil_impl_get_by_index), (oil_class_get),
(oil_init_pointers), (oil_init_structs): Handle class and impl
arrays if not using gnu linker.
* liboil/liboilfunction.h: api changes
* testsuite/proto1.c: (main): api changes
2004-09-08 David Schleef <ds@schleef.org>
* liboil/liboilprototype.c: (parse_string), (oil_string_free),
(_strndup): Add strndup implementation
2004-09-08 David Schleef <ds@schleef.org>
* configure.ac: Use -Wa,-mregnames if possible
2004-09-08 David Schleef <ds@schleef.org>
* .cvsignore: Some stuff to ignore
* examples/.cvsignore:
* liboil/.cvsignore:
* liboil/dct/.cvsignore:
* liboil/jpeg/.cvsignore:
* liboil/simdpack/.cvsignore:
* m4/pkg.m4:
* testsuite/.cvsignore:
2004-09-07 David Schleef <ds@schleef.org>
* liboil/Makefile.am: only export oil_ symbols
* liboil/build_prototypes.c: (main): change to
oil_function_class_ptr_%s
* liboil/conv_c.c: same
* liboil/conv_misc.c: same
* liboil/conv_ref.c: same
* liboil/conv_sse.c: same
* liboil/copy/permute.c: same...
* liboil/copy/splat_ref.c:
* liboil/copy/tablelookup_ref.c:
* liboil/copy/trans8x8.c:
* liboil/dct/dct12_f32.c:
* liboil/dct/dct36_f32.c:
* liboil/dct/fdct8_f64.c:
* liboil/dct/idct8_f64.c:
* liboil/dct/idct8x8_c.c:
* liboil/dct/imdct32_f32.c:
* liboil/jpeg/convert8x8_c.c:
* liboil/jpeg/jpeg_rgb_decoder.c:
* liboil/jpeg/quantize8x8_c.c:
* liboil/jpeg/yuv2rgb_c.c:
* liboil/jpeg/zigzag8x8_c.c:
* liboil/liboil_begin.c:
* liboil/liboil_end.c:
* liboil/liboilfuncs.h: update
* liboil/liboilfunction.c: move declarations to .c files
* liboil/liboilfunction.h: same. Fix namespace issues.
* liboil/simdpack/abs.c: class fixes
* liboil/simdpack/abs_u16_s16.c: same...
* liboil/simdpack/abs_u32_s32.c:
* liboil/simdpack/average2_u8.c:
* liboil/simdpack/clip_ref.c:
* liboil/simdpack/clip_s16.c:
* liboil/simdpack/clip_s32.c:
* liboil/simdpack/diffsquaresum_f64.c:
* liboil/simdpack/mix_u8.c:
* liboil/simdpack/mult8x8_s16.c:
* liboil/simdpack/multsum.c:
* liboil/simdpack/sad8x8.c:
* liboil/simdpack/scalaradd.c:
* liboil/simdpack/scalarmult.c:
* liboil/simdpack/sincos_f64.c:
* liboil/simdpack/squaresum_f64.c:
* liboil/simdpack/sum_f64.c:
* liboil/simdpack/vectoradd_f64.c:
* testsuite/abs.c: (main): remove usage of internal symbol
* testsuite/moo.c: (main): same
2004-09-07 David Schleef <ds@schleef.org>
Global change from OIL_DEFINE_CLASS_X to OIL_DEFINE_CLASS
* liboil/conv_ref.c:
* liboil/copy/permute.c:
* liboil/copy/splat_ref.c:
* liboil/copy/tablelookup_ref.c:
* liboil/copy/trans8x8.c:
* liboil/dct/dct12_f32.c:
* liboil/dct/dct36_f32.c:
* liboil/dct/fdct8_f64.c:
* liboil/dct/idct8_f64.c:
* liboil/dct/idct8x8_c.c:
* liboil/dct/imdct32_f32.c:
* liboil/jpeg/convert8x8_c.c:
* liboil/jpeg/jpeg_rgb_decoder.c:
* liboil/jpeg/quantize8x8_c.c:
* liboil/jpeg/yuv2rgb_c.c:
* liboil/jpeg/zigzag8x8_c.c:
* liboil/junk/downsample1x_f64.c:
* liboil/junk/get8x8_f64.c:
* liboil/liboilfunction.h:
* liboil/simdpack/abs.c:
* liboil/simdpack/average2_u8.c:
* liboil/simdpack/clip_ref.c:
* liboil/simdpack/diffsquaresum_f64.c:
* liboil/simdpack/mix_u8.c:
* liboil/simdpack/mult8x8_s16.c:
* liboil/simdpack/multsum.c:
* liboil/simdpack/sad8x8.c:
* liboil/simdpack/scalaradd.c:
* liboil/simdpack/scalarmult.c:
* liboil/simdpack/sincos_f64.c:
* liboil/simdpack/squaresum_f64.c:
* liboil/simdpack/sum_f64.c:
* liboil/simdpack/vectoradd_f64.c:
2004-09-07 David Schleef <ds@schleef.org>
Add oil_ prefix to all virtual functions.
* examples/example1.c: (main):
* liboil/build_prototypes.c: (main):
* liboil/dct/idct8x8_c.c: (idct8x8_f64_c), (idct8x8_s16_slow):
* liboil/liboilfuncs.h:
* testsuite/abs.c: (test):
2004-09-07 David Schleef <ds@schleef.org>
* liboil/build_prototypes.c: Use new api
* liboil/copy/permute.c: param changes
* liboil/copy/splat_ref.c: param changes
* liboil/copy/tablelookup_ref.c: param changes
* liboil/jpeg/jpeg_rgb_decoder.c: param changes
* liboil/jpeg/quantize8x8_c.c: param changes
* liboil/jpeg/yuv2rgb_c.c: param changes
* liboil/liboilprototype.c: bugfixes
* liboil/simdpack/Makefile.am: remove files
* liboil/simdpack/clip_ref.c: param changes
* liboil/simdpack/mix_u8.c: param changes
* liboil/simdpack/scalaradd.c: param changes
* liboil/simdpack/scalarmult.c: param changes
* liboil/simdpack/sincos_f64.c: param changes
* liboil/simdpack/vectoradd_f64.c: param changes
* testsuite/Makefile.am: new test
* testsuite/proto1.c: prototype checker
2004-09-07 David Schleef <ds@schleef.org>
* liboil/junk/downsample1x_f64.c: move these
* liboil/junk/get8x8_f64.c:
* liboil/simdpack/downsample1x_f64.c:
* liboil/simdpack/get8x8_f64.c:
2004-09-03 David Schleef <ds@schleef.org>
* liboil/Makefile.am: add liboilprototype.c
* liboil/build_prototypes.c: use liboilprototype.h
* liboil/conv_c.c: include conv.h
* liboil/conv_misc.c: include conv.h
* liboil/conv_sse.c: include conv.h
* liboil/liboilfuncs.h: use pointers to classes instead of directly
* liboil/liboilfunction.h: Add class pointer definition
* liboil/liboilprototype.c: (oil_prototype_append_param),
(oil_prototype_to_string), (oil_prototype_from_string),
(parse_string), (oil_prototype_free), (oil_string_new),
(oil_string_append), (oil_string_free): Add some prototype
manipulation functions.
* liboil/liboilprototype.h: ditto
* liboil/simdpack/abs.c: (abs_f32_f32_ref), (abs_f64_f64_ref): Fix
bug.
* testsuite/abs.c: (test), (main): works now
2004-09-03 David Schleef <ds@schleef.org>
Move a bunch of files around.
* configure.ac:
* liboil/Makefile.am:
* liboil/build_prototypes.c: (main):
* liboil/copy/Makefile.am:
* liboil/copy/copy.h:
* liboil/copy/permute.c:
* liboil/copy/splat_ref.c: (splat_u8_ref), (splat_u32_ref),
(splat_u32_unroll2):
* liboil/copy/tablelookup_ref.c: (tablelookup_u8_ref):
* liboil/copy/trans8x8.c: (TEST_trans8x8_f64):
* liboil/copy/trans8x8_f32.c: (trans8x8_f32_ref),
(trans4x4_f32_a16_altivec), (trans8x8_f32_a16_altivec),
(TEST_trans8x8_f32):
* liboil/copy/trans8x8_s16.c: (trans8x8_s16_ref),
(trans8x8_s16_a16_altivec), (trans8x8_s16_altivecwrap),
(TEST_trans8x8_s16):
* liboil/dct/Makefile.am:
* liboil/dct/dct.h:
* liboil/dct/dct12_f32.c: (dct12_f32_ref), (dct12_f32_ref1),
(dct12_f32_mpglib), (TEST_dct12_f32):
* liboil/dct/dct36.c: (dct36):
* liboil/dct/dct36_f32.c: (dct36_f32_ref), (TEST_dct36_f32):
* liboil/dct/fdct8_f64.c: (fdct8_f64_ref), (fdct8_f64_fast),
(TEST_fdct8_f64):
* liboil/dct/fdct8x8_f64.c: (fdct8x8_f64_ref), (fdct8x8_f64_ref2),
(fdct8x8_f64_1d), (TEST_fdct8x8_f64):
* liboil/dct/fdct8x8_s16.c: (fdct8x8_s16_ref), (TEST_fdct8x8_s16):
* liboil/dct/fdct8x8s_s16.c: (fdct8x8s_s16_ref),
(TEST_fdct8x8s_s16):
* liboil/dct/idct8_f64.c: (idct8_f64_ref), (idct8_f64_fastx),
(TEST_idct8_f64):
* liboil/dct/idct8x8_c.c: (idct8x8_f64_slow), (idct8x8_f64_c),
(idct8x8_s16_slow):
* liboil/dct/idct8x8_f64.c: (idct8x8_f64_ref), (idct8x8_f64_ref2),
(idct8x8_f64_1d), (TEST_idct8x8_f64):
* liboil/dct/idct8x8_s16.c: (idct8x8_s16_ref), (idct8x8_s16_fast),
(TEST_idct8x8_s16):
* liboil/dct/idct8x8s_s16.c: (idct8x8s_s16_ref),
(TEST_idct8x8s_s16):
* liboil/dct/imdct32_f32.c: (imdct32_f32_ref),
(imdct32_f32_mpglib), (TEST_imdct32_f32):
* liboil/jpeg/Makefile.am:
* liboil/jpeg/idct8_c.c:
* liboil/jpeg/idct8x8_c.c:
* liboil/jpeg/jpeg.c:
* liboil/jpeg/jpeg.h:
* liboil/jpeg/jpeg_rgb_decoder.c:
* liboil/jpeg/quantize8x8_c.c:
* liboil/jpeg/yuv2rgb_c.c:
* liboil/jpeg/zigzag8x8_c.c:
* liboil/liboilcpu.c: (oil_cpu_i386_getflags):
* liboil/liboildebug.c: (oil_debug_print_valist):
* liboil/liboilfuncs.h:
* liboil/liboilfunction.c: (oil_class_get_by_index),
(oil_class_optimize), (oil_init_pointers), (oil_init_structs):
* liboil/liboilfunction.h:
* liboil/simdpack/Makefile.am:
* liboil/simdpack/abs.c: (abs_u8_s8_ref), (abs_u16_s16_ref),
(abs_u32_s32_ref):
* liboil/simdpack/abs_u32_s32.c:
* liboil/simdpack/average2_u8.c:
* liboil/simdpack/clip_ref.c:
* liboil/simdpack/dct12_f32.c:
* liboil/simdpack/dct36.c:
* liboil/simdpack/dct36_f32.c:
* liboil/simdpack/diffsquaresum_f64.c:
* liboil/simdpack/downsample1x_f64.c:
* liboil/simdpack/fdct8_f64.c:
* liboil/simdpack/fdct8x8_f64.c:
* liboil/simdpack/fdct8x8_s16.c:
* liboil/simdpack/fdct8x8s_s16.c:
* liboil/simdpack/get8x8_f64.c:
* liboil/simdpack/idct8_f64.c:
* liboil/simdpack/idct8x8_f64.c:
* liboil/simdpack/idct8x8_s16.c:
* liboil/simdpack/idct8x8s_s16.c:
* liboil/simdpack/imdct32_f32.c:
* liboil/simdpack/mix_u8.c:
* liboil/simdpack/mult8x8_s16.c:
* liboil/simdpack/multsum.c:
* liboil/simdpack/permute.c:
* liboil/simdpack/sad8x8.c:
* liboil/simdpack/scalaradd.c:
* liboil/simdpack/simdpack.c:
* liboil/simdpack/sincos_f64.c:
* liboil/simdpack/squaresum_f64.c:
* liboil/simdpack/sum_f64.c:
* liboil/simdpack/trans8x8.c:
* liboil/simdpack/trans8x8_f32.c:
* liboil/simdpack/trans8x8_s16.c:
* liboil/simdpack/vectoradd_f64.c:
* liboil/simdpack/zigzag8x8_s16.c:
* testsuite/Makefile.am:
* testsuite/abs.c: (test), (main):
* testsuite/introspect.c: (main):
2004-09-02 David Schleef <ds@schleef.org>
* configure.ac: remove strict glib dependency
* liboil-0.1-uninstalled.pc.in: remove glib
* liboil-0.1.pc.in: remove glib
* liboil/Makefile.am: remove glib dependency, make conv_sse an i386
source
* liboil/liboilcpu.c: handle non-Linux builds
2004-08-20 David Schleef <ds@schleef.org>
* m4/as-compiler-flag.m4: add
2004-08-18 David Schleef <ds@schleef.org>
* Makefile.am: remove liboil-lite
* configure.ac: add -D_GNU_SOURCE to flags
* liboil/simdpack/abs_u16_s16.c: (abs_u16_s16_i386asm2),
(abs_u16_s16_mmxx), (abs_u16_s16_mmx2), (abs_u16_s16_sse2):
Fix some problems with ebx usage.
2004-08-13 David Schleef <ds@schleef.org>
Partial port to Forte/non-gcc-compilers. Kill me now.
* configure.ac:
* liboil/Makefile.am:
* liboil/build_prototypes.c: (parse_string):
* liboil/conv_bitstuff.c: (conv_f32_u8_bitstuff),
(conv_f32_s8_bitstuff), (conv_f32_u16_bitstuff),
(conv_f32_s16_bitstuff), (conv_s16_f32_bitstuff),
(conv_f64_u8_bitstuff), (conv_f64_s8_bitstuff),
(conv_f64_u16_bitstuff), (conv_f64_s16_bitstuff):
* liboil/conv_c.c:
* liboil/conv_ref.c:
* liboil/conv_sse.c:
* liboil/jpeg/idct8_c.c:
* liboil/liboil_begin.c:
* liboil/liboil_end.c:
* liboil/liboildebug.h:
* liboil/liboilfunction.h:
* liboil/simdpack/abs.c: (abs_u16_s16_ref), (abs_u32_s32_ref),
(abs_f32_f32_ref), (abs_f64_f64_ref):
* liboil/simdpack/abs_u16_s16.c: (abs_u16_s16_ref):
* liboil/simdpack/abs_u32_s32.c:
* liboil/simdpack/clip_ref.c:
* liboil/simdpack/clip_s16.c: (clip_s16_ref), (clip_s16_fast):
* liboil/simdpack/fdct8_f64.c: (fdct8_f64_ref), (fdct8_f64_fast):
* liboil/simdpack/fdct8x8_f64.c: (fdct8x8_f64_ref),
(fdct8x8_f64_ref2):
* liboil/simdpack/fdct8x8s_s16.c: (fdct8x8s_s16_ref):
* liboil/simdpack/get8x8_f64.c: (get8x8_f64_ref):
* liboil/simdpack/idct8_f64.c: (idct8_f64_ref), (idct8_f64_fastx):
* liboil/simdpack/mult8x8_s16.c: (mult8x8_s16_ref):
* liboil/simdpack/multsum.c: (multsum_f32_unroll2):
* liboil/simdpack/permute.c:
* liboil/simdpack/sad8x8.c: (sad8x8_f64_ref), (sad8x8_s16_ref):
* liboil/simdpack/scalaradd.c:
* liboil/simdpack/scalarmult.c:
* liboil/simdpack/sum_f64.c: (sum_f64_ref), (sum_f64_i10_simple),
(sum_f64_i10_unroll4):
* liboil/simdpack/vectoradd_f64.c:
* liboil/simdpack/zigzag8x8_s16.c: (zigzag8x8_s16_ref):
* liboil/splat_ref.c: (splat_u8_ref), (splat_u32_ref),
(splat_u32_unroll2):
* liboil/tablelookup_ref.c: (tablelookup_u8_ref):
2004-08-12 David Schleef <ds@schleef.org>
* configure.ac: Check for rintf() and friends
* liboil/conv_c.c: use check
* liboil/simdpack/Makefile.am: enable abs_u16_s16.c
* liboil/simdpack/abs_u16_s16.c: fix compilation
* liboil/splat_ref.c: (splat_u32_ref), (splat_u32_unroll2):
2004-08-12 David Schleef <ds@schleef.org>
* m4/as-version.m4: Update from autostars
2004-08-12 David Schleef <ds@schleef.org>
* testsuite/abs.c: (test), (main): Add
2004-08-12 David Schleef <ds@schleef.org>
Start changelog and add some random changes.
* liboil/Makefile.am:
* liboil/build_prototypes.c: (main), (param_free), (print_header),
(print_footer):
* liboil/jpeg/convert8x8_c.c:
* liboil/jpeg/idct8_c.c:
* liboil/jpeg/idct8x8_c.c:
* liboil/jpeg/jpeg.c:
* liboil/jpeg/jpeg.h:
* liboil/jpeg/zigzag8x8_c.c:
* liboil/liboilcpu.c: (oil_cpu_i386_getflags), (strsplit):
* liboil/liboilfuncs.h:
* liboil/splat_ref.c: (splat_u32_ref):
|