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 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 14158 14159 14160 14161 14162 14163 14164 14165 14166 14167 14168 14169 14170 14171 14172 14173 14174 14175 14176 14177 14178 14179 14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 14389 14390 14391 14392 14393 14394 14395 14396 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525 14526 14527 14528 14529 14530 14531 14532 14533 14534 14535 14536 14537 14538 14539 14540 14541 14542 14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 14553 14554 14555 14556 14557 14558 14559 14560 14561 14562 14563 14564 14565 14566 14567 14568 14569 14570 14571 14572 14573 14574 14575 14576 14577 14578 14579 14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 14590 14591 14592 14593 14594 14595 14596 14597 14598 14599 14600 14601 14602 14603 14604 14605 14606 14607 14608 14609 14610 14611 14612 14613 14614 14615 14616 14617 14618 14619 14620 14621 14622 14623 14624 14625 14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 14642 14643 14644 14645 14646 14647 14648 14649 14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 14660 14661 14662 14663 14664 14665 14666 14667 14668 14669 14670 14671 14672 14673 14674 14675 14676 14677 14678 14679 14680 14681 14682 14683 14684 14685 14686 14687 14688 14689 14690 14691 14692 14693 14694 14695 14696 14697 14698 14699 14700 14701 14702 14703 14704 14705 14706 14707 14708 14709 14710 14711 14712 14713 14714 14715 14716 14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 14733 14734 14735 14736 14737 14738 14739 14740 14741 14742 14743 14744 14745 14746 14747 14748 14749 14750 14751 14752 14753 14754 14755 14756 14757 14758 14759 14760 14761 14762 14763 14764 14765 14766 14767 14768 14769 14770 14771 14772 14773 14774 14775 14776 14777 14778 14779 14780 14781 14782 14783 14784 14785 14786 14787 14788 14789 14790 14791 14792 14793 14794 14795 14796 14797 14798 14799 14800 14801 14802 14803 14804 14805 14806 14807 14808 14809 14810 14811 14812 14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 14833 14834 14835 14836 14837 14838 14839 14840 14841 14842 14843 14844 14845 14846 14847 14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 14877 14878 14879 14880 14881 14882 14883 14884 14885 14886 14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 14906 14907 14908 14909 14910 14911 14912 14913 14914 14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 14928 14929 14930 14931 14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035 15036 15037 15038 15039 15040 15041 15042 15043 15044 15045 15046 15047 15048 15049 15050 15051 15052 15053 15054 15055 15056 15057 15058 15059 15060 15061 15062 15063 15064 15065 15066 15067 15068 15069 15070 15071 15072 15073 15074 15075 15076 15077 15078 15079 15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100 15101 15102 15103 15104 15105 15106 15107 15108 15109 15110 15111 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 15148 15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 15160 15161 15162 15163 15164 15165 15166 15167 15168 15169 15170 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249 15250 15251 15252 15253 15254 15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 15313 15314 15315 15316 15317 15318 15319 15320 15321 15322 15323 15324 15325 15326 15327 15328 15329 15330 15331 15332 15333 15334 15335 15336 15337 15338 15339 15340 15341 15342 15343 15344 15345 15346 15347 15348 15349 15350 15351 15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 15378 15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 15437 15438 15439 15440 15441 15442 15443 15444 15445 15446 15447 15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 15488 15489 15490 15491 15492 15493 15494 15495 15496 15497 15498 15499 15500 15501 15502 15503 15504 15505 15506 15507 15508 15509 15510 15511 15512 15513 15514 15515 15516 15517 15518 15519 15520 15521 15522 15523 15524 15525 15526 15527 15528 15529 15530 15531 15532 15533 15534 15535 15536 15537 15538 15539 15540 15541 15542 15543 15544 15545 15546 15547 15548 15549 15550 15551 15552 15553 15554 15555 15556 15557 15558 15559 15560 15561 15562 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 15578 15579 15580 15581 15582 15583 15584 15585 15586 15587 15588 15589 15590 15591 15592 15593 15594 15595 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 15607 15608 15609 15610 15611 15612 15613 15614 15615 15616 15617 15618 15619 15620 15621 15622 15623 15624 15625 15626 15627 15628 15629 15630 15631 15632 15633 15634 15635 15636 15637 15638 15639 15640 15641 15642 15643 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 15657 15658 15659 15660 15661 15662 15663 15664 15665 15666 15667 15668 15669 15670 15671 15672 15673 15674 15675 15676 15677 15678 15679 15680 15681 15682 15683 15684 15685 15686 15687 15688 15689 15690 15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 15705 15706 15707 15708 15709 15710 15711 15712 15713 15714 15715 15716 15717 15718 15719 15720 15721 15722 15723 15724 15725 15726 15727 15728 15729 15730 15731 15732 15733 15734 15735 15736 15737 15738 15739 15740 15741 15742 15743 15744 15745 15746 15747 15748 15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 15764 15765 15766 15767 15768 15769 15770 15771 15772 15773 15774 15775 15776 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 15815 15816 15817 15818 15819 15820 15821 15822 15823 15824 15825 15826 15827 15828 15829 15830 15831 15832 15833 15834 15835 15836 15837 15838 15839 15840 15841 15842 15843 15844 15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867 15868 15869 15870 15871 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 15923 15924 15925 15926 15927 15928 15929 15930 15931 15932 15933 15934 15935 15936 15937 15938 15939 15940 15941 15942 15943 15944 15945 15946 15947 15948 15949 15950 15951 15952 15953 15954 15955 15956 15957 15958 15959 15960 15961 15962 15963 15964 15965 15966 15967 15968 15969 15970 15971 15972 15973 15974 15975 15976 15977 15978 15979 15980 15981 15982 15983 15984 15985 15986 15987 15988 15989 15990 15991 15992 15993 15994 15995 15996 15997 15998 15999 16000 16001 16002 16003 16004 16005 16006 16007 16008 16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 16070 16071 16072 16073 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 16115 16116 16117 16118 16119 16120 16121 16122 16123 16124 16125 16126 16127 16128 16129 16130 16131 16132 16133 16134 16135 16136 16137 16138 16139 16140 16141 16142 16143 16144 16145 16146 16147 16148 16149 16150 16151 16152 16153 16154 16155 16156 16157 16158 16159 16160 16161 16162 16163 16164 16165 16166 16167 16168 16169 16170 16171 16172 16173 16174 16175 16176 16177 16178 16179 16180 16181 16182 16183 16184 16185 16186 16187 16188 16189 16190 16191 16192 16193 16194 16195 16196 16197 16198 16199 16200 16201 16202 16203 16204 16205 16206 16207 16208 16209 16210 16211 16212 16213 16214 16215 16216 16217 16218 16219 16220 16221 16222 16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 16238 16239 16240 16241 16242 16243 16244 16245 16246 16247 16248 16249 16250 16251 16252 16253 16254 16255 16256 16257 16258 16259 16260 16261 16262 16263 16264 16265 16266 16267 16268 16269 16270 16271 16272 16273 16274 16275 16276 16277 16278 16279 16280 16281 16282 16283 16284 16285 16286 16287 16288 16289 16290 16291 16292 16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 16303 16304 16305 16306 16307 16308 16309 16310 16311 16312 16313 16314 16315 16316 16317 16318 16319 16320 16321 16322 16323 16324 16325 16326 16327 16328 16329 16330 16331 16332 16333 16334 16335 16336 16337 16338 16339 16340 16341 16342 16343 16344 16345 16346 16347 16348 16349 16350 16351 16352 16353 16354 16355 16356 16357 16358 16359 16360 16361 16362 16363 16364 16365 16366 16367 16368 16369 16370 16371 16372 16373 16374 16375 16376 16377 16378 16379 16380 16381 16382 16383 16384 16385 16386 16387 16388 16389 16390 16391 16392 16393 16394 16395 16396 16397 16398 16399 16400 16401 16402 16403 16404 16405 16406 16407 16408 16409 16410 16411 16412 16413 16414 16415 16416 16417 16418 16419 16420 16421 16422 16423 16424 16425 16426 16427 16428 16429 16430 16431 16432 16433 16434 16435 16436 16437 16438 16439 16440 16441 16442 16443 16444 16445 16446 16447 16448 16449 16450 16451 16452 16453 16454 16455 16456 16457 16458 16459 16460 16461 16462 16463 16464 16465 16466 16467 16468 16469 16470 16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 16482 16483 16484 16485 16486 16487 16488 16489 16490 16491 16492 16493 16494 16495 16496 16497 16498 16499 16500 16501 16502 16503 16504 16505 16506 16507 16508 16509 16510 16511 16512 16513 16514 16515 16516 16517 16518 16519 16520 16521 16522 16523 16524 16525 16526 16527 16528 16529 16530 16531 16532 16533 16534 16535 16536 16537 16538 16539 16540 16541 16542 16543 16544 16545 16546 16547 16548 16549 16550 16551 16552 16553 16554 16555 16556 16557 16558 16559 16560 16561 16562 16563 16564 16565 16566 16567 16568 16569 16570 16571 16572 16573 16574 16575 16576 16577 16578 16579 16580 16581 16582 16583 16584 16585 16586 16587 16588 16589 16590 16591 16592 16593 16594 16595 16596 16597 16598 16599 16600 16601 16602 16603 16604 16605 16606 16607 16608 16609 16610 16611 16612 16613 16614 16615 16616 16617 16618 16619 16620 16621 16622 16623 16624 16625 16626 16627 16628 16629 16630 16631 16632 16633 16634 16635 16636 16637 16638 16639 16640 16641 16642 16643 16644 16645 16646 16647 16648 16649 16650 16651 16652 16653 16654 16655 16656 16657 16658 16659 16660 16661 16662 16663 16664 16665 16666 16667 16668 16669 16670 16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 16686 16687 16688 16689 16690 16691 16692 16693 16694 16695 16696 16697 16698 16699 16700 16701 16702 16703 16704 16705 16706 16707 16708 16709 16710 16711 16712 16713 16714 16715 16716 16717 16718 16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 16729 16730 16731 16732 16733 16734 16735 16736 16737 16738 16739 16740 16741 16742 16743 16744 16745 16746 16747 16748 16749 16750 16751 16752 16753 16754 16755 16756 16757 16758 16759 16760 16761 16762 16763 16764 16765 16766 16767 16768 16769 16770 16771 16772 16773 16774 16775 16776 16777 16778 16779 16780 16781 16782 16783 16784 16785 16786 16787 16788 16789 16790 16791 16792 16793 16794 16795 16796 16797 16798 16799 16800 16801 16802 16803 16804 16805 16806 16807 16808 16809 16810 16811 16812 16813 16814 16815 16816 16817 16818 16819 16820 16821 16822 16823 16824 16825 16826 16827 16828 16829 16830 16831 16832 16833 16834 16835 16836 16837 16838 16839 16840 16841 16842 16843 16844 16845 16846 16847 16848 16849 16850 16851 16852 16853 16854 16855 16856 16857 16858 16859 16860 16861 16862 16863 16864 16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 16911 16912 16913 16914 16915 16916 16917 16918 16919 16920 16921 16922 16923 16924 16925 16926 16927 16928 16929 16930 16931 16932 16933 16934 16935 16936 16937 16938 16939 16940 16941 16942 16943 16944 16945 16946 16947 16948 16949 16950 16951 16952 16953 16954 16955 16956 16957 16958 16959 16960 16961 16962 16963 16964 16965 16966 16967 16968 16969 16970 16971 16972 16973 16974 16975 16976 16977 16978 16979 16980 16981 16982 16983 16984 16985 16986 16987 16988 16989 16990 16991 16992 16993 16994 16995 16996 16997 16998 16999 17000 17001 17002 17003 17004 17005 17006 17007 17008 17009 17010 17011 17012 17013 17014 17015 17016 17017 17018 17019 17020 17021 17022 17023 17024 17025 17026 17027 17028 17029 17030 17031 17032 17033 17034 17035 17036 17037 17038 17039 17040 17041 17042 17043 17044 17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 17057 17058 17059 17060 17061 17062 17063 17064 17065 17066 17067 17068 17069 17070 17071 17072 17073 17074 17075 17076 17077 17078 17079 17080 17081 17082 17083 17084 17085 17086 17087 17088 17089 17090 17091 17092 17093 17094 17095 17096 17097 17098 17099 17100 17101 17102 17103 17104 17105 17106 17107 17108 17109 17110 17111 17112 17113 17114 17115 17116 17117 17118 17119 17120 17121 17122 17123 17124 17125 17126 17127 17128 17129 17130 17131 17132 17133 17134 17135 17136 17137 17138 17139 17140 17141 17142 17143 17144 17145 17146 17147 17148 17149 17150 17151 17152 17153 17154 17155 17156 17157 17158 17159 17160 17161 17162 17163 17164 17165 17166 17167 17168 17169 17170 17171 17172 17173 17174 17175 17176 17177 17178 17179 17180 17181 17182 17183 17184 17185 17186 17187 17188 17189 17190 17191 17192 17193 17194 17195 17196 17197 17198 17199 17200 17201 17202 17203 17204 17205 17206 17207 17208 17209 17210 17211 17212 17213 17214 17215 17216 17217 17218 17219 17220 17221 17222 17223 17224 17225 17226 17227 17228 17229 17230 17231 17232 17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 17252 17253 17254 17255 17256 17257 17258 17259 17260 17261 17262 17263 17264 17265 17266 17267 17268 17269 17270 17271 17272 17273 17274 17275 17276 17277 17278 17279 17280 17281 17282 17283 17284 17285 17286 17287 17288 17289 17290 17291 17292 17293 17294 17295 17296 17297 17298 17299 17300 17301 17302 17303 17304 17305 17306 17307 17308 17309 17310 17311 17312 17313 17314 17315 17316 17317 17318 17319 17320 17321 17322 17323 17324 17325 17326 17327 17328 17329 17330 17331 17332 17333 17334 17335 17336 17337 17338 17339 17340 17341 17342 17343 17344 17345 17346 17347 17348 17349 17350 17351 17352 17353 17354 17355 17356 17357 17358 17359 17360 17361 17362 17363 17364 17365 17366 17367 17368 17369 17370 17371 17372 17373 17374 17375 17376 17377 17378 17379 17380 17381 17382 17383 17384 17385 17386 17387 17388 17389 17390 17391 17392 17393 17394 17395 17396 17397 17398 17399 17400 17401 17402 17403 17404 17405 17406 17407 17408 17409 17410 17411 17412 17413 17414 17415 17416 17417 17418 17419 17420 17421 17422 17423 17424 17425 17426 17427 17428 17429 17430 17431 17432 17433 17434 17435 17436 17437 17438 17439 17440 17441 17442 17443 17444 17445 17446 17447 17448 17449 17450 17451 17452 17453 17454 17455 17456 17457 17458 17459 17460 17461 17462 17463 17464 17465 17466 17467 17468 17469 17470 17471 17472 17473 17474 17475 17476 17477 17478 17479 17480 17481 17482 17483 17484 17485 17486 17487 17488 17489 17490 17491 17492 17493 17494 17495 17496 17497 17498 17499 17500 17501 17502 17503 17504 17505 17506 17507 17508 17509 17510 17511 17512 17513 17514 17515 17516 17517 17518 17519 17520 17521 17522 17523 17524 17525 17526 17527 17528 17529 17530 17531 17532 17533 17534 17535 17536 17537 17538 17539 17540 17541 17542 17543 17544 17545 17546 17547 17548 17549 17550 17551 17552 17553 17554 17555 17556 17557 17558 17559 17560 17561 17562 17563 17564 17565 17566 17567 17568 17569 17570 17571 17572 17573 17574 17575 17576 17577 17578 17579 17580 17581 17582 17583 17584 17585 17586 17587 17588 17589 17590 17591 17592 17593 17594 17595 17596 17597 17598 17599 17600 17601 17602 17603 17604 17605 17606 17607 17608 17609 17610 17611 17612 17613 17614 17615 17616 17617 17618 17619 17620 17621 17622 17623 17624 17625 17626 17627 17628 17629 17630 17631 17632 17633 17634 17635 17636 17637 17638 17639 17640 17641 17642 17643 17644 17645 17646 17647 17648 17649 17650 17651 17652 17653 17654 17655 17656 17657 17658 17659 17660 17661 17662 17663 17664 17665 17666 17667 17668 17669 17670 17671 17672 17673 17674 17675 17676 17677 17678 17679 17680 17681 17682 17683 17684 17685 17686 17687 17688 17689 17690 17691 17692 17693 17694 17695 17696 17697 17698 17699 17700 17701 17702 17703 17704 17705 17706 17707 17708 17709 17710 17711 17712 17713 17714 17715 17716 17717 17718 17719 17720 17721 17722 17723 17724 17725 17726 17727 17728 17729 17730 17731 17732 17733 17734 17735 17736 17737 17738 17739 17740 17741 17742 17743 17744 17745 17746 17747 17748 17749 17750 17751 17752 17753 17754 17755 17756 17757 17758 17759 17760 17761 17762 17763 17764 17765 17766 17767 17768 17769 17770 17771 17772 17773 17774 17775 17776 17777 17778 17779 17780 17781 17782 17783 17784 17785 17786 17787 17788 17789 17790 17791 17792 17793 17794 17795 17796 17797 17798 17799 17800 17801 17802 17803 17804 17805 17806 17807 17808 17809 17810 17811 17812 17813 17814 17815 17816 17817 17818 17819 17820 17821 17822 17823 17824 17825 17826 17827 17828 17829 17830 17831 17832 17833 17834 17835 17836 17837 17838 17839 17840 17841 17842 17843 17844 17845 17846 17847 17848 17849 17850 17851 17852 17853 17854 17855 17856 17857 17858 17859 17860 17861 17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 17886 17887 17888 17889 17890 17891 17892 17893 17894 17895 17896 17897 17898 17899 17900 17901 17902 17903 17904 17905 17906 17907 17908 17909 17910 17911 17912 17913 17914 17915 17916 17917 17918 17919 17920 17921 17922 17923 17924 17925 17926 17927 17928 17929 17930 17931 17932 17933 17934 17935 17936 17937 17938 17939 17940 17941 17942 17943 17944 17945 17946 17947 17948 17949 17950 17951 17952 17953 17954 17955 17956 17957 17958 17959 17960 17961 17962 17963 17964 17965 17966 17967 17968 17969 17970 17971 17972 17973 17974 17975 17976 17977 17978 17979 17980 17981 17982 17983 17984 17985 17986 17987 17988 17989 17990 17991 17992 17993 17994 17995 17996 17997 17998 17999 18000 18001 18002 18003 18004 18005 18006 18007 18008 18009 18010 18011 18012 18013 18014 18015 18016 18017 18018 18019 18020 18021 18022 18023 18024 18025 18026 18027 18028 18029 18030 18031 18032 18033 18034 18035 18036 18037 18038 18039 18040 18041 18042 18043 18044 18045 18046 18047 18048 18049 18050 18051 18052 18053 18054 18055 18056 18057 18058 18059 18060 18061 18062 18063 18064 18065 18066 18067 18068 18069 18070 18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 18086 18087 18088 18089 18090 18091 18092 18093 18094 18095 18096 18097 18098 18099 18100 18101 18102 18103 18104 18105 18106 18107 18108 18109 18110 18111 18112 18113 18114 18115 18116 18117 18118 18119 18120 18121 18122 18123 18124 18125 18126 18127 18128 18129 18130 18131 18132 18133 18134 18135 18136 18137 18138 18139 18140 18141 18142 18143 18144 18145 18146 18147 18148 18149 18150 18151 18152 18153 18154 18155 18156 18157 18158 18159 18160 18161 18162 18163 18164 18165 18166 18167 18168 18169 18170 18171 18172 18173 18174 18175 18176 18177 18178 18179 18180 18181 18182 18183 18184 18185 18186 18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 18197 18198 18199 18200 18201 18202 18203 18204 18205 18206 18207 18208 18209 18210 18211 18212 18213 18214 18215 18216 18217 18218 18219 18220 18221 18222 18223 18224 18225 18226 18227 18228 18229 18230 18231 18232 18233 18234 18235 18236 18237 18238 18239 18240 18241 18242 18243 18244 18245 18246 18247 18248 18249 18250 18251 18252 18253 18254 18255 18256 18257 18258 18259 18260 18261 18262 18263 18264 18265 18266 18267 18268 18269 18270 18271 18272 18273 18274 18275 18276 18277 18278 18279 18280 18281 18282 18283 18284 18285 18286 18287 18288 18289 18290 18291 18292 18293 18294 18295 18296 18297 18298 18299 18300 18301 18302 18303 18304 18305 18306 18307 18308 18309 18310 18311 18312 18313 18314 18315 18316 18317 18318 18319 18320 18321 18322 18323 18324 18325 18326 18327 18328 18329 18330 18331 18332 18333 18334 18335 18336 18337 18338 18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 18357 18358 18359 18360 18361 18362 18363 18364 18365 18366 18367 18368 18369 18370 18371 18372 18373 18374 18375 18376 18377 18378 18379 18380 18381 18382 18383 18384 18385 18386 18387 18388 18389 18390 18391 18392 18393 18394 18395 18396 18397 18398 18399 18400 18401 18402 18403 18404 18405 18406 18407 18408 18409 18410 18411 18412 18413 18414 18415 18416 18417 18418 18419 18420 18421 18422 18423 18424 18425 18426 18427 18428 18429 18430 18431 18432 18433 18434 18435 18436 18437 18438 18439 18440 18441 18442 18443 18444 18445 18446 18447 18448 18449 18450 18451 18452 18453 18454 18455 18456 18457 18458 18459 18460 18461 18462 18463 18464 18465 18466 18467 18468 18469 18470 18471 18472 18473 18474 18475 18476 18477 18478 18479 18480 18481 18482 18483 18484 18485 18486 18487 18488 18489 18490 18491 18492 18493 18494 18495 18496 18497 18498 18499 18500 18501 18502 18503 18504 18505 18506 18507 18508 18509 18510 18511 18512 18513 18514 18515 18516 18517 18518 18519 18520 18521 18522 18523 18524 18525 18526 18527 18528 18529 18530 18531 18532 18533 18534 18535 18536 18537 18538 18539 18540 18541 18542 18543 18544 18545 18546 18547 18548 18549 18550 18551 18552 18553 18554 18555 18556 18557 18558 18559 18560 18561 18562 18563 18564 18565 18566 18567 18568 18569 18570 18571 18572 18573 18574 18575 18576 18577 18578 18579 18580 18581 18582 18583 18584 18585 18586 18587 18588 18589 18590 18591 18592 18593 18594 18595 18596 18597 18598 18599 18600 18601 18602 18603 18604 18605 18606 18607 18608 18609 18610 18611 18612 18613 18614 18615 18616 18617 18618 18619 18620 18621 18622 18623 18624 18625 18626 18627 18628 18629 18630 18631 18632 18633 18634 18635 18636 18637 18638 18639 18640 18641 18642 18643 18644 18645 18646 18647 18648 18649 18650 18651 18652 18653 18654 18655 18656 18657 18658 18659 18660 18661 18662 18663 18664 18665 18666 18667 18668 18669 18670 18671 18672 18673 18674 18675 18676 18677 18678 18679 18680 18681 18682 18683 18684 18685 18686 18687 18688 18689 18690 18691 18692 18693 18694 18695 18696 18697 18698 18699 18700 18701 18702 18703 18704 18705 18706 18707 18708 18709 18710 18711 18712 18713 18714 18715 18716 18717 18718 18719 18720 18721 18722 18723 18724 18725 18726 18727 18728 18729 18730 18731 18732 18733 18734 18735 18736 18737 18738 18739 18740 18741 18742 18743 18744 18745 18746 18747 18748 18749 18750 18751 18752 18753 18754 18755 18756 18757 18758 18759 18760 18761 18762 18763 18764 18765 18766 18767 18768 18769 18770 18771 18772 18773 18774 18775 18776 18777 18778 18779 18780 18781 18782 18783 18784 18785 18786 18787 18788 18789 18790 18791 18792 18793 18794 18795 18796 18797 18798 18799 18800 18801 18802 18803 18804 18805 18806 18807 18808 18809 18810 18811 18812 18813 18814 18815 18816 18817 18818 18819 18820 18821 18822 18823 18824 18825 18826 18827 18828 18829 18830 18831 18832 18833 18834 18835 18836 18837 18838 18839 18840 18841 18842 18843 18844 18845 18846 18847 18848 18849 18850 18851 18852 18853 18854 18855 18856 18857 18858 18859 18860 18861 18862 18863 18864 18865 18866 18867 18868 18869 18870 18871 18872 18873 18874 18875 18876 18877 18878 18879 18880 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903 18904 18905 18906 18907 18908 18909 18910 18911 18912 18913 18914 18915 18916 18917 18918 18919 18920 18921 18922 18923 18924 18925 18926 18927 18928 18929 18930 18931 18932 18933 18934 18935 18936 18937 18938 18939 18940 18941 18942 18943 18944 18945 18946 18947 18948 18949 18950 18951 18952 18953 18954 18955 18956 18957 18958 18959 18960 18961 18962 18963 18964 18965 18966 18967 18968 18969 18970 18971 18972 18973 18974 18975 18976 18977 18978 18979 18980 18981 18982 18983 18984 18985 18986 18987 18988 18989 18990 18991 18992 18993 18994 18995 18996 18997 18998 18999 19000 19001 19002 19003 19004 19005 19006 19007 19008 19009 19010 19011 19012 19013 19014 19015 19016 19017 19018 19019 19020 19021 19022 19023 19024 19025 19026 19027 19028 19029 19030 19031 19032 19033 19034 19035 19036 19037 19038 19039 19040 19041 19042 19043 19044 19045 19046 19047 19048 19049 19050 19051 19052 19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 19068 19069 19070 19071 19072 19073 19074 19075 19076 19077 19078 19079 19080 19081 19082 19083 19084 19085 19086 19087 19088 19089 19090 19091 19092 19093 19094 19095 19096 19097 19098 19099 19100 19101 19102 19103 19104 19105 19106 19107 19108 19109 19110 19111 19112 19113 19114 19115 19116 19117 19118 19119 19120 19121 19122 19123 19124 19125 19126 19127 19128 19129 19130 19131 19132 19133 19134 19135 19136 19137 19138 19139 19140 19141 19142 19143 19144 19145 19146 19147 19148 19149 19150 19151 19152 19153 19154 19155 19156 19157 19158 19159 19160 19161 19162 19163 19164 19165 19166 19167 19168 19169 19170 19171 19172 19173 19174 19175 19176 19177 19178 19179 19180 19181 19182 19183 19184 19185 19186 19187 19188 19189 19190 19191 19192 19193 19194 19195 19196 19197 19198 19199 19200 19201 19202 19203 19204 19205 19206 19207 19208 19209 19210 19211 19212 19213 19214 19215 19216 19217 19218 19219 19220 19221 19222 19223 19224 19225 19226 19227 19228 19229 19230 19231 19232 19233 19234 19235 19236 19237 19238 19239 19240 19241 19242 19243 19244 19245 19246 19247 19248 19249 19250 19251 19252 19253 19254 19255 19256 19257 19258 19259 19260 19261 19262 19263 19264 19265 19266 19267 19268 19269 19270 19271 19272 19273 19274 19275 19276 19277 19278 19279 19280 19281 19282 19283 19284 19285 19286 19287 19288 19289 19290 19291 19292 19293 19294 19295 19296 19297 19298 19299 19300 19301 19302 19303 19304 19305 19306 19307 19308 19309 19310 19311 19312 19313 19314 19315 19316 19317 19318 19319 19320 19321 19322 19323 19324 19325 19326 19327 19328 19329 19330 19331 19332 19333 19334 19335 19336 19337 19338 19339 19340 19341 19342 19343 19344 19345 19346 19347 19348 19349 19350 19351 19352 19353 19354 19355 19356 19357 19358 19359 19360 19361 19362 19363 19364 19365 19366 19367 19368 19369 19370 19371 19372 19373 19374 19375 19376 19377 19378 19379 19380 19381 19382 19383 19384 19385 19386 19387 19388 19389 19390 19391 19392 19393 19394 19395 19396 19397 19398 19399 19400 19401 19402 19403 19404 19405 19406 19407 19408 19409 19410 19411 19412 19413 19414 19415 19416 19417 19418 19419 19420 19421 19422 19423 19424 19425 19426 19427 19428 19429 19430 19431 19432 19433 19434 19435 19436 19437 19438 19439 19440 19441 19442 19443 19444 19445 19446 19447 19448 19449 19450 19451 19452 19453 19454 19455 19456 19457 19458 19459 19460 19461 19462 19463 19464 19465 19466 19467 19468 19469 19470 19471 19472 19473 19474 19475 19476 19477 19478 19479 19480 19481 19482 19483 19484 19485 19486 19487 19488 19489 19490 19491 19492 19493 19494 19495 19496 19497 19498 19499 19500 19501 19502 19503 19504 19505 19506 19507 19508 19509 19510 19511 19512 19513 19514 19515 19516 19517 19518 19519 19520 19521 19522 19523 19524 19525 19526 19527 19528 19529 19530 19531 19532 19533 19534 19535 19536 19537 19538 19539 19540 19541 19542 19543 19544 19545 19546 19547 19548 19549 19550 19551 19552 19553 19554 19555 19556 19557 19558 19559 19560 19561 19562 19563 19564 19565 19566 19567 19568 19569 19570 19571 19572 19573 19574 19575 19576 19577 19578 19579 19580 19581 19582 19583 19584 19585 19586 19587 19588 19589 19590 19591 19592 19593 19594 19595 19596 19597 19598 19599 19600 19601 19602 19603 19604 19605 19606 19607 19608 19609 19610 19611 19612 19613 19614 19615 19616 19617 19618 19619 19620 19621 19622 19623 19624 19625 19626 19627 19628 19629 19630 19631 19632 19633 19634 19635 19636 19637 19638 19639 19640 19641 19642 19643 19644 19645 19646 19647 19648 19649 19650 19651 19652 19653 19654 19655 19656 19657 19658 19659 19660 19661 19662 19663 19664 19665 19666 19667 19668 19669 19670 19671 19672 19673 19674 19675 19676 19677 19678 19679 19680 19681 19682 19683 19684 19685 19686 19687 19688 19689 19690 19691 19692 19693 19694 19695 19696 19697 19698 19699 19700 19701 19702 19703 19704 19705 19706 19707 19708 19709 19710 19711 19712 19713 19714 19715 19716 19717 19718 19719 19720 19721 19722 19723 19724 19725 19726 19727 19728 19729 19730 19731 19732 19733 19734 19735 19736 19737 19738 19739 19740 19741 19742 19743 19744 19745 19746 19747 19748 19749 19750 19751 19752 19753 19754 19755 19756 19757 19758 19759 19760 19761 19762 19763 19764 19765 19766 19767 19768 19769 19770 19771 19772 19773 19774 19775 19776 19777 19778 19779 19780 19781 19782 19783 19784 19785 19786 19787 19788 19789 19790 19791 19792 19793 19794 19795 19796 19797 19798 19799 19800 19801 19802 19803 19804 19805 19806 19807 19808 19809 19810 19811 19812 19813 19814 19815 19816 19817 19818 19819 19820 19821 19822 19823 19824 19825 19826 19827 19828 19829 19830 19831 19832 19833 19834 19835 19836 19837 19838 19839 19840 19841 19842 19843 19844 19845 19846 19847 19848 19849 19850 19851 19852 19853 19854 19855 19856 19857 19858 19859 19860 19861 19862 19863 19864 19865 19866 19867 19868 19869 19870 19871 19872 19873 19874 19875 19876 19877 19878 19879 19880 19881 19882 19883 19884 19885 19886 19887 19888 19889 19890 19891 19892 19893 19894 19895 19896 19897 19898 19899 19900 19901 19902 19903 19904 19905 19906 19907 19908 19909 19910 19911 19912 19913 19914 19915 19916 19917 19918 19919 19920 19921 19922 19923 19924 19925 19926 19927 19928 19929 19930 19931 19932 19933 19934 19935 19936 19937 19938 19939 19940 19941 19942 19943 19944 19945 19946 19947 19948 19949 19950 19951 19952 19953 19954 19955 19956 19957 19958 19959 19960 19961 19962 19963 19964 19965 19966 19967 19968 19969 19970 19971 19972 19973 19974 19975 19976 19977 19978 19979 19980 19981 19982 19983 19984 19985 19986 19987 19988 19989 19990 19991 19992 19993 19994 19995 19996 19997 19998 19999 20000 20001 20002 20003 20004 20005 20006 20007 20008 20009 20010 20011 20012 20013 20014 20015 20016 20017 20018 20019 20020 20021 20022 20023 20024 20025 20026 20027 20028 20029 20030 20031 20032 20033 20034 20035 20036 20037 20038 20039 20040 20041 20042 20043 20044 20045 20046 20047 20048 20049 20050 20051 20052 20053 20054 20055 20056 20057 20058 20059 20060 20061 20062 20063 20064 20065 20066 20067 20068 20069 20070 20071 20072 20073 20074 20075 20076 20077 20078 20079 20080 20081 20082 20083 20084 20085 20086 20087 20088 20089 20090 20091 20092 20093 20094 20095 20096 20097 20098 20099 20100 20101 20102 20103 20104 20105 20106 20107 20108 20109 20110 20111 20112 20113 20114 20115 20116 20117 20118 20119 20120 20121 20122 20123 20124 20125 20126 20127 20128 20129 20130 20131 20132 20133 20134 20135 20136 20137 20138 20139 20140 20141 20142 20143 20144 20145 20146 20147 20148 20149 20150 20151 20152 20153 20154 20155 20156 20157 20158 20159 20160 20161 20162 20163 20164 20165 20166 20167 20168 20169 20170 20171 20172 20173 20174 20175 20176 20177 20178 20179 20180 20181 20182 20183 20184 20185 20186 20187 20188 20189 20190 20191 20192 20193 20194 20195 20196 20197 20198 20199 20200 20201 20202 20203 20204 20205 20206 20207 20208 20209 20210 20211 20212 20213 20214 20215 20216 20217 20218 20219 20220 20221 20222 20223 20224 20225 20226 20227 20228 20229 20230 20231 20232 20233 20234 20235 20236 20237 20238 20239 20240 20241 20242 20243 20244 20245 20246 20247 20248 20249 20250 20251 20252 20253 20254 20255 20256 20257 20258 20259 20260 20261 20262 20263 20264 20265 20266 20267 20268 20269 20270 20271 20272 20273 20274 20275 20276 20277 20278 20279 20280 20281 20282 20283 20284 20285 20286 20287 20288 20289 20290 20291 20292 20293 20294 20295 20296 20297 20298 20299 20300 20301 20302 20303 20304 20305 20306 20307 20308 20309 20310 20311 20312 20313 20314 20315 20316 20317 20318 20319 20320 20321 20322 20323 20324 20325 20326 20327 20328 20329 20330 20331 20332 20333 20334 20335 20336 20337 20338 20339 20340 20341 20342 20343 20344 20345 20346 20347 20348 20349 20350 20351 20352 20353 20354 20355 20356 20357 20358 20359 20360 20361 20362 20363 20364 20365 20366 20367 20368 20369 20370 20371 20372 20373 20374 20375 20376 20377 20378 20379 20380 20381 20382 20383 20384 20385 20386 20387 20388 20389 20390 20391 20392 20393 20394 20395 20396 20397 20398 20399 20400 20401 20402 20403 20404 20405 20406 20407 20408 20409 20410 20411 20412 20413 20414 20415 20416 20417 20418 20419 20420 20421 20422 20423 20424 20425 20426 20427 20428 20429 20430 20431 20432 20433 20434 20435 20436 20437 20438 20439 20440 20441 20442 20443 20444 20445 20446 20447 20448 20449 20450 20451 20452 20453 20454 20455 20456 20457 20458 20459 20460 20461 20462 20463 20464 20465 20466 20467 20468 20469 20470 20471 20472 20473 20474 20475 20476 20477 20478 20479 20480 20481 20482 20483 20484 20485 20486 20487 20488 20489 20490 20491 20492 20493 20494 20495 20496 20497 20498 20499 20500 20501 20502 20503 20504 20505 20506 20507 20508 20509 20510 20511 20512 20513 20514 20515 20516 20517 20518 20519 20520 20521 20522 20523 20524 20525 20526 20527 20528 20529 20530 20531 20532 20533 20534 20535 20536 20537 20538 20539 20540 20541 20542 20543 20544 20545 20546 20547 20548 20549 20550 20551 20552 20553 20554 20555 20556 20557 20558 20559 20560 20561 20562 20563 20564 20565 20566 20567 20568 20569 20570 20571 20572 20573 20574 20575 20576 20577 20578 20579 20580 20581 20582 20583 20584 20585 20586 20587 20588 20589 20590 20591 20592 20593 20594 20595 20596 20597 20598 20599 20600 20601 20602 20603 20604 20605 20606 20607 20608 20609 20610 20611 20612 20613 20614 20615 20616 20617 20618 20619 20620 20621 20622 20623 20624 20625 20626 20627 20628 20629 20630 20631 20632 20633 20634 20635 20636 20637 20638 20639 20640 20641 20642 20643 20644 20645 20646 20647 20648 20649 20650 20651 20652 20653 20654 20655 20656 20657 20658 20659 20660 20661 20662 20663 20664 20665 20666 20667 20668 20669 20670 20671 20672 20673 20674 20675 20676 20677 20678 20679 20680 20681 20682 20683 20684 20685 20686 20687 20688 20689 20690 20691 20692 20693 20694 20695 20696 20697 20698 20699 20700 20701 20702 20703 20704 20705 20706 20707 20708 20709 20710 20711 20712 20713 20714 20715 20716 20717 20718 20719 20720 20721 20722 20723 20724 20725 20726 20727 20728 20729 20730 20731 20732 20733 20734 20735 20736 20737 20738 20739 20740 20741 20742 20743 20744 20745 20746 20747 20748 20749 20750 20751 20752 20753 20754 20755 20756 20757 20758 20759 20760 20761 20762 20763 20764 20765 20766 20767 20768 20769 20770 20771 20772 20773 20774 20775 20776 20777 20778 20779 20780 20781 20782 20783 20784 20785 20786 20787 20788 20789 20790 20791 20792 20793 20794 20795 20796 20797 20798 20799 20800 20801 20802 20803 20804 20805 20806 20807 20808 20809 20810 20811 20812 20813 20814 20815 20816 20817 20818 20819 20820 20821 20822 20823 20824 20825 20826 20827 20828 20829 20830 20831 20832 20833 20834 20835 20836 20837 20838 20839 20840 20841 20842 20843 20844 20845 20846 20847 20848 20849 20850 20851 20852 20853 20854 20855 20856 20857 20858 20859 20860 20861 20862 20863 20864 20865 20866 20867 20868 20869 20870 20871 20872 20873 20874 20875 20876 20877 20878 20879 20880 20881 20882 20883 20884 20885 20886 20887 20888 20889 20890 20891 20892 20893 20894 20895 20896 20897 20898 20899 20900 20901 20902 20903 20904 20905 20906 20907 20908 20909 20910 20911 20912 20913 20914 20915 20916 20917 20918 20919 20920 20921 20922 20923 20924 20925 20926 20927 20928 20929 20930 20931 20932 20933 20934 20935 20936 20937 20938 20939 20940 20941 20942 20943 20944 20945 20946 20947 20948 20949 20950 20951 20952 20953 20954 20955 20956 20957 20958 20959 20960 20961 20962 20963 20964 20965 20966 20967 20968 20969 20970 20971 20972 20973 20974 20975 20976 20977 20978 20979 20980 20981 20982 20983 20984 20985 20986 20987 20988 20989 20990 20991 20992 20993 20994 20995 20996 20997 20998 20999 21000 21001 21002 21003 21004 21005 21006 21007 21008 21009 21010 21011 21012 21013 21014 21015 21016 21017 21018 21019 21020 21021 21022 21023 21024 21025 21026 21027 21028 21029 21030 21031 21032 21033 21034 21035 21036 21037 21038 21039 21040 21041 21042 21043 21044 21045 21046 21047 21048 21049 21050 21051 21052 21053 21054 21055 21056 21057 21058 21059 21060 21061 21062 21063 21064 21065 21066 21067 21068 21069 21070 21071 21072 21073 21074 21075 21076 21077 21078 21079 21080 21081 21082 21083 21084 21085 21086 21087 21088 21089 21090 21091 21092 21093 21094 21095 21096 21097 21098 21099 21100 21101 21102 21103 21104 21105 21106 21107 21108 21109 21110 21111 21112 21113 21114 21115 21116 21117 21118 21119 21120 21121 21122 21123 21124 21125 21126 21127 21128 21129 21130 21131 21132 21133 21134 21135 21136 21137 21138 21139 21140 21141 21142 21143 21144 21145 21146 21147 21148 21149 21150 21151 21152 21153 21154 21155 21156 21157 21158 21159 21160 21161 21162 21163 21164 21165 21166 21167 21168 21169 21170 21171 21172 21173 21174 21175 21176 21177 21178 21179 21180 21181 21182 21183 21184 21185 21186 21187 21188 21189 21190 21191 21192 21193 21194 21195 21196 21197 21198 21199 21200 21201 21202 21203 21204 21205 21206 21207 21208 21209 21210 21211 21212 21213 21214 21215 21216 21217 21218 21219 21220 21221 21222 21223 21224 21225 21226 21227 21228 21229 21230 21231 21232 21233 21234 21235 21236 21237 21238 21239 21240 21241 21242 21243 21244 21245 21246 21247 21248 21249 21250 21251 21252 21253 21254 21255 21256 21257 21258 21259 21260 21261 21262 21263 21264 21265 21266 21267 21268 21269 21270 21271 21272 21273 21274 21275 21276 21277 21278 21279 21280 21281 21282 21283 21284 21285 21286 21287 21288 21289 21290 21291 21292 21293 21294 21295 21296 21297 21298 21299 21300 21301 21302 21303 21304 21305 21306 21307 21308 21309 21310 21311 21312 21313 21314 21315 21316 21317 21318 21319 21320 21321 21322 21323 21324 21325 21326 21327 21328 21329 21330 21331 21332 21333 21334 21335 21336 21337 21338 21339 21340 21341 21342 21343 21344 21345 21346 21347 21348 21349 21350 21351 21352 21353 21354 21355 21356 21357 21358 21359 21360 21361 21362 21363 21364 21365 21366 21367 21368 21369 21370 21371 21372 21373 21374 21375 21376 21377 21378 21379 21380 21381 21382 21383 21384 21385 21386 21387 21388 21389 21390 21391 21392 21393 21394 21395 21396 21397 21398 21399 21400 21401 21402 21403 21404 21405 21406 21407 21408 21409 21410 21411 21412 21413 21414 21415 21416 21417 21418 21419 21420 21421 21422 21423 21424 21425 21426 21427 21428 21429 21430 21431 21432 21433 21434 21435 21436 21437 21438 21439 21440 21441 21442 21443 21444 21445 21446 21447 21448 21449 21450 21451 21452 21453 21454 21455 21456 21457 21458 21459 21460 21461 21462 21463 21464 21465 21466 21467 21468 21469 21470 21471 21472 21473 21474 21475 21476 21477 21478 21479 21480 21481 21482 21483 21484 21485 21486 21487 21488 21489 21490 21491 21492 21493 21494 21495 21496 21497 21498 21499 21500 21501 21502 21503 21504 21505 21506 21507 21508 21509 21510 21511 21512 21513 21514 21515 21516 21517 21518 21519 21520 21521 21522 21523 21524 21525 21526 21527 21528 21529 21530 21531 21532 21533 21534 21535 21536 21537 21538 21539 21540 21541 21542 21543 21544 21545 21546 21547 21548 21549 21550 21551 21552 21553 21554 21555 21556 21557 21558 21559 21560 21561 21562 21563 21564 21565 21566 21567 21568 21569 21570 21571 21572 21573 21574 21575 21576 21577 21578 21579 21580 21581 21582 21583 21584 21585 21586 21587 21588 21589 21590 21591 21592 21593 21594 21595 21596 21597 21598 21599 21600 21601 21602 21603 21604 21605 21606 21607 21608 21609 21610 21611 21612 21613 21614 21615 21616 21617 21618 21619 21620 21621 21622 21623 21624 21625 21626 21627 21628 21629 21630 21631 21632 21633 21634 21635 21636 21637 21638 21639 21640 21641 21642 21643 21644 21645 21646 21647 21648 21649 21650 21651 21652 21653 21654 21655 21656 21657 21658 21659 21660 21661 21662 21663 21664 21665 21666 21667 21668 21669 21670 21671 21672 21673 21674 21675 21676 21677 21678 21679 21680 21681 21682 21683 21684 21685 21686 21687 21688 21689 21690 21691 21692 21693 21694 21695 21696 21697 21698 21699 21700 21701 21702 21703 21704 21705 21706 21707 21708 21709 21710 21711 21712 21713 21714 21715 21716 21717 21718 21719 21720 21721 21722 21723 21724 21725 21726 21727 21728 21729 21730 21731 21732 21733 21734 21735 21736 21737 21738 21739 21740 21741 21742 21743 21744 21745 21746 21747 21748 21749 21750 21751 21752 21753 21754 21755 21756 21757 21758 21759 21760 21761 21762 21763 21764 21765 21766 21767 21768 21769 21770 21771 21772 21773 21774 21775 21776 21777 21778 21779 21780 21781 21782 21783 21784 21785 21786 21787 21788 21789 21790 21791 21792 21793 21794 21795 21796 21797 21798 21799 21800 21801 21802 21803 21804 21805 21806 21807 21808 21809 21810 21811 21812 21813 21814 21815 21816 21817 21818 21819 21820 21821 21822 21823 21824 21825 21826 21827 21828 21829 21830 21831 21832 21833 21834 21835 21836 21837 21838 21839 21840 21841 21842 21843 21844 21845 21846 21847 21848 21849 21850 21851 21852 21853 21854 21855 21856 21857 21858 21859 21860 21861 21862 21863 21864 21865 21866 21867 21868 21869 21870 21871 21872 21873 21874 21875 21876 21877 21878 21879 21880 21881 21882 21883 21884 21885 21886 21887 21888 21889 21890 21891 21892 21893 21894 21895 21896 21897 21898 21899 21900 21901 21902 21903 21904 21905 21906 21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 21930 21931 21932 21933 21934 21935 21936 21937 21938 21939 21940 21941 21942 21943 21944 21945 21946 21947 21948 21949 21950 21951 21952 21953 21954 21955 21956 21957 21958 21959 21960 21961 21962 21963 21964 21965 21966 21967 21968 21969 21970 21971 21972 21973 21974 21975 21976 21977 21978 21979 21980 21981 21982 21983 21984 21985 21986 21987 21988 21989 21990 21991 21992 21993 21994 21995 21996 21997 21998 21999 22000 22001 22002 22003 22004 22005 22006 22007 22008 22009 22010 22011 22012 22013 22014 22015 22016 22017 22018 22019 22020 22021 22022 22023 22024 22025 22026 22027 22028 22029 22030 22031 22032 22033 22034 22035 22036 22037 22038 22039 22040 22041 22042 22043 22044 22045 22046 22047 22048 22049 22050 22051 22052 22053 22054 22055 22056 22057 22058 22059 22060 22061 22062 22063 22064 22065 22066 22067 22068 22069 22070 22071 22072 22073 22074 22075 22076 22077 22078 22079 22080 22081 22082 22083 22084 22085 22086 22087 22088 22089 22090 22091 22092 22093 22094 22095 22096 22097 22098 22099 22100 22101 22102 22103 22104 22105 22106 22107 22108 22109 22110 22111 22112 22113 22114 22115 22116 22117 22118 22119 22120 22121 22122 22123 22124 22125 22126 22127 22128 22129 22130 22131 22132 22133 22134 22135 22136 22137 22138 22139 22140 22141 22142 22143 22144 22145 22146 22147 22148 22149 22150 22151 22152 22153 22154 22155 22156 22157 22158 22159 22160 22161 22162 22163 22164 22165 22166 22167 22168 22169 22170 22171 22172 22173 22174 22175 22176 22177 22178 22179 22180 22181 22182 22183 22184 22185 22186 22187 22188 22189 22190 22191 22192 22193 22194 22195 22196 22197 22198 22199 22200 22201 22202 22203 22204 22205 22206 22207 22208 22209 22210 22211 22212 22213 22214 22215 22216 22217 22218 22219 22220 22221 22222 22223 22224 22225 22226 22227 22228 22229 22230 22231 22232 22233 22234 22235 22236 22237 22238 22239 22240 22241 22242 22243 22244 22245 22246 22247 22248 22249 22250 22251 22252 22253 22254 22255 22256 22257 22258 22259 22260 22261 22262 22263 22264 22265 22266 22267 22268 22269 22270 22271 22272 22273 22274 22275 22276 22277 22278 22279 22280 22281 22282 22283 22284 22285 22286 22287 22288 22289 22290 22291 22292 22293 22294 22295 22296 22297 22298 22299 22300 22301 22302 22303 22304 22305 22306 22307 22308 22309 22310 22311 22312 22313 22314 22315 22316 22317 22318 22319 22320 22321 22322 22323 22324 22325 22326 22327 22328 22329 22330 22331 22332 22333 22334 22335 22336 22337 22338 22339 22340 22341 22342 22343 22344 22345 22346 22347 22348 22349 22350 22351 22352 22353 22354 22355 22356 22357 22358 22359 22360 22361 22362 22363 22364 22365 22366 22367 22368 22369 22370 22371 22372 22373 22374 22375 22376 22377 22378 22379 22380 22381 22382 22383 22384 22385 22386 22387 22388 22389 22390 22391 22392 22393 22394 22395 22396 22397 22398 22399 22400 22401 22402 22403 22404 22405 22406 22407 22408 22409 22410 22411 22412 22413 22414 22415 22416 22417 22418 22419 22420 22421 22422 22423 22424 22425 22426 22427 22428 22429 22430 22431 22432 22433 22434 22435 22436 22437 22438 22439 22440 22441 22442 22443 22444 22445 22446 22447 22448 22449 22450 22451 22452 22453 22454 22455 22456 22457 22458 22459 22460 22461 22462 22463 22464 22465 22466 22467 22468 22469 22470 22471 22472 22473 22474 22475 22476 22477 22478 22479 22480 22481 22482 22483 22484 22485 22486 22487 22488 22489 22490 22491 22492 22493 22494 22495 22496 22497 22498 22499 22500 22501 22502 22503 22504 22505 22506 22507 22508 22509 22510 22511 22512 22513 22514 22515 22516 22517 22518 22519 22520 22521 22522 22523 22524 22525 22526 22527 22528 22529 22530 22531 22532 22533 22534 22535 22536 22537 22538 22539 22540 22541 22542 22543 22544 22545 22546 22547 22548 22549 22550 22551 22552 22553 22554 22555 22556 22557 22558 22559 22560 22561 22562 22563 22564 22565 22566 22567 22568 22569 22570 22571 22572 22573 22574 22575 22576 22577 22578 22579 22580 22581 22582 22583 22584 22585 22586 22587 22588 22589 22590 22591 22592 22593 22594 22595 22596 22597 22598 22599 22600 22601 22602 22603 22604 22605 22606 22607 22608 22609 22610 22611 22612 22613 22614 22615 22616 22617 22618 22619 22620 22621 22622 22623 22624 22625 22626 22627 22628 22629 22630 22631 22632 22633 22634 22635 22636 22637 22638 22639 22640 22641 22642 22643 22644 22645 22646 22647 22648 22649 22650 22651 22652 22653 22654 22655 22656 22657 22658 22659 22660 22661 22662 22663 22664 22665 22666 22667 22668 22669 22670 22671 22672 22673 22674 22675 22676 22677 22678 22679 22680 22681 22682 22683 22684 22685 22686 22687 22688 22689 22690 22691 22692 22693 22694 22695 22696 22697 22698 22699 22700 22701 22702 22703 22704 22705 22706 22707 22708 22709 22710 22711 22712 22713 22714 22715 22716 22717 22718 22719 22720 22721 22722 22723 22724 22725 22726 22727 22728 22729 22730 22731 22732 22733 22734 22735 22736 22737 22738 22739 22740 22741 22742 22743 22744 22745 22746 22747 22748 22749 22750 22751 22752 22753 22754 22755 22756 22757 22758 22759 22760 22761 22762 22763 22764 22765 22766 22767 22768 22769 22770 22771 22772 22773 22774 22775 22776 22777 22778 22779 22780 22781 22782 22783 22784 22785 22786 22787 22788 22789 22790 22791 22792 22793 22794 22795 22796 22797 22798 22799 22800 22801 22802 22803 22804 22805 22806 22807 22808 22809 22810 22811 22812 22813 22814 22815 22816 22817 22818 22819 22820 22821 22822 22823 22824 22825 22826 22827 22828 22829 22830 22831 22832 22833 22834 22835 22836 22837 22838 22839 22840 22841 22842 22843 22844 22845 22846 22847 22848 22849 22850 22851 22852 22853 22854 22855 22856 22857 22858 22859 22860 22861 22862 22863 22864 22865 22866 22867 22868 22869 22870 22871 22872 22873 22874 22875 22876 22877 22878 22879 22880 22881 22882 22883 22884 22885 22886 22887 22888 22889 22890 22891 22892 22893 22894 22895 22896 22897 22898 22899 22900 22901 22902 22903 22904 22905 22906 22907 22908 22909 22910 22911 22912 22913 22914 22915 22916 22917 22918 22919 22920 22921 22922 22923 22924 22925 22926 22927 22928 22929 22930 22931 22932 22933 22934 22935 22936 22937 22938 22939 22940 22941 22942 22943 22944 22945 22946 22947 22948 22949 22950 22951 22952 22953 22954 22955 22956 22957 22958 22959 22960 22961 22962 22963 22964 22965 22966 22967 22968 22969 22970 22971 22972 22973 22974 22975 22976 22977 22978 22979 22980 22981 22982 22983 22984 22985 22986 22987 22988 22989 22990 22991 22992 22993 22994 22995 22996 22997 22998 22999 23000 23001 23002 23003 23004 23005 23006 23007 23008 23009 23010 23011 23012 23013 23014 23015 23016 23017 23018 23019 23020 23021 23022 23023 23024 23025 23026 23027 23028 23029 23030 23031 23032 23033 23034 23035 23036 23037 23038 23039 23040 23041 23042 23043 23044 23045 23046 23047 23048 23049 23050 23051 23052 23053 23054 23055 23056 23057 23058 23059 23060 23061 23062 23063 23064 23065 23066 23067 23068 23069 23070 23071 23072 23073 23074 23075 23076 23077 23078 23079 23080 23081 23082 23083 23084 23085 23086 23087 23088 23089 23090 23091 23092 23093 23094 23095 23096 23097 23098 23099 23100 23101 23102 23103 23104 23105 23106 23107 23108 23109 23110 23111 23112 23113 23114 23115 23116 23117 23118 23119 23120 23121 23122 23123 23124 23125 23126 23127 23128 23129 23130 23131 23132 23133 23134 23135 23136 23137 23138 23139 23140 23141 23142 23143 23144 23145 23146 23147 23148 23149 23150 23151 23152 23153 23154 23155 23156 23157 23158 23159 23160 23161 23162 23163 23164 23165 23166 23167 23168 23169 23170 23171 23172 23173 23174 23175 23176 23177 23178 23179 23180 23181 23182 23183 23184 23185 23186 23187 23188 23189 23190 23191 23192 23193 23194 23195 23196 23197 23198 23199 23200 23201 23202 23203 23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 23216 23217 23218 23219 23220 23221 23222 23223 23224 23225 23226 23227 23228 23229 23230 23231 23232 23233 23234 23235 23236 23237 23238 23239 23240 23241 23242 23243 23244 23245 23246 23247 23248 23249 23250 23251 23252 23253 23254 23255 23256 23257 23258 23259 23260 23261 23262 23263 23264 23265 23266 23267 23268 23269 23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 23291 23292 23293 23294 23295 23296 23297 23298 23299 23300 23301 23302 23303 23304 23305 23306 23307 23308 23309 23310 23311 23312 23313 23314 23315 23316 23317 23318 23319 23320 23321 23322 23323 23324 23325 23326 23327 23328 23329 23330 23331 23332 23333 23334 23335 23336 23337 23338 23339 23340 23341 23342 23343 23344 23345 23346 23347 23348 23349 23350 23351 23352 23353 23354 23355 23356 23357 23358 23359 23360 23361 23362 23363 23364 23365 23366 23367 23368 23369 23370 23371 23372 23373 23374 23375 23376 23377 23378 23379 23380 23381 23382 23383 23384 23385 23386 23387 23388 23389 23390 23391 23392 23393 23394 23395 23396 23397 23398 23399 23400 23401 23402 23403 23404 23405 23406 23407 23408 23409 23410 23411 23412 23413 23414 23415 23416 23417 23418 23419 23420 23421 23422 23423 23424 23425 23426 23427 23428 23429 23430 23431 23432 23433 23434 23435 23436 23437 23438 23439 23440 23441 23442 23443 23444 23445 23446 23447 23448 23449 23450 23451 23452 23453 23454 23455 23456 23457 23458 23459 23460 23461 23462 23463 23464 23465 23466 23467 23468 23469 23470 23471 23472 23473 23474 23475 23476 23477 23478 23479 23480 23481 23482 23483 23484 23485 23486 23487 23488 23489 23490 23491 23492 23493 23494 23495 23496 23497 23498 23499 23500 23501 23502 23503 23504 23505 23506 23507 23508 23509 23510 23511 23512 23513 23514 23515 23516 23517 23518 23519 23520 23521 23522 23523 23524 23525 23526 23527 23528 23529 23530 23531 23532 23533 23534 23535 23536 23537 23538 23539 23540 23541 23542 23543 23544 23545 23546 23547 23548 23549 23550 23551 23552 23553 23554 23555 23556 23557 23558 23559 23560 23561 23562 23563 23564 23565 23566 23567 23568 23569 23570 23571 23572 23573 23574 23575 23576 23577 23578 23579 23580 23581 23582 23583 23584 23585 23586 23587 23588 23589 23590 23591 23592 23593 23594 23595 23596 23597 23598 23599 23600 23601 23602 23603 23604 23605 23606 23607 23608 23609 23610 23611 23612 23613 23614 23615 23616 23617 23618 23619 23620 23621 23622 23623 23624 23625 23626 23627 23628 23629 23630 23631 23632 23633 23634 23635 23636 23637 23638 23639 23640 23641 23642 23643 23644 23645 23646 23647 23648 23649 23650 23651 23652 23653 23654 23655 23656 23657 23658 23659 23660 23661 23662 23663 23664 23665 23666 23667 23668 23669 23670 23671 23672 23673 23674 23675 23676 23677 23678 23679 23680 23681 23682 23683 23684 23685 23686 23687 23688 23689 23690 23691 23692 23693 23694 23695 23696 23697 23698 23699 23700 23701 23702 23703 23704 23705 23706 23707 23708 23709 23710 23711 23712 23713 23714 23715 23716 23717 23718 23719 23720 23721 23722 23723 23724 23725 23726 23727 23728 23729 23730 23731 23732 23733 23734 23735 23736 23737 23738 23739 23740 23741 23742 23743 23744 23745 23746 23747 23748 23749 23750 23751 23752 23753 23754 23755 23756 23757 23758 23759 23760 23761 23762 23763 23764 23765 23766 23767 23768 23769 23770 23771 23772 23773 23774 23775 23776 23777 23778 23779 23780 23781 23782 23783 23784 23785 23786 23787 23788 23789 23790 23791 23792 23793 23794 23795 23796 23797 23798 23799 23800 23801 23802 23803 23804 23805 23806 23807 23808 23809 23810 23811 23812 23813 23814 23815 23816 23817 23818 23819 23820 23821 23822 23823 23824 23825 23826 23827 23828 23829 23830 23831 23832 23833 23834 23835 23836 23837 23838 23839 23840 23841 23842 23843 23844 23845 23846 23847 23848 23849 23850 23851 23852 23853 23854 23855 23856 23857 23858 23859 23860 23861 23862 23863 23864 23865 23866 23867 23868 23869 23870 23871 23872 23873 23874 23875 23876 23877 23878 23879 23880 23881 23882 23883 23884 23885 23886 23887 23888 23889 23890 23891 23892 23893 23894 23895 23896 23897 23898 23899 23900 23901 23902 23903 23904 23905 23906 23907 23908 23909 23910 23911 23912 23913 23914 23915 23916 23917 23918 23919 23920 23921 23922 23923 23924 23925 23926 23927 23928 23929 23930 23931 23932 23933 23934 23935 23936 23937 23938 23939 23940 23941 23942 23943 23944 23945 23946 23947 23948 23949 23950 23951 23952 23953 23954 23955 23956 23957 23958 23959 23960 23961 23962 23963 23964 23965 23966 23967 23968 23969 23970 23971 23972 23973 23974 23975 23976 23977 23978 23979 23980 23981 23982 23983 23984 23985 23986 23987 23988 23989 23990 23991 23992 23993 23994 23995 23996 23997 23998 23999 24000 24001 24002 24003 24004 24005 24006 24007 24008 24009 24010 24011 24012 24013 24014 24015 24016 24017 24018 24019 24020 24021 24022 24023 24024 24025 24026 24027 24028 24029 24030 24031 24032 24033 24034 24035 24036 24037 24038 24039 24040 24041 24042 24043 24044 24045 24046 24047 24048 24049 24050 24051 24052 24053 24054 24055 24056 24057 24058 24059 24060 24061 24062 24063 24064 24065 24066 24067 24068 24069 24070 24071 24072 24073 24074 24075 24076 24077 24078 24079 24080 24081 24082 24083 24084 24085 24086 24087 24088 24089 24090 24091 24092 24093 24094 24095 24096 24097 24098 24099 24100 24101 24102 24103 24104 24105 24106 24107 24108 24109 24110 24111 24112 24113 24114 24115 24116 24117 24118 24119 24120 24121 24122 24123 24124 24125 24126 24127 24128 24129 24130 24131 24132 24133 24134 24135 24136 24137 24138 24139 24140 24141 24142 24143 24144 24145 24146 24147 24148 24149 24150 24151 24152 24153 24154 24155 24156 24157 24158 24159 24160 24161 24162 24163 24164 24165 24166 24167 24168 24169 24170 24171 24172 24173 24174 24175 24176 24177 24178 24179 24180 24181 24182 24183 24184 24185 24186 24187 24188 24189 24190 24191 24192 24193 24194 24195 24196 24197 24198 24199 24200 24201 24202 24203 24204 24205 24206 24207 24208 24209 24210 24211 24212 24213 24214 24215 24216 24217 24218 24219 24220 24221 24222 24223 24224 24225 24226 24227 24228 24229 24230 24231 24232 24233 24234 24235 24236 24237 24238 24239 24240 24241 24242 24243 24244 24245 24246 24247 24248 24249 24250 24251 24252 24253 24254 24255 24256 24257 24258 24259 24260 24261 24262 24263 24264 24265 24266 24267 24268 24269 24270 24271 24272 24273 24274 24275 24276 24277 24278 24279 24280 24281 24282 24283 24284 24285 24286 24287 24288 24289 24290 24291 24292 24293 24294 24295 24296 24297 24298 24299 24300 24301 24302 24303 24304 24305 24306 24307 24308 24309 24310 24311 24312 24313 24314 24315 24316 24317 24318 24319 24320 24321 24322 24323 24324 24325 24326 24327 24328 24329 24330 24331 24332 24333 24334 24335 24336 24337 24338 24339 24340 24341 24342 24343 24344 24345 24346 24347 24348 24349 24350 24351 24352 24353 24354 24355 24356 24357 24358 24359 24360 24361 24362 24363 24364 24365 24366 24367 24368 24369 24370 24371 24372 24373 24374 24375 24376 24377 24378 24379 24380 24381 24382 24383 24384 24385 24386 24387 24388 24389 24390 24391 24392 24393 24394 24395 24396 24397 24398 24399 24400 24401 24402 24403 24404 24405 24406 24407 24408 24409 24410 24411 24412 24413 24414 24415 24416 24417 24418 24419 24420 24421 24422 24423 24424 24425 24426 24427 24428 24429 24430 24431 24432 24433 24434 24435 24436 24437 24438 24439 24440 24441 24442 24443 24444 24445 24446 24447 24448 24449 24450 24451 24452 24453 24454 24455 24456 24457 24458 24459 24460 24461 24462 24463 24464 24465 24466 24467 24468 24469 24470 24471 24472 24473 24474 24475 24476 24477 24478 24479 24480 24481 24482 24483 24484 24485 24486 24487 24488 24489 24490 24491 24492 24493 24494 24495 24496 24497 24498 24499 24500 24501 24502 24503 24504 24505 24506 24507 24508 24509 24510 24511 24512 24513 24514 24515 24516 24517 24518 24519 24520 24521 24522 24523 24524 24525 24526 24527 24528 24529 24530 24531 24532 24533 24534 24535 24536 24537 24538 24539 24540 24541 24542 24543 24544 24545 24546 24547 24548 24549 24550 24551 24552 24553 24554 24555 24556 24557 24558 24559 24560 24561 24562 24563 24564 24565 24566 24567 24568 24569 24570 24571 24572 24573 24574 24575 24576 24577 24578 24579 24580 24581 24582 24583 24584 24585 24586 24587 24588 24589 24590 24591 24592 24593 24594 24595 24596 24597 24598 24599 24600 24601 24602 24603 24604 24605 24606 24607 24608 24609 24610 24611 24612 24613 24614 24615 24616 24617 24618 24619 24620 24621 24622 24623 24624 24625 24626 24627 24628 24629 24630 24631 24632 24633 24634 24635 24636 24637 24638 24639 24640 24641 24642 24643 24644 24645 24646 24647 24648 24649 24650 24651 24652 24653 24654 24655 24656 24657 24658 24659 24660 24661 24662 24663 24664 24665 24666 24667 24668 24669 24670 24671 24672 24673 24674 24675 24676 24677 24678 24679 24680 24681 24682 24683 24684 24685 24686 24687 24688 24689 24690 24691 24692 24693 24694 24695 24696 24697 24698 24699 24700 24701 24702 24703 24704 24705 24706 24707 24708 24709 24710 24711 24712 24713 24714 24715 24716 24717 24718 24719 24720 24721 24722 24723 24724 24725 24726 24727 24728 24729 24730 24731 24732 24733 24734 24735 24736 24737 24738 24739 24740 24741 24742 24743 24744 24745 24746 24747 24748 24749 24750 24751 24752 24753 24754 24755 24756 24757 24758 24759 24760 24761 24762 24763 24764 24765 24766 24767 24768 24769 24770 24771 24772 24773 24774 24775 24776 24777 24778 24779 24780 24781 24782 24783 24784 24785 24786 24787 24788 24789 24790 24791 24792 24793 24794 24795 24796 24797 24798 24799 24800 24801 24802 24803 24804 24805 24806 24807 24808 24809 24810 24811 24812 24813 24814 24815 24816 24817 24818 24819 24820 24821 24822 24823 24824 24825 24826 24827 24828 24829 24830 24831 24832 24833 24834 24835 24836 24837 24838 24839 24840 24841 24842 24843 24844 24845 24846 24847 24848 24849 24850 24851 24852 24853 24854 24855 24856 24857 24858 24859 24860 24861 24862 24863 24864 24865 24866 24867 24868 24869 24870 24871 24872 24873 24874 24875 24876 24877 24878 24879 24880 24881 24882 24883 24884 24885 24886 24887 24888 24889 24890 24891 24892 24893 24894 24895 24896 24897 24898 24899 24900 24901 24902 24903 24904 24905 24906 24907 24908 24909 24910 24911 24912 24913 24914 24915 24916 24917 24918 24919 24920 24921 24922 24923 24924 24925 24926 24927 24928 24929 24930 24931 24932 24933 24934 24935 24936 24937 24938 24939 24940 24941 24942 24943 24944 24945 24946 24947 24948 24949 24950 24951 24952 24953 24954 24955 24956 24957 24958 24959 24960 24961 24962 24963 24964 24965 24966 24967 24968 24969 24970 24971 24972 24973 24974 24975 24976 24977 24978 24979 24980 24981 24982 24983 24984 24985 24986 24987 24988 24989 24990 24991 24992 24993 24994 24995 24996 24997 24998 24999 25000 25001 25002 25003 25004 25005 25006 25007 25008 25009 25010 25011 25012 25013 25014 25015 25016 25017 25018 25019 25020 25021 25022 25023 25024 25025 25026 25027 25028 25029 25030 25031 25032 25033 25034 25035 25036 25037 25038 25039 25040 25041 25042 25043 25044 25045 25046 25047 25048 25049 25050 25051 25052 25053 25054 25055 25056 25057 25058 25059 25060 25061 25062 25063 25064 25065 25066 25067 25068 25069 25070 25071 25072 25073 25074 25075 25076 25077 25078 25079 25080 25081 25082 25083 25084 25085 25086 25087 25088 25089 25090 25091 25092 25093 25094 25095 25096 25097 25098 25099 25100 25101 25102 25103 25104 25105 25106 25107 25108 25109 25110 25111 25112 25113 25114 25115 25116 25117 25118 25119 25120 25121 25122 25123 25124 25125 25126 25127 25128 25129 25130 25131 25132 25133 25134 25135 25136 25137 25138 25139 25140 25141 25142 25143 25144 25145 25146 25147 25148 25149 25150 25151 25152 25153 25154 25155 25156 25157 25158 25159 25160 25161 25162 25163 25164 25165 25166 25167 25168 25169 25170 25171 25172 25173 25174 25175 25176 25177 25178 25179 25180 25181 25182 25183 25184 25185 25186 25187 25188 25189 25190 25191 25192 25193 25194 25195 25196 25197 25198 25199 25200 25201 25202 25203 25204 25205 25206 25207 25208 25209 25210 25211 25212 25213 25214 25215 25216 25217 25218 25219 25220 25221 25222 25223 25224 25225 25226 25227 25228 25229 25230 25231 25232 25233 25234 25235 25236 25237 25238 25239 25240 25241 25242 25243 25244 25245 25246 25247 25248 25249 25250 25251 25252 25253 25254 25255 25256 25257 25258 25259 25260 25261 25262 25263 25264 25265 25266 25267 25268 25269 25270 25271 25272 25273 25274 25275 25276 25277 25278 25279 25280 25281 25282 25283 25284 25285 25286 25287 25288 25289 25290 25291 25292 25293 25294 25295 25296 25297 25298 25299 25300 25301 25302 25303 25304 25305 25306 25307 25308 25309 25310 25311 25312 25313 25314 25315 25316 25317 25318 25319 25320 25321 25322 25323 25324 25325 25326 25327 25328 25329 25330 25331 25332 25333 25334 25335 25336 25337 25338 25339 25340 25341 25342 25343 25344 25345 25346 25347 25348 25349 25350 25351 25352 25353 25354 25355 25356 25357 25358 25359 25360 25361 25362 25363 25364 25365 25366 25367 25368 25369 25370 25371 25372 25373 25374 25375 25376 25377 25378 25379 25380 25381 25382 25383 25384 25385 25386 25387 25388 25389 25390 25391 25392 25393 25394 25395 25396 25397 25398 25399 25400 25401 25402 25403 25404 25405 25406 25407 25408 25409 25410 25411 25412 25413 25414 25415 25416 25417 25418 25419 25420 25421 25422 25423 25424 25425 25426 25427 25428 25429 25430 25431 25432 25433 25434 25435 25436 25437 25438 25439 25440 25441 25442 25443 25444 25445 25446 25447 25448 25449 25450 25451 25452 25453 25454 25455 25456 25457 25458 25459 25460 25461 25462 25463 25464 25465 25466 25467 25468 25469 25470 25471 25472 25473 25474 25475 25476 25477 25478 25479 25480 25481 25482 25483 25484 25485 25486 25487 25488 25489 25490 25491 25492 25493 25494 25495 25496 25497 25498 25499 25500 25501 25502 25503 25504 25505 25506 25507 25508 25509 25510 25511 25512 25513 25514 25515 25516 25517 25518 25519 25520 25521 25522 25523 25524 25525 25526 25527 25528 25529 25530 25531 25532 25533 25534 25535 25536 25537 25538 25539 25540 25541 25542 25543 25544 25545 25546 25547 25548 25549 25550 25551 25552 25553 25554 25555 25556 25557 25558 25559 25560 25561 25562 25563 25564 25565 25566 25567 25568 25569 25570 25571 25572 25573 25574 25575 25576 25577 25578 25579 25580 25581 25582 25583 25584 25585 25586 25587 25588 25589 25590 25591 25592 25593 25594 25595 25596 25597 25598 25599 25600 25601 25602 25603 25604 25605 25606 25607 25608 25609 25610 25611 25612 25613 25614 25615 25616 25617 25618 25619 25620 25621 25622 25623 25624 25625 25626 25627 25628 25629 25630 25631 25632 25633 25634 25635 25636 25637 25638 25639 25640 25641 25642 25643 25644 25645 25646 25647 25648 25649 25650 25651 25652 25653 25654 25655 25656 25657 25658 25659 25660 25661 25662 25663 25664 25665 25666 25667 25668 25669 25670 25671 25672 25673 25674 25675 25676 25677 25678 25679 25680 25681 25682 25683 25684 25685 25686 25687 25688 25689 25690 25691 25692 25693 25694 25695 25696 25697 25698 25699 25700 25701 25702 25703 25704 25705 25706 25707 25708 25709 25710 25711 25712 25713 25714 25715 25716 25717 25718 25719 25720 25721 25722 25723 25724 25725 25726 25727 25728 25729 25730 25731 25732 25733 25734 25735 25736 25737 25738 25739 25740 25741 25742 25743 25744 25745 25746 25747 25748 25749 25750 25751 25752 25753 25754 25755 25756 25757 25758 25759 25760 25761 25762 25763 25764 25765 25766 25767 25768 25769 25770 25771 25772 25773 25774 25775 25776 25777 25778 25779 25780 25781 25782 25783 25784 25785 25786 25787 25788 25789 25790 25791 25792 25793 25794 25795 25796 25797 25798 25799 25800 25801 25802 25803 25804 25805 25806 25807 25808 25809 25810 25811 25812 25813 25814 25815 25816 25817 25818 25819 25820 25821 25822 25823 25824 25825 25826 25827 25828 25829 25830 25831 25832 25833 25834 25835 25836 25837 25838 25839 25840 25841 25842 25843 25844 25845 25846 25847 25848 25849 25850 25851 25852 25853 25854 25855 25856 25857 25858 25859 25860 25861 25862 25863 25864 25865 25866 25867 25868 25869 25870 25871 25872 25873 25874 25875 25876 25877 25878 25879 25880 25881 25882 25883 25884 25885 25886 25887 25888 25889 25890 25891 25892 25893 25894 25895 25896 25897 25898 25899 25900 25901 25902 25903 25904 25905 25906 25907 25908 25909 25910 25911 25912 25913 25914 25915 25916 25917 25918 25919 25920 25921 25922 25923 25924 25925 25926 25927 25928 25929 25930 25931 25932 25933 25934 25935 25936 25937 25938 25939 25940 25941 25942 25943 25944 25945 25946 25947 25948 25949 25950 25951 25952 25953 25954 25955 25956 25957 25958 25959 25960 25961 25962 25963 25964 25965 25966 25967 25968 25969 25970 25971 25972 25973 25974 25975 25976 25977 25978 25979 25980 25981 25982 25983 25984 25985 25986 25987 25988 25989 25990 25991 25992 25993 25994 25995 25996 25997 25998 25999 26000 26001 26002 26003 26004 26005 26006 26007 26008 26009 26010 26011 26012 26013 26014 26015 26016 26017 26018 26019 26020 26021 26022 26023 26024 26025 26026 26027 26028 26029 26030 26031 26032 26033 26034 26035 26036 26037 26038 26039 26040 26041 26042 26043 26044 26045 26046 26047 26048 26049 26050 26051 26052 26053 26054 26055 26056 26057 26058 26059 26060 26061 26062 26063 26064 26065 26066 26067 26068 26069 26070 26071 26072 26073 26074 26075 26076 26077 26078 26079 26080 26081 26082 26083 26084 26085 26086 26087 26088 26089 26090 26091 26092 26093 26094 26095 26096 26097 26098 26099 26100 26101 26102 26103 26104 26105 26106 26107 26108 26109 26110 26111 26112 26113 26114 26115 26116 26117 26118 26119 26120 26121 26122 26123 26124 26125 26126 26127 26128 26129 26130 26131 26132 26133 26134 26135 26136 26137 26138 26139 26140 26141 26142 26143 26144 26145 26146 26147 26148 26149 26150 26151 26152 26153 26154 26155 26156 26157 26158 26159 26160 26161 26162 26163 26164 26165 26166 26167 26168 26169 26170 26171 26172 26173 26174 26175 26176 26177 26178 26179 26180 26181 26182 26183 26184 26185 26186 26187 26188 26189 26190 26191 26192 26193 26194 26195 26196 26197 26198 26199 26200 26201 26202 26203 26204 26205 26206 26207 26208 26209 26210 26211 26212 26213 26214 26215 26216 26217 26218 26219 26220 26221 26222 26223 26224 26225 26226 26227 26228 26229 26230 26231 26232 26233 26234 26235 26236 26237 26238 26239 26240 26241 26242 26243 26244 26245 26246 26247 26248 26249 26250 26251 26252 26253 26254 26255 26256 26257 26258 26259 26260 26261 26262 26263 26264 26265 26266 26267 26268 26269 26270 26271 26272 26273 26274 26275 26276 26277 26278 26279 26280 26281 26282 26283 26284 26285 26286 26287 26288 26289 26290 26291 26292 26293 26294 26295 26296 26297 26298 26299 26300 26301 26302 26303 26304 26305 26306 26307 26308 26309 26310 26311 26312 26313 26314 26315 26316 26317 26318 26319 26320 26321 26322 26323 26324 26325 26326 26327 26328 26329 26330 26331 26332 26333 26334 26335 26336 26337 26338 26339 26340 26341 26342 26343 26344 26345 26346 26347 26348 26349 26350 26351 26352 26353 26354 26355 26356 26357 26358 26359 26360 26361 26362 26363 26364 26365 26366 26367 26368 26369 26370 26371 26372 26373 26374 26375 26376 26377 26378 26379 26380 26381 26382 26383 26384 26385 26386 26387 26388 26389 26390 26391 26392 26393 26394 26395 26396 26397 26398 26399 26400 26401 26402 26403 26404 26405 26406 26407 26408 26409 26410 26411 26412 26413 26414 26415 26416 26417 26418 26419 26420 26421 26422 26423 26424 26425 26426 26427 26428 26429 26430 26431 26432 26433 26434 26435 26436 26437 26438 26439 26440 26441 26442 26443 26444 26445 26446 26447 26448 26449 26450 26451 26452 26453 26454 26455 26456 26457 26458 26459 26460 26461 26462 26463 26464 26465 26466 26467 26468 26469 26470 26471 26472 26473 26474 26475 26476 26477 26478 26479 26480 26481 26482 26483 26484 26485 26486 26487 26488 26489 26490 26491 26492 26493 26494 26495 26496 26497 26498 26499 26500 26501 26502 26503 26504 26505 26506 26507 26508 26509 26510 26511 26512 26513 26514 26515 26516 26517 26518 26519 26520 26521 26522 26523 26524 26525 26526 26527 26528 26529 26530 26531 26532 26533 26534 26535 26536 26537 26538 26539 26540 26541 26542 26543 26544 26545 26546 26547 26548 26549 26550 26551 26552 26553 26554 26555 26556 26557 26558 26559 26560 26561 26562 26563 26564 26565 26566 26567 26568 26569 26570 26571 26572 26573 26574 26575 26576 26577 26578 26579 26580 26581 26582 26583 26584 26585 26586 26587 26588 26589 26590 26591 26592 26593 26594 26595 26596 26597 26598 26599 26600 26601 26602 26603 26604 26605 26606 26607 26608 26609 26610 26611 26612 26613 26614 26615 26616 26617 26618 26619 26620 26621 26622 26623 26624 26625 26626 26627 26628 26629 26630 26631 26632 26633 26634 26635 26636 26637 26638 26639 26640 26641 26642 26643 26644 26645 26646 26647 26648 26649 26650 26651 26652 26653 26654 26655 26656 26657 26658 26659 26660 26661 26662 26663 26664 26665 26666 26667 26668 26669 26670 26671 26672 26673 26674 26675 26676 26677 26678 26679 26680 26681 26682 26683 26684 26685 26686 26687 26688 26689 26690 26691 26692 26693 26694 26695 26696 26697 26698 26699 26700 26701 26702 26703 26704 26705 26706 26707 26708 26709 26710 26711 26712 26713 26714 26715 26716 26717 26718 26719 26720 26721 26722 26723 26724 26725 26726 26727 26728 26729 26730 26731 26732 26733 26734 26735 26736 26737 26738 26739 26740 26741 26742 26743 26744 26745 26746 26747 26748 26749 26750 26751 26752 26753 26754 26755 26756 26757 26758 26759 26760 26761 26762 26763 26764 26765 26766 26767 26768 26769 26770 26771 26772 26773 26774 26775 26776 26777 26778 26779 26780 26781 26782 26783 26784 26785 26786 26787 26788 26789 26790 26791 26792 26793 26794 26795 26796 26797 26798 26799 26800 26801 26802 26803 26804 26805 26806 26807 26808 26809 26810 26811 26812 26813 26814 26815 26816 26817 26818 26819 26820 26821 26822 26823 26824 26825 26826 26827 26828 26829 26830 26831 26832 26833 26834 26835 26836 26837 26838 26839 26840 26841 26842 26843 26844 26845 26846 26847 26848 26849 26850 26851 26852 26853 26854 26855 26856 26857 26858 26859 26860 26861 26862 26863 26864 26865 26866 26867 26868 26869 26870 26871 26872 26873 26874 26875 26876 26877 26878 26879 26880 26881 26882 26883 26884 26885 26886 26887 26888 26889 26890 26891 26892 26893 26894 26895 26896 26897 26898 26899 26900 26901 26902 26903 26904 26905 26906 26907 26908 26909 26910 26911 26912 26913 26914 26915 26916 26917 26918 26919 26920 26921 26922 26923 26924 26925 26926 26927 26928 26929 26930 26931 26932 26933 26934 26935 26936 26937 26938 26939 26940 26941 26942 26943 26944 26945 26946 26947 26948 26949 26950 26951 26952 26953 26954 26955 26956 26957 26958 26959 26960 26961 26962 26963 26964 26965 26966 26967 26968 26969 26970 26971 26972 26973 26974 26975 26976 26977 26978 26979 26980 26981 26982 26983 26984 26985 26986 26987 26988 26989 26990 26991 26992 26993 26994 26995 26996 26997 26998 26999 27000 27001 27002 27003 27004 27005 27006 27007 27008 27009 27010 27011 27012 27013 27014 27015 27016 27017 27018 27019 27020 27021 27022 27023 27024 27025 27026 27027 27028 27029 27030 27031 27032 27033 27034 27035 27036 27037 27038 27039 27040 27041 27042 27043 27044 27045 27046 27047 27048 27049 27050 27051 27052 27053 27054 27055 27056 27057 27058 27059 27060 27061 27062 27063 27064 27065 27066 27067 27068 27069 27070 27071 27072 27073 27074 27075 27076 27077 27078 27079 27080 27081 27082 27083 27084 27085 27086 27087 27088 27089 27090 27091 27092 27093 27094 27095 27096 27097 27098 27099 27100 27101 27102 27103 27104 27105 27106 27107 27108 27109 27110 27111 27112 27113 27114 27115 27116 27117 27118 27119 27120 27121 27122 27123 27124 27125 27126 27127 27128 27129 27130 27131 27132 27133 27134 27135 27136 27137 27138 27139 27140 27141 27142 27143 27144 27145 27146 27147 27148 27149 27150 27151 27152 27153 27154 27155 27156 27157 27158 27159 27160 27161 27162 27163 27164 27165 27166 27167 27168 27169 27170 27171 27172 27173 27174 27175 27176 27177 27178 27179 27180 27181 27182 27183 27184 27185 27186 27187 27188 27189 27190 27191 27192 27193 27194 27195 27196 27197 27198 27199 27200 27201 27202 27203 27204 27205 27206 27207 27208 27209 27210 27211 27212 27213 27214 27215 27216 27217 27218 27219 27220 27221 27222 27223 27224 27225 27226 27227 27228 27229 27230 27231 27232 27233 27234 27235 27236 27237 27238 27239 27240 27241 27242 27243 27244 27245 27246 27247 27248 27249 27250 27251 27252 27253 27254 27255 27256 27257 27258 27259 27260 27261 27262 27263 27264 27265 27266 27267 27268 27269 27270 27271 27272 27273 27274 27275 27276 27277 27278 27279 27280 27281 27282 27283 27284 27285 27286 27287 27288 27289 27290 27291 27292 27293 27294 27295 27296 27297 27298 27299 27300 27301 27302 27303 27304 27305 27306 27307 27308 27309 27310 27311 27312 27313 27314 27315 27316 27317 27318 27319 27320 27321 27322 27323 27324 27325 27326 27327 27328 27329 27330 27331 27332 27333 27334 27335 27336 27337 27338 27339 27340 27341 27342 27343 27344 27345 27346 27347 27348 27349 27350 27351 27352 27353 27354 27355 27356 27357 27358 27359 27360 27361 27362 27363 27364 27365 27366 27367 27368 27369 27370 27371 27372 27373 27374 27375 27376 27377 27378 27379 27380 27381 27382 27383 27384 27385 27386 27387 27388 27389 27390 27391 27392 27393 27394 27395 27396 27397 27398 27399 27400 27401 27402 27403 27404 27405 27406 27407 27408 27409 27410 27411 27412 27413 27414 27415 27416 27417 27418 27419 27420 27421 27422 27423 27424 27425 27426 27427 27428 27429 27430 27431 27432 27433 27434 27435 27436 27437 27438 27439 27440 27441 27442 27443 27444 27445 27446 27447 27448 27449 27450 27451 27452 27453 27454 27455 27456 27457 27458 27459 27460 27461 27462 27463 27464 27465 27466 27467 27468 27469 27470 27471 27472 27473 27474 27475 27476 27477 27478 27479 27480 27481 27482 27483 27484 27485 27486 27487 27488 27489 27490 27491 27492 27493 27494 27495 27496 27497 27498 27499 27500 27501 27502 27503 27504 27505 27506 27507 27508 27509 27510 27511 27512 27513 27514 27515 27516 27517 27518 27519 27520 27521 27522 27523 27524 27525 27526 27527 27528 27529 27530 27531 27532 27533 27534 27535 27536 27537 27538 27539 27540 27541 27542 27543 27544 27545 27546 27547 27548 27549 27550 27551 27552 27553 27554 27555 27556 27557 27558 27559 27560 27561 27562 27563 27564 27565 27566 27567 27568 27569 27570 27571 27572 27573 27574 27575 27576 27577 27578 27579 27580 27581 27582 27583 27584 27585 27586 27587 27588 27589 27590 27591 27592 27593 27594 27595 27596 27597 27598 27599 27600 27601 27602 27603 27604 27605 27606 27607 27608 27609 27610 27611 27612 27613 27614 27615 27616 27617 27618 27619 27620 27621 27622 27623 27624 27625 27626 27627 27628 27629 27630 27631 27632 27633 27634 27635 27636 27637 27638 27639 27640 27641 27642 27643 27644 27645 27646 27647 27648 27649 27650 27651 27652 27653 27654 27655 27656 27657 27658 27659 27660 27661 27662 27663 27664 27665 27666 27667 27668 27669 27670 27671 27672 27673 27674 27675 27676 27677 27678 27679 27680 27681 27682 27683 27684 27685 27686 27687 27688 27689 27690 27691 27692 27693 27694 27695 27696 27697 27698 27699 27700 27701 27702 27703 27704 27705 27706 27707 27708 27709 27710 27711 27712 27713 27714 27715 27716 27717 27718 27719 27720 27721 27722 27723 27724 27725 27726 27727 27728 27729 27730 27731 27732 27733 27734 27735 27736 27737 27738 27739 27740 27741 27742 27743 27744 27745 27746 27747 27748 27749 27750 27751 27752 27753 27754 27755 27756 27757 27758 27759 27760 27761 27762 27763 27764 27765 27766 27767 27768 27769 27770 27771 27772 27773 27774 27775 27776 27777 27778 27779 27780 27781 27782 27783 27784 27785 27786 27787 27788 27789 27790 27791 27792 27793 27794 27795 27796 27797 27798 27799 27800 27801 27802 27803 27804 27805 27806 27807 27808 27809 27810 27811 27812 27813 27814 27815 27816 27817 27818 27819 27820 27821 27822 27823 27824 27825 27826 27827 27828 27829 27830 27831 27832 27833 27834 27835 27836 27837 27838 27839 27840 27841 27842 27843 27844 27845 27846 27847 27848 27849 27850 27851 27852 27853 27854 27855 27856 27857 27858 27859 27860 27861 27862 27863 27864 27865 27866 27867 27868 27869 27870 27871 27872 27873 27874 27875 27876 27877 27878 27879 27880 27881 27882 27883 27884 27885 27886 27887 27888 27889 27890 27891 27892 27893 27894 27895 27896 27897 27898 27899 27900 27901 27902 27903 27904 27905 27906 27907 27908 27909 27910 27911 27912 27913 27914 27915 27916 27917 27918 27919 27920 27921 27922 27923 27924 27925 27926 27927 27928 27929 27930 27931 27932 27933 27934 27935 27936 27937 27938 27939 27940 27941 27942 27943 27944 27945 27946 27947 27948 27949 27950 27951 27952 27953 27954 27955 27956 27957 27958 27959 27960 27961 27962 27963 27964 27965 27966 27967 27968 27969 27970 27971 27972 27973 27974 27975 27976 27977 27978 27979 27980 27981 27982 27983 27984 27985 27986 27987 27988 27989 27990 27991 27992 27993 27994 27995 27996 27997 27998 27999 28000 28001 28002 28003 28004 28005 28006 28007 28008 28009 28010 28011 28012 28013 28014 28015 28016 28017 28018 28019 28020 28021 28022 28023 28024 28025 28026 28027 28028 28029 28030 28031 28032 28033 28034 28035 28036 28037 28038 28039 28040 28041 28042 28043 28044 28045 28046 28047 28048 28049 28050 28051 28052 28053 28054 28055 28056 28057 28058 28059 28060 28061 28062 28063 28064 28065 28066 28067 28068 28069 28070 28071 28072 28073 28074 28075 28076 28077 28078 28079 28080 28081 28082 28083 28084 28085 28086 28087 28088 28089 28090 28091 28092 28093 28094 28095 28096 28097 28098 28099 28100 28101 28102 28103 28104 28105 28106 28107 28108 28109 28110 28111 28112 28113 28114 28115 28116 28117 28118 28119 28120 28121 28122 28123 28124 28125 28126 28127 28128 28129 28130 28131 28132 28133 28134 28135 28136 28137 28138 28139 28140 28141 28142 28143 28144 28145 28146 28147 28148 28149 28150 28151 28152 28153 28154 28155 28156 28157 28158 28159 28160 28161 28162 28163 28164 28165 28166 28167 28168 28169 28170 28171 28172 28173 28174 28175 28176 28177 28178 28179 28180 28181 28182 28183 28184 28185 28186 28187 28188 28189 28190 28191 28192 28193 28194 28195 28196 28197 28198 28199 28200 28201 28202 28203 28204 28205 28206 28207 28208 28209 28210 28211 28212 28213 28214 28215 28216 28217 28218 28219 28220 28221 28222 28223 28224 28225 28226 28227 28228 28229 28230 28231 28232 28233 28234 28235 28236 28237 28238 28239 28240 28241 28242 28243 28244 28245 28246 28247 28248 28249 28250 28251 28252 28253 28254 28255 28256 28257 28258 28259 28260 28261 28262 28263 28264 28265 28266 28267 28268 28269 28270 28271 28272 28273 28274 28275 28276 28277 28278 28279 28280 28281 28282 28283 28284 28285 28286 28287 28288 28289 28290 28291 28292 28293 28294 28295 28296 28297 28298 28299 28300 28301 28302 28303 28304 28305 28306 28307 28308 28309 28310 28311 28312 28313 28314 28315 28316 28317 28318 28319 28320 28321 28322 28323 28324 28325 28326 28327 28328 28329 28330 28331 28332 28333 28334 28335 28336 28337 28338 28339 28340 28341 28342 28343 28344 28345 28346 28347 28348 28349 28350 28351 28352 28353 28354 28355 28356 28357 28358 28359 28360 28361 28362 28363 28364 28365 28366 28367 28368 28369 28370 28371 28372 28373 28374 28375 28376 28377 28378 28379 28380 28381 28382 28383 28384 28385 28386 28387 28388 28389 28390 28391 28392 28393 28394 28395 28396 28397 28398 28399 28400 28401 28402 28403 28404 28405 28406 28407 28408 28409 28410 28411 28412 28413 28414 28415 28416 28417 28418 28419 28420 28421 28422 28423 28424 28425 28426 28427 28428 28429 28430 28431 28432 28433 28434 28435 28436 28437 28438 28439 28440 28441 28442 28443 28444 28445 28446 28447 28448 28449 28450 28451 28452 28453 28454 28455 28456 28457 28458 28459 28460 28461 28462 28463 28464 28465 28466 28467 28468 28469 28470 28471 28472 28473 28474 28475 28476 28477 28478 28479 28480 28481 28482 28483 28484 28485 28486 28487 28488 28489 28490 28491 28492 28493 28494 28495 28496 28497 28498 28499 28500 28501 28502 28503 28504 28505 28506 28507 28508 28509 28510 28511 28512 28513 28514 28515 28516 28517 28518 28519 28520 28521 28522 28523 28524 28525 28526 28527 28528 28529 28530 28531 28532 28533 28534 28535 28536 28537 28538 28539 28540 28541 28542 28543 28544 28545 28546 28547 28548 28549 28550 28551 28552 28553 28554 28555 28556 28557 28558 28559 28560 28561 28562 28563 28564 28565 28566 28567 28568 28569 28570 28571 28572 28573 28574 28575 28576 28577 28578 28579 28580 28581 28582 28583 28584 28585 28586 28587 28588 28589 28590 28591 28592 28593 28594 28595 28596 28597 28598 28599 28600 28601 28602 28603 28604 28605 28606 28607 28608 28609 28610 28611 28612 28613 28614 28615 28616 28617 28618 28619 28620 28621 28622 28623 28624 28625 28626 28627 28628 28629 28630 28631 28632 28633 28634 28635 28636 28637 28638 28639 28640 28641 28642 28643 28644 28645 28646 28647 28648 28649 28650 28651 28652 28653 28654 28655 28656 28657 28658 28659 28660 28661 28662 28663 28664 28665 28666 28667 28668 28669 28670 28671 28672 28673 28674 28675 28676 28677 28678 28679 28680 28681 28682 28683 28684 28685 28686 28687 28688 28689 28690 28691 28692 28693 28694 28695 28696 28697 28698 28699 28700 28701 28702 28703 28704 28705 28706 28707 28708 28709 28710 28711 28712 28713 28714 28715 28716 28717 28718 28719 28720 28721 28722 28723 28724 28725 28726 28727 28728 28729 28730 28731 28732 28733 28734 28735 28736 28737 28738 28739 28740 28741 28742 28743 28744 28745 28746 28747 28748 28749 28750 28751 28752 28753 28754 28755 28756 28757 28758 28759 28760 28761 28762 28763 28764 28765 28766 28767 28768 28769 28770 28771 28772 28773 28774 28775 28776 28777 28778 28779 28780 28781 28782 28783 28784 28785 28786 28787 28788 28789 28790 28791 28792 28793 28794 28795 28796 28797 28798 28799 28800 28801 28802 28803 28804 28805 28806 28807 28808 28809 28810 28811 28812 28813 28814 28815 28816 28817 28818 28819 28820 28821 28822 28823 28824 28825 28826 28827 28828 28829 28830 28831 28832 28833 28834 28835 28836 28837 28838 28839 28840 28841 28842 28843 28844 28845 28846 28847 28848 28849 28850 28851 28852 28853 28854 28855 28856 28857 28858 28859 28860 28861 28862 28863 28864 28865 28866 28867 28868 28869 28870 28871 28872 28873 28874 28875 28876 28877 28878 28879 28880 28881 28882 28883 28884 28885 28886 28887 28888 28889 28890 28891 28892 28893 28894 28895 28896 28897 28898 28899 28900 28901 28902 28903 28904 28905 28906 28907 28908 28909 28910 28911 28912 28913 28914 28915 28916 28917 28918 28919 28920 28921 28922 28923 28924 28925 28926 28927 28928 28929 28930 28931 28932 28933 28934 28935 28936 28937 28938 28939 28940 28941 28942 28943 28944 28945 28946 28947 28948 28949 28950 28951 28952 28953 28954 28955 28956 28957 28958 28959 28960 28961 28962 28963 28964 28965 28966 28967 28968 28969 28970 28971 28972 28973 28974 28975 28976 28977 28978 28979 28980 28981 28982 28983 28984 28985 28986 28987 28988 28989 28990 28991 28992 28993 28994 28995 28996 28997 28998 28999 29000 29001 29002 29003 29004 29005 29006 29007 29008 29009 29010 29011 29012 29013 29014 29015 29016 29017 29018 29019 29020 29021 29022 29023 29024 29025 29026 29027 29028 29029 29030 29031 29032 29033 29034 29035 29036 29037 29038 29039 29040 29041 29042 29043 29044 29045 29046 29047 29048 29049 29050 29051 29052 29053 29054 29055 29056 29057 29058 29059 29060 29061 29062 29063 29064 29065 29066 29067 29068 29069 29070 29071 29072 29073 29074 29075 29076 29077 29078 29079 29080 29081 29082 29083 29084 29085 29086 29087 29088 29089 29090 29091 29092 29093 29094 29095 29096 29097 29098 29099 29100 29101 29102 29103 29104 29105 29106 29107 29108 29109 29110 29111 29112 29113 29114 29115 29116 29117 29118 29119 29120 29121 29122 29123 29124 29125 29126 29127 29128 29129 29130 29131 29132 29133 29134 29135 29136 29137 29138 29139 29140 29141 29142 29143 29144 29145 29146 29147 29148 29149 29150 29151 29152 29153 29154 29155 29156 29157 29158 29159 29160 29161 29162 29163 29164 29165 29166 29167 29168 29169 29170 29171 29172 29173 29174 29175 29176 29177 29178 29179 29180 29181 29182 29183 29184 29185 29186 29187 29188 29189 29190 29191 29192 29193 29194 29195 29196 29197 29198 29199 29200 29201 29202 29203 29204 29205 29206 29207 29208 29209 29210 29211 29212 29213 29214 29215 29216 29217 29218 29219 29220 29221 29222 29223 29224 29225 29226 29227 29228 29229 29230 29231 29232 29233 29234 29235 29236 29237 29238 29239 29240 29241 29242 29243 29244 29245 29246 29247 29248 29249 29250 29251 29252 29253 29254 29255 29256 29257 29258 29259 29260 29261 29262 29263 29264 29265 29266 29267 29268 29269 29270 29271 29272 29273 29274 29275 29276 29277 29278 29279 29280 29281 29282 29283 29284 29285 29286 29287 29288 29289 29290 29291 29292 29293 29294 29295 29296 29297 29298 29299 29300 29301 29302 29303 29304 29305 29306 29307 29308 29309 29310 29311 29312 29313 29314 29315 29316 29317 29318 29319 29320 29321 29322 29323 29324 29325 29326 29327 29328 29329 29330 29331 29332 29333 29334 29335 29336 29337 29338 29339 29340 29341 29342 29343 29344 29345 29346 29347 29348 29349 29350 29351 29352 29353 29354 29355 29356 29357 29358 29359 29360 29361 29362 29363 29364 29365 29366 29367 29368 29369 29370 29371 29372 29373 29374 29375 29376 29377 29378 29379 29380 29381 29382 29383 29384 29385 29386 29387 29388 29389 29390 29391 29392 29393 29394 29395 29396 29397 29398 29399 29400 29401 29402 29403 29404 29405 29406 29407 29408 29409 29410 29411 29412 29413 29414 29415 29416 29417 29418 29419 29420 29421 29422 29423 29424 29425 29426 29427 29428 29429 29430 29431 29432 29433 29434 29435 29436 29437 29438 29439 29440 29441 29442 29443 29444 29445 29446 29447 29448 29449 29450 29451 29452 29453 29454 29455 29456 29457 29458 29459 29460 29461 29462 29463 29464 29465 29466 29467 29468 29469 29470 29471 29472 29473 29474 29475 29476 29477 29478 29479 29480 29481 29482 29483 29484 29485 29486 29487 29488 29489 29490 29491 29492 29493 29494 29495 29496 29497 29498 29499 29500 29501 29502 29503 29504 29505 29506 29507 29508 29509 29510 29511 29512 29513 29514 29515 29516 29517 29518 29519 29520 29521 29522 29523 29524 29525 29526 29527 29528 29529 29530 29531 29532 29533 29534 29535 29536 29537 29538 29539 29540 29541 29542 29543 29544 29545 29546 29547 29548 29549 29550 29551 29552 29553 29554 29555 29556 29557 29558 29559 29560 29561 29562 29563 29564 29565 29566 29567 29568 29569 29570 29571 29572 29573 29574 29575 29576 29577 29578 29579 29580 29581 29582 29583 29584 29585 29586 29587 29588 29589 29590 29591 29592 29593 29594 29595 29596 29597 29598 29599 29600 29601 29602 29603 29604 29605 29606 29607 29608 29609 29610 29611 29612 29613 29614 29615 29616 29617 29618 29619 29620 29621 29622 29623 29624 29625 29626 29627 29628 29629 29630 29631 29632 29633 29634 29635 29636 29637 29638 29639 29640 29641 29642 29643 29644 29645 29646 29647 29648 29649 29650 29651 29652 29653 29654 29655 29656 29657 29658 29659 29660 29661 29662 29663 29664 29665 29666 29667 29668 29669 29670 29671 29672 29673 29674 29675 29676 29677 29678 29679 29680 29681 29682 29683 29684 29685 29686 29687 29688 29689 29690 29691 29692 29693 29694 29695 29696 29697 29698 29699 29700 29701 29702 29703 29704 29705 29706 29707 29708 29709 29710 29711 29712 29713 29714 29715 29716 29717 29718 29719 29720 29721 29722 29723 29724 29725 29726 29727 29728 29729 29730 29731 29732 29733 29734 29735 29736 29737 29738 29739 29740 29741 29742 29743 29744 29745 29746 29747 29748 29749 29750 29751 29752 29753 29754 29755 29756 29757 29758 29759 29760 29761 29762 29763 29764 29765 29766 29767 29768 29769 29770 29771 29772 29773 29774 29775 29776 29777 29778 29779 29780 29781 29782 29783 29784 29785 29786 29787 29788 29789 29790 29791 29792 29793 29794 29795 29796 29797 29798 29799 29800 29801 29802 29803 29804 29805 29806 29807 29808 29809 29810 29811 29812 29813 29814 29815 29816 29817 29818 29819 29820 29821 29822 29823 29824 29825 29826 29827 29828 29829 29830 29831 29832 29833 29834 29835 29836 29837 29838 29839 29840 29841 29842 29843 29844 29845 29846 29847 29848 29849 29850 29851 29852 29853 29854 29855 29856 29857 29858 29859 29860 29861 29862 29863 29864 29865 29866 29867 29868 29869 29870 29871 29872 29873 29874 29875 29876 29877 29878 29879 29880 29881 29882 29883 29884 29885 29886 29887 29888 29889 29890 29891 29892 29893 29894 29895 29896 29897 29898 29899 29900 29901 29902 29903 29904 29905 29906 29907 29908 29909 29910 29911 29912 29913 29914 29915 29916 29917 29918 29919 29920 29921 29922 29923 29924 29925 29926 29927 29928 29929 29930 29931 29932 29933 29934 29935 29936 29937 29938 29939 29940 29941 29942 29943 29944 29945 29946 29947 29948 29949 29950 29951 29952 29953 29954 29955 29956 29957 29958 29959 29960 29961 29962 29963 29964 29965 29966 29967 29968 29969 29970 29971 29972 29973 29974 29975 29976 29977 29978 29979 29980 29981 29982 29983 29984 29985 29986 29987 29988 29989 29990 29991 29992 29993 29994 29995 29996 29997 29998 29999 30000 30001 30002 30003 30004 30005 30006 30007 30008 30009 30010 30011 30012 30013 30014 30015 30016 30017 30018 30019 30020 30021 30022 30023 30024 30025 30026 30027 30028 30029 30030 30031 30032 30033 30034 30035 30036 30037 30038 30039 30040 30041 30042 30043 30044 30045 30046 30047 30048 30049 30050 30051 30052 30053 30054 30055 30056 30057 30058 30059 30060 30061 30062 30063 30064 30065 30066 30067 30068 30069 30070 30071 30072 30073 30074 30075 30076 30077 30078 30079 30080 30081 30082 30083 30084 30085 30086 30087 30088 30089 30090 30091 30092 30093 30094 30095 30096 30097 30098 30099 30100 30101 30102 30103 30104 30105 30106 30107 30108 30109 30110 30111 30112 30113 30114 30115 30116 30117 30118 30119 30120 30121 30122 30123 30124 30125 30126 30127 30128 30129 30130 30131 30132 30133 30134 30135 30136 30137 30138 30139 30140 30141 30142 30143 30144 30145 30146 30147 30148 30149 30150 30151 30152 30153 30154 30155 30156 30157 30158 30159 30160 30161 30162 30163 30164 30165 30166 30167 30168 30169 30170 30171 30172 30173 30174 30175 30176 30177 30178 30179 30180 30181 30182 30183 30184 30185 30186 30187 30188 30189 30190 30191 30192 30193 30194 30195 30196 30197 30198 30199 30200 30201 30202 30203 30204 30205 30206 30207 30208 30209 30210 30211 30212 30213 30214 30215 30216 30217 30218 30219 30220 30221 30222 30223 30224 30225 30226 30227 30228 30229 30230 30231 30232 30233 30234 30235 30236 30237 30238 30239 30240 30241 30242 30243 30244 30245 30246 30247 30248 30249 30250 30251 30252 30253 30254 30255 30256 30257 30258 30259 30260 30261 30262 30263 30264 30265 30266 30267 30268 30269 30270 30271 30272 30273 30274 30275 30276 30277 30278 30279 30280 30281 30282 30283 30284 30285 30286 30287 30288 30289 30290 30291 30292 30293 30294 30295 30296 30297 30298 30299 30300 30301 30302 30303 30304 30305 30306 30307 30308 30309 30310 30311 30312 30313 30314 30315 30316 30317 30318 30319 30320 30321 30322 30323 30324 30325 30326 30327 30328 30329 30330 30331 30332 30333 30334 30335 30336 30337 30338 30339 30340 30341 30342 30343 30344 30345 30346 30347 30348 30349 30350 30351 30352 30353 30354 30355 30356 30357 30358 30359 30360 30361 30362 30363 30364 30365 30366 30367 30368 30369 30370 30371 30372 30373 30374 30375 30376 30377 30378 30379 30380 30381 30382 30383 30384 30385 30386 30387 30388 30389 30390 30391 30392 30393 30394 30395 30396 30397 30398 30399 30400 30401 30402 30403 30404 30405 30406 30407 30408 30409 30410 30411 30412 30413 30414 30415 30416 30417 30418 30419 30420 30421 30422 30423 30424 30425 30426 30427 30428 30429 30430 30431 30432 30433 30434 30435 30436 30437 30438 30439 30440 30441 30442 30443 30444 30445 30446 30447 30448 30449 30450 30451 30452 30453 30454 30455 30456 30457 30458 30459 30460 30461 30462 30463 30464 30465 30466 30467 30468 30469 30470 30471 30472 30473 30474 30475 30476 30477 30478 30479 30480 30481 30482 30483 30484 30485 30486 30487 30488 30489 30490 30491 30492 30493 30494 30495 30496 30497 30498 30499 30500 30501 30502 30503 30504 30505 30506 30507 30508 30509 30510 30511 30512 30513 30514 30515 30516 30517 30518 30519 30520 30521 30522 30523 30524 30525 30526 30527 30528 30529 30530 30531 30532 30533 30534 30535 30536 30537 30538 30539 30540 30541 30542 30543 30544 30545 30546 30547 30548 30549 30550 30551 30552 30553 30554 30555 30556 30557 30558 30559 30560 30561 30562 30563 30564 30565 30566 30567 30568 30569 30570 30571 30572 30573 30574 30575 30576 30577 30578 30579 30580 30581 30582 30583 30584 30585 30586 30587 30588 30589 30590 30591 30592 30593 30594 30595 30596 30597 30598 30599 30600 30601 30602 30603 30604 30605 30606 30607 30608 30609 30610 30611 30612 30613 30614 30615 30616 30617 30618 30619 30620 30621 30622 30623 30624 30625 30626 30627 30628 30629 30630 30631 30632 30633 30634 30635 30636 30637 30638 30639 30640 30641 30642 30643 30644 30645 30646 30647 30648 30649 30650 30651 30652 30653 30654 30655 30656 30657 30658 30659 30660 30661 30662 30663 30664 30665 30666 30667 30668 30669 30670 30671 30672 30673 30674 30675 30676 30677 30678 30679 30680 30681 30682 30683 30684 30685 30686 30687 30688 30689 30690 30691 30692 30693 30694 30695 30696 30697 30698 30699 30700 30701 30702 30703 30704 30705 30706 30707 30708 30709 30710 30711 30712 30713 30714 30715 30716 30717 30718 30719 30720 30721 30722 30723 30724 30725 30726 30727 30728 30729 30730 30731 30732 30733 30734 30735 30736 30737 30738 30739 30740 30741 30742 30743 30744 30745 30746 30747 30748 30749 30750 30751 30752 30753 30754 30755 30756 30757 30758 30759 30760 30761 30762 30763 30764 30765 30766 30767 30768 30769 30770 30771 30772 30773 30774 30775 30776 30777 30778 30779 30780 30781 30782 30783 30784 30785 30786 30787 30788 30789 30790 30791 30792 30793 30794 30795 30796 30797 30798 30799 30800 30801 30802 30803 30804 30805 30806 30807 30808 30809 30810 30811 30812 30813 30814 30815 30816 30817 30818 30819 30820 30821 30822 30823 30824 30825 30826 30827 30828 30829 30830 30831 30832 30833 30834 30835 30836 30837 30838 30839 30840 30841 30842 30843 30844 30845 30846 30847 30848 30849 30850 30851 30852 30853 30854 30855 30856 30857 30858 30859 30860 30861 30862 30863 30864 30865 30866 30867 30868 30869 30870 30871 30872 30873 30874 30875 30876 30877 30878 30879 30880 30881 30882 30883 30884 30885 30886 30887 30888 30889 30890 30891 30892 30893 30894 30895 30896 30897 30898 30899 30900 30901 30902 30903 30904 30905 30906 30907 30908 30909 30910 30911 30912 30913 30914 30915 30916 30917 30918 30919 30920 30921 30922 30923 30924 30925 30926 30927 30928 30929 30930 30931 30932 30933 30934 30935 30936 30937 30938 30939 30940 30941 30942 30943 30944 30945 30946 30947 30948 30949 30950 30951 30952 30953 30954 30955 30956 30957 30958 30959 30960 30961 30962 30963 30964 30965 30966 30967 30968 30969 30970 30971 30972 30973 30974 30975 30976 30977 30978 30979 30980 30981 30982 30983 30984 30985 30986 30987 30988 30989 30990 30991 30992 30993 30994 30995 30996 30997 30998 30999 31000 31001 31002 31003 31004 31005 31006 31007 31008 31009 31010 31011 31012 31013 31014 31015 31016 31017 31018 31019 31020 31021 31022 31023 31024 31025 31026 31027 31028 31029 31030 31031 31032 31033 31034 31035 31036 31037 31038 31039 31040 31041 31042 31043 31044 31045 31046 31047 31048 31049 31050 31051 31052 31053 31054 31055 31056 31057 31058 31059 31060 31061 31062 31063 31064 31065 31066 31067 31068 31069 31070 31071 31072 31073 31074 31075 31076 31077 31078 31079 31080 31081 31082 31083 31084 31085 31086 31087 31088 31089 31090 31091 31092 31093 31094 31095 31096 31097 31098 31099 31100 31101 31102 31103 31104 31105 31106 31107 31108 31109 31110 31111 31112 31113 31114 31115 31116 31117 31118 31119 31120 31121 31122 31123 31124 31125 31126 31127 31128 31129 31130 31131 31132 31133 31134 31135 31136 31137 31138 31139 31140 31141 31142 31143 31144 31145 31146 31147 31148 31149 31150 31151 31152 31153 31154 31155 31156 31157 31158 31159 31160 31161 31162 31163 31164 31165 31166 31167 31168 31169 31170 31171 31172 31173 31174 31175 31176 31177 31178 31179 31180 31181 31182 31183 31184 31185 31186 31187 31188 31189 31190 31191 31192 31193 31194 31195 31196 31197 31198 31199 31200 31201 31202 31203 31204 31205 31206 31207 31208 31209 31210 31211 31212 31213 31214 31215 31216 31217 31218 31219 31220 31221 31222 31223 31224 31225 31226 31227 31228 31229 31230 31231 31232 31233 31234 31235 31236 31237 31238 31239 31240 31241 31242 31243 31244 31245 31246 31247 31248 31249 31250 31251 31252 31253 31254 31255 31256 31257 31258 31259 31260 31261 31262 31263 31264 31265 31266 31267 31268 31269 31270 31271 31272 31273 31274 31275 31276 31277 31278 31279 31280 31281 31282 31283 31284 31285 31286 31287 31288 31289 31290 31291 31292 31293 31294 31295 31296 31297 31298 31299 31300 31301 31302 31303 31304 31305 31306 31307 31308 31309 31310 31311 31312 31313 31314 31315 31316 31317 31318 31319 31320 31321 31322 31323 31324 31325 31326 31327 31328 31329 31330 31331 31332 31333 31334 31335 31336 31337 31338 31339 31340 31341 31342 31343 31344 31345 31346 31347 31348 31349 31350 31351 31352 31353 31354 31355 31356 31357 31358 31359 31360 31361 31362 31363 31364 31365 31366 31367 31368 31369 31370 31371 31372 31373 31374 31375 31376 31377 31378 31379 31380 31381 31382 31383 31384 31385 31386 31387 31388 31389 31390 31391 31392 31393 31394 31395 31396 31397 31398 31399 31400 31401 31402 31403 31404 31405 31406 31407 31408 31409 31410 31411 31412 31413 31414 31415 31416 31417 31418 31419 31420 31421 31422 31423 31424 31425 31426 31427 31428 31429 31430 31431 31432 31433 31434 31435 31436 31437 31438 31439 31440 31441 31442 31443 31444 31445 31446 31447 31448 31449 31450 31451 31452 31453 31454 31455 31456 31457 31458 31459 31460 31461 31462 31463 31464 31465 31466 31467 31468 31469 31470 31471 31472 31473 31474 31475 31476 31477 31478 31479 31480 31481 31482 31483 31484 31485 31486 31487 31488 31489 31490 31491 31492 31493 31494 31495 31496 31497 31498 31499 31500 31501 31502 31503 31504 31505 31506 31507 31508 31509 31510 31511 31512 31513 31514 31515 31516 31517 31518 31519 31520 31521 31522 31523 31524 31525 31526 31527 31528 31529 31530 31531 31532 31533 31534 31535 31536 31537 31538 31539 31540 31541 31542 31543 31544 31545 31546 31547 31548 31549 31550 31551 31552 31553 31554 31555 31556 31557 31558 31559 31560 31561 31562 31563 31564 31565 31566 31567 31568 31569 31570 31571 31572 31573 31574 31575 31576 31577 31578 31579 31580 31581 31582 31583 31584 31585 31586 31587 31588 31589 31590 31591 31592 31593 31594 31595 31596 31597 31598 31599 31600 31601 31602 31603 31604 31605 31606 31607 31608 31609 31610 31611 31612 31613 31614 31615 31616 31617 31618 31619 31620 31621 31622 31623 31624 31625 31626 31627 31628 31629 31630 31631 31632 31633 31634 31635 31636 31637 31638 31639 31640 31641 31642 31643 31644 31645 31646 31647 31648 31649 31650 31651 31652 31653 31654 31655 31656 31657 31658 31659 31660 31661 31662 31663 31664 31665 31666 31667 31668 31669 31670 31671 31672 31673 31674 31675 31676 31677 31678 31679 31680 31681 31682 31683 31684 31685 31686 31687 31688 31689 31690 31691 31692 31693 31694 31695 31696 31697 31698 31699 31700 31701 31702 31703 31704 31705 31706 31707 31708 31709 31710 31711 31712 31713 31714 31715 31716 31717 31718 31719 31720 31721 31722 31723 31724 31725 31726 31727 31728 31729 31730 31731 31732 31733 31734 31735 31736 31737 31738 31739 31740 31741 31742 31743 31744 31745 31746 31747 31748 31749 31750 31751 31752 31753 31754 31755 31756 31757 31758 31759 31760 31761 31762 31763 31764 31765 31766 31767 31768 31769 31770 31771 31772 31773 31774 31775 31776 31777 31778 31779 31780 31781 31782 31783 31784 31785 31786 31787 31788 31789 31790 31791 31792 31793 31794 31795 31796 31797 31798 31799 31800 31801 31802 31803 31804 31805 31806 31807 31808 31809 31810 31811 31812 31813 31814 31815 31816 31817 31818 31819 31820 31821 31822 31823 31824 31825 31826 31827 31828 31829 31830 31831 31832 31833 31834 31835 31836 31837 31838 31839 31840 31841 31842 31843 31844 31845 31846 31847 31848 31849 31850 31851 31852 31853 31854 31855 31856 31857 31858 31859 31860 31861 31862 31863 31864 31865 31866 31867 31868 31869 31870 31871 31872 31873 31874 31875 31876 31877 31878 31879 31880 31881 31882 31883 31884 31885 31886 31887 31888 31889 31890 31891 31892 31893 31894 31895 31896 31897 31898 31899 31900 31901 31902 31903 31904 31905 31906 31907 31908 31909 31910 31911 31912 31913 31914 31915 31916 31917 31918 31919 31920 31921 31922 31923 31924 31925 31926 31927 31928 31929 31930 31931 31932 31933 31934 31935 31936 31937 31938 31939 31940 31941 31942 31943 31944 31945 31946 31947 31948 31949 31950 31951 31952 31953 31954 31955 31956 31957 31958 31959 31960 31961 31962 31963 31964 31965 31966 31967 31968 31969 31970 31971 31972 31973 31974 31975 31976 31977 31978 31979 31980 31981 31982 31983 31984 31985 31986 31987 31988 31989 31990 31991 31992 31993 31994 31995 31996 31997 31998 31999 32000 32001 32002 32003 32004 32005 32006 32007 32008 32009 32010 32011 32012 32013 32014 32015 32016 32017 32018 32019 32020 32021 32022 32023 32024 32025 32026 32027 32028 32029 32030 32031 32032 32033 32034 32035 32036 32037 32038 32039 32040 32041 32042 32043 32044 32045 32046 32047 32048 32049 32050 32051 32052 32053 32054 32055 32056 32057 32058 32059 32060 32061 32062 32063 32064 32065 32066 32067 32068 32069 32070 32071 32072 32073 32074 32075 32076 32077 32078 32079 32080 32081 32082 32083 32084 32085 32086 32087 32088 32089 32090 32091 32092 32093 32094 32095 32096 32097 32098 32099 32100 32101 32102 32103 32104 32105 32106 32107 32108 32109 32110 32111 32112 32113 32114 32115 32116 32117 32118 32119 32120 32121 32122 32123 32124 32125 32126 32127 32128 32129 32130 32131 32132 32133 32134 32135 32136 32137 32138 32139 32140 32141 32142 32143 32144 32145 32146 32147 32148 32149 32150 32151 32152 32153 32154 32155 32156 32157 32158 32159 32160 32161 32162 32163 32164 32165 32166 32167 32168 32169 32170 32171 32172 32173 32174 32175 32176 32177 32178 32179 32180 32181 32182 32183 32184 32185 32186 32187 32188 32189 32190 32191 32192 32193 32194 32195 32196 32197 32198 32199 32200 32201 32202 32203 32204 32205 32206 32207 32208 32209 32210 32211 32212 32213 32214 32215 32216 32217 32218 32219 32220 32221 32222 32223 32224 32225 32226 32227 32228 32229 32230 32231 32232 32233 32234 32235 32236 32237 32238 32239 32240 32241 32242 32243 32244 32245 32246 32247 32248 32249 32250 32251 32252 32253 32254 32255 32256 32257 32258 32259 32260 32261 32262 32263 32264 32265 32266 32267 32268 32269 32270 32271 32272 32273 32274 32275 32276 32277 32278 32279 32280 32281 32282 32283 32284 32285 32286 32287 32288 32289 32290 32291 32292 32293 32294 32295 32296 32297 32298 32299 32300 32301 32302 32303 32304 32305 32306 32307 32308 32309 32310 32311 32312 32313 32314 32315 32316 32317 32318 32319 32320 32321 32322 32323 32324 32325 32326 32327 32328 32329 32330 32331 32332 32333 32334 32335 32336 32337 32338 32339 32340 32341 32342 32343 32344 32345 32346 32347 32348 32349 32350 32351 32352 32353 32354 32355 32356 32357 32358 32359 32360 32361 32362 32363 32364 32365 32366 32367 32368 32369 32370 32371 32372 32373 32374 32375 32376 32377 32378 32379 32380 32381 32382 32383 32384 32385 32386 32387 32388 32389 32390 32391 32392 32393 32394 32395 32396 32397 32398 32399 32400 32401 32402 32403 32404 32405 32406 32407 32408 32409 32410 32411 32412 32413 32414 32415 32416 32417 32418 32419 32420 32421 32422 32423 32424 32425 32426 32427 32428 32429 32430 32431 32432 32433 32434 32435 32436 32437 32438 32439 32440 32441 32442 32443 32444 32445 32446 32447 32448 32449 32450 32451 32452 32453 32454 32455 32456 32457 32458 32459 32460 32461 32462 32463 32464 32465 32466 32467 32468 32469 32470 32471 32472 32473 32474 32475 32476 32477 32478 32479 32480 32481 32482 32483 32484 32485 32486 32487 32488 32489 32490 32491 32492 32493 32494 32495 32496 32497 32498 32499 32500 32501 32502 32503 32504 32505 32506 32507 32508 32509 32510 32511 32512 32513 32514 32515 32516 32517 32518 32519 32520 32521 32522 32523 32524 32525 32526 32527 32528 32529 32530 32531 32532 32533 32534 32535 32536 32537 32538 32539 32540 32541 32542 32543 32544 32545 32546 32547 32548 32549 32550 32551 32552 32553 32554 32555 32556 32557 32558 32559 32560 32561 32562 32563 32564 32565 32566 32567 32568 32569 32570 32571 32572 32573 32574 32575 32576 32577 32578 32579 32580 32581 32582 32583 32584 32585 32586 32587 32588 32589 32590 32591 32592 32593 32594 32595 32596 32597 32598 32599 32600 32601 32602 32603 32604 32605 32606 32607 32608 32609 32610 32611 32612 32613 32614 32615 32616 32617 32618 32619 32620 32621 32622 32623 32624 32625 32626 32627 32628 32629 32630 32631 32632 32633 32634 32635 32636 32637 32638 32639 32640 32641 32642 32643 32644 32645 32646 32647 32648 32649 32650 32651 32652 32653 32654 32655 32656 32657 32658 32659 32660 32661 32662 32663 32664 32665 32666 32667 32668 32669 32670 32671 32672 32673 32674 32675 32676 32677 32678 32679 32680 32681 32682 32683 32684 32685 32686 32687 32688 32689 32690 32691 32692 32693 32694 32695 32696 32697 32698 32699 32700 32701 32702 32703 32704 32705 32706 32707 32708 32709 32710 32711 32712 32713 32714 32715 32716 32717 32718 32719 32720 32721 32722 32723 32724 32725 32726 32727 32728 32729 32730 32731 32732 32733 32734 32735 32736 32737 32738 32739 32740 32741 32742 32743 32744 32745 32746 32747 32748 32749 32750 32751 32752 32753 32754 32755 32756 32757 32758 32759 32760 32761 32762 32763 32764 32765 32766 32767 32768 32769 32770 32771 32772 32773 32774 32775 32776 32777 32778 32779 32780 32781 32782 32783 32784 32785 32786 32787 32788 32789 32790 32791 32792 32793 32794 32795 32796 32797 32798 32799 32800 32801 32802 32803 32804 32805 32806 32807 32808 32809 32810 32811 32812 32813 32814 32815 32816 32817 32818 32819 32820 32821 32822 32823 32824 32825 32826 32827 32828 32829 32830 32831 32832 32833 32834 32835 32836 32837 32838 32839 32840 32841 32842 32843 32844 32845 32846 32847 32848 32849 32850 32851 32852 32853 32854 32855 32856 32857 32858 32859 32860 32861 32862 32863 32864 32865 32866 32867 32868 32869 32870 32871 32872 32873 32874 32875 32876 32877 32878 32879 32880 32881 32882 32883 32884 32885 32886 32887 32888 32889 32890 32891 32892 32893 32894 32895 32896 32897 32898 32899 32900 32901 32902 32903 32904 32905 32906 32907 32908 32909 32910 32911 32912 32913 32914 32915 32916 32917 32918 32919 32920 32921 32922 32923 32924 32925 32926 32927 32928 32929 32930 32931 32932 32933 32934 32935 32936 32937 32938 32939 32940 32941 32942 32943 32944 32945 32946 32947 32948 32949 32950 32951 32952 32953 32954 32955 32956 32957 32958 32959 32960 32961 32962 32963 32964 32965 32966 32967 32968 32969 32970 32971 32972 32973 32974 32975 32976 32977 32978 32979 32980 32981 32982 32983 32984 32985 32986 32987 32988 32989 32990 32991 32992 32993 32994 32995 32996 32997 32998 32999 33000 33001 33002 33003 33004 33005 33006 33007 33008 33009 33010 33011 33012 33013 33014 33015 33016 33017 33018 33019 33020 33021 33022 33023 33024 33025 33026 33027 33028 33029 33030 33031 33032 33033 33034 33035 33036 33037 33038 33039 33040 33041 33042 33043 33044 33045 33046 33047 33048 33049 33050 33051 33052 33053 33054 33055 33056 33057 33058 33059 33060 33061 33062 33063 33064 33065 33066 33067 33068 33069 33070 33071 33072 33073 33074 33075 33076 33077 33078 33079 33080 33081 33082 33083 33084 33085 33086 33087 33088 33089 33090 33091 33092 33093 33094 33095 33096 33097 33098 33099 33100 33101 33102 33103 33104 33105 33106 33107 33108 33109 33110 33111 33112 33113 33114 33115 33116 33117 33118 33119 33120 33121 33122 33123 33124 33125 33126 33127 33128 33129 33130 33131 33132 33133 33134 33135 33136 33137 33138 33139 33140 33141 33142 33143 33144 33145 33146 33147 33148 33149 33150 33151 33152 33153 33154 33155 33156 33157 33158 33159 33160 33161 33162 33163 33164 33165 33166 33167 33168 33169 33170 33171 33172 33173 33174 33175 33176 33177 33178 33179 33180 33181 33182 33183 33184 33185 33186 33187 33188 33189 33190 33191 33192 33193 33194 33195 33196 33197 33198 33199 33200 33201 33202 33203 33204 33205 33206 33207 33208 33209 33210 33211 33212 33213 33214 33215 33216 33217 33218 33219 33220 33221 33222 33223 33224 33225 33226 33227 33228 33229 33230 33231 33232 33233 33234 33235 33236 33237 33238 33239 33240 33241 33242 33243 33244 33245 33246 33247 33248 33249 33250 33251 33252 33253 33254 33255 33256 33257 33258 33259 33260 33261 33262 33263 33264 33265 33266 33267 33268 33269 33270 33271 33272 33273 33274 33275 33276 33277 33278 33279 33280 33281 33282 33283 33284 33285 33286 33287 33288 33289 33290 33291 33292 33293 33294 33295 33296 33297 33298 33299 33300 33301 33302 33303 33304 33305 33306 33307 33308 33309 33310 33311 33312 33313 33314 33315 33316 33317 33318 33319 33320 33321 33322 33323 33324 33325 33326 33327 33328 33329 33330 33331 33332 33333 33334 33335 33336 33337 33338 33339 33340 33341 33342 33343 33344 33345 33346 33347 33348 33349 33350 33351 33352 33353 33354 33355 33356 33357 33358 33359 33360 33361 33362 33363 33364 33365 33366 33367 33368 33369 33370 33371 33372 33373 33374 33375 33376 33377 33378 33379 33380 33381 33382 33383 33384 33385 33386 33387 33388 33389 33390 33391 33392 33393 33394 33395 33396 33397 33398 33399 33400 33401 33402 33403 33404 33405 33406 33407 33408 33409 33410 33411 33412 33413 33414 33415 33416 33417 33418 33419 33420 33421 33422 33423 33424 33425 33426 33427 33428 33429 33430 33431 33432 33433 33434 33435 33436 33437 33438 33439 33440 33441 33442 33443 33444 33445 33446 33447 33448 33449 33450 33451 33452 33453 33454 33455 33456 33457 33458 33459 33460 33461 33462 33463 33464 33465 33466 33467 33468 33469 33470 33471 33472 33473 33474 33475 33476 33477 33478 33479 33480 33481 33482 33483 33484 33485 33486 33487 33488 33489 33490 33491 33492 33493 33494 33495 33496 33497 33498 33499 33500 33501 33502 33503 33504 33505 33506 33507 33508 33509 33510 33511 33512 33513 33514 33515 33516 33517 33518 33519 33520 33521 33522 33523 33524 33525 33526 33527 33528 33529 33530 33531 33532 33533 33534 33535 33536 33537 33538 33539 33540 33541 33542 33543 33544 33545 33546 33547 33548 33549 33550 33551 33552 33553 33554 33555 33556 33557 33558 33559 33560 33561 33562 33563 33564 33565 33566 33567 33568 33569 33570 33571 33572 33573 33574 33575 33576 33577 33578 33579 33580 33581 33582 33583 33584 33585 33586 33587 33588 33589 33590 33591 33592 33593 33594 33595 33596 33597 33598 33599 33600 33601 33602 33603 33604 33605 33606 33607 33608 33609 33610 33611 33612 33613 33614 33615 33616 33617 33618 33619 33620 33621 33622 33623 33624 33625 33626 33627 33628 33629 33630 33631 33632 33633 33634 33635 33636 33637 33638 33639 33640 33641 33642 33643 33644 33645 33646 33647 33648 33649 33650 33651 33652 33653 33654 33655 33656 33657 33658 33659 33660 33661 33662 33663 33664 33665 33666 33667 33668 33669 33670 33671 33672 33673 33674 33675 33676 33677 33678 33679 33680 33681 33682 33683 33684 33685 33686 33687 33688 33689 33690 33691 33692 33693 33694 33695 33696 33697 33698 33699 33700 33701 33702 33703 33704 33705 33706 33707 33708 33709 33710 33711 33712 33713 33714 33715 33716 33717 33718 33719 33720 33721 33722 33723 33724 33725 33726 33727 33728 33729 33730 33731 33732 33733 33734 33735 33736 33737 33738 33739 33740 33741 33742 33743 33744 33745 33746 33747 33748 33749 33750 33751 33752 33753 33754 33755 33756 33757 33758 33759 33760 33761 33762 33763 33764 33765 33766 33767 33768 33769 33770 33771 33772 33773 33774 33775 33776 33777 33778 33779 33780 33781 33782 33783 33784 33785 33786 33787 33788 33789 33790 33791 33792 33793 33794 33795 33796 33797 33798 33799 33800 33801 33802 33803 33804 33805 33806 33807 33808 33809 33810 33811 33812 33813 33814 33815 33816 33817 33818 33819 33820 33821 33822 33823 33824 33825 33826 33827 33828 33829 33830 33831 33832 33833 33834 33835 33836 33837 33838 33839 33840 33841 33842 33843 33844 33845 33846 33847 33848 33849 33850 33851 33852 33853 33854 33855 33856 33857 33858 33859 33860 33861 33862 33863 33864 33865 33866 33867 33868 33869 33870 33871 33872 33873 33874 33875 33876 33877 33878 33879 33880 33881 33882 33883 33884 33885 33886 33887 33888 33889 33890 33891 33892 33893 33894 33895 33896 33897 33898 33899 33900 33901 33902 33903 33904 33905 33906 33907 33908 33909 33910 33911 33912 33913 33914 33915 33916 33917 33918 33919 33920 33921 33922 33923 33924 33925 33926 33927 33928 33929 33930 33931 33932 33933 33934 33935 33936 33937 33938 33939 33940 33941 33942 33943 33944 33945 33946 33947 33948 33949 33950 33951 33952 33953 33954 33955 33956 33957 33958 33959 33960 33961 33962 33963 33964 33965 33966 33967 33968 33969 33970 33971 33972 33973 33974 33975 33976 33977 33978 33979 33980 33981 33982 33983 33984 33985 33986 33987 33988 33989 33990 33991 33992 33993 33994 33995 33996 33997 33998 33999 34000 34001 34002 34003 34004 34005 34006 34007 34008 34009 34010 34011 34012 34013 34014 34015 34016 34017 34018 34019 34020 34021 34022 34023 34024 34025 34026 34027 34028 34029 34030 34031 34032 34033 34034 34035 34036 34037 34038 34039 34040 34041 34042 34043 34044 34045 34046 34047 34048 34049 34050 34051 34052 34053 34054 34055 34056 34057 34058 34059 34060 34061 34062 34063 34064 34065 34066 34067 34068 34069 34070 34071 34072 34073 34074 34075 34076 34077 34078 34079 34080 34081 34082 34083 34084 34085 34086 34087 34088 34089 34090 34091 34092 34093 34094 34095 34096 34097 34098 34099 34100 34101 34102 34103 34104 34105 34106 34107 34108 34109 34110 34111 34112 34113 34114 34115 34116 34117 34118 34119 34120 34121 34122 34123 34124 34125 34126 34127 34128 34129 34130 34131 34132 34133 34134 34135 34136 34137 34138 34139 34140 34141 34142 34143 34144 34145 34146 34147 34148 34149 34150 34151 34152 34153 34154 34155 34156 34157 34158 34159 34160 34161 34162 34163 34164 34165 34166 34167 34168 34169 34170 34171 34172 34173 34174 34175 34176 34177 34178 34179 34180 34181 34182 34183 34184 34185 34186 34187 34188 34189 34190 34191 34192 34193 34194 34195 34196 34197 34198 34199 34200 34201 34202 34203 34204 34205 34206 34207 34208 34209 34210 34211 34212 34213 34214 34215 34216 34217 34218 34219 34220 34221 34222 34223 34224 34225 34226 34227 34228 34229 34230 34231 34232 34233 34234 34235 34236 34237 34238 34239 34240 34241 34242 34243 34244 34245 34246 34247 34248 34249 34250 34251 34252 34253 34254 34255 34256 34257 34258 34259 34260 34261 34262 34263 34264 34265 34266 34267 34268 34269 34270 34271 34272 34273 34274 34275 34276 34277 34278 34279 34280 34281 34282 34283 34284 34285 34286 34287 34288 34289 34290 34291 34292 34293 34294 34295 34296 34297 34298 34299 34300 34301 34302 34303 34304 34305 34306 34307 34308 34309 34310 34311 34312 34313 34314 34315 34316 34317 34318 34319 34320 34321 34322 34323 34324 34325 34326 34327 34328 34329 34330 34331 34332 34333 34334 34335 34336 34337 34338 34339 34340 34341 34342 34343 34344 34345 34346 34347 34348 34349 34350 34351 34352 34353 34354 34355 34356 34357 34358 34359 34360 34361 34362 34363 34364 34365 34366 34367 34368 34369 34370 34371 34372 34373 34374 34375 34376 34377 34378 34379 34380 34381 34382 34383 34384 34385 34386 34387 34388 34389 34390 34391 34392 34393 34394 34395 34396 34397 34398 34399 34400 34401 34402 34403 34404 34405 34406 34407 34408 34409 34410 34411 34412 34413 34414 34415 34416 34417 34418 34419 34420 34421 34422 34423 34424 34425 34426 34427 34428 34429 34430 34431 34432 34433 34434 34435 34436 34437 34438 34439 34440 34441 34442 34443 34444 34445 34446 34447 34448 34449 34450 34451 34452 34453 34454 34455 34456 34457 34458 34459 34460 34461 34462 34463 34464 34465 34466 34467 34468 34469 34470 34471 34472 34473 34474 34475 34476 34477 34478 34479 34480 34481 34482 34483 34484 34485 34486 34487 34488 34489 34490 34491 34492 34493 34494 34495 34496 34497 34498 34499 34500 34501 34502 34503 34504 34505 34506 34507 34508 34509 34510 34511 34512 34513 34514 34515 34516 34517 34518 34519 34520 34521 34522 34523 34524 34525 34526 34527 34528 34529 34530 34531 34532 34533 34534 34535 34536 34537 34538 34539 34540 34541 34542 34543 34544 34545 34546 34547 34548 34549 34550 34551 34552 34553 34554 34555 34556 34557 34558 34559 34560 34561 34562 34563 34564 34565 34566 34567 34568 34569 34570 34571 34572 34573 34574 34575 34576 34577 34578 34579 34580 34581 34582 34583 34584 34585 34586 34587 34588 34589 34590 34591 34592 34593 34594 34595 34596 34597 34598 34599 34600 34601 34602 34603 34604 34605 34606 34607 34608 34609 34610 34611 34612 34613 34614 34615 34616 34617 34618 34619 34620 34621 34622 34623 34624 34625 34626 34627 34628 34629 34630 34631 34632 34633 34634 34635 34636 34637 34638 34639 34640 34641 34642 34643 34644 34645 34646 34647 34648 34649 34650 34651 34652 34653 34654 34655 34656 34657 34658 34659 34660 34661 34662 34663 34664 34665 34666 34667 34668 34669 34670 34671 34672 34673 34674 34675 34676 34677 34678 34679 34680 34681 34682 34683 34684 34685 34686 34687 34688 34689 34690 34691 34692 34693 34694 34695 34696 34697 34698 34699 34700 34701 34702 34703 34704 34705 34706 34707 34708 34709 34710 34711 34712 34713 34714 34715 34716 34717 34718 34719 34720 34721 34722 34723 34724 34725 34726 34727 34728 34729 34730 34731 34732 34733 34734 34735 34736 34737 34738 34739 34740 34741 34742 34743 34744 34745 34746 34747 34748 34749 34750 34751 34752 34753 34754 34755 34756 34757 34758 34759 34760 34761 34762 34763 34764 34765 34766 34767 34768 34769 34770 34771 34772 34773 34774 34775 34776 34777 34778 34779 34780 34781 34782 34783 34784 34785 34786 34787 34788 34789 34790 34791 34792 34793 34794 34795 34796 34797 34798 34799 34800 34801 34802 34803 34804 34805 34806 34807 34808 34809 34810 34811 34812 34813 34814 34815 34816 34817 34818 34819 34820 34821 34822 34823 34824 34825 34826 34827 34828 34829 34830 34831 34832 34833 34834 34835 34836 34837 34838 34839 34840 34841 34842 34843 34844 34845 34846 34847 34848 34849 34850 34851 34852 34853 34854 34855 34856 34857 34858 34859 34860 34861 34862 34863 34864 34865 34866 34867 34868 34869 34870 34871 34872 34873 34874 34875 34876 34877 34878 34879 34880 34881 34882 34883 34884 34885 34886 34887 34888 34889 34890 34891 34892 34893 34894 34895 34896 34897 34898 34899 34900 34901 34902 34903 34904 34905 34906 34907 34908 34909 34910 34911 34912 34913 34914 34915 34916 34917 34918 34919 34920 34921 34922 34923 34924 34925 34926 34927 34928 34929 34930 34931 34932 34933 34934 34935 34936 34937 34938 34939 34940 34941 34942 34943 34944 34945 34946 34947 34948 34949 34950 34951 34952 34953 34954 34955 34956 34957 34958 34959 34960 34961 34962 34963 34964 34965 34966 34967 34968 34969 34970 34971 34972 34973 34974 34975 34976 34977 34978 34979 34980 34981 34982 34983 34984 34985 34986 34987 34988 34989 34990 34991 34992 34993 34994 34995 34996 34997 34998 34999 35000 35001 35002 35003 35004 35005 35006 35007 35008 35009 35010 35011 35012 35013 35014 35015 35016 35017 35018 35019 35020 35021 35022 35023 35024 35025 35026 35027 35028 35029 35030 35031 35032 35033 35034 35035 35036 35037 35038 35039 35040 35041 35042 35043 35044 35045 35046 35047 35048 35049 35050 35051 35052 35053 35054 35055 35056 35057 35058 35059 35060 35061 35062 35063 35064 35065 35066 35067 35068 35069 35070 35071 35072 35073 35074 35075 35076 35077 35078 35079 35080 35081 35082 35083 35084 35085 35086 35087 35088 35089 35090 35091 35092 35093 35094 35095 35096 35097 35098 35099 35100 35101 35102 35103 35104 35105 35106 35107 35108 35109 35110 35111 35112 35113 35114 35115 35116 35117 35118 35119 35120 35121 35122 35123 35124 35125 35126 35127 35128 35129 35130 35131 35132 35133 35134 35135 35136 35137 35138 35139 35140 35141 35142 35143 35144 35145 35146 35147 35148 35149 35150 35151 35152 35153 35154 35155 35156 35157 35158 35159 35160 35161 35162 35163 35164 35165 35166 35167 35168 35169 35170 35171 35172 35173 35174 35175 35176 35177 35178 35179 35180 35181 35182 35183 35184 35185 35186 35187 35188 35189 35190 35191 35192 35193 35194 35195 35196 35197 35198 35199 35200 35201 35202 35203 35204 35205 35206 35207 35208 35209 35210 35211 35212 35213 35214 35215 35216 35217 35218 35219 35220 35221 35222 35223 35224 35225 35226 35227 35228 35229 35230 35231 35232 35233 35234 35235 35236 35237 35238 35239 35240 35241 35242 35243 35244 35245 35246 35247 35248 35249 35250 35251 35252 35253 35254 35255 35256 35257 35258 35259 35260 35261 35262 35263 35264 35265 35266 35267 35268 35269 35270 35271 35272 35273 35274 35275 35276 35277 35278 35279 35280 35281 35282 35283 35284 35285 35286 35287 35288 35289 35290 35291 35292 35293 35294 35295 35296 35297 35298 35299 35300 35301 35302 35303 35304 35305 35306 35307 35308 35309 35310 35311 35312 35313 35314 35315 35316 35317 35318 35319 35320 35321 35322 35323 35324 35325 35326 35327 35328 35329 35330 35331 35332 35333 35334 35335 35336 35337 35338 35339 35340 35341 35342 35343 35344 35345 35346 35347 35348 35349 35350 35351 35352 35353 35354 35355 35356 35357 35358 35359 35360 35361 35362 35363 35364 35365 35366 35367 35368 35369 35370 35371 35372 35373 35374 35375 35376 35377 35378 35379 35380 35381 35382 35383 35384 35385 35386 35387 35388 35389 35390 35391 35392 35393 35394 35395 35396 35397 35398 35399 35400 35401 35402 35403 35404 35405 35406 35407 35408 35409 35410 35411 35412 35413 35414 35415 35416 35417 35418 35419 35420 35421 35422 35423 35424 35425 35426 35427 35428 35429 35430 35431 35432 35433 35434 35435 35436 35437 35438 35439 35440 35441 35442 35443 35444 35445 35446 35447 35448 35449 35450 35451 35452 35453 35454 35455 35456 35457 35458 35459 35460 35461 35462 35463 35464 35465 35466 35467 35468 35469 35470 35471 35472 35473 35474 35475 35476 35477 35478 35479 35480 35481 35482 35483 35484 35485 35486 35487 35488 35489 35490 35491 35492 35493 35494 35495 35496 35497 35498 35499 35500 35501 35502 35503 35504 35505 35506 35507 35508 35509 35510 35511 35512 35513 35514 35515 35516 35517 35518 35519 35520 35521 35522 35523 35524 35525 35526 35527 35528 35529 35530 35531 35532 35533 35534 35535 35536 35537 35538 35539 35540 35541 35542 35543 35544 35545 35546 35547 35548 35549 35550 35551 35552 35553 35554 35555 35556 35557 35558 35559 35560 35561 35562 35563 35564 35565 35566 35567 35568 35569 35570 35571 35572 35573 35574 35575 35576 35577 35578 35579 35580 35581 35582 35583 35584 35585 35586 35587 35588 35589 35590 35591 35592 35593 35594 35595 35596 35597 35598 35599 35600 35601 35602 35603 35604 35605 35606 35607 35608 35609 35610 35611 35612 35613 35614 35615 35616 35617 35618 35619 35620 35621 35622 35623 35624 35625 35626 35627 35628 35629 35630 35631 35632 35633 35634 35635 35636 35637 35638 35639 35640 35641 35642 35643 35644 35645 35646 35647 35648 35649 35650 35651 35652 35653 35654 35655 35656 35657 35658 35659 35660 35661 35662 35663 35664 35665 35666 35667 35668 35669 35670 35671 35672 35673 35674 35675 35676 35677 35678 35679 35680 35681 35682 35683 35684 35685 35686 35687 35688 35689 35690 35691 35692 35693 35694 35695 35696 35697 35698 35699 35700 35701 35702 35703 35704 35705 35706 35707 35708 35709 35710 35711 35712 35713 35714 35715 35716 35717 35718 35719 35720 35721 35722 35723 35724 35725 35726 35727 35728 35729 35730 35731 35732 35733 35734 35735 35736 35737 35738 35739 35740 35741 35742 35743 35744 35745 35746 35747 35748 35749 35750 35751 35752 35753 35754 35755 35756 35757 35758 35759 35760 35761 35762 35763 35764 35765 35766 35767 35768 35769 35770 35771 35772 35773 35774 35775 35776 35777 35778 35779 35780 35781 35782 35783 35784 35785 35786 35787 35788 35789 35790 35791 35792 35793 35794 35795 35796 35797 35798 35799 35800 35801 35802 35803 35804 35805 35806 35807 35808 35809 35810 35811 35812 35813 35814 35815 35816 35817 35818 35819 35820 35821 35822 35823 35824 35825 35826 35827 35828 35829 35830 35831 35832 35833 35834 35835 35836 35837 35838 35839 35840 35841 35842 35843 35844 35845 35846 35847 35848 35849 35850 35851 35852 35853 35854 35855 35856 35857 35858 35859 35860 35861 35862 35863 35864 35865 35866 35867 35868 35869 35870 35871 35872 35873 35874 35875 35876 35877 35878 35879 35880 35881 35882 35883 35884 35885 35886 35887 35888 35889 35890 35891 35892 35893 35894 35895 35896 35897 35898 35899 35900 35901 35902 35903 35904 35905 35906 35907 35908 35909 35910 35911 35912 35913 35914 35915 35916 35917 35918 35919 35920 35921 35922 35923 35924 35925 35926 35927 35928 35929 35930 35931 35932 35933 35934 35935 35936 35937 35938 35939 35940 35941 35942 35943 35944 35945 35946 35947 35948 35949 35950 35951 35952 35953 35954 35955 35956 35957 35958 35959 35960 35961 35962 35963 35964 35965 35966 35967 35968 35969 35970 35971 35972 35973 35974 35975 35976 35977 35978 35979 35980 35981 35982 35983 35984 35985 35986 35987 35988 35989 35990 35991 35992 35993 35994 35995 35996 35997 35998 35999 36000 36001 36002 36003 36004 36005 36006 36007 36008 36009 36010 36011 36012 36013 36014 36015 36016 36017 36018 36019 36020 36021 36022 36023 36024 36025 36026 36027 36028 36029 36030 36031 36032 36033 36034 36035 36036 36037 36038 36039 36040 36041 36042 36043 36044 36045 36046 36047 36048 36049 36050 36051 36052 36053 36054 36055 36056 36057 36058 36059 36060 36061 36062 36063 36064 36065 36066 36067 36068 36069 36070 36071 36072 36073 36074 36075 36076 36077 36078 36079 36080 36081 36082 36083 36084 36085 36086 36087 36088 36089 36090 36091 36092 36093 36094 36095 36096 36097 36098 36099 36100 36101 36102 36103 36104 36105 36106 36107 36108 36109 36110 36111 36112 36113 36114 36115 36116 36117 36118 36119 36120 36121 36122 36123 36124 36125 36126 36127 36128 36129 36130 36131 36132 36133 36134 36135 36136 36137 36138 36139 36140 36141 36142 36143 36144 36145 36146 36147 36148 36149 36150 36151 36152 36153 36154 36155 36156 36157 36158 36159 36160 36161 36162 36163 36164 36165 36166 36167 36168 36169 36170 36171 36172 36173 36174 36175 36176 36177 36178 36179 36180 36181 36182 36183 36184 36185 36186 36187 36188 36189 36190 36191 36192 36193 36194 36195 36196 36197 36198 36199 36200 36201 36202 36203 36204 36205 36206 36207 36208 36209 36210 36211 36212 36213 36214 36215 36216 36217 36218 36219 36220 36221 36222 36223 36224 36225 36226 36227 36228 36229 36230 36231 36232 36233 36234 36235 36236 36237 36238 36239 36240 36241 36242 36243 36244 36245 36246 36247 36248 36249 36250 36251 36252 36253 36254 36255 36256 36257 36258 36259 36260 36261 36262 36263 36264 36265 36266 36267 36268 36269 36270 36271 36272 36273 36274 36275 36276 36277 36278 36279 36280 36281 36282 36283 36284 36285 36286 36287 36288 36289 36290 36291 36292 36293 36294 36295 36296 36297 36298 36299 36300 36301 36302 36303 36304 36305 36306 36307 36308 36309 36310 36311 36312 36313 36314 36315 36316 36317 36318 36319 36320 36321 36322 36323 36324 36325 36326 36327 36328 36329 36330 36331 36332 36333 36334 36335 36336 36337 36338 36339 36340 36341 36342 36343 36344 36345 36346 36347 36348 36349 36350 36351 36352 36353 36354 36355 36356 36357 36358 36359 36360 36361 36362 36363 36364 36365 36366 36367 36368 36369 36370 36371 36372 36373 36374 36375 36376 36377 36378 36379 36380 36381 36382 36383 36384 36385 36386 36387 36388 36389 36390 36391 36392 36393 36394 36395 36396 36397 36398 36399 36400 36401 36402 36403 36404 36405 36406 36407 36408 36409 36410 36411 36412 36413 36414 36415 36416 36417 36418 36419 36420 36421 36422 36423 36424 36425 36426 36427 36428 36429 36430 36431 36432 36433 36434 36435 36436 36437 36438 36439 36440 36441 36442 36443 36444 36445 36446 36447 36448 36449 36450 36451 36452 36453 36454 36455 36456 36457 36458 36459 36460 36461 36462 36463 36464 36465 36466 36467 36468 36469 36470 36471 36472 36473 36474 36475 36476 36477 36478 36479 36480 36481 36482 36483 36484 36485 36486 36487 36488 36489 36490 36491 36492 36493 36494 36495 36496 36497 36498 36499 36500 36501 36502 36503 36504 36505 36506 36507 36508 36509 36510 36511 36512 36513 36514 36515 36516 36517 36518 36519 36520 36521 36522 36523 36524 36525 36526 36527 36528 36529 36530 36531 36532 36533 36534 36535 36536 36537 36538 36539 36540 36541 36542 36543 36544 36545 36546 36547 36548 36549 36550 36551 36552 36553 36554 36555 36556 36557 36558 36559 36560 36561 36562 36563 36564 36565 36566 36567 36568 36569 36570 36571 36572 36573 36574 36575 36576 36577 36578 36579 36580 36581 36582 36583 36584 36585 36586 36587 36588 36589 36590 36591 36592 36593 36594 36595 36596 36597 36598 36599 36600 36601 36602 36603 36604 36605 36606 36607 36608 36609 36610 36611 36612 36613 36614 36615 36616 36617 36618 36619 36620 36621 36622 36623 36624 36625 36626 36627 36628 36629 36630 36631 36632 36633 36634 36635 36636 36637 36638 36639 36640 36641 36642 36643 36644 36645 36646 36647 36648 36649 36650 36651 36652 36653 36654 36655 36656 36657 36658 36659 36660 36661 36662 36663 36664 36665 36666 36667 36668 36669 36670 36671 36672 36673 36674 36675 36676 36677 36678 36679 36680 36681 36682 36683 36684 36685 36686 36687 36688 36689 36690 36691 36692 36693 36694 36695 36696 36697 36698 36699 36700 36701 36702 36703 36704 36705 36706 36707 36708 36709 36710 36711 36712 36713 36714 36715 36716 36717 36718 36719 36720 36721 36722 36723 36724 36725 36726 36727 36728 36729 36730 36731 36732 36733 36734 36735 36736 36737 36738 36739 36740 36741 36742 36743 36744 36745 36746 36747 36748 36749 36750 36751 36752 36753 36754 36755 36756 36757 36758 36759 36760 36761 36762 36763 36764 36765 36766 36767 36768 36769 36770 36771 36772 36773 36774 36775 36776 36777 36778 36779 36780 36781 36782 36783 36784 36785 36786 36787 36788 36789 36790 36791 36792 36793 36794 36795 36796 36797 36798 36799 36800 36801 36802 36803 36804 36805 36806 36807 36808 36809 36810 36811 36812 36813 36814 36815 36816 36817 36818 36819 36820 36821 36822 36823 36824 36825 36826 36827 36828 36829 36830 36831 36832 36833 36834 36835 36836 36837 36838 36839 36840 36841 36842 36843 36844 36845 36846 36847 36848 36849 36850 36851 36852 36853 36854 36855 36856 36857 36858 36859 36860 36861 36862 36863 36864 36865 36866 36867 36868 36869 36870 36871 36872 36873 36874 36875 36876 36877 36878 36879 36880 36881 36882 36883 36884 36885 36886 36887 36888 36889 36890 36891 36892 36893 36894 36895 36896 36897 36898 36899 36900 36901 36902 36903 36904 36905 36906 36907 36908 36909 36910 36911 36912 36913 36914 36915 36916 36917 36918 36919 36920 36921 36922 36923 36924 36925 36926 36927 36928 36929 36930 36931 36932 36933 36934 36935 36936 36937 36938 36939 36940 36941 36942 36943 36944 36945 36946 36947 36948 36949 36950 36951 36952 36953 36954 36955 36956 36957 36958 36959 36960 36961 36962 36963 36964 36965 36966 36967 36968 36969 36970 36971 36972 36973 36974 36975 36976 36977 36978 36979 36980 36981 36982 36983 36984 36985 36986 36987 36988 36989 36990 36991 36992 36993 36994 36995 36996 36997 36998 36999 37000 37001 37002 37003 37004 37005 37006 37007 37008 37009 37010 37011 37012 37013 37014 37015 37016 37017 37018 37019 37020 37021 37022 37023 37024 37025 37026 37027 37028 37029 37030 37031 37032 37033 37034 37035 37036 37037 37038 37039 37040 37041 37042 37043 37044 37045 37046 37047 37048 37049 37050 37051 37052 37053 37054 37055 37056 37057 37058 37059 37060 37061 37062 37063 37064 37065 37066 37067 37068 37069 37070 37071 37072 37073 37074 37075 37076 37077 37078 37079 37080 37081 37082 37083 37084 37085 37086 37087 37088 37089 37090 37091 37092 37093 37094 37095 37096 37097 37098 37099 37100 37101 37102 37103 37104 37105 37106 37107 37108 37109 37110 37111 37112 37113 37114 37115 37116 37117 37118 37119 37120 37121 37122 37123 37124 37125 37126 37127 37128 37129 37130 37131 37132 37133 37134 37135 37136 37137 37138 37139 37140 37141 37142 37143 37144 37145 37146 37147 37148 37149 37150 37151 37152 37153 37154 37155 37156 37157 37158 37159 37160 37161 37162 37163 37164 37165 37166 37167 37168 37169 37170 37171 37172 37173 37174 37175 37176 37177 37178 37179 37180 37181 37182 37183 37184 37185 37186 37187 37188 37189 37190 37191 37192 37193 37194 37195 37196 37197 37198 37199 37200 37201 37202 37203 37204 37205 37206 37207 37208 37209 37210 37211 37212 37213 37214 37215 37216 37217 37218 37219 37220 37221 37222 37223 37224 37225 37226 37227 37228 37229 37230 37231 37232 37233 37234 37235 37236 37237 37238 37239 37240 37241 37242 37243 37244 37245 37246 37247 37248 37249 37250 37251 37252 37253 37254 37255 37256 37257 37258 37259 37260 37261 37262 37263 37264 37265 37266 37267 37268 37269 37270 37271 37272 37273 37274 37275 37276 37277 37278 37279 37280 37281 37282 37283 37284 37285 37286 37287 37288 37289 37290 37291 37292 37293 37294 37295 37296 37297 37298 37299 37300 37301 37302 37303 37304 37305 37306 37307 37308 37309 37310 37311 37312 37313 37314 37315 37316 37317 37318 37319 37320 37321 37322 37323 37324 37325 37326 37327 37328 37329 37330 37331 37332 37333 37334 37335 37336 37337 37338 37339 37340 37341 37342 37343 37344 37345 37346 37347 37348 37349 37350 37351 37352 37353 37354 37355 37356 37357 37358 37359 37360 37361 37362 37363 37364 37365 37366 37367 37368 37369 37370 37371 37372 37373 37374 37375 37376 37377 37378 37379 37380 37381 37382 37383 37384 37385 37386 37387 37388 37389 37390 37391 37392 37393 37394 37395 37396 37397 37398 37399 37400 37401 37402 37403 37404 37405 37406 37407 37408 37409 37410 37411 37412 37413 37414 37415 37416 37417 37418 37419 37420 37421 37422 37423 37424 37425 37426 37427 37428 37429 37430 37431 37432 37433 37434 37435 37436 37437 37438 37439 37440 37441 37442 37443 37444 37445 37446 37447 37448 37449 37450 37451 37452 37453 37454 37455 37456 37457 37458 37459 37460 37461 37462 37463 37464 37465 37466 37467 37468 37469 37470 37471 37472 37473 37474 37475 37476 37477 37478 37479 37480 37481 37482 37483 37484 37485 37486 37487 37488 37489 37490 37491 37492 37493 37494 37495 37496 37497 37498 37499 37500 37501 37502 37503 37504 37505 37506 37507 37508 37509 37510 37511 37512 37513 37514 37515 37516 37517 37518 37519 37520 37521 37522 37523 37524 37525 37526 37527 37528 37529 37530 37531 37532 37533 37534 37535 37536 37537 37538 37539 37540 37541 37542 37543 37544 37545 37546 37547 37548 37549 37550 37551 37552 37553 37554 37555 37556 37557 37558 37559 37560 37561 37562 37563 37564 37565 37566 37567 37568 37569 37570 37571 37572 37573 37574 37575 37576 37577 37578 37579 37580 37581 37582 37583 37584 37585 37586 37587 37588 37589 37590 37591 37592 37593 37594 37595 37596 37597 37598 37599 37600 37601 37602 37603 37604 37605 37606 37607 37608 37609 37610 37611 37612 37613 37614 37615 37616 37617 37618 37619 37620 37621 37622 37623 37624 37625 37626 37627 37628 37629 37630 37631 37632 37633 37634 37635 37636 37637 37638 37639 37640 37641 37642 37643 37644 37645 37646 37647 37648 37649 37650 37651 37652 37653 37654 37655 37656 37657 37658 37659 37660 37661 37662 37663 37664 37665 37666 37667 37668 37669 37670 37671 37672 37673 37674 37675 37676 37677 37678 37679 37680 37681 37682 37683 37684 37685 37686 37687 37688 37689 37690 37691 37692 37693 37694 37695 37696 37697 37698 37699 37700 37701 37702 37703 37704 37705 37706 37707 37708 37709 37710 37711 37712 37713 37714 37715 37716 37717 37718 37719 37720 37721 37722 37723 37724 37725 37726 37727 37728 37729 37730 37731 37732 37733 37734 37735 37736 37737 37738 37739 37740 37741 37742 37743 37744 37745 37746 37747 37748 37749 37750 37751 37752 37753 37754 37755 37756 37757 37758 37759 37760 37761 37762 37763 37764 37765 37766 37767 37768 37769 37770 37771 37772 37773 37774 37775 37776 37777 37778 37779 37780 37781 37782 37783 37784 37785 37786 37787 37788 37789 37790 37791 37792 37793 37794 37795 37796 37797 37798 37799 37800 37801 37802 37803 37804 37805 37806 37807 37808 37809 37810 37811 37812 37813 37814 37815 37816 37817 37818 37819 37820 37821 37822 37823 37824 37825 37826 37827 37828 37829 37830 37831 37832 37833 37834 37835 37836 37837 37838 37839 37840 37841 37842 37843 37844 37845 37846 37847 37848 37849 37850 37851 37852 37853 37854 37855 37856 37857 37858 37859 37860 37861 37862 37863 37864 37865 37866 37867 37868 37869 37870 37871 37872 37873 37874 37875 37876 37877 37878 37879 37880 37881 37882 37883 37884 37885 37886 37887 37888 37889 37890 37891 37892 37893 37894 37895 37896 37897 37898 37899 37900 37901 37902 37903 37904 37905 37906 37907 37908 37909 37910 37911 37912 37913 37914 37915 37916 37917 37918 37919 37920 37921 37922 37923 37924 37925 37926 37927 37928 37929 37930 37931 37932 37933 37934 37935 37936 37937 37938 37939 37940 37941 37942 37943 37944 37945 37946 37947 37948 37949 37950 37951 37952 37953 37954 37955 37956 37957 37958 37959 37960 37961 37962 37963 37964 37965 37966 37967 37968 37969 37970 37971 37972 37973 37974 37975 37976 37977 37978 37979 37980 37981 37982 37983 37984 37985 37986 37987 37988 37989 37990 37991 37992 37993 37994 37995 37996 37997 37998 37999 38000 38001 38002 38003 38004 38005 38006 38007 38008 38009 38010 38011 38012 38013 38014 38015 38016 38017 38018 38019 38020 38021 38022 38023 38024 38025 38026 38027 38028 38029 38030 38031 38032 38033 38034 38035 38036 38037 38038 38039 38040 38041 38042 38043 38044 38045 38046 38047 38048 38049 38050 38051 38052 38053 38054 38055 38056 38057 38058 38059 38060 38061 38062 38063 38064 38065 38066 38067 38068 38069 38070 38071 38072 38073 38074 38075 38076 38077 38078 38079 38080 38081 38082 38083 38084 38085 38086 38087 38088 38089 38090 38091 38092 38093 38094 38095 38096 38097 38098 38099 38100 38101 38102 38103 38104 38105 38106 38107 38108 38109 38110 38111 38112 38113 38114 38115 38116 38117 38118 38119 38120 38121 38122 38123 38124 38125 38126 38127 38128 38129 38130 38131 38132 38133 38134 38135 38136 38137 38138 38139 38140 38141 38142 38143 38144 38145 38146 38147 38148 38149 38150 38151 38152 38153 38154 38155 38156 38157 38158 38159 38160 38161 38162 38163 38164 38165 38166 38167 38168 38169 38170 38171 38172 38173 38174 38175 38176 38177 38178 38179 38180 38181 38182 38183 38184 38185 38186 38187 38188 38189 38190 38191 38192 38193 38194 38195 38196 38197 38198 38199 38200 38201 38202 38203 38204 38205 38206 38207 38208 38209 38210 38211 38212 38213 38214 38215 38216 38217 38218 38219 38220 38221 38222 38223 38224 38225 38226 38227 38228 38229 38230 38231 38232 38233 38234 38235 38236 38237 38238 38239 38240 38241 38242 38243 38244 38245 38246 38247 38248 38249 38250 38251 38252 38253 38254 38255 38256 38257 38258 38259 38260 38261 38262 38263 38264 38265 38266 38267 38268 38269 38270 38271 38272 38273 38274 38275 38276 38277 38278 38279 38280 38281 38282 38283 38284 38285 38286 38287 38288 38289 38290 38291 38292 38293 38294 38295 38296 38297 38298 38299 38300 38301 38302 38303 38304 38305 38306 38307 38308 38309 38310 38311 38312 38313 38314 38315 38316 38317 38318 38319 38320 38321 38322 38323 38324 38325 38326 38327 38328 38329 38330 38331 38332 38333 38334 38335 38336 38337 38338 38339 38340 38341 38342 38343 38344 38345 38346 38347 38348 38349 38350 38351 38352 38353 38354 38355 38356 38357 38358 38359 38360 38361 38362 38363 38364 38365 38366 38367 38368 38369 38370 38371 38372 38373 38374 38375 38376 38377 38378 38379 38380 38381 38382 38383 38384 38385 38386 38387 38388 38389 38390 38391 38392 38393 38394 38395 38396 38397 38398 38399 38400 38401 38402 38403 38404 38405 38406 38407 38408 38409 38410 38411 38412 38413 38414 38415 38416 38417 38418 38419 38420 38421 38422 38423 38424 38425 38426 38427 38428 38429 38430 38431 38432 38433 38434 38435 38436 38437 38438 38439 38440 38441 38442 38443 38444 38445 38446 38447 38448 38449 38450 38451 38452 38453 38454 38455 38456 38457 38458 38459 38460 38461 38462 38463 38464 38465 38466 38467 38468 38469 38470 38471 38472 38473 38474 38475 38476 38477 38478 38479 38480 38481 38482 38483 38484 38485 38486 38487 38488 38489 38490 38491 38492 38493 38494 38495 38496 38497 38498 38499 38500 38501 38502 38503 38504 38505 38506 38507 38508 38509 38510 38511 38512 38513 38514 38515 38516 38517 38518 38519 38520 38521 38522 38523 38524 38525 38526 38527 38528 38529 38530 38531 38532 38533 38534 38535 38536 38537 38538 38539 38540 38541 38542 38543 38544 38545 38546 38547 38548 38549 38550 38551 38552 38553 38554 38555 38556 38557 38558 38559 38560 38561 38562 38563 38564 38565 38566 38567 38568 38569 38570 38571 38572 38573 38574 38575 38576 38577 38578 38579 38580 38581 38582 38583 38584 38585 38586 38587 38588 38589 38590 38591 38592 38593 38594 38595 38596 38597 38598 38599 38600 38601 38602 38603 38604 38605 38606 38607 38608 38609 38610 38611 38612 38613 38614 38615 38616 38617 38618 38619 38620 38621 38622 38623 38624 38625 38626 38627 38628 38629 38630 38631 38632 38633 38634 38635 38636 38637 38638 38639 38640 38641 38642 38643 38644 38645 38646 38647 38648 38649 38650 38651 38652 38653 38654 38655 38656 38657 38658 38659 38660 38661 38662 38663 38664 38665 38666 38667 38668 38669 38670 38671 38672 38673 38674 38675 38676 38677 38678 38679 38680 38681 38682 38683 38684 38685 38686 38687 38688 38689 38690 38691 38692 38693 38694 38695 38696 38697 38698 38699 38700 38701 38702 38703 38704 38705 38706 38707 38708 38709 38710 38711 38712 38713 38714 38715 38716 38717 38718 38719 38720 38721 38722 38723 38724 38725 38726 38727 38728 38729 38730 38731 38732 38733 38734 38735 38736 38737 38738 38739 38740 38741 38742 38743 38744 38745 38746 38747 38748 38749 38750 38751 38752 38753 38754 38755 38756 38757 38758 38759 38760 38761 38762 38763 38764 38765 38766 38767 38768 38769 38770 38771 38772 38773 38774 38775 38776 38777 38778 38779 38780 38781 38782 38783 38784 38785 38786 38787 38788 38789 38790 38791 38792 38793 38794 38795 38796 38797 38798 38799 38800 38801 38802 38803 38804 38805 38806 38807 38808 38809 38810 38811 38812 38813 38814 38815 38816 38817 38818 38819 38820 38821 38822 38823 38824 38825 38826 38827 38828 38829 38830 38831 38832 38833 38834 38835 38836 38837 38838 38839 38840 38841 38842 38843 38844 38845 38846 38847 38848 38849 38850 38851 38852 38853 38854 38855 38856 38857 38858 38859 38860 38861 38862 38863 38864 38865 38866 38867 38868 38869 38870 38871 38872 38873 38874 38875 38876 38877 38878 38879 38880 38881 38882 38883 38884 38885 38886 38887 38888 38889 38890 38891 38892 38893 38894 38895 38896 38897 38898 38899 38900 38901 38902 38903 38904 38905 38906 38907 38908 38909 38910 38911 38912 38913 38914 38915 38916 38917 38918 38919 38920 38921 38922 38923 38924 38925 38926 38927 38928 38929 38930 38931 38932 38933 38934 38935 38936 38937 38938 38939 38940 38941 38942 38943 38944 38945 38946 38947 38948 38949 38950 38951 38952 38953 38954 38955 38956 38957 38958 38959 38960 38961 38962 38963 38964 38965 38966 38967 38968 38969 38970 38971 38972 38973 38974 38975 38976 38977 38978 38979 38980 38981 38982 38983 38984 38985 38986 38987 38988 38989 38990 38991 38992 38993 38994 38995 38996 38997 38998 38999 39000 39001 39002 39003 39004 39005 39006 39007 39008 39009 39010 39011 39012 39013 39014 39015 39016 39017 39018 39019 39020 39021 39022 39023 39024 39025 39026 39027 39028 39029 39030 39031 39032 39033 39034 39035 39036 39037 39038 39039 39040 39041 39042 39043 39044 39045 39046 39047 39048 39049 39050 39051 39052 39053 39054 39055 39056 39057 39058 39059 39060 39061 39062 39063 39064 39065 39066 39067 39068 39069 39070 39071 39072 39073 39074 39075 39076 39077 39078 39079 39080 39081 39082 39083 39084 39085 39086 39087 39088 39089 39090 39091 39092 39093 39094 39095 39096 39097 39098 39099 39100 39101 39102 39103 39104 39105 39106 39107 39108 39109 39110 39111 39112 39113 39114 39115 39116 39117 39118 39119 39120 39121 39122 39123 39124 39125 39126 39127 39128 39129 39130 39131 39132 39133 39134 39135 39136 39137 39138 39139 39140 39141 39142 39143 39144 39145 39146 39147 39148 39149 39150 39151 39152 39153 39154 39155 39156 39157 39158 39159 39160 39161 39162 39163 39164 39165 39166 39167 39168 39169 39170 39171 39172 39173 39174 39175 39176 39177 39178 39179 39180 39181 39182 39183 39184 39185 39186 39187 39188 39189 39190 39191 39192 39193 39194 39195 39196 39197 39198 39199 39200 39201 39202 39203 39204 39205 39206 39207 39208 39209 39210 39211 39212 39213 39214 39215 39216 39217 39218 39219 39220 39221 39222 39223 39224 39225 39226 39227 39228 39229 39230 39231 39232 39233 39234 39235 39236 39237 39238 39239 39240 39241 39242 39243 39244 39245 39246 39247 39248 39249 39250 39251 39252 39253 39254 39255 39256 39257 39258 39259 39260 39261 39262 39263 39264 39265 39266 39267 39268 39269 39270 39271 39272 39273 39274 39275 39276 39277 39278 39279 39280 39281 39282 39283 39284 39285 39286 39287 39288 39289 39290 39291 39292 39293 39294 39295 39296 39297 39298 39299 39300 39301 39302 39303 39304 39305 39306 39307 39308 39309 39310 39311 39312 39313 39314 39315 39316 39317 39318 39319 39320 39321 39322 39323 39324 39325 39326 39327 39328 39329 39330 39331 39332 39333 39334 39335 39336 39337 39338 39339 39340 39341 39342 39343 39344 39345 39346 39347 39348 39349 39350 39351 39352 39353 39354 39355 39356 39357 39358 39359 39360 39361 39362 39363 39364 39365 39366 39367 39368 39369 39370 39371 39372 39373 39374 39375 39376 39377 39378 39379 39380 39381 39382 39383 39384 39385 39386 39387 39388 39389 39390 39391 39392 39393 39394 39395 39396 39397 39398 39399 39400 39401 39402 39403 39404 39405 39406 39407 39408 39409 39410 39411 39412 39413 39414 39415 39416 39417 39418 39419 39420 39421 39422 39423 39424 39425 39426 39427 39428 39429 39430 39431 39432 39433 39434 39435 39436 39437 39438 39439 39440 39441 39442 39443 39444 39445 39446 39447 39448 39449 39450 39451 39452 39453 39454 39455 39456 39457 39458 39459 39460 39461 39462 39463 39464 39465 39466 39467 39468 39469 39470 39471 39472 39473 39474 39475 39476 39477 39478 39479 39480 39481 39482 39483 39484 39485 39486 39487 39488 39489 39490 39491 39492 39493 39494 39495 39496 39497 39498 39499 39500 39501 39502 39503 39504 39505 39506 39507 39508 39509 39510 39511 39512 39513 39514 39515 39516 39517 39518 39519 39520 39521 39522 39523 39524 39525 39526 39527 39528 39529 39530 39531 39532 39533 39534 39535 39536 39537 39538 39539 39540 39541 39542 39543 39544 39545 39546 39547 39548 39549 39550 39551 39552 39553 39554 39555 39556 39557 39558 39559 39560 39561 39562 39563 39564 39565 39566 39567 39568 39569 39570 39571 39572 39573 39574 39575 39576 39577 39578 39579 39580 39581 39582 39583 39584 39585 39586 39587 39588 39589 39590 39591 39592 39593 39594 39595 39596 39597 39598 39599 39600 39601 39602 39603 39604 39605 39606 39607 39608 39609 39610 39611 39612 39613 39614 39615 39616 39617 39618 39619 39620 39621 39622 39623 39624 39625 39626 39627 39628 39629 39630 39631 39632 39633 39634 39635 39636 39637 39638 39639 39640 39641 39642 39643 39644 39645 39646 39647 39648 39649 39650 39651 39652 39653 39654 39655 39656 39657 39658 39659 39660 39661 39662 39663 39664 39665 39666 39667 39668 39669 39670 39671 39672 39673 39674 39675 39676 39677 39678 39679 39680 39681 39682 39683 39684 39685 39686 39687 39688 39689 39690 39691 39692 39693 39694 39695 39696 39697 39698 39699 39700 39701 39702 39703 39704 39705 39706 39707 39708 39709 39710 39711 39712 39713 39714 39715 39716 39717 39718 39719 39720 39721 39722 39723 39724 39725 39726 39727 39728 39729 39730 39731 39732 39733 39734 39735 39736 39737 39738 39739 39740 39741 39742 39743 39744 39745 39746 39747 39748 39749 39750 39751 39752 39753 39754 39755 39756 39757 39758 39759 39760 39761 39762 39763 39764 39765 39766 39767 39768 39769 39770 39771 39772 39773 39774 39775 39776 39777 39778 39779 39780 39781 39782 39783 39784 39785 39786 39787 39788 39789 39790 39791 39792 39793 39794 39795 39796 39797 39798 39799 39800 39801 39802 39803 39804 39805 39806 39807 39808 39809 39810 39811 39812 39813 39814 39815 39816 39817 39818 39819 39820 39821 39822 39823 39824 39825 39826 39827 39828 39829 39830 39831 39832 39833 39834 39835 39836 39837 39838 39839 39840 39841 39842 39843 39844 39845 39846 39847 39848 39849 39850 39851 39852 39853 39854 39855 39856 39857 39858 39859 39860 39861 39862 39863 39864 39865 39866 39867 39868 39869 39870 39871 39872 39873 39874 39875 39876 39877 39878 39879 39880 39881 39882 39883 39884 39885 39886 39887 39888 39889 39890 39891 39892 39893 39894 39895 39896 39897 39898 39899 39900 39901 39902 39903 39904 39905 39906 39907 39908 39909 39910 39911 39912 39913 39914 39915 39916 39917 39918 39919 39920 39921 39922 39923 39924 39925 39926 39927 39928 39929 39930 39931 39932 39933 39934 39935 39936 39937 39938 39939 39940 39941 39942 39943 39944 39945 39946 39947 39948 39949 39950 39951 39952 39953 39954 39955 39956 39957 39958 39959 39960 39961 39962 39963 39964 39965 39966 39967 39968 39969 39970 39971 39972 39973 39974 39975 39976 39977 39978 39979 39980 39981 39982 39983 39984 39985 39986 39987 39988 39989 39990 39991 39992 39993 39994 39995 39996 39997 39998 39999 40000 40001 40002 40003 40004 40005 40006 40007 40008 40009 40010 40011 40012 40013 40014 40015 40016 40017 40018 40019 40020 40021 40022 40023 40024 40025 40026 40027 40028 40029 40030 40031 40032 40033 40034 40035 40036 40037 40038 40039 40040 40041 40042 40043 40044 40045 40046 40047 40048 40049 40050 40051 40052 40053 40054 40055 40056 40057 40058 40059 40060 40061 40062 40063 40064 40065 40066 40067 40068 40069 40070 40071 40072 40073 40074 40075 40076 40077 40078 40079 40080 40081 40082 40083 40084 40085 40086 40087 40088 40089 40090 40091 40092 40093 40094 40095 40096 40097 40098 40099 40100 40101 40102 40103 40104 40105 40106 40107 40108 40109 40110 40111 40112 40113 40114 40115 40116 40117 40118 40119 40120 40121 40122 40123 40124 40125 40126 40127 40128 40129 40130 40131 40132 40133 40134 40135 40136 40137 40138 40139 40140 40141 40142 40143 40144 40145 40146 40147 40148 40149 40150 40151 40152 40153 40154 40155 40156 40157 40158 40159 40160 40161 40162 40163 40164 40165 40166 40167 40168 40169 40170 40171 40172 40173 40174 40175 40176 40177 40178 40179 40180 40181 40182 40183 40184 40185 40186 40187 40188 40189 40190 40191 40192 40193 40194 40195 40196 40197 40198 40199 40200 40201 40202 40203 40204 40205 40206 40207 40208 40209 40210 40211 40212 40213 40214 40215 40216 40217 40218 40219 40220 40221 40222 40223 40224 40225 40226 40227 40228 40229 40230 40231 40232 40233 40234 40235 40236 40237 40238 40239 40240 40241 40242 40243 40244 40245 40246 40247 40248 40249 40250 40251 40252 40253 40254 40255 40256 40257 40258 40259 40260 40261 40262 40263 40264 40265 40266 40267 40268 40269 40270 40271 40272 40273 40274 40275 40276 40277 40278 40279 40280 40281 40282 40283 40284 40285 40286 40287 40288 40289 40290 40291 40292 40293 40294 40295 40296 40297 40298 40299 40300 40301 40302 40303 40304 40305 40306 40307 40308 40309 40310 40311 40312 40313 40314 40315 40316 40317 40318 40319 40320 40321 40322 40323 40324 40325 40326 40327 40328 40329 40330 40331 40332 40333 40334 40335 40336 40337 40338 40339 40340 40341 40342 40343 40344 40345 40346 40347 40348 40349 40350 40351 40352 40353 40354 40355 40356 40357 40358 40359 40360 40361 40362 40363 40364 40365 40366 40367 40368 40369 40370 40371 40372 40373 40374 40375 40376 40377 40378 40379 40380 40381 40382 40383 40384 40385 40386 40387 40388 40389 40390 40391 40392 40393 40394 40395 40396 40397 40398 40399 40400 40401 40402 40403 40404 40405 40406 40407 40408 40409 40410 40411 40412 40413 40414 40415 40416 40417 40418 40419 40420 40421 40422 40423 40424 40425 40426 40427 40428 40429 40430 40431 40432 40433 40434 40435 40436 40437 40438 40439 40440 40441 40442 40443 40444 40445 40446 40447 40448 40449 40450 40451 40452 40453 40454 40455 40456 40457 40458 40459 40460 40461 40462 40463 40464 40465 40466 40467 40468 40469 40470 40471 40472 40473 40474 40475 40476 40477 40478 40479 40480 40481 40482 40483 40484 40485 40486 40487 40488 40489 40490 40491 40492 40493 40494 40495 40496 40497 40498 40499 40500 40501 40502 40503 40504 40505 40506 40507 40508 40509 40510 40511 40512 40513 40514 40515 40516 40517 40518 40519 40520 40521 40522 40523 40524 40525 40526 40527 40528 40529 40530 40531 40532 40533 40534 40535 40536 40537 40538 40539 40540 40541 40542 40543 40544 40545 40546 40547 40548 40549 40550 40551 40552 40553 40554 40555 40556 40557 40558 40559 40560 40561 40562 40563 40564 40565 40566 40567 40568 40569 40570 40571 40572 40573 40574 40575 40576 40577 40578 40579 40580 40581 40582 40583 40584 40585 40586 40587 40588 40589 40590 40591 40592 40593 40594 40595 40596 40597 40598 40599 40600 40601 40602 40603 40604 40605 40606 40607 40608 40609 40610 40611 40612 40613 40614 40615 40616 40617 40618 40619 40620 40621 40622 40623 40624 40625 40626 40627 40628 40629 40630 40631 40632 40633 40634 40635 40636 40637 40638 40639 40640 40641 40642 40643 40644 40645 40646 40647 40648 40649 40650 40651 40652 40653 40654 40655 40656 40657 40658 40659 40660 40661 40662 40663 40664 40665 40666 40667 40668 40669 40670 40671 40672 40673 40674 40675 40676 40677 40678 40679 40680 40681 40682 40683 40684 40685 40686 40687 40688 40689 40690 40691 40692 40693 40694 40695 40696 40697 40698 40699 40700 40701 40702 40703 40704 40705 40706 40707 40708 40709 40710 40711 40712 40713 40714 40715 40716 40717 40718 40719 40720 40721 40722 40723 40724 40725 40726 40727 40728 40729 40730 40731 40732 40733 40734 40735 40736 40737 40738 40739 40740 40741 40742 40743 40744 40745 40746 40747 40748 40749 40750 40751 40752 40753 40754 40755 40756 40757 40758 40759 40760 40761 40762 40763 40764 40765 40766 40767 40768 40769 40770 40771 40772 40773 40774 40775 40776 40777 40778 40779 40780 40781 40782 40783 40784 40785 40786 40787 40788 40789 40790 40791 40792 40793 40794 40795 40796 40797 40798 40799 40800 40801 40802 40803 40804 40805 40806 40807 40808 40809 40810 40811 40812 40813 40814 40815 40816 40817 40818 40819 40820 40821 40822 40823 40824 40825 40826 40827 40828 40829 40830 40831 40832 40833 40834 40835 40836 40837 40838 40839 40840 40841 40842 40843 40844 40845 40846 40847 40848 40849 40850 40851 40852 40853 40854 40855 40856 40857 40858 40859 40860 40861 40862 40863 40864 40865 40866 40867 40868 40869 40870 40871 40872 40873 40874 40875 40876 40877 40878 40879 40880 40881 40882 40883 40884 40885 40886 40887 40888 40889 40890 40891 40892 40893 40894 40895 40896 40897 40898 40899 40900 40901 40902 40903 40904 40905 40906 40907 40908 40909 40910 40911 40912 40913 40914 40915 40916 40917 40918 40919 40920 40921 40922 40923 40924 40925 40926 40927 40928 40929 40930 40931 40932 40933 40934 40935 40936 40937 40938 40939 40940 40941 40942 40943 40944 40945 40946 40947 40948 40949 40950 40951 40952 40953 40954 40955 40956 40957 40958 40959 40960 40961 40962 40963 40964 40965 40966 40967 40968 40969 40970 40971 40972 40973 40974 40975 40976 40977 40978 40979 40980 40981 40982 40983 40984 40985 40986 40987 40988 40989 40990 40991 40992 40993 40994 40995 40996 40997 40998 40999 41000 41001 41002 41003 41004 41005 41006 41007 41008 41009 41010 41011 41012 41013 41014 41015 41016 41017 41018 41019 41020 41021 41022 41023 41024 41025 41026 41027 41028 41029 41030 41031 41032 41033 41034 41035 41036 41037 41038 41039 41040 41041 41042 41043 41044 41045 41046 41047 41048 41049 41050 41051 41052 41053 41054 41055 41056 41057 41058 41059 41060 41061 41062 41063 41064 41065 41066 41067 41068 41069 41070 41071 41072 41073 41074 41075 41076 41077 41078 41079 41080 41081 41082 41083 41084 41085 41086 41087 41088 41089 41090 41091 41092 41093 41094 41095 41096 41097 41098 41099 41100 41101 41102 41103 41104 41105 41106 41107 41108 41109 41110 41111 41112 41113 41114 41115 41116 41117 41118 41119 41120 41121 41122 41123 41124 41125 41126 41127 41128 41129 41130 41131 41132 41133 41134 41135 41136 41137 41138 41139 41140 41141 41142 41143 41144 41145 41146 41147 41148 41149 41150 41151 41152 41153 41154 41155 41156 41157 41158 41159 41160 41161 41162 41163 41164 41165 41166 41167 41168 41169 41170 41171 41172 41173 41174 41175 41176 41177 41178 41179 41180 41181 41182 41183 41184 41185 41186 41187 41188 41189 41190 41191 41192 41193 41194 41195 41196 41197 41198 41199 41200 41201 41202 41203 41204 41205 41206 41207 41208 41209 41210 41211 41212 41213 41214 41215 41216 41217 41218 41219 41220 41221 41222 41223 41224 41225 41226 41227 41228 41229 41230 41231 41232 41233 41234 41235 41236 41237 41238 41239 41240 41241 41242 41243 41244 41245 41246 41247 41248 41249 41250 41251 41252 41253 41254 41255 41256 41257 41258 41259 41260 41261 41262 41263 41264 41265 41266 41267 41268 41269 41270 41271 41272 41273 41274 41275 41276 41277 41278 41279 41280 41281 41282 41283 41284 41285 41286 41287 41288 41289 41290 41291 41292 41293 41294 41295 41296 41297 41298 41299 41300 41301 41302 41303 41304 41305 41306 41307 41308 41309 41310 41311 41312 41313 41314 41315 41316 41317 41318 41319 41320 41321 41322 41323 41324 41325 41326 41327 41328 41329 41330 41331 41332 41333 41334 41335 41336 41337 41338 41339 41340 41341 41342 41343 41344 41345 41346 41347 41348 41349 41350 41351 41352 41353 41354 41355 41356 41357 41358 41359 41360 41361 41362 41363 41364 41365 41366 41367 41368 41369 41370 41371 41372 41373 41374 41375 41376 41377 41378 41379 41380 41381 41382 41383 41384 41385 41386 41387 41388 41389 41390 41391 41392 41393 41394 41395 41396 41397 41398 41399 41400 41401 41402 41403 41404 41405 41406 41407 41408 41409 41410 41411 41412 41413 41414 41415 41416 41417 41418 41419 41420 41421 41422 41423 41424 41425 41426 41427 41428 41429 41430 41431 41432 41433 41434 41435 41436 41437 41438 41439 41440 41441 41442 41443 41444 41445 41446 41447 41448 41449 41450 41451 41452 41453 41454 41455 41456 41457 41458 41459 41460 41461 41462 41463 41464 41465 41466 41467 41468 41469 41470 41471 41472 41473 41474 41475 41476 41477 41478 41479 41480 41481 41482 41483 41484 41485 41486 41487 41488 41489 41490 41491 41492 41493 41494 41495 41496 41497 41498 41499 41500 41501 41502 41503 41504 41505 41506 41507 41508 41509 41510 41511 41512 41513 41514 41515 41516 41517 41518 41519 41520 41521 41522 41523 41524 41525 41526 41527 41528 41529 41530 41531 41532 41533 41534 41535 41536 41537 41538 41539 41540 41541 41542 41543 41544 41545 41546 41547 41548 41549 41550 41551 41552 41553 41554 41555 41556 41557 41558 41559 41560 41561 41562 41563 41564 41565 41566 41567 41568 41569 41570 41571 41572 41573 41574 41575 41576 41577 41578 41579 41580 41581 41582 41583 41584 41585 41586 41587 41588 41589 41590 41591 41592 41593 41594 41595 41596 41597 41598 41599 41600 41601 41602 41603 41604 41605 41606 41607 41608 41609 41610 41611 41612 41613 41614 41615 41616 41617 41618 41619 41620 41621 41622 41623 41624 41625 41626 41627 41628 41629 41630 41631 41632 41633 41634 41635 41636 41637 41638 41639 41640 41641 41642 41643 41644 41645 41646 41647 41648 41649 41650 41651 41652 41653 41654 41655 41656 41657 41658 41659 41660 41661 41662 41663 41664 41665 41666 41667 41668 41669 41670 41671 41672 41673 41674 41675 41676 41677 41678 41679 41680 41681 41682 41683 41684 41685 41686 41687 41688 41689 41690 41691 41692 41693 41694 41695 41696 41697 41698 41699 41700 41701 41702 41703 41704 41705 41706 41707 41708 41709 41710 41711 41712 41713 41714 41715 41716 41717 41718 41719 41720 41721 41722 41723 41724 41725 41726 41727 41728 41729 41730 41731 41732 41733 41734 41735 41736 41737 41738 41739 41740 41741 41742 41743 41744 41745 41746 41747 41748 41749 41750 41751 41752 41753 41754 41755 41756 41757 41758 41759 41760 41761 41762 41763 41764 41765 41766 41767 41768 41769 41770 41771 41772 41773 41774 41775 41776 41777 41778 41779 41780 41781 41782 41783 41784 41785 41786 41787 41788 41789 41790 41791 41792 41793 41794 41795 41796 41797 41798 41799 41800 41801 41802 41803 41804 41805 41806 41807 41808 41809 41810 41811 41812 41813 41814 41815 41816 41817 41818 41819 41820 41821 41822 41823 41824 41825 41826 41827 41828 41829 41830 41831 41832 41833 41834 41835 41836 41837 41838 41839 41840 41841 41842 41843 41844 41845 41846 41847 41848 41849 41850 41851 41852 41853 41854 41855 41856 41857 41858 41859 41860 41861 41862 41863 41864 41865 41866 41867 41868 41869 41870 41871 41872 41873 41874 41875 41876 41877 41878 41879 41880 41881 41882 41883 41884 41885 41886 41887 41888 41889 41890 41891 41892 41893 41894 41895 41896 41897 41898 41899 41900 41901 41902 41903 41904 41905 41906 41907 41908 41909 41910 41911 41912 41913 41914 41915 41916 41917 41918 41919 41920 41921 41922 41923 41924 41925 41926 41927 41928 41929 41930 41931 41932 41933 41934 41935 41936 41937 41938 41939 41940 41941 41942 41943 41944 41945 41946 41947 41948 41949 41950 41951 41952 41953 41954 41955 41956 41957 41958 41959 41960 41961 41962 41963 41964 41965 41966 41967 41968 41969 41970 41971 41972 41973 41974 41975 41976 41977 41978 41979 41980 41981 41982 41983 41984 41985 41986 41987 41988 41989 41990 41991 41992 41993 41994 41995 41996 41997 41998 41999 42000 42001 42002 42003 42004 42005 42006 42007 42008 42009 42010 42011 42012 42013 42014 42015 42016 42017 42018 42019 42020 42021 42022 42023 42024 42025 42026 42027 42028 42029 42030 42031 42032 42033 42034 42035 42036 42037 42038 42039 42040 42041 42042 42043 42044 42045 42046 42047 42048 42049 42050 42051 42052 42053 42054 42055 42056 42057 42058 42059 42060 42061 42062 42063 42064 42065 42066 42067 42068 42069 42070 42071 42072 42073 42074 42075 42076 42077 42078 42079 42080 42081 42082 42083 42084 42085 42086 42087 42088 42089 42090 42091 42092 42093 42094 42095 42096 42097 42098 42099 42100 42101 42102 42103 42104 42105 42106 42107 42108 42109 42110 42111 42112 42113 42114 42115 42116 42117 42118 42119 42120 42121 42122 42123 42124 42125 42126 42127 42128 42129 42130 42131 42132 42133 42134 42135 42136 42137 42138 42139 42140 42141 42142 42143 42144 42145 42146 42147 42148 42149 42150 42151 42152 42153 42154 42155 42156 42157 42158 42159 42160 42161 42162 42163 42164 42165 42166 42167 42168 42169 42170 42171 42172 42173 42174 42175 42176 42177 42178 42179 42180 42181 42182 42183 42184 42185 42186 42187 42188 42189 42190 42191 42192 42193 42194 42195 42196 42197 42198 42199 42200 42201 42202 42203 42204 42205 42206 42207 42208 42209 42210 42211 42212 42213 42214 42215 42216 42217 42218 42219 42220 42221 42222 42223 42224 42225 42226 42227 42228 42229 42230 42231 42232 42233 42234 42235 42236 42237 42238 42239 42240 42241 42242 42243 42244 42245 42246 42247 42248 42249 42250 42251 42252 42253 42254 42255 42256 42257 42258 42259 42260 42261 42262 42263 42264 42265 42266 42267 42268 42269 42270 42271 42272 42273 42274 42275 42276 42277 42278 42279 42280 42281 42282 42283 42284 42285 42286 42287 42288 42289 42290 42291 42292 42293 42294 42295 42296 42297 42298 42299 42300 42301 42302 42303 42304 42305 42306 42307 42308 42309 42310 42311 42312 42313 42314 42315 42316 42317 42318 42319 42320 42321 42322 42323 42324 42325 42326 42327 42328 42329 42330 42331 42332 42333 42334 42335 42336 42337 42338 42339 42340 42341 42342 42343 42344 42345 42346 42347 42348 42349 42350 42351 42352 42353 42354 42355 42356 42357 42358 42359 42360 42361 42362 42363 42364 42365 42366 42367 42368 42369 42370 42371 42372 42373 42374 42375 42376 42377 42378 42379 42380 42381 42382 42383 42384 42385 42386 42387 42388 42389 42390 42391 42392 42393 42394 42395 42396 42397 42398 42399 42400 42401 42402 42403 42404 42405 42406 42407 42408 42409 42410 42411 42412 42413 42414 42415 42416 42417 42418 42419 42420 42421 42422 42423 42424 42425 42426 42427 42428 42429 42430 42431 42432 42433 42434 42435 42436 42437 42438 42439 42440 42441 42442 42443 42444 42445 42446 42447 42448 42449 42450 42451 42452 42453 42454 42455 42456 42457 42458 42459 42460 42461 42462 42463 42464 42465 42466 42467 42468 42469 42470 42471 42472 42473 42474 42475 42476 42477 42478 42479 42480 42481 42482 42483 42484 42485 42486 42487 42488 42489 42490 42491 42492 42493 42494 42495 42496 42497 42498 42499 42500 42501 42502 42503 42504 42505 42506 42507 42508 42509 42510 42511 42512 42513 42514 42515 42516 42517 42518 42519 42520 42521 42522 42523 42524 42525 42526 42527 42528 42529 42530 42531 42532 42533 42534 42535 42536 42537 42538 42539 42540 42541 42542 42543 42544 42545 42546 42547 42548 42549 42550 42551 42552 42553 42554 42555 42556 42557 42558 42559 42560 42561 42562 42563 42564 42565 42566 42567 42568 42569 42570 42571 42572 42573 42574 42575 42576 42577 42578 42579 42580 42581 42582 42583 42584 42585 42586 42587 42588 42589 42590 42591 42592 42593 42594 42595 42596 42597 42598 42599 42600 42601 42602 42603 42604 42605 42606 42607 42608 42609 42610 42611 42612 42613 42614 42615 42616 42617 42618 42619 42620 42621 42622 42623 42624 42625 42626 42627 42628 42629 42630 42631 42632 42633 42634 42635 42636 42637 42638 42639 42640 42641 42642 42643 42644 42645 42646 42647 42648 42649 42650 42651 42652 42653 42654 42655 42656 42657 42658 42659 42660 42661 42662 42663 42664 42665 42666 42667 42668 42669 42670 42671 42672 42673 42674 42675 42676 42677 42678 42679 42680 42681 42682 42683 42684 42685 42686 42687 42688 42689 42690 42691 42692 42693 42694 42695 42696 42697 42698 42699 42700 42701 42702 42703 42704 42705 42706 42707 42708 42709 42710 42711 42712 42713 42714 42715 42716 42717 42718 42719 42720 42721 42722 42723 42724 42725 42726 42727 42728 42729 42730 42731 42732 42733 42734 42735 42736 42737 42738 42739 42740 42741 42742 42743 42744 42745 42746 42747 42748 42749 42750 42751 42752 42753 42754 42755 42756 42757 42758 42759 42760 42761 42762 42763 42764 42765 42766 42767 42768 42769 42770 42771 42772 42773 42774 42775 42776 42777 42778 42779 42780 42781 42782 42783 42784 42785 42786 42787 42788 42789 42790 42791 42792 42793 42794 42795 42796 42797 42798 42799 42800 42801 42802 42803 42804 42805 42806 42807 42808 42809 42810 42811 42812 42813 42814 42815 42816 42817 42818 42819 42820 42821 42822 42823 42824 42825 42826 42827 42828 42829 42830 42831 42832 42833 42834 42835 42836 42837 42838 42839 42840 42841 42842 42843 42844 42845 42846 42847 42848 42849 42850 42851 42852 42853 42854 42855 42856 42857 42858 42859 42860 42861 42862 42863 42864 42865 42866 42867 42868 42869 42870 42871 42872 42873 42874 42875 42876 42877 42878 42879 42880 42881 42882 42883 42884 42885 42886 42887 42888 42889 42890 42891 42892 42893 42894 42895 42896 42897 42898 42899 42900 42901 42902 42903 42904 42905 42906 42907 42908 42909 42910 42911 42912 42913 42914 42915 42916 42917 42918 42919 42920 42921 42922 42923 42924 42925 42926 42927 42928 42929 42930 42931 42932 42933 42934 42935 42936 42937 42938 42939 42940 42941 42942 42943 42944 42945 42946 42947 42948 42949 42950 42951 42952 42953 42954 42955 42956 42957 42958 42959 42960 42961 42962 42963 42964 42965 42966 42967 42968 42969 42970 42971 42972 42973 42974 42975 42976 42977 42978 42979 42980 42981 42982 42983 42984 42985 42986 42987 42988 42989 42990 42991 42992 42993 42994 42995 42996 42997 42998 42999 43000 43001 43002 43003 43004 43005 43006 43007 43008 43009 43010 43011 43012 43013 43014 43015 43016 43017 43018 43019 43020 43021 43022 43023 43024 43025 43026 43027 43028 43029 43030 43031 43032 43033 43034 43035 43036 43037 43038 43039 43040 43041 43042 43043 43044 43045 43046 43047 43048 43049 43050 43051 43052 43053 43054 43055 43056 43057 43058 43059 43060 43061 43062 43063 43064 43065 43066 43067 43068 43069 43070 43071 43072 43073 43074 43075 43076 43077 43078 43079 43080 43081 43082 43083 43084 43085 43086 43087 43088 43089 43090 43091 43092 43093 43094 43095 43096 43097 43098 43099 43100 43101 43102 43103 43104 43105 43106 43107 43108 43109 43110 43111 43112 43113 43114 43115 43116 43117 43118 43119 43120 43121 43122 43123 43124 43125 43126 43127 43128 43129 43130 43131 43132 43133 43134 43135 43136 43137 43138 43139 43140 43141 43142 43143 43144 43145 43146 43147 43148 43149 43150 43151 43152 43153 43154 43155 43156 43157 43158 43159 43160 43161 43162 43163 43164 43165 43166 43167 43168 43169 43170 43171 43172 43173 43174 43175 43176 43177 43178 43179 43180 43181 43182 43183 43184 43185 43186 43187 43188 43189 43190 43191 43192 43193 43194 43195 43196 43197 43198 43199 43200 43201 43202 43203 43204 43205 43206 43207 43208 43209 43210 43211 43212 43213 43214 43215 43216 43217 43218 43219 43220 43221 43222 43223 43224 43225 43226 43227 43228 43229 43230 43231 43232 43233 43234 43235 43236 43237 43238 43239 43240 43241 43242 43243 43244 43245 43246 43247 43248 43249 43250 43251 43252 43253 43254 43255 43256 43257 43258 43259 43260 43261 43262 43263 43264 43265 43266 43267 43268 43269 43270 43271 43272 43273 43274 43275 43276 43277 43278 43279 43280 43281 43282 43283 43284 43285 43286 43287 43288 43289 43290 43291 43292 43293 43294 43295 43296 43297 43298 43299 43300 43301 43302 43303 43304 43305 43306 43307 43308 43309 43310 43311 43312 43313 43314 43315 43316 43317 43318 43319 43320 43321 43322 43323 43324 43325 43326 43327 43328 43329 43330 43331 43332 43333 43334 43335 43336 43337 43338 43339 43340 43341 43342 43343 43344 43345 43346 43347 43348 43349 43350 43351 43352 43353 43354 43355 43356 43357 43358 43359 43360 43361 43362 43363 43364 43365 43366 43367 43368 43369 43370 43371 43372 43373 43374 43375 43376 43377 43378 43379 43380 43381 43382 43383 43384 43385 43386 43387 43388 43389 43390 43391 43392 43393 43394 43395 43396 43397 43398 43399 43400 43401 43402 43403 43404 43405 43406 43407 43408 43409 43410 43411 43412 43413 43414 43415 43416 43417 43418 43419 43420 43421 43422 43423 43424 43425 43426 43427 43428 43429 43430 43431 43432 43433 43434 43435 43436 43437 43438 43439 43440 43441 43442 43443 43444 43445 43446 43447 43448 43449 43450 43451 43452 43453 43454 43455 43456 43457 43458 43459 43460 43461 43462 43463 43464 43465 43466 43467 43468 43469 43470 43471 43472 43473 43474 43475 43476 43477 43478 43479 43480 43481 43482 43483 43484 43485 43486 43487 43488 43489 43490 43491 43492 43493 43494 43495 43496 43497 43498 43499 43500 43501 43502 43503 43504 43505 43506 43507 43508 43509 43510 43511 43512 43513 43514 43515 43516 43517 43518 43519 43520 43521 43522 43523 43524 43525 43526 43527 43528 43529 43530 43531 43532 43533 43534 43535 43536 43537 43538 43539 43540 43541 43542 43543 43544 43545 43546 43547 43548 43549 43550 43551 43552 43553 43554 43555 43556 43557 43558 43559 43560 43561 43562 43563 43564 43565 43566 43567 43568 43569 43570 43571 43572 43573 43574 43575 43576 43577 43578 43579 43580 43581 43582 43583 43584 43585 43586 43587 43588 43589 43590 43591 43592 43593 43594 43595 43596 43597 43598 43599 43600 43601 43602 43603 43604 43605 43606 43607 43608 43609 43610 43611 43612 43613 43614 43615 43616 43617 43618 43619 43620 43621 43622 43623 43624 43625 43626 43627 43628 43629 43630 43631 43632 43633 43634 43635 43636 43637 43638 43639 43640 43641 43642 43643 43644 43645 43646 43647 43648 43649 43650 43651 43652 43653 43654 43655 43656 43657 43658 43659 43660 43661 43662 43663 43664 43665 43666 43667 43668 43669 43670 43671 43672 43673 43674 43675 43676 43677 43678 43679 43680 43681 43682 43683 43684 43685 43686 43687 43688 43689 43690 43691 43692 43693 43694 43695 43696 43697 43698 43699 43700 43701 43702 43703 43704 43705 43706 43707 43708 43709 43710 43711 43712 43713 43714 43715 43716 43717 43718 43719 43720 43721 43722 43723 43724 43725 43726 43727 43728 43729 43730 43731 43732 43733 43734 43735 43736 43737 43738 43739 43740 43741 43742 43743 43744 43745 43746 43747 43748 43749 43750 43751 43752 43753 43754 43755 43756 43757 43758 43759 43760 43761 43762 43763 43764 43765 43766 43767 43768 43769 43770 43771 43772 43773 43774 43775 43776 43777 43778 43779 43780 43781 43782 43783 43784 43785 43786 43787 43788 43789 43790 43791 43792 43793 43794 43795 43796 43797 43798 43799 43800 43801 43802 43803 43804 43805 43806 43807 43808 43809 43810 43811 43812 43813 43814 43815 43816 43817 43818 43819 43820 43821 43822 43823 43824 43825 43826 43827 43828 43829 43830 43831 43832 43833 43834 43835 43836 43837 43838 43839 43840 43841 43842 43843 43844 43845 43846 43847 43848 43849 43850 43851 43852 43853 43854 43855 43856 43857 43858 43859 43860 43861 43862 43863 43864 43865 43866 43867 43868 43869 43870 43871 43872 43873 43874 43875 43876 43877 43878 43879 43880 43881 43882 43883 43884 43885 43886 43887 43888 43889 43890 43891 43892 43893 43894 43895 43896 43897 43898 43899 43900 43901 43902 43903 43904 43905 43906 43907 43908 43909 43910 43911 43912 43913 43914 43915 43916 43917 43918 43919 43920 43921 43922 43923 43924 43925 43926 43927 43928 43929 43930 43931 43932 43933 43934 43935 43936 43937 43938 43939 43940 43941 43942 43943 43944 43945 43946 43947 43948 43949 43950 43951 43952 43953 43954 43955 43956 43957 43958 43959 43960 43961 43962 43963 43964 43965 43966 43967 43968 43969 43970 43971 43972 43973 43974 43975 43976 43977 43978 43979 43980 43981 43982 43983 43984 43985 43986 43987 43988 43989 43990 43991 43992 43993 43994 43995 43996 43997 43998 43999 44000 44001 44002 44003 44004 44005 44006 44007 44008 44009 44010 44011 44012 44013 44014 44015 44016 44017 44018 44019 44020 44021 44022 44023 44024 44025 44026 44027 44028 44029 44030 44031 44032 44033 44034 44035 44036 44037 44038 44039 44040 44041 44042 44043 44044 44045 44046 44047 44048 44049 44050 44051 44052 44053 44054 44055 44056 44057 44058 44059 44060 44061 44062 44063 44064 44065 44066 44067 44068 44069 44070 44071 44072 44073 44074 44075 44076 44077 44078 44079 44080 44081 44082 44083 44084 44085 44086 44087 44088 44089 44090 44091 44092 44093 44094 44095 44096 44097 44098 44099 44100 44101 44102 44103 44104 44105 44106 44107 44108 44109 44110 44111 44112 44113 44114 44115 44116 44117 44118 44119 44120 44121 44122 44123 44124 44125 44126 44127 44128 44129 44130 44131 44132 44133 44134 44135 44136 44137 44138 44139 44140 44141 44142 44143 44144 44145 44146 44147 44148 44149 44150 44151 44152 44153 44154 44155 44156 44157 44158 44159 44160 44161 44162 44163 44164 44165 44166 44167 44168 44169 44170 44171 44172 44173 44174 44175 44176 44177 44178 44179 44180 44181 44182 44183 44184 44185 44186 44187 44188 44189 44190 44191 44192 44193 44194 44195 44196 44197 44198 44199 44200 44201 44202 44203 44204 44205 44206 44207 44208 44209 44210 44211 44212 44213 44214 44215 44216 44217 44218 44219 44220 44221 44222 44223 44224 44225 44226 44227 44228 44229 44230 44231 44232 44233 44234 44235 44236 44237 44238 44239 44240 44241 44242 44243 44244 44245 44246 44247 44248 44249 44250 44251 44252 44253 44254 44255 44256 44257 44258 44259 44260 44261 44262 44263 44264 44265 44266 44267 44268 44269 44270 44271 44272 44273 44274 44275 44276 44277 44278 44279 44280 44281 44282 44283 44284 44285 44286 44287 44288 44289 44290 44291 44292 44293 44294 44295 44296 44297 44298 44299 44300 44301 44302 44303 44304 44305 44306 44307 44308 44309 44310 44311 44312 44313 44314 44315 44316 44317 44318 44319 44320 44321 44322 44323 44324 44325 44326 44327 44328 44329 44330 44331 44332 44333 44334 44335 44336 44337 44338 44339 44340 44341 44342 44343 44344 44345 44346 44347 44348 44349 44350 44351 44352 44353 44354 44355 44356 44357 44358 44359 44360 44361 44362 44363 44364 44365 44366 44367 44368 44369 44370 44371 44372 44373 44374 44375 44376 44377 44378 44379 44380 44381 44382 44383 44384 44385 44386 44387 44388 44389 44390 44391 44392 44393 44394 44395 44396 44397 44398 44399 44400 44401 44402 44403 44404 44405 44406 44407 44408 44409 44410 44411 44412 44413 44414 44415 44416 44417 44418 44419 44420 44421 44422 44423 44424 44425 44426 44427 44428 44429 44430 44431 44432 44433 44434 44435 44436 44437 44438 44439 44440 44441 44442 44443 44444 44445 44446 44447 44448 44449 44450 44451 44452 44453 44454 44455 44456 44457 44458 44459 44460 44461 44462 44463 44464 44465 44466 44467 44468 44469 44470 44471 44472 44473 44474 44475 44476 44477 44478 44479 44480 44481 44482 44483 44484 44485 44486 44487 44488 44489 44490 44491 44492 44493 44494 44495 44496 44497 44498 44499 44500 44501 44502 44503 44504 44505 44506 44507 44508 44509 44510 44511 44512 44513 44514 44515 44516 44517 44518 44519 44520 44521 44522 44523 44524 44525 44526 44527 44528 44529 44530 44531 44532 44533 44534 44535 44536 44537 44538 44539 44540 44541 44542 44543 44544 44545 44546 44547 44548 44549 44550 44551 44552 44553 44554 44555 44556 44557 44558 44559 44560 44561 44562 44563 44564 44565 44566 44567 44568 44569 44570 44571 44572 44573 44574 44575 44576 44577 44578 44579 44580 44581 44582 44583 44584 44585 44586 44587 44588 44589 44590 44591 44592 44593 44594 44595 44596 44597 44598 44599 44600 44601 44602 44603 44604 44605 44606 44607 44608 44609 44610 44611 44612 44613 44614 44615 44616 44617 44618 44619 44620 44621 44622 44623 44624 44625 44626 44627 44628 44629 44630 44631 44632 44633 44634 44635 44636 44637 44638 44639 44640 44641 44642 44643 44644 44645 44646 44647 44648 44649 44650 44651 44652 44653 44654 44655 44656 44657 44658 44659 44660 44661 44662 44663 44664 44665 44666 44667 44668 44669 44670 44671 44672 44673 44674 44675 44676 44677 44678 44679 44680 44681 44682 44683 44684 44685 44686 44687 44688 44689 44690 44691 44692 44693 44694 44695 44696 44697 44698 44699 44700 44701 44702 44703 44704 44705 44706 44707 44708 44709 44710 44711 44712 44713 44714 44715 44716 44717 44718 44719 44720 44721 44722 44723 44724 44725 44726 44727 44728 44729 44730 44731 44732 44733 44734 44735 44736 44737 44738 44739 44740 44741 44742 44743 44744 44745 44746 44747 44748 44749 44750 44751 44752 44753 44754 44755 44756 44757 44758 44759 44760 44761 44762 44763 44764 44765 44766 44767 44768 44769 44770 44771 44772 44773 44774 44775 44776 44777 44778 44779 44780 44781 44782 44783 44784 44785 44786 44787 44788 44789 44790 44791 44792 44793 44794 44795 44796 44797 44798 44799 44800 44801 44802 44803 44804 44805 44806 44807 44808 44809 44810 44811 44812 44813 44814 44815 44816 44817 44818 44819 44820 44821 44822 44823 44824 44825 44826 44827 44828 44829 44830 44831 44832 44833 44834 44835 44836 44837 44838 44839 44840 44841 44842 44843 44844 44845 44846 44847 44848 44849 44850 44851 44852 44853 44854 44855 44856 44857 44858 44859 44860 44861 44862 44863 44864 44865 44866 44867 44868 44869 44870 44871 44872 44873 44874 44875 44876 44877 44878 44879 44880 44881 44882 44883 44884 44885 44886 44887 44888 44889 44890 44891 44892 44893 44894 44895 44896 44897 44898 44899 44900 44901 44902 44903 44904 44905 44906 44907 44908 44909 44910 44911 44912 44913 44914 44915 44916 44917 44918 44919 44920 44921 44922 44923 44924 44925 44926 44927 44928 44929 44930 44931 44932 44933 44934 44935 44936 44937 44938 44939 44940 44941 44942 44943 44944 44945 44946 44947 44948 44949 44950 44951 44952 44953 44954 44955 44956 44957 44958 44959 44960 44961 44962 44963 44964 44965 44966 44967 44968 44969 44970 44971 44972 44973 44974 44975 44976 44977 44978 44979 44980 44981 44982 44983 44984 44985 44986 44987 44988 44989 44990 44991 44992 44993 44994 44995 44996 44997 44998 44999 45000 45001 45002 45003 45004 45005 45006 45007 45008 45009 45010 45011 45012 45013 45014 45015 45016 45017 45018 45019 45020 45021 45022 45023 45024 45025 45026 45027 45028 45029 45030 45031 45032 45033 45034 45035 45036 45037 45038 45039 45040 45041 45042 45043 45044 45045 45046 45047 45048 45049 45050 45051 45052 45053 45054 45055 45056 45057 45058 45059 45060 45061 45062 45063 45064 45065 45066 45067 45068 45069 45070 45071 45072 45073 45074 45075 45076 45077 45078 45079 45080 45081 45082 45083 45084 45085 45086 45087 45088 45089 45090 45091 45092 45093 45094 45095 45096 45097 45098 45099 45100 45101 45102 45103 45104 45105 45106 45107 45108 45109 45110 45111 45112 45113 45114 45115 45116 45117 45118 45119 45120 45121 45122 45123 45124 45125 45126 45127 45128 45129 45130 45131 45132 45133 45134 45135 45136 45137 45138 45139 45140 45141 45142 45143 45144 45145 45146 45147 45148 45149 45150 45151 45152 45153 45154 45155 45156 45157 45158 45159 45160 45161 45162 45163 45164 45165 45166 45167 45168 45169 45170 45171 45172 45173 45174 45175 45176 45177 45178 45179 45180 45181 45182 45183 45184 45185 45186 45187 45188 45189 45190 45191 45192 45193 45194 45195 45196 45197 45198 45199 45200 45201 45202 45203 45204 45205 45206 45207 45208 45209 45210 45211 45212 45213 45214 45215 45216 45217 45218 45219 45220 45221 45222 45223 45224 45225 45226 45227 45228 45229 45230 45231 45232 45233 45234 45235 45236 45237 45238 45239 45240 45241 45242 45243 45244 45245 45246 45247 45248 45249 45250 45251 45252 45253 45254 45255 45256 45257 45258 45259 45260 45261 45262 45263 45264 45265 45266 45267 45268 45269 45270 45271 45272 45273 45274 45275 45276 45277 45278 45279 45280 45281 45282 45283 45284 45285 45286 45287 45288 45289 45290 45291 45292 45293 45294 45295 45296 45297 45298 45299 45300 45301 45302 45303 45304 45305 45306 45307 45308 45309 45310 45311 45312 45313 45314 45315 45316 45317 45318 45319 45320 45321 45322 45323 45324 45325 45326 45327 45328 45329 45330 45331 45332 45333 45334 45335 45336 45337 45338 45339 45340 45341 45342 45343 45344 45345 45346 45347 45348 45349 45350 45351 45352 45353 45354 45355 45356 45357 45358 45359 45360 45361 45362 45363 45364 45365 45366 45367 45368 45369 45370 45371 45372 45373 45374 45375 45376 45377 45378 45379 45380 45381 45382 45383 45384 45385 45386 45387 45388 45389 45390 45391 45392 45393 45394 45395 45396 45397 45398 45399 45400 45401 45402 45403 45404 45405 45406 45407 45408 45409 45410 45411 45412 45413 45414 45415 45416 45417 45418 45419 45420 45421 45422 45423 45424 45425 45426 45427 45428 45429 45430 45431 45432 45433 45434 45435 45436 45437 45438 45439 45440 45441 45442 45443 45444 45445 45446 45447 45448 45449 45450 45451 45452 45453 45454 45455 45456 45457 45458 45459 45460 45461 45462 45463 45464 45465 45466 45467 45468 45469 45470 45471 45472 45473 45474 45475 45476 45477 45478 45479 45480 45481 45482 45483 45484 45485 45486 45487 45488 45489 45490 45491 45492 45493 45494 45495 45496 45497 45498 45499 45500 45501 45502 45503 45504 45505 45506 45507 45508 45509 45510 45511 45512 45513 45514 45515 45516 45517 45518 45519 45520 45521 45522 45523 45524 45525 45526 45527 45528 45529 45530 45531 45532 45533 45534 45535 45536 45537 45538 45539 45540 45541 45542 45543 45544 45545 45546 45547 45548 45549 45550 45551 45552 45553 45554 45555 45556 45557 45558 45559 45560 45561 45562 45563 45564 45565 45566 45567 45568 45569 45570 45571 45572 45573 45574 45575 45576 45577 45578 45579 45580 45581 45582 45583 45584 45585 45586 45587 45588 45589 45590 45591 45592 45593 45594 45595 45596 45597 45598 45599 45600 45601 45602 45603 45604 45605 45606 45607 45608 45609 45610 45611 45612 45613 45614 45615 45616 45617 45618 45619 45620 45621 45622 45623 45624 45625 45626 45627 45628 45629 45630 45631 45632 45633 45634 45635 45636 45637 45638 45639 45640 45641 45642 45643 45644 45645 45646 45647 45648 45649 45650 45651 45652 45653 45654 45655 45656 45657 45658 45659 45660 45661 45662 45663 45664 45665 45666 45667 45668 45669 45670 45671 45672 45673 45674 45675 45676 45677 45678 45679 45680 45681 45682 45683 45684 45685 45686 45687 45688 45689 45690 45691 45692 45693 45694 45695 45696 45697 45698 45699 45700 45701 45702 45703 45704 45705 45706 45707 45708 45709 45710 45711 45712 45713 45714 45715 45716 45717 45718 45719 45720 45721 45722 45723 45724 45725 45726 45727 45728 45729 45730 45731 45732 45733 45734 45735 45736 45737 45738 45739 45740 45741 45742 45743 45744 45745 45746 45747 45748 45749 45750 45751 45752 45753 45754 45755 45756 45757 45758 45759 45760 45761 45762 45763 45764 45765 45766 45767 45768 45769 45770 45771 45772 45773 45774 45775 45776 45777 45778 45779 45780 45781 45782 45783 45784 45785 45786 45787 45788 45789 45790 45791 45792 45793 45794 45795 45796 45797 45798 45799 45800 45801 45802 45803 45804 45805 45806 45807 45808 45809 45810 45811 45812 45813 45814 45815 45816 45817 45818 45819 45820 45821 45822 45823 45824 45825 45826 45827 45828 45829 45830 45831 45832 45833 45834 45835 45836 45837 45838 45839 45840 45841 45842 45843 45844 45845 45846 45847 45848 45849 45850 45851 45852 45853 45854 45855 45856 45857 45858 45859 45860 45861 45862 45863 45864 45865 45866 45867 45868 45869 45870 45871 45872 45873 45874 45875 45876 45877 45878 45879 45880 45881 45882 45883 45884 45885 45886 45887 45888 45889 45890 45891 45892 45893 45894 45895 45896 45897 45898 45899 45900 45901 45902 45903 45904 45905 45906 45907 45908 45909 45910 45911 45912 45913 45914 45915 45916 45917 45918 45919 45920 45921 45922 45923 45924 45925 45926 45927 45928 45929 45930 45931 45932 45933 45934 45935 45936 45937 45938 45939 45940 45941 45942 45943 45944 45945 45946 45947 45948 45949 45950 45951 45952 45953 45954 45955 45956 45957 45958 45959 45960 45961 45962 45963 45964 45965 45966 45967 45968 45969 45970 45971 45972 45973 45974 45975 45976 45977 45978 45979 45980 45981 45982 45983 45984 45985 45986 45987 45988 45989 45990 45991 45992 45993 45994 45995 45996 45997 45998 45999 46000 46001 46002 46003 46004 46005 46006 46007 46008 46009 46010 46011 46012 46013 46014 46015 46016 46017 46018 46019 46020 46021 46022 46023 46024 46025 46026 46027 46028 46029 46030 46031 46032 46033 46034 46035 46036 46037 46038 46039 46040 46041 46042 46043 46044 46045 46046 46047 46048 46049 46050 46051 46052 46053 46054 46055 46056 46057 46058 46059 46060 46061 46062 46063 46064 46065 46066 46067 46068 46069 46070 46071 46072 46073 46074 46075 46076 46077 46078 46079 46080 46081 46082 46083 46084 46085 46086 46087 46088 46089 46090 46091 46092 46093 46094 46095 46096 46097 46098 46099 46100 46101 46102 46103 46104 46105 46106 46107 46108 46109 46110 46111 46112 46113 46114 46115 46116 46117 46118 46119 46120 46121 46122 46123 46124 46125 46126 46127 46128 46129 46130 46131 46132 46133 46134 46135 46136 46137 46138 46139 46140 46141 46142 46143 46144 46145 46146 46147 46148 46149 46150 46151 46152 46153 46154 46155 46156 46157 46158 46159 46160 46161 46162 46163 46164 46165 46166 46167 46168 46169 46170 46171 46172 46173 46174 46175 46176 46177 46178 46179 46180 46181 46182 46183 46184 46185 46186 46187 46188 46189 46190 46191 46192 46193 46194 46195 46196 46197 46198 46199 46200 46201 46202 46203 46204 46205 46206 46207 46208 46209 46210 46211 46212 46213 46214 46215 46216 46217 46218 46219 46220 46221 46222 46223 46224 46225 46226 46227 46228 46229 46230 46231 46232 46233 46234 46235 46236 46237 46238 46239 46240 46241 46242 46243 46244 46245 46246 46247 46248 46249 46250 46251 46252 46253 46254 46255 46256 46257 46258 46259 46260 46261 46262 46263 46264 46265 46266 46267 46268 46269 46270 46271 46272 46273 46274 46275 46276 46277 46278 46279 46280 46281 46282 46283 46284 46285 46286 46287 46288 46289 46290 46291 46292 46293 46294 46295 46296 46297 46298 46299 46300 46301 46302 46303 46304 46305 46306 46307 46308 46309 46310 46311 46312 46313 46314 46315 46316 46317 46318 46319 46320 46321 46322 46323 46324 46325 46326 46327 46328 46329 46330 46331 46332 46333 46334 46335 46336 46337 46338 46339 46340 46341 46342 46343 46344 46345 46346 46347 46348 46349 46350 46351 46352 46353 46354 46355 46356 46357 46358 46359 46360 46361 46362 46363 46364 46365 46366 46367 46368 46369 46370 46371 46372 46373 46374 46375 46376 46377 46378 46379 46380 46381 46382 46383 46384 46385 46386 46387 46388 46389 46390 46391 46392 46393 46394 46395 46396 46397 46398 46399 46400 46401 46402 46403 46404 46405 46406 46407 46408 46409 46410 46411 46412 46413 46414 46415 46416 46417 46418 46419 46420 46421 46422 46423 46424 46425 46426 46427 46428 46429 46430 46431 46432 46433 46434 46435 46436 46437 46438 46439 46440 46441 46442 46443 46444 46445 46446 46447 46448 46449 46450 46451 46452 46453 46454 46455 46456 46457 46458 46459 46460 46461 46462 46463 46464 46465 46466 46467 46468 46469 46470 46471 46472 46473 46474 46475 46476 46477 46478 46479 46480 46481 46482 46483 46484 46485 46486 46487 46488 46489 46490 46491 46492 46493 46494 46495 46496 46497 46498 46499 46500 46501 46502 46503 46504 46505 46506 46507 46508 46509 46510 46511 46512 46513 46514 46515 46516 46517 46518 46519 46520 46521 46522 46523 46524 46525 46526 46527 46528 46529 46530 46531 46532 46533 46534 46535 46536 46537 46538 46539 46540 46541 46542 46543 46544 46545 46546 46547 46548 46549 46550 46551 46552 46553 46554 46555 46556 46557 46558 46559 46560 46561 46562 46563 46564 46565 46566 46567 46568 46569 46570 46571 46572 46573 46574 46575 46576 46577 46578 46579 46580 46581 46582 46583 46584 46585 46586 46587 46588 46589 46590 46591 46592 46593 46594 46595 46596 46597 46598 46599 46600 46601 46602 46603 46604 46605 46606 46607 46608 46609 46610 46611 46612 46613 46614 46615 46616 46617 46618 46619 46620 46621 46622 46623 46624 46625 46626 46627 46628 46629 46630 46631 46632 46633 46634 46635 46636 46637 46638 46639 46640 46641 46642 46643 46644 46645 46646 46647 46648 46649 46650 46651 46652 46653 46654 46655 46656 46657 46658 46659 46660 46661 46662 46663 46664 46665 46666 46667 46668 46669 46670 46671 46672 46673 46674 46675 46676 46677 46678 46679 46680 46681 46682 46683 46684 46685 46686 46687 46688 46689 46690 46691 46692 46693 46694 46695 46696 46697 46698 46699 46700 46701 46702 46703 46704 46705 46706 46707 46708 46709 46710 46711 46712 46713 46714 46715 46716 46717 46718 46719 46720 46721 46722 46723 46724 46725 46726 46727 46728 46729 46730 46731 46732 46733 46734 46735 46736 46737 46738 46739 46740 46741 46742 46743 46744 46745 46746 46747 46748 46749 46750 46751 46752 46753 46754 46755 46756 46757 46758 46759 46760 46761 46762 46763 46764 46765 46766 46767 46768 46769 46770 46771 46772 46773 46774 46775 46776 46777 46778 46779 46780 46781 46782 46783 46784 46785 46786 46787 46788 46789 46790 46791 46792 46793 46794 46795 46796 46797 46798 46799 46800 46801 46802 46803 46804 46805 46806 46807 46808 46809 46810 46811 46812 46813 46814 46815 46816 46817 46818 46819 46820 46821 46822 46823 46824 46825 46826 46827 46828 46829 46830 46831 46832 46833 46834 46835 46836 46837 46838 46839 46840 46841 46842 46843 46844 46845 46846 46847 46848 46849 46850 46851 46852 46853 46854 46855 46856 46857 46858 46859 46860 46861 46862 46863 46864 46865 46866 46867 46868 46869 46870 46871 46872 46873 46874 46875 46876 46877 46878 46879 46880 46881 46882 46883 46884 46885 46886 46887 46888 46889 46890 46891 46892 46893 46894 46895 46896 46897 46898 46899 46900 46901 46902 46903 46904 46905 46906 46907 46908 46909 46910 46911 46912 46913 46914 46915 46916 46917 46918 46919 46920 46921 46922 46923 46924 46925 46926 46927 46928 46929 46930 46931 46932 46933 46934 46935 46936 46937 46938 46939 46940 46941 46942 46943 46944 46945 46946 46947 46948 46949 46950 46951 46952 46953 46954 46955 46956 46957 46958 46959 46960 46961 46962 46963 46964 46965 46966 46967 46968 46969 46970 46971 46972 46973 46974 46975 46976 46977 46978 46979 46980 46981 46982 46983 46984 46985 46986 46987 46988 46989 46990 46991 46992 46993 46994 46995 46996 46997 46998 46999 47000 47001 47002 47003 47004 47005 47006 47007 47008 47009 47010 47011 47012 47013 47014 47015 47016 47017 47018 47019 47020 47021 47022 47023 47024 47025 47026 47027 47028 47029 47030 47031 47032 47033 47034 47035 47036 47037 47038 47039 47040 47041 47042 47043 47044 47045 47046 47047 47048 47049 47050 47051 47052 47053 47054 47055 47056 47057 47058 47059 47060 47061 47062 47063 47064 47065 47066 47067 47068 47069 47070 47071 47072 47073 47074 47075 47076 47077 47078 47079 47080 47081 47082 47083 47084 47085 47086 47087 47088 47089 47090 47091 47092 47093 47094 47095 47096 47097 47098 47099 47100 47101 47102 47103 47104 47105 47106 47107 47108 47109 47110 47111 47112 47113 47114 47115 47116 47117 47118 47119 47120 47121 47122 47123 47124 47125 47126 47127 47128 47129 47130 47131 47132 47133 47134 47135 47136 47137 47138 47139 47140 47141 47142 47143 47144 47145 47146 47147 47148 47149 47150 47151 47152 47153 47154 47155 47156 47157 47158 47159 47160 47161 47162 47163 47164 47165 47166 47167 47168 47169 47170 47171 47172 47173 47174 47175 47176 47177 47178 47179 47180 47181 47182 47183 47184 47185 47186 47187 47188 47189 47190 47191 47192 47193 47194 47195 47196 47197 47198 47199 47200 47201 47202 47203 47204 47205 47206 47207 47208 47209 47210 47211 47212 47213 47214 47215 47216 47217 47218 47219 47220 47221 47222 47223 47224 47225 47226 47227 47228 47229 47230 47231 47232 47233 47234 47235 47236 47237 47238 47239 47240 47241 47242 47243 47244 47245 47246 47247 47248 47249 47250 47251 47252 47253 47254 47255 47256 47257 47258 47259 47260 47261 47262 47263 47264 47265 47266 47267 47268 47269 47270 47271 47272 47273 47274 47275 47276 47277 47278 47279 47280 47281 47282 47283 47284 47285 47286 47287 47288 47289 47290 47291 47292 47293 47294 47295 47296 47297 47298 47299 47300 47301 47302 47303 47304 47305 47306 47307 47308 47309 47310 47311 47312 47313 47314 47315 47316 47317 47318 47319 47320 47321 47322 47323 47324 47325 47326 47327 47328 47329 47330 47331 47332 47333 47334 47335 47336 47337 47338 47339 47340 47341 47342 47343 47344 47345 47346 47347 47348 47349 47350 47351 47352 47353 47354 47355 47356 47357 47358 47359 47360 47361 47362 47363 47364 47365 47366 47367 47368 47369 47370 47371 47372 47373 47374 47375 47376 47377 47378 47379 47380 47381 47382 47383 47384 47385 47386 47387 47388 47389 47390 47391 47392 47393 47394 47395 47396 47397 47398 47399 47400 47401 47402 47403 47404 47405 47406 47407 47408 47409 47410 47411 47412 47413 47414 47415 47416 47417 47418 47419 47420 47421 47422 47423 47424 47425 47426 47427 47428 47429 47430 47431 47432 47433 47434 47435 47436 47437 47438 47439 47440 47441 47442 47443 47444 47445 47446 47447 47448 47449 47450 47451 47452 47453 47454 47455 47456 47457 47458 47459 47460 47461 47462 47463 47464 47465 47466 47467 47468 47469 47470 47471 47472 47473 47474 47475 47476 47477 47478 47479 47480 47481 47482 47483 47484 47485 47486 47487 47488 47489 47490 47491 47492 47493 47494 47495 47496 47497 47498 47499 47500 47501 47502 47503 47504 47505 47506 47507 47508 47509 47510 47511 47512 47513 47514 47515 47516 47517 47518 47519 47520 47521 47522 47523 47524 47525 47526 47527 47528 47529 47530 47531 47532 47533 47534 47535 47536 47537 47538 47539 47540 47541 47542 47543 47544 47545 47546 47547 47548 47549 47550 47551 47552 47553 47554 47555 47556 47557 47558 47559 47560 47561 47562 47563 47564 47565 47566 47567 47568 47569 47570 47571 47572 47573 47574 47575 47576 47577 47578 47579 47580 47581 47582 47583 47584 47585 47586 47587 47588 47589 47590 47591 47592 47593 47594 47595 47596 47597 47598 47599 47600 47601 47602 47603 47604 47605 47606 47607 47608 47609 47610 47611 47612 47613 47614 47615 47616 47617 47618 47619 47620 47621 47622 47623 47624 47625 47626 47627 47628 47629 47630 47631 47632 47633 47634 47635 47636 47637 47638 47639 47640 47641 47642 47643 47644 47645 47646 47647 47648 47649 47650 47651 47652 47653 47654 47655 47656 47657 47658 47659 47660 47661 47662 47663 47664 47665 47666 47667 47668 47669 47670 47671 47672 47673 47674 47675 47676 47677 47678 47679 47680 47681 47682 47683 47684 47685 47686 47687 47688 47689 47690 47691 47692 47693 47694 47695 47696 47697 47698 47699 47700 47701 47702 47703 47704 47705 47706 47707 47708 47709 47710 47711 47712 47713 47714 47715 47716 47717 47718 47719 47720 47721 47722 47723 47724 47725 47726 47727 47728 47729 47730 47731 47732 47733 47734 47735 47736 47737 47738 47739 47740 47741 47742 47743 47744 47745 47746 47747 47748 47749 47750 47751 47752 47753 47754 47755 47756 47757 47758 47759 47760 47761 47762 47763 47764 47765 47766 47767 47768 47769 47770 47771 47772 47773 47774 47775 47776 47777 47778 47779 47780 47781 47782 47783 47784 47785 47786 47787 47788 47789 47790 47791 47792 47793 47794 47795 47796 47797 47798 47799 47800 47801 47802 47803 47804 47805 47806 47807 47808 47809 47810 47811 47812 47813 47814 47815 47816 47817 47818 47819 47820 47821 47822 47823 47824 47825 47826 47827 47828 47829 47830 47831 47832 47833 47834 47835 47836 47837 47838 47839 47840 47841 47842 47843 47844 47845 47846 47847 47848 47849 47850 47851 47852 47853 47854 47855 47856 47857 47858 47859 47860 47861 47862 47863 47864 47865 47866 47867 47868 47869 47870 47871 47872 47873 47874 47875 47876 47877 47878 47879 47880 47881 47882 47883 47884 47885 47886 47887 47888 47889 47890 47891 47892 47893 47894 47895 47896 47897 47898 47899 47900 47901 47902 47903 47904 47905 47906 47907 47908 47909 47910 47911 47912 47913 47914 47915 47916 47917 47918 47919 47920 47921 47922 47923 47924 47925 47926 47927 47928 47929 47930 47931 47932 47933 47934 47935 47936 47937 47938 47939 47940 47941 47942 47943 47944 47945 47946 47947 47948 47949 47950 47951 47952 47953 47954 47955 47956 47957 47958 47959 47960 47961 47962 47963 47964 47965 47966 47967 47968 47969 47970 47971 47972 47973 47974 47975 47976 47977 47978 47979 47980 47981 47982 47983 47984 47985 47986 47987 47988 47989 47990 47991 47992 47993 47994 47995 47996 47997 47998 47999 48000 48001 48002 48003 48004 48005 48006 48007 48008 48009 48010 48011 48012 48013 48014 48015 48016 48017 48018 48019 48020 48021 48022 48023 48024 48025 48026 48027 48028 48029 48030 48031 48032 48033 48034 48035 48036 48037 48038 48039 48040 48041 48042 48043 48044 48045 48046 48047 48048 48049 48050 48051 48052 48053 48054 48055 48056 48057 48058 48059 48060 48061 48062 48063 48064 48065 48066 48067 48068 48069 48070 48071 48072 48073 48074 48075 48076 48077 48078 48079 48080 48081 48082 48083 48084 48085 48086 48087 48088 48089 48090 48091 48092 48093 48094 48095 48096 48097 48098 48099 48100 48101 48102 48103 48104 48105 48106 48107 48108 48109 48110 48111 48112 48113 48114 48115 48116 48117 48118 48119 48120 48121 48122 48123 48124 48125 48126 48127 48128 48129 48130 48131 48132 48133 48134 48135 48136 48137 48138 48139 48140 48141 48142 48143 48144 48145 48146 48147 48148 48149 48150 48151 48152 48153 48154 48155 48156 48157 48158 48159 48160 48161 48162 48163 48164 48165 48166 48167 48168 48169 48170 48171 48172 48173 48174 48175 48176 48177 48178 48179 48180 48181 48182 48183 48184 48185 48186 48187 48188 48189 48190 48191 48192 48193 48194 48195 48196 48197 48198 48199 48200 48201 48202 48203 48204 48205 48206 48207 48208 48209
|
2022-02-26 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* src/SDCCsymt.c,
support/regression/tests/bug-3332.c:
Fix bugs #3332 and #3333.
2022-02-24 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* doc/sdccman.lyx:
Improve calling convention documentation.
2022-02-24 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* doc/sdccman.lyx:
Fix a minor documentation issue.
2022-02-22 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/SDCCmain.c,
sdcc/src/mos6502/main.c,
sdcc/device/lib/mos6502/crt0.s,
sdcc/device/lib/mos6502/_strcpy.s,
sdcc/device/lib/mos6502/_strcmp.s,
sdcc/device/lib/mos6502/_setjmp.c,
sdcc/device/lib/mos6502/_mullong.s,
sdcc/device/lib/mos6502/_mulint.s,
sdcc/device/lib/mos6502/_divulong.s,
sdcc/device/lib/mos6502/_divuint.s,
sdcc/device/lib/mos6502/__memcpy.s,
sdcc/device/lib/mos6502-stack-auto/crt0.s,
sdcc/device/lib/mos6502-stack-auto/_setjmp.c:
Rename linker segments.
2022-02-21 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* src/z80/gen.c:
Fix bug #3327.
2022-02-19 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* src/SDCCast.c:
Fix an issue in the fix for bug #3320.
2022-02-15 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* src/z80/gen.c:
Fix bug #3322.
* support/regression/tests/bug-3320.c:
Test for bug #3320.
2022-02-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (gatherImplicitVariables): fix bug #3320
2022-02-15 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* support/regression/tests/bug-3322.c:
Test for bug #3322.
2022-02-14 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* .version,
doc/INSTALL.txt,
sdcc.spec:
Preparations for 4.2.0.
2022-02-14 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* support/regression/tests/bug-3289.c:
Test for recently-fixed bug #3289.
2022-02-13 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Avoid generating illegal 6502 instructions in a few corner cases.
2022-02-13 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c,
sdcc/src/SDCCglue.c:
Removed hack that assigned function pointers entry address-1.
* sdcc/src/mos6502/main.c:
Changed default output to ihx.
2022-02-12 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* support/valdiag/Makefile.in:
Skip not-built-by-default 65c02 port in valdiag testing.
2022-02-10 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* device/lib/pdk14/__setjmp.s:
Fix typo (bug #3318).
2022-02-10 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c,
sdcc/src/mos6502/ralloc.c:
Fix all warnings.
2022-02-10 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* device/lib/pdk*/__gptrget.s,
device/lib/pdk*/__gptrget2.s,
device/lib/pdk*/__setjmp.s:
Get rid of some warnings by changing old-style pdk io assembler to new style.
* tests/bug-2912.c,
tests/bug-3102.c:
Disable warning about intentionally unused parameter in test.
* sdccconf_in.h:
Regenerate file via autoheader, fixes bug #3316.
2022-02-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.c (leaveBlockScope): fix bug #3289
2022-02-09 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
General code cleanup.
* sdcc/src/SDCCpeeph.c:
Fix bug 3291.
2022-02-09 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Additional improvements in genPointerGet/genPointerSet.
2022-02-08 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Fix corner cases in genPointerSet.
* sdcc/src/mos6502/gen.c:
Add peephole rules to remove redundnat php/plp.
2022-02-02 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* sdcc/device/include/mcs51/p89lpc9321.h,
sdcc/device/include/mcs51/p89lpc9331.h,
sdcc/device/include/mcs51/p89lpc9351.h:
Switch from Windows 1252 to UTF-8.
* sdcc/sdas/as6500/r65pst.c,
sdcc/support/regression/tests/bitfields-dead-loop.c,
sdcc/support/regression/tests/bitfields-bits1.c,
sdcc/support/regression/tests/bitfields-checks.c,
sdcc/support/sdbinutils/binutils/bfdtest2.c,
sdcc/device/include/mcs51/w7100.h,
sdcc/device/include/mcs51/at89c51id2.h:
Switch from mixed CRLF/LF to LF.
2022-02-08 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* configure,
configure.ac:
Fix alignment of 6502 and 65c02 port in configure output.
2022-02-08 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Load literal constant instead of temp reg when possible.
2022-02-07 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Workaround bug-3129 failures when optimizing for size.
2022-02-07 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Additional improvements to genPointerGet and genPointerSet.
2022-02-06 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Improve genPointerGet.
2022-02-06 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/hc08/gen.c:
Removed useless offset increment.
* sdcc/src/mos6502/gen.c:
Track temp reg literal values across store/load.
2022-02-06 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Fixed a few corner cases in genPointerGet/genPointerSet.
2022-02-06 Benedikt Freisen <b.freisen AT gmx.net>
* support/scripts/sdcc.nsi:
Add missing Delete and RMDir entries.
2022-02-05 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Changed regalloc_dry_run_cost_cycles to float.
* sdcc/src/mos6502/ralloc.c,
sdcc/src/mos6502/ralloc.h,
sdcc/src/mos6502/ralloc2.cc:
Initial merge of stm8 and pdk improvements to the register allocator.
2022-02-04 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* support/scripts/sdcc.nsi:
(Un)install sdas6500 assembler, fix left-over mcs51 huge lib after uninstall (bug #2972),
installation options for r2ka and mos6502 libraries.
2022-02-03 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* doc/README.txt:
Update port status in README.
2022-02-02 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* support/makebin/makebin.c:
Fix segmentation fault when using -yp and patching of wrong address.
2022-02-03 Benedikt Freisen <b.freisen AT gmx.net>
* doc/sdccman.lyx:
Update documentation.
2022-02-03 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* device/lib/printf_large.c,
src/SDCCBBlock.h,
src/SDCCast.c,
src/SDCCdwarf2.c,
src/SDCCicode.c,
src/SDCClabel.c,
src/SDCCloop.c,
src/SDCCmacro.c,
src/SDCCset.c,
src/SDCCutil.c,
src/ds390/ralloc.c,
src/z80/ralloc.c,
support/regression/generate-cases.py:
Fix typos in comments.
* src/z80/gen.c,
src/pdk/gen.c,
src/stm8/gen.c,
src/stm8/main.c,
src/SDCCval.h,
src/SDCCval.c:
Use CSD representation for multiplication by literal in a.
2022-02-02 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c,
sdcc/src/mos6502/gen.h,
sdcc/src/mos6502/main.c,
sdcc/src/mos6502/ralloc.c,
sdcc/src/mos6502/ralloc.h,
sdcc/src/mos6502/ralloc2.cc:
Removed dead code and refactored load/stroreRegTemp.
2022-02-02 Benedikt Freisen <b.freisen AT gmx.net>
* support/scripts/sdcc.ico:
Add a 48x48 pixel icon.
2022-02-02 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* sdas/asxxsrc/asxxxx.h:
Raise NCPS to 256 like in upstream ASXXXX. (workaround for bug-3277)
2022-02-02 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* support/makebin/makebin.c:
Improve SMS/GG defaults and allow to define an offset that's skipped for the rom.
2022-02-02 Benedikt Freisen <b.freisen AT gmx.net>
* src/SDCCdwarf2.c,
src/SDCCutil.c,
src/SDCCutil.h:
Add string escaping to dwWriteString.
2022-02-02 Benedikt Freisen <b.freisen AT gmx.net>
* sdas/asxxsrc/asmain.c:
Fix bug #2970 via trivial patch by David Grayson.
2022-02-02 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/device/lib/mos6502/Makefile.in:
Enable optimization for the library.
* sdcc/src/mos6502/gen.c:
Commented out code that triggers bug-477927 regression.
* sdcc/src/mos6502/peep.def:
Add rule to optimize function entry.
2022-02-02 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Implement cost based on both code size and cycles.
2022-02-01 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Fix several bugs in the code generator.
2022-02-01 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/device/lib/mos6502/__memcpy.c,
sdcc/device/lib/mos6502/_mulint.s,
sdcc/device/lib/mos6502/_mullong.s,
sdcc/device/lib/mos6502/_divuint.s,
sdcc/device/lib/mos6502/_divulong.s,
sdcc/device/lib/mos6502/_strcmp.s,
sdcc/device/lib/mos6502/_strcpy.s:
Implement additional library functions in assembly.
2022-02-01 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* support/regression/Makefile.in:
Do not run mos6502 and mcs51-xstack-auto tests for all target, since they have extra dependencies.
* support/regression/ports/*/spec.mk:
Increase some timeouts in hope of making the bug-3129 regression test pass on that slow PPC Mac in the compile farm.
* support/regression/tests/gcc-torture-execute-920711-1.c,
support/regression/tests/gcc-torture-execute-941021-1.c:
Disable two tests for hosts with older gcc, where they apparently fail.
2022-01-31 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/device/lib/mos6502/_mulint.c,
sdcc/device/lib/mos6502/_mulint.s,
sdcc/device/lib/mos6502/_mullong.s,
sdcc/device/lib/mos6502/_ret.c:
Implement mulint and mullong in assembly.
2022-01-30 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Improve memory shift operations.
2022-01-30 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Improve register shift operations.
2022-01-30 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Expand use of inc/dec for literal add/sub operations.
2022-01-30 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Enable inc/dec on register targets.
2022-01-30 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
storeRegIndexed improvements.
2022-01-30 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Special case X->Y and Y->X whith literal values.
2022-01-29 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c,
sdcc/src/mos6502/ralloc2.cc:
General code cleanup.
2022-01-29 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/hc08/gen.c,
sdcc/src/hc08/ralloc2.cc:
Fix a overflow bug in dry run cost calculation.
2022-01-29 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c,
sdcc/src/mos6502/ralloc.c,
sdcc/src/mos6502/ralloc2.cc:
Fix a overflow bug in dry run cost calculation.
2022-01-28 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Add new peephole rules.
2022-01-28 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Improve register transfer operations.
2022-01-26 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Improved genLeftShift and genRightShift.
2022-01-25 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c,
sdcc/src/mos6502/ralloc.c,
sdcc/src/mos6502/ralloc.h,
sdcc/src/mos6502/ralloc2.c:
Make m6502_dirtyReg take only one parameter.
2022-01-25 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Refactor verbose assembler debug code.
2022-01-25 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* doc/z80-arguments.svg:
Fix documentation on z80 calling convention for 32-bit argument followed by 16-bit argument.
2022-01-23 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Add swapAX function.
2022-01-23 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Add cycle based cost calculation.
2022-01-23 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Implement a few missing codegen paths.
2022-01-23 Benedikt Freisen <b.freisen AT gmx.net>
* device/include/mcs51/P89LPC901.h,
device/include/mcs51/P89LPC922.h,
device/include/mcs51/P89LPC925.h,
device/include/mcs51/P89LPC932.h,
device/include/mcs51/P89c51RD2.h,
device/include/mcs51/cc1110.h,
device/include/mcs51/cc2430.h,
device/include/mcs51/cc2530.h,
device/include/mcs51/uPSD33xx.h:
Fix bug #3300, namely encoding issues in various headers.
2022-01-23 Benedikt Freisen <b.freisen AT gmx.net>
* src/SDCCmain.c:
Implement CLI option --include.
2022-01-23 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c,
sdcc/src/mos6502/ralloc.c,
sdcc/src/mos6502/ralloc.h:
Update opcode table and unified opcode size code.
2022-01-22 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Use code gen functions instead of raw assembly when possible.
2022-01-21 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/peep.def:
Improved 6502 peephole rules.
2022-01-20 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Add instruction cost as asm comments.
2022-01-20 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/main.c:
Correctly compute instruction distance when asm lines contain comments.
2022-01-20 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/main.c:
Fix m6502_instructionSize.
2022-01-20 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/main.c:
Cleanup m6502opcodedata.
2022-01-20 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/SDCCpeeph.c:
Allow peephole rules to match asm lines with comments.
2022-01-18 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/peep.def:
Initial MOS6502 peephole rules.
2022-01-18 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Fix out of range branch in genCmpEQorNE.
2022-01-18 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Fix AX->XA bug in loadRegFromAop.
2022-01-18 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Improve pusReg/PullReg.
2022-01-18 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Improve dry_run_cost accuracy.
2022-01-17 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Refactor dry_run_cost computation.
2022-01-17 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Improve debug messages.
2022-01-17 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Make opcode output more consistent.
2022-01-16 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Correct dry_run_cost for several code paths.
2022-01-16 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Disable verbose debugging in the generated assembly.
2022-01-15 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Imporve preparePointer.
2022-01-15 Benedikt Freisen <b.freisen AT gmx.net>
* device/lib/_fs2ulong.c,
device/lib/_ulong2fs.c,
support/regression/tests/bug-3276.c:
Fix bug #3276.
2022-01-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/bug-3129.c: partial fix for bug #3309
2022-01-15 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/support/regression/tests/reentrant.c:
Disable failing test for DS390 port.
* sdcc/support/regression/tests/bug-3129.c:
Disable failing test for MOS6502 port.
2022-01-14 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Imporve genAddrOf.
2022-01-14 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Fix gcc-torture-execute-981001-1 regression failure.
2022-01-14 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c,
sdcc/device/lib/mos6502/crt0.s:
Remove use of BASEPTR.
2022-01-14 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Let storeConstToAop use X and Y as well.
2022-01-14 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/ralloc.h,
sdcc/src/mos6502/gen.c:
Refactor genAssignLit and remove old defines.
2022-01-13 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/support/regression/tests/reentrant.c:
Reduce recursion depth to fit into mcs51 stack.
2022-01-12 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/main.c:
Fix library names.
2022-01-12 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/support/regression/tests/reentrant.c:
Add reentrant function regression test.
2022-01-11 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Fix gcc-torture-execute-990128-1 regression failure.
2022-01-11 Daniel Drotos <drdani@mazsola.iit.uni-miskolc.hu>
* sdcc/support/regression/ports/mcs51-common/spec.mk:
Generate debug info when compile regtest of mcs51 ports.
2022-01-11 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Fix bug #3304.
2022-01-11 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Fix bug1115321 regression failure.
2022-01-11 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Fix gcc-torture-execute-pr34456 regression failure.
2022-01-09 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/ralloc.c,
sdcc/src/hc08/ralloc.c:
Remove more dead code.
2022-01-09 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/support/valdiag/tests/bug-2798.c:
Exclude test for mos6502 port (no support for __sfr).
2022-01-09 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/gen.c:
Fix several compiler warnings.
2022-01-09 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/ralloc.c:
Remove oldralloc dead code.
2022-01-09 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* device/lib/pic16/Makefile.in,
device/lib/pic16/aclocal.m4,
device/lib/pic16/configure,
device/lib/pic16/configure.ac,
device/lib/pic16/debug/Makefile.in,
device/lib/pic16/libc/Makefile.in,
device/lib/pic16/libio/Makefile.in,
device/lib/pic16/libm/Makefile.in,
device/lib/pic16/libsdcc/Makefile.in,
device/lib/pic16/missing,
device/lib/pic16/startup/Makefile.in:
Update pic16 library build infrastructure (fixes a configuration time warning).
* support/regression/ports/mos6502/spec.mk:
Fix makebin path.
2022-01-08 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/SDCCsymt.c,
sdcc/src/SDCCpeeph.c,
sdcc/src/SDCCmain.c,
sdcc/src/SDCCicode.c,
sdcc/src/SDCCglue.c,
sdcc/src/port.h,
sdcc/src/clean.mk,
sdcc/Makefile.in,
sdcc/device/lib/Makefile.in,
sdcc/device/include/Makefile.in,
sdcc/configure.ac,
sdcc/configure:
Enable the mos6502 port.
2022-01-08 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/support/regression/tests/z88dk_callee.c,
sdcc/support/regression/tests/z88dk.c,
sdcc/support/regression/tests/gcc-torture-execute-strlen-4.c,
sdcc/support/regression/tests/gcc-torture-execute-func-ptr-1.c,
sdcc/support/regression/tests/gcc-torture-execute-9911112-1.c,
sdcc/support/regression/tests/gcc-torture-execute-930702-1.c,
sdcc/support/regression/tests/gcc-torture-execute-921208-1.c,
sdcc/support/regression/tests/gcc-torture-execute-20000412-2.c,
sdcc/support/regression/tests/critical.c,
sdcc/support/regression/tests/bug3379723.c,
sdcc/support/regression/tests/bug3167.c,
sdcc/support/regression/tests/bug2855.c,
sdcc/support/regression/tests/bug2767.c,
sdcc/support/regression/tests/bug2663.c,
sdcc/support/regression/tests/bug2305.c:
Disable tests not relevant for the mos6502 port.
2022-01-08 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/src/mos6502/ralloc2.cc,
sdcc/src/mos6502/ralloc.h,
sdcc/src/mos6502/ralloc.c,
sdcc/src/mos6502/peeph.def,
sdcc/src/mos6502/main.h,
sdcc/src/mos6502/main.c,
sdcc/src/mos6502/m6502.h,
sdcc/src/mos6502/gen.h,
sdcc/src/mos6502/gen.c,
sdcc/src/mos6502/Makefile.in:
Add mos6502 port code generation.
2022-01-08 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/support/valdiag/valdiag.py,
sdcc/support/valdiag/Makefile.in,
sdcc/support/regression/ports/mos6502/support.c,
sdcc/support/regression/ports/mos6502/spec.mk,
sdcc/support/regression/fwk/include/testfwk.h,
sdcc/support/regression/Makefile.in:
Add regression to mos6502 port.
2022-01-08 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/device/lib/mos65c02/Makefile.in,
sdcc/device/lib/mos65c02/atomic_flag_test_and_set.c,
sdcc/device/lib/mos65c02/_setjmp.c,
sdcc/device/lib/mos65c02/_ret.c,
sdcc/device/lib/mos65c02/_mulint.c,
sdcc/device/lib/mos6502/Makefile.in,
sdcc/device/lib/mos6502/crt0.s,
sdcc/device/lib/mos6502/atomic_flag_test_and_set.c,
sdcc/device/lib/mos6502/_setjmp.c,
sdcc/device/lib/mos6502/_rrulonglong.c,
sdcc/device/lib/mos6502/_rrslonglong.c,
sdcc/device/lib/mos6502/_ret.c,
sdcc/device/lib/mos6502/_mulint.c,
sdcc/device/lib/malloc.c,
sdcc/device/lib/atomic_flag_clear.c,
sdcc/device/lib/clean.mk:
Add mos6502 and mos65c02 library code.
2022-01-06 Gabriele Gorla <gorlik@yahoo.com>
* sdcc/device/include/string.h,
sdcc/device/include/stdlib.h,
sdcc/device/include/stdatomic.h,
sdcc/device/include/stdarg.h,
sdcc/device/include/setjmp.h:
Add mos6502 to standard includes.
2022-01-06 Gabriele Gorla <gorlik@yahoo.com>
* support/regression/ports/uc6502/spec.mk:
Rename m6502 port to mos6502.
2022-01-05 Gabriele Gorla <gorlik@yahoo.com>
* sdas/as6500/clean.mk,
sdas/as6500/Makefile.in,
sdas/as6500/r6500.h,
sdas/as6500/r65adr.c,
sdas/as6500/r65mch.c,
sdas/as6500/r65pst.c:
Add as6500 in preparation of mos6502 port merge.
2022-01-05 Gabriele Gorla <gorlik@yahoo.com>
* src/hc08/gen.c,
src/hc08/main.c,
src/hc08/ralloc.c:
Replace TRUE/FALSE with true/false.
2022-01-05 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* src/z80/gen.c:
Fix bug #3295.
* sdas/asrab/rab.h:
Fix bug #3261.
2022-01-02 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* doc/sdccman.lyx,
doc/sm83-arguments.svg,
doc/stm8-arguments.svg,
doc/z80-arguments.svg:
Improve calling convention documentation.
2021-12-28 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* doc/sdccman.lyx:
Document z80 banked calls (fix bug #3299).
2021-12-27 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* device/lib/*/__sdcc_bcall.s,
support/regression/tests/banked.c:
Fix bug # 3298.
2021-12-20 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* sdccconf_in.h:
Fix bug #3297.
2021-12-10 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* .version,
Makefile.common.in,
Makefile.in,
configure,
configure.ac,
device/include/asm/sm83,
device/include/math.h,
device/include/sdcc-lib.h,
device/include/setjmp.h,
device/include/stdarg.h,
device/include/stdatomic.h,
device/lib/Makefile.in,
device/lib/_memset.c,
device/lib/_mullong.c,
device/lib/atomic_flag_clear.c,
device/lib/sm83,
doc/sdccman.lyx,
sdcc.spec,
src/SDCCast.c,
src/SDCCglobl.h,
src/SDCCglue.c,
src/SDCCmain.c,
src/SDCCopt.c,
src/SDCCpeeph.c,
src/port.h,
src/z80/gen.c,
src/z80/main.c,
src/z80/peep.c,
src/z80/ralloc.c,
src/z80/ralloc2.cc,
src/z80/z80.h,
support/regression/fwk/include/testfwk.h,
support/regression/ports/ucgbz80/spec.mk,
support/regression/tests/banked.c,
support/regression/tests/bug-2305.c,
support/regression/tests/bug-3296.c,
support/regression/tests/bug2729218.c,
support/regression/tests/bug3379723.c,
support/regression/tests/gcc-torture-execute-20031012-1.c,
support/regression/tests/malloc.c,
support/regression/tests/mm-pnvi-ae-udi-pointer_from_integer_2g.c,
support/regression/tests/sdcccall.c,
support/scripts/sdcc.nsi,
support/valdiag/Makefile.in,
support/valdiag/tests/bug-2798.c,
support/valdiag/valdiag.py:
Rename gbz80 port to sm83.
2021-11-22 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* src/stm8/gen.c,
src/stm8/main.c:
Support GETBYTE and GETWORD.
* src/SDCCsalloc.hpp:
Fix an issue in shifts of partially spilt variables.
2021-11-20 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* src/z80/gen.c:
Fix bug-3129 z80 on FreeBSD 13 regression.
2021-11-19 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* src/z80/gen.c:
Use SM83 ldh in code generation.
2021-11-18 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* src/stm8/gen.c:
Fix bug #3296.
2021-11-17 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* src/z80/gen.c:
Infrastructure for optimization for code speed.
* support/regression/ports/ez80-z80/spec.mk,
support/regression/ports/ucr2k/spec.mk,
support/regression/ports/ucr2ka/spec.mk:
Do not use no-longer-existing --profile in regtests.
2021-11-16 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* src/SDCCglobl.h,
src/SDCCmain.c,
src/z80/gen.c,
src/z80/mappings.i,
doc/sdccman.lyx,
.version:
Remove profiling support.
2021-11-16 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* src/z80/gen.c:
Rematerialization of stack locations.
2021-11-15 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* src/z80/gen.c:
Preparations for the rematerialization of stack locations.
2021-11-10 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/atomic_flag_clear.c:
Fix handling of atomic_flag with clear state 1.
2021-11-10 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc.c,
src/stm8/gen.c:
Improve rematerialization of stack addresses.
2021-11-09 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/tinyaes.c:
AES regression test.
2021-11-09 Philipp Klaus Krause <pkk AT spth.de>
* device/include/stdatomic.h,
device/lib/tlcs90/atomic_flag_test_and_set.s,
device/lib/atomic_flag_clear.c:
Improve atomic_flag using TLCS-90 test-and-set instruction.
* sdas/astlcs90/t90.h,
sdas/astlcs90/t90mch.c,
sdas/astlcs90/t90pst.c:
Support tset.
2021-11-04 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* src/stm8/gen.c:
Improve use of ldw for 8-bit assignment.
2021-11-04 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* support/makebin/makebin.c:
Fix buffer overflow, patch #400 by bbbbbr.
2021-10-29 Philipp Klaus Krause <pkk AT spth.de>
* support/makebin/makebin.c:
Option for logo omission, patch #395 by bbbbbr.
2021-10-20 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix issues in cost handling for large functions.
2021-10-18 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Peephole rule refactoring inspired by fix to a bug found by roybaer.
2021-10-14 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/stm8/_divulong.s,
device/lib/stm8/_modulong.s,
device/lib/stm8/Makefile.in,
src/stm8/peeph.def:
Revert some hand-written asm back to generic C, since SDCC now generates better code.
2021-10-13 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/btowc.c:
Fix btowc handling of int values that are valid characters when cast to unsigned char.
2021-10-13 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve wide left shift by literal.
2021-10-11 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Minor code cleanup.
* device/lib/_strchr.c:
Fix strchr handling of c outside of char range.
2021-09-28 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/z80/__mulsint2slong.s:
Improve int x int -> long multiplication for z80.
2021-09-27 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/z80/__mulsint2slong.s:
Improve int x int -> long multiplication for z80.
2021-09-26 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/z80/__mulsint2slong.s,
src/z80/main.c,
device/lib/z80/Makefile.in:
int x int -> long multiplication support routine for z80.
2021-09-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/main.c,
src/z80/gen.c,
doc/sdccman.lyx,
device/lib/z80,
device/lib/z180,
device/lib/z80n,
device/lib/_memset.c,
support/regression/ports/*/spec.mk,
support/regression/tests/z80n-push-nn.c,
.version:
__sdcccall(1) convention as default for z80, z80n and z180 picked from breaktheworld branch.
2021-09-23 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc.c:
Optimize out some redundant temporaries early.
* src/stm8/peep.c,
src/stm8/peeph.def,
src/stm8/gen.c:
Fix handling of v flag.
* device/lib/_fs2ulong.c,
device/lib/_fsmul.c,
device/lib/stm8/__mulsint2slong.s:
Minor improvements in float support.
2021-09-22 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-3282.c:
Test for bug #3282.
* src/z80/gen.c,
src/z80/peeph.def,
support/regression/tests/bug-3283.c:
Fix bug #3283.
2021-09-20 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc2.cc,
src/stm8/gen.c:
Fix bug #3282.
2021-09-18 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peep.c:
Use more Z80N-specific instructions in z80n codegen.
2021-09-17 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
doc/sdccman.lyx,
.version:
Use Z80N Core 2.0 shift instructions.
2021-09-17 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve single byte rotation.
2021-09-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c:
Fix a peephole optimizer bug in the handling of SM83 / Z80N swap instruction, part of bug #3280.
2021-09-10 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Fix bug #3279.
2021-09-08 Philipp Klaus Krause <pkk AT spth.de>
* .version,
ChangeLog,
device/lib/_memset.c,
device/lib/gbz80/abs.s,
device/lib/gbz80/atomic_flag_test_and_set.s,
device/lib/gbz80/div.s,
device/lib/gbz80/memcpy.s,
device/lib/gbz80/mul.s,
device/lib/gbz80/setjmp.s,
device/lib/gbz80/strlen.s,
device/lib/stm8/__mulsint2slong.s,
device/lib/stm8/_divsint.s,
device/lib/stm8/_modsint.s,
device/lib/stm8/_mulint.s,
device/lib/stm8/atomic_flag_test_and_set.s,
device/lib/stm8/memcpy.s,
device/lib/stm8/setjmp.s,
device/lib/stm8/strcmp.s,
device/lib/stm8/strcpy.s,
device/lib/stm8-large/__mulsint2slong.s,
device/lib/stm8-large/_divsint.s,
device/lib/stm8-large/_modsint.s,
device/lib/stm8-large/_mulint.s,
device/lib/stm8-large/atomic_flag_test_and_set.s,
device/lib/stm8-large/memcpy.s,
device/lib/stm8-large/setjmp.s,
device/lib/stm8-large/strcmp.s,
device/lib/stm8-large/strcpy.s,
doc/sdccman.lyx,
src/stm8/main.c,
src/z80/main.c,
support/regression/ports/ucgbz80/spec.mk,
support/regression/tests/sdcccall.c:
__sdcccall(1) convention as default for stm8 and gbz80 picked from breaktheworld branch.
2021-09-08 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve callee-cleanup of stack parameters.
2021-09-06 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/main.c,
src/z80/ralloc.c:
Minor option handling cleanup.
2021-09-02 Philipp Klaus Krause <pkk AT spth.de>
* device/include/stdlib.h:
C23 sized memory deallocation.
* sdas/asz80/z80pst.c:
incbin support, patch by bbbbbr.
2021-09-01 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix comparison with left operand lower word in hl, upper word in de, right operand on stack.
2021-08-29 Philipp Klaus Krause <pkk AT spth.de>
* support/valdiag/tests/callingconvention.c:
Fix ___sdcccall diagnostics test.
2021-08-27 Philipp Klaus Krause <pkk AT spth.de>
* support/valdiag/valdiag.py:
Fix typo that disable some regression testing for gbz80.
* src/z80/gen.c:
Fix __z88dk_fastcall stack cleanup.
2021-08-26 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c:
Fix handling of Rabbit or iy, de in peephole optimizer.
2021-08-22 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/pic16/libsdcc/float/fseq.c,
device/lib/pic16/libsdcc/float/fsgt.c,
device/lib/pic16/libsdcc/float/fslt.c,
device/lib/pic16/libsdcc/float/fsneq.c:
Fix bug #3274.
2021-08-20 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/main.c,
doc/sdccman.lyx,
.version:
Enable new calling convention for z80, z180, z80n, r2k, r2ka, r3ka, tlcs90, ez80_z80.
2021-08-20 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Do not use some aspects of new calling convention for banked functions.
2021-08-14 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c,
support/valdiag/tests/callingconvention.c,
support/valdiag/valdiag.py:
Fix diagnostics for __raisonance calling convention.
2021-08-14 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCval.c (valCastLiteral): possibly fix bug #3273
2021-08-12 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/main.c,
doc/sdccman.lyx,
.version:
Enable new calling convention for stm8.
2021-08-11 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c,
support/valdiag/tests/callingconvention.c:
Diagnostics for conflicting calling conventions.
2021-08-10 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peep.c:
Fix buffer overflow reported in patch #397 by Arnout Engelen .
2021-08-08 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/main.c,
doc/sdccman.lyx:
.version:
Enable new calling convention for gbz80.
2021-08-08 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.lex,
src/SDCC.y,
src/SDCCglobl.h,
src/SDCCmain.c,
src/SDCCopt.c,
src/SDCCsymt.c,
src/SDCCsymt.h,
src/ds390/main.c,
src/hc08/main.c,
src/mcs51/main.c,
src/pdk/main.c,
src/pic14/main.c,
src/pic16/main.c,
src/port.h,
src/stm8/gen.c,
src/stm8/main.c,
src/z80/gen.c,
src/z80/main.c:
Calling convention selection infrastructure from breaktheworld branch.
2021/07/28 Visenri
* sim/ucsim/pdk.src/inst.cc
Fix bug in pdk15 simulation (introduced in [r12557]).
2021/07/28 Visenri
* support/regression/compact-results.py
Fix parsing of test name.
2021/07/27 Visenri
* src/pdk/gen.c
support/regression/tests/getbyte_param.c
Fix bug #3269.
Add test for it.
2021/07/26 Visenri
* support/regression/Makefile.in
support/regression/ports/pdk13
support/regression/ports/pdk13/spec.mk
support/regression/ports/pdk13/support.c
support/regression/ports/pdk13/uCsim.cmd
Added infrastructure to test pdk13.
It is in the filter-out list to avoid automatic test, because many tests still need some work to be passed/skipped [#394].
2021/07/26 Visenri
* support/regression/fwk/include/testfwk.h
support/regression/fwk/lib/testfwk.c
Lightweight version of test framework (testfwk) [#393].
Added new macro to indicate we are targeting a very low memory device: TARGET_VERY_LOW_MEMORY.
Added macros to easy the check of all pdk variants with 1 or 2 checks [#394].
Different implementation of __printd with hex output (for TARGET_VERY_LOW_MEMORY).
Skipped some strings in "Summary" output to save memory (for TARGET_VERY_LOW_MEMORY).
2021/07/26 Visenri
* support/regression/collate-results.py
support/regression/compact-results.py
Added processing for the stack overflow message from simulator.
Added new check to reset state machine and name with "Simulation started" string
Added checks to validate the name after "--- Running", because sometimes we get garbage, because of caotic program behavior (due to stack overflow or wrong code).
Added the possibility to parse hex values instead of decimal [#393].
Better output in case of a catastrophic failure ("--- Summary" not found).
Fixed wrong regular expression to find ".ihx" file.
2021/07/26 Visenri
* sdas/aspdk13/pdk13mch.c
sdas/aspdk13/pdk13pst.c
sdas/aspdk14/pdk14mch.c
sdas/aspdk14/pdk14pst.c
sdas/aspdk15/pdk15mch.c
sdas/aspdk15/pdk15pst.c
sdas/aspdk16/pdk16mch.c
sdas/aspdk16/pdk16pst.c
sdas/aspdk/pdk.h
sdas/aspdk/pdkadr.c
sdas/aspdk/pdkmch.c
Added assembler support for new pdk .io mnemonics (bug #3259).
* src/pdk/gen.c
src/pdk/main.c
src/pdk/peep.c
src/pdk/peeph.def
Updated compiler generated assembly and rules according to new pdk .io mnemonics
2021/07/26 Visenri
* sim/ucsim/pdk.src/inst.cc
* sim/ucsim/pdk.src/instcl.h
* sim/ucsim/sim.src/sim.cc
Added support for stack overflow detection.
Fixed wrong order of output to stdout when program is stopped.
Added newline to make sure we get a separate line for the "Stop"
2021-07-25 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCC.y,
* src/SDCCsymt.c,
* src/SDCCsymt.h: fix bugs #3212 and #3213
2021-07-21 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.c (processFuncArgs): minor correction to #3260 bug fix
2021-07-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.c (processFuncPtrArgs,processFuncArgs),
* src/SDCCsymt.h,
* src/SDCCmem.c (allocVariables): fix bug #3260
* support/regression/tests/bug-3260.c: added test
2021-07-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (decorateType): fix bug #2546
2021-07-16 Visenri
* src/SDCC.lex
src/SDCC.y
Added builtins: "__builtin_rlc", "__builtin_rrc" & "__builtin_swap".
These functions will allow swap and rotate operations with volatile variables.
* src/SDCCast.c
src/SDCCsymt.c
src/SDCCsymt.h
src/SDCCval.c
src/SDCCval.h
Support for conditional type reduction (patch #392) for optimized values to 0.
Fixed size calculation for ptrdiff type.
Fixed int promotion for shift operations: using only left operand.
Added checks for side effects or volatility in optimizeRRCRLC (like optimizeSWAP, bug #3218)
2021-07-13 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c (genMinusDec),
* src/ds390/gen.c (genMinusDec): fix bug #3246
2021-07-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (copyAst): fix bug #3264
* support/regression/tests/inline.c: add test for bug #3264
2021-07-11 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/valdiags/tests/struct.c: add test for bug #3086
2021-07-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/bug-3141.c: reenable for mcs51
* src/SDCCsymt.c (promoteAnonStructs): fix bug #3086
2021-07-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCdwarf2.c (dwWriteFrames): fix bug #3161
2021-07-09 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCdwarf2.h: fix incorrect DW_CFA_nop value
* src/SDCCdwarf2.c (dwWriteTags): fix problem with excess
end-of-sibling-chain markers at end of compilation unit
* src/SDCCdwarf2.c (dwWriteAbbrevs): write abbreviations in
numerical order rather than hash table order
* src/SDCCdwarf2.c (dwGenCFIins,dwWriteFDE): keep start of
CIE and FDE entries 32-bit aligned
2021-07-06 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix bug #3262.
2021-07-05 Visenri
* src/pic14/glue.c
src/pic16/glue.c
src/SDCCast.c
src/SDCCast.h
src/SDCCglue.c
src/SDCCicode.c
src/SDCCval.c
src/SDCCval.h
Implemented partial support for conditional type reduction (patch #392), for now only used by SIZEOF.
OR - XOR type reduction optimization (patch #392).
* support/regression/fwk/include/testfwk.h
support/regression/tests/sizeof.c
Removed empty definition of __data for pdk from testfwk.h.
Added tests for SIZEOF operator.
2021-07-04 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCClospre.hpp: fix bug #3166
* support/regression/tests/bug-3166.c: enable test
2021-07-01 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
genMove_o improvements.
2021-07-01 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Function pointer call for --reserve-regs-iy when hl and bc are in use for register arguments.
2021-06-30 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (expandInlineFuncs): fix bug #3175
2021-06-30 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
src/z80/gen.c:
Improve tail call optimization.
2021-06-30 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
Assignment to / from global variables with non-free hl.
2021-06-29 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/main.c,
src/pdk/ralloc.c,
src/stm8/main.c,
src/stm8/ralloc.c,
src/z80/gen.c,
src/z80/main.c,
src/z80/ralloc.c:
Fix initialization of asmops for use of aopArg in _reg_parm.
2021-06-29 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c (genPcall): fix bug #2994
* support/regression/tests/bug-2993.c: reenable for mcs51-huge
2021-06-28 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCglue.c:
Fix bug #3253: patch by Oleg Endo
2021-06-28 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/main.c,
src/stm8/gen.c,
src/SDCC.lex,
src/SDCC.y,
src/SDCCsymt.c,
src/SDCCsymt.h:
Experimental __newcall calling convention.
* src/z80/peeph.def,
src/z80/peep.c:
Fix peephole rule 49a for Rabbits.
2021-06-28 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/stm8/gen.c (genFunction): possible fix for bug #3199
2021-06-27 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (optimizeSWAP): fix bug #3218
2021-06-26 Visenri
* support/regression/tests/bug2686159.c:
Added support for pdk in test bug2686159.
2021-06-25 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c (genlshFixed): fix bug #3072
2021-06-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c (aopPut, genSwap): fix bug #3188
* support/regression/tests/rotate2.c: reenable mcs51 stack-auto tests
2021-06-21 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/peep.c (doPushScan): added param instr,
added removeDeadPushPop()
* src/mcs51/peeph.def: moved rules 301-302 to 302-303, added rule 301
* support/regression/Makefile.in: introduced results/*.sum
* support/regression/tests/wchar.c: subdivided in several cases to allow
testing on mcs51-small, char16 still doesn't fit in memory though
2021-06-20 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCopt.c (optimizeOpWidth):
applied todays patch 392 from Visenri along with some cosmetics
2021-06-20 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-3256.c:
Fix missing return.
2021-06-18 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve framepointer handling.
2021-06-18 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
src/stm8/peeph.def:
Fix bug #3258.
2021-06-17 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCopt.c (optimizeOpWidth): fix bug #3236
2021-06-16 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
support/regression/tests/bug-3257.c:
Fix bug #3257.
2021-06-16 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
src/stm8/peeph.def,
support/regression/tests/z88dk_callee.c:
Improve tail call optimization for __z88dk_callee functions.
* tests/stm8-conventions.c:
Enable test that had been disabled due to now-fixed bug #3239.
* src/stm8/peep.c,
support/regression/tests/bug-3256.c:
Fix bug #3256.
2021-06-15 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCast.c:
Report type of _Generic match error.
* device/include/stdckdint.h:
Checked integer arithmetic for most types (needs bug #3254 and #3255 fixed to really work).
2021-06-14 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Use frame pointer to speed up handling of big return values.
2021-06-13 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Generalize handling of return values in frame pointer.
2021-06-13 Visenri
* src/stm8/gen.c,
src/stm8/peep.c,
src/stm8/peeph.def:
STM8 - Multiple improvements regarding peephole rules & argCont function.
Modified code generation (genPointerSet) to allow optimizations without reordering rules for ld-and (120) from pack 1 (#362).
Implemented some improvements in peep.c (argCont) to avoid false 'x' positives, a tiny step towards #290.
Fixed double spaces in rules 10f & 10h (that were messing notUsed logic).
Replaced rules 18, 19, 20 & 21 by 202x, 203x, 204x 205x, 210x &220x making use of new "operandsLitOrSym".
Expanded rule 131 scope.
Modified rules (140, 141, 150, 160, 161) to work without needing rule 121 from pack 1 (#362).
Added new rules 515 & 516, similar to 512 & 513 when comparison is done with 'dec' instead of 'cp'.
2021-06-11 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
src/stm8/peep.c:
Implement register parameter tracking for peephole optimizer to fix code size regression caused by bugfix in previous commit.
2021-06-11 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c,
src/stm8/gen.c,
src/stm8/main.c,
src/stm8/peep.c,
support/regression/tests/bug-3251.c,
support/regression/tests/bug-2349.c,
support/regression/tests/bug-2455.c,
support/regression/tests/bug-3244.c,
support/regression/tests/compare.c,
support/regression/tests/fptr_cast_array_init.c,
support/regression/tests/genptrs.c,
support/regression/tests/z80n-push-nn.c:
Fix bugs #3251, #3243.
2021-06-09 Visenri
* src/stm8/peeph.def:
STM8 - Added missing rule 625a from my pack #6 from patch #362, fixed tabs/spaces.
2021-06-08 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx,
src/ds390/gen.c,
src/hc08/gen.c,
src/mcs51/gen.c,
src/pic14/gen.c,
src/pic14/main.c,
src/pic14/ralloc.c,
src/pic16/gen.c,
src/pic16/main.c,
src/pic16/ralloc.c,
src/port.h,
src/z80/gen.c,
src/SDCC.y,
src/SDCCast.c,
src/SDCCcse.c,
src/SDCCicode.c,
src/SDCClospre.cc:
Remove infrastructure for obsolete GETHBIT.
2021-06-08 Philipp Klaus Krause <pkk AT spth.de>
* src/ds390/gen.c,
src/ds390/main.c:
Support GETABIT instead of GETHBIT.
2021-06-08 Visenri
* src/SDCCpeeph.c:
Fixed buffer overflow in operand string in "immdInRange" function.
2021-06-07 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/main.c,
src/stm8/gen.c,
src/stm8/ralloc2.cc:
Rotate support, inspired by patch #363 by Visenri.
* src/z80/gen.c,
src/z80/main.c,
src/z80/ralloc2.cc:
Remove redundant z80 GETHBIT support.
2021-06-07 Visenri
* src/stm8/peeph.def:
Removed unused rules 660a & 660b because of patches applied in r12420 (SWAP implementation).
* ChangeLog:
Fixed wrong date of previous commit.
2021-06-07 Visenri
* src/stm8/peep.c,
Fixed typo regarding instruction 'jrsgt'.
* src/stm8/peeph.def:
Added rules 600a & 600b from patch #362 that were failing because of the 'jrsgt' typo.
2021-06-04 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/main.c,
src/stm8/gen.c:
Swap support, inspired by patch #363 by Visenri.
2021-06-03 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2349.c,
support/regression/tests/bug-2455.c,
support/regression/tests/compare.c,
support/regression/tests/fptr_cast_array_init.c,
support/regression/tests/genptrs.c,
support/regression/tests/z80n-push-nn.c:
Disable tests that fail due to known bug #3243.
* src/stm8/peeph.def:
Rule packs 1, 3, 5, 6 from patch #362 by Visenri.
* src/SDCCast.c,
src/SDCCerr.c,
src/SDCCerr.h,
support/valdiag/tests/bug-2798.c:
Fix bug #2798.
2021-05-31 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Fix an issue in inconsistent application of patches in previous commits.
2021-05-28 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bitfields-nibbles.c:
Test from patch #373 by Visenri.
* src/SDCCpeeph.c:
Peephole optimizer helper function refactoring, from patch #362 by Visenri.
* src/stm8/peeph.def:
Peephole rule refactoring, from patch #361 by Basil Hussain.
2021-05-27 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-3244.c:
Fix bug #3244.
2021-05-20 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/Makefile.in,
support/regression/ports/ucz180-resiy:
Test z180 port with --reserve-regs-iy.
* sdcc/support/regression/ports/ucz80/spec.mk,
sdcc/support/regression/ports/ucr3ka/spec.mk:
Drop --profile option, so we get better coverage of tail call optimization.
2021-05-20 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improvements for handling of literal values in wide registers: patch #388 by Visenri.
2021-05-19 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Partial fix for bug #3054.
* device/include/float.h,
device/include/pic16/float.h,
device/lib/_fseq.c,
device/lib/_fslt.c,
device/lib/_fsneq.c,
src/SDCCsymt.c:
Make floating-point comparison support routines return _Bool.
2021-05-18 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-3242.c:
Fix bug #3242.
* doc/sdccman.lyx:
Fix some typos.
2021-05-17 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
src/z80/gen.c:
Tail call optimization for functions with no stack parameters.
2021-05-17 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c,
src/pdk/peep.c,
src/stm8/peep.c,
src/z80/gen.c,
src/z80/peep.c,
support/regression/tests/bug-3239.c:
Fix bugs #3235, 3239.
2021-05-17 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix a code generation bug in hl handling.
2021-05-17 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
src/z80/gen.c:
Refactor __z88dk_callee support to allow other calling conventions to use callee stack cleanup.
2021-05-17 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.h,
src/SDCCicode.c,
src/SDCCsalloc.hpp,
src/stm8/gen.c,
src/z80/gen.c,
support/regression/tests/bug-3240.c:
Tail call optimization fixes for register parameters.
2021-05-17 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx,
src/SDCC.lex,
src/SDCC.y,
src/SDCCerr.c,
src/SDCCerr.h,
src/SDCCsymt.h,
src/SDCCsymt.c,
src/stm8/gen.c,
src/stm8/main.c,
src/stm8/peep.c,
support/regression/tests/stm8-conventions.c:
Support calling conventions of Raisonance, IAR and Cosmic compilers for STM8.
* support/regression/tests/bug2084206.c:
Disable test that relies on size of void * being the same as function pointer for ds390.
2021-05-16 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsalloc.hpp,
support/regression/tests/bug-3238.c:
Fix bug #3238.
* src/stm8/gen.c:
Fix a register parameter issue in code generation for function pointers in large model.
2021-05-15 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c,
support/regression/tests/bug2084206.c:
Function pointer size fix.
* src/stm8/gen.c:
Tail-call optimization fix.
* src/stm8/peep.c:
Peephole optimizer fix for register arguments.
* src/SDCCast.c:
Fixes for strcpy->memcpy optimization.
2021-05-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/stm8/gen.c:
Fix code generation bugs triggered by register arguments.
* src/stm8/ralloc2.cc:
Fix cost function for register parameters.
* src/z80/ralloc2.cc:
Fix cost function for byte and bit access.
* src/stm8/peep.c:
Register parameter support infrastructure.
2021-05-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve tail calloptimization.
2021-05-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix a bug in handling of register parameters to function calls via pointer.
2021-05-13 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/stm8/gen.c:
Fix handling of multiple register parameters.
2021-05-13 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Infrastructure for register parameters.
2021-05-13 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClrange.c:
Improve handling of register parameters.
* src/stm8/gen.c:
Improve code generation for shift by slightly-less-than-a-multiple-of-8.
* src/z80/gen.c,
src/z80/ralloc.c:
Increase some regalloc_dry_run_cost penalties to avoid invalid allocation even when all alternatives result in expensive spilling.
2021-05-12 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c,
src/z80/gen.c:
Fixes for register parameter in a, l or hl.
2021-05-12 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
src/stm8/gen.h,
src/stm8/main.c:
Infrastructure for register parameters.
* src/SDCCast.c:
Fix register parameters for printf->puts optimization.
* src/z80/peep.c:
Fix bug #3234.
2021-05-12 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/gen.h,
src/z80/main.c,
src/z80/peep.c:
Infrastructure for non-__z88dk_fastcall register arguments.
* src/stm8/gen.c:
Fix bug #3233.
* src/SDCCast.c,
src/SDCCopt.c,
src/SDCCsymt.c,
src/SDCCsymt.h:
Fix handling of register parameters of not-really-builtin memcpy.
2021-05-11 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c,
src/*/main.c:
Make restriction on register parameters for vararg functions port-specific.
2021-05-11 Philipp Klaus Krause <krauseph@informatik.uni-freiburg.de>
* support/regression/tests/bug-3231.c:
Disable __critical test for host.
2021-05-09 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Put all the documentation required by Annex J.3, "Implementation-defined behaviour", of the C standard in one place.
2021-05-09 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/stm8/gen.c:
Improve stack adjustment.
2021-05-09 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-3231.c:
Fix bug #3231.
2021-05-08 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-3230.c:
Fix bug #3230.
2021-05-07 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
src/z80/gen.c,
support/regression/tests/bug-3229.c:
Fix bug #3229.
2021-05-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix some bugs triggered by return values in other than the conventional registers.
2021-05-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix a bug in handling of return values in bc.
* device/lib/clean.mk:
Fix clean for r2ka library.
2021-05-07 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.h,
src/stm8/gen.c,
src/stm8/peep.c,
src/z80/gen.h,
src/z80/gen.c,
src/z80/peep.c:
Deduplicate return value handling in peephole optimizer vs code generation.
2021-05-05 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/z88dk_callee.c
Adapt test for ds390.
2021-05-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Code clenaup.
2021-05-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-3223.c:
Fix bug #3223.
2021-05-03 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
src/stm8/main.c,
doc/sdccman.lyx,
.version,
support/regression/fwk/include/testfwk.h,
support/regression/tests/z88dk_callee.c:
__z88dk_callee support for stm8.
2021-05-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
doc/sdccman.lyx,
.version,
support/regression/tests/z88dk.c,
support/regression/tests/z88dk_callee.c:
Implement __z88dk_callee support on callee side.
2021-05-02 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Caching of floating literals.
2021-05-01 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-3215.c:
Fix condition for skipping test on host.
* src/z80/gen.c:
Improve loading of immediate into register pair.
2021-04-30 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Another fix for #3220.
2021-04-30 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve handling of 32-Bit variables.
2021-04-30 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Do not use double push / pop for 16-bit load when optimizing for speed.
2021-04-30 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve ldir assignment heuristic for r3ka and ez80_z80: Fix bug #3220.
2021-04-29 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Small wide improvements.
2021-04-29 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix bug #3217.
* src/z80/peep.c:
Fix instruction size for or hl, de and and hl, de.
2021-04-29 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix a --reserve-regs-iy bug.
2021-04-29 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/_mullong.c,
src/z80/main.c,
src/SDCCopt.c:
Improve Rabbit multiplication.
* src/z80/gen.c:
Fix gbz80 part of bug #3217.
2021-04-27 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/bitfields-bits1.c,
support/regression/tests/bitfields-checks.c,
support/regression/tests/bitfields-dead-loop.c:
Fix or disable host tests on hosts that allocate bitfields
in MSB to LSB order
2021-04-24 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix bugs affecting z80 code generation for --reserve-regs-iy.
2021-04-24 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-3216.c:
Fix bug #3216.
2021-04-23 Philipp Klaus Krause <pkk AT spth.de>
* sdas/asxxsrc/asxxxx.h,
sdas/asxxsrc/asdata.c,
sdas/asxxsrc/asexpr.c,
sdas/asxxsrc/asmain.c:
Option to defer resolution of some symbols to link time, patch by Tony Pavlov.
* src/SDCCopt.c,
support/regression/tests/bug-3215.c:
Fix bug #3215.
* src/z80/gen.c:
Fix bug #3214.
* support/valdiag/tests/bug-3010.c:
Simplify test.
2021-04-22 Philipp Klaus Krause <pkk AT spth.de>
* sdcc/support/regression/tests/setjmp.c,
sdcc/support/regression/tests/loop.c:
Skip tests that fail due to broken FreeBSD 13 setjmp.
* support/regression/tests/gcc-torture-execute-20040409-?.c:
Skip tests that fail due to broken clang.
* support/regression/tests/mm-pnvi-ae-udi-pointer_from_int_disambiguation_1_xy.c,
support/regression/tests/mm-pnvi-ae-udi-provenance_basic_using_uintptr_t_auto_yx.c,
support/regression/tests/mm-pnvi-ae-udi-provenance_basic_using_uintptr_t_global_xy.c:
Skip tests that fail due to broken clang 11 (memory model PNVI-ae-udi non-compliance).
* sdccman.lyx:
Simplify --max-allocs-per-node documentation.
2021-04-20 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve heuristic for use of rabbit mul.
2021-04-19 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Use genCopy also for assignment with source on extended stack.
2021-04-18 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* support/makebin/makebin.c:
Generate SMS/GG rom headers.
2021-04-13 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCbtree.h,
src/SDCCbtree.cc:
Use int consistently for block, patch by Oleg Endo.
2021-04-13 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/gen.c:
Overwrite A in genMove_o only if not source register.
2021-04-12 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/gen.c:
Get sign bit with rlca instead of rla to allow flag restricted ph rules.
2021-04-12 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* sdas/asgb/gbpst.c,
sdas/asgb/gbmch.c,
sdas/asgb/gb.h,
sdas/asxxsrc/asmain.c,
sdas/asxxsrc/asxxxx.h:
Backport .incbin and .tile for sm83 from ASXXXX 5.40
2021-04-12 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/gen.c,
src/z80/peeph-gbz80.def,
src/z80/peeph.def:
Don't emit pop/push for stack adjustment on sm83.
(For easier detection of uninitialized memory)
2021-04-11 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve unsigned shift by 4 and 5.
2021-04-11 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Avoid some unnecessary copies.
2021-04-09 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bitfields-bits1.c,
support/regression/tests/bitfields-bits2.c,
support/regression/tests/bitfields-checks.c,
support/regression/tests/bitfields-dead-loop.c:
Tests for bitfields at absolute addresses, picked from patch #373 by Visenri.
* src/z80/gen.c,
support/regression/tests/bitwise8reg.c:
Fix use of 16-bit bitwise instructions for 8-bit calculations.
2021-04-07 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-20060110-volatile.c,
support/regression/tests/stack-restore.c,
support/regression/tests/swap_add.c:
Improve stm8 peephole rule coverage, picked from patch #373 by Visenri.
2021-04-07 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c:
isRegInUse renamed to isRegDead.
2021-04-06 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c:
Make code more readable by adding isRegInUse.
2021-04-04 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/ports/host/spec.mk.in:
Timeout for host regression tests (fix bug #3209).
* src/SDCClospre.hpp:
Avoid unecessary flush of cout.
* device/lib/tlcs90/crt0.s:
Fix implicit initialization.
* src/z80/ralloc2.cc:
Document frame pointer omission heuristic.
* support/regression/tests/bug-3205.c:
Regression test for bug #3205.
2021-04-03 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/ez80_z80/crt0.s,
device/lib/tlcs90/crt0.s,
device/lib/z180/crt0.s,
device/lib/z80/crt0.s,
device/lib/z80n/crt0.s:
Do default-initalization in crt0 to not rely on simulator zeroing memory.
* device/lib/gbz80/crt0.s:
src/z80/main.c,
.version:
Improve explicit initialization.
* configure.ac,
aclocal.m4,
configure:
Improve detection of python interpreter binary.
2021-04-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.cc:
Fix bug #3207.
2021-04-02 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c:
Remove AOP, AOP_SIZE, AOP_TYPE macros.
2021-04-02 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c:
Fix possible errors caused by operands allocation.
2021-04-02 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c:
Fix one of highlighted bugs by change from Apr 01.
2021-04-02 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/z80.h,
src/z80/ralloc2.cc:
Remove infrastructure for reserving hl in register allocator.
2021-04-02 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.c,
src/z80/gen.c:
Remove old register allocator code from z80-related backends.
2021-04-02 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/main.c,
src/z80/ralloc.c,
.version,
doc/sdccman.lyx:
Deprecate --oldralloc for z80-related backends.
2021-04-02 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c:
Fix one of highlighted bugs by previous change.
2021-04-01 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c:
Partially fix bug #3203, but highlights new bugs.
2021-04-01 Sergey Belyashov <sergey.belyashov@gmail.com>
* sdas/asz80/z80mch.c:
Enable undocumented Z80 instructions for Z80N.
2021-04-01 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c:
Partially fix bug #3203.
2021-04-01 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/peeph.def:
Fix many regressions caused by changes in r12173.
2021-03-27 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/peeph.def:
Partially fix bug #3203.
2021-03-27 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/peeph.def:
Add new rules for pushing and treating xor a like #0.
2021-03-26 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix issues in handling of (iy) operands (last part of fix for bug #3202).
2021-03-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix an issue affecting 4-byte swap with both operands on extended stack.
2021-03-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix handling of extended stack in addition and subtraction.
2021-03-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix handling of frame pointer omission in dry run.
2021-03-25 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/_strcmp.c:
strcmp optimization.
2021-03-24 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/gen.c:
Emit ldhl for calls on SM83.
2021-03-24 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_fsdiv.c: fixed bug with very small, but normal numbers
* device/include/float.h: no need to mask off bit23 in MANT() macro
2021-03-24 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Disable accidentially comitted gbz80 zero push optimization.
2021-03-24 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/peeph.def:
Fix some rules and remove invalid ones.
2021-03-24 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/peeph-gbz80.def,
src/z80/peeph.def:
Make some GBZ80 rules common.
2021-03-22 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix a bug in tlcs90 interrupt handling.
2021-03-22 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx,
src/z80/gen.c,
src/z80/main.c,
configure.ac,
configure:
The GameBoy's CPU core is the SM83, also used in some Sharp microcontrollers.
2021-03-22 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/float.h: added __NAN
* device/lib/_fsdiv.c: many small optimizations, starting from patch
#368, thanks Marco Bodrato
* device/lib/_ulong2fs.c: fixed warning
* support/regression/tests/bug-2516.c: do not use denormal float
2021-03-22 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/mappings.i:
Fix broken debug symbols.
2021-03-22 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/peeph-gbz80.def,
src/z80/peeph.def:
Fix rule 1b, remove redundant rules.
2021-03-22 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/gen.c:
Optimize pushing of 4B+ constant arguments.
2021-03-22 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* device/lib/gbz80/crt0.s,
support/regression/ports/ucgbz80/uCsim.cmd:
Change emulator entry to 0x100 like after real bootrom
2021-03-22 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/gen.c:
Optimize return of 4B numbers
2021-03-21 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/peeph-gbz80.def:
Add rules for faster stack push.
* src/z80/peeph.def:
Improve safety of some rules.
2021-03-21 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/SDCCpeeph.c:
Make operandsLiteral pickier and fix bug #3198.
2021-03-20 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* sim/ucsim/z80.src/inst_lr35902.cc:
Harmonize disassembly syntax with syntax emitted by sdcc.
2021-03-19 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/peeph-gbz80.def,
src/z80/peeph.def:
Add new peephole rules for precalc, constants reusage and stack access rearranging.
2021-03-18 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
src/pdk/main.c,
src/pdk/ralloc2.cc:
GETBYTE support for pdk.
2021-03-18 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/gen.c:
Improve register allocation for GETWORD and SWAP iCodes.
2021-03-18 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Use genMove to simplify genSwap.
2021-03-18 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c:
Fix bug #3194.
2021-03-18 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/peeph.def:
Fix common peephole rule 41a: do not elimitate ld l,? before ld l,(hl)
2021-03-17 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/peeph-gbz80.def:
Added rules to move inc/dec hl possible upper.
2021-03-17 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/peeph.def:
Add two new peepholes for Z80.
2021-03-17 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCicode.c:
Fix RFE #736.
2021-03-17 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c:
Add Z80 GETWORD optimization for Z80.
2021-03-17 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c:
Add Z80 SWAP implementation using RRD.
2021-03-17 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c,
src/z80/main.c:
Add GetABit for all Z80 ports.
2021-03-16 Sergey Belyashov <sergey.belyashov@gmail.com>
* sim/ucsim/z80.src/inst_lr35902.cc:
Fix SWAP H/L instructions simulation for GBZ80.
2021-03-16 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix a genMove_o hl issue, part of bug #3194.
2021-03-16 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c,
src/z80/main.c:
Enable multibyte RRC/RLC for GBZ80.
2021-03-16 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c:
Fix typos (replace & by && in some conditions).
2021-03-15 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c,
src/z80/main.c:
Add RLC/RRC for all Z80 ports (GBZ80: only 8b).
2021-03-15 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c,
src/z80/main.c:
Add 32b swap for all Z80 ports.
2021-03-14 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/gen.c:
Improve 16b swap for z80ies.
2021-03-13 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
Fix bug #3190.
2021-03-13 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/Makefile.in:
Helper rule for testing pdk ports.
* src/pdk/gen.c,
src/pdk/main.c:
8-bit swap for pdk.
* support/regression/tests/rotate2.c:
Disable test for pdk15-stack-auto due to lack of memory.
* src/z80/gen.c,
src/z80/ralloc2.cc:
Improve handling of hl in equality comparison.
2021-03-12 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
Some small improvements and fixes in register handling.
2021-03-11 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
Improve nibble swap.
2021-03-11 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c,
src/z80/main.c:
Fix regressions coused by previous change.
2021-03-11 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c,
src/z80/main.c:
Add basic support for SWAP iCode for all Z80 ports.
2021-03-10 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix issue that resulted in adc hl, hl being emitted on gbz80.
2021-03-10 Philipp Klaus Krause <pkk AT spth.de>
* device/include/typeof.h:
Remove apparently unused header that has been broken for many years.
* src/z80/ralloc2.cc,
src/z80/gen.c:
Flexible register handling for GETBYTE.
2021-03-10 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/gen.c,
src/z80/mappings.i:
Use placeholders more and add new ones. (Improves rgbds asm generation)
2021-03-10 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve register pair handling in code generation.
2021-03-10 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c,
src/z80/main.c:
Add basic support for GETBYTE iCode for all Z80 ports.
2021-03-10 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve handling of iyl and iyh in + and | for eZ80.
2021-03-10 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/main.c,
support/makebin/makebin.c:
Fix help texts for gbz80.
2021-03-10 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/gen.c: Get parameters faster on gbz80 sometimes.
2021-03-10 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* device/lib/gbz80/setjmp.s:
Rewrite setjmp for gbz80.
2021-03-10 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* device/lib/gbz80/__initrleblock.s,
device/lib/gbz80/crt0.s,
device/lib/gbz80/div.s,
device/lib/gbz80/memcpy.s,
device/lib/gbz80/mul.s,
device/lib/gbz80/setjmp.s:
Do some obvious asm improvements for gbz80's stdlib.
2021-03-10 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
Improve handling of iy.
2021-03-09 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
Improve handling of iy.
* device/include/string.h,
device/lib/memset_explicit.c,
device/lib/incl.mk:
C23 memset_explicit.
2021-03-09 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
Fix an issue affecting cost estimation for some register-to-register loads.
2021-03-09 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/peeph-gbz80.def,
src/z80/peeph.def:
Add new peephole rules. (Based on generated code from stdlib)
2021-03-08 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix a gbz80 parameter push bug.
* support/regression/tests/rotate2.c:
Disable test for mcs51 (bug #3188).
2021-03-08 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/gen.c,
src/z80/peeph.def_
Improve use of iy.
2021-03-08 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Optimize last byte of negation, part of RFE #734.
2021-03-08 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix bug #3187.
2021-03-08 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c:
Pick notUsedFrom improvement and optimizeFor from patch #62 by Visenri.
* src/z80/peeph.def:
Small z80 peephole rule cleanup.
* src/z80/gen.c:
Improve gbz80 comparison with 0, part of RFE #734.
2021-03-08 Philipp Klaus Krause <pkk AT spth.de>
* Merge sdcc-next branch to trunk.
2021-03-08 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* .version: post release bump to 4.1.1
2021-03-06 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Document the use of DWARF debug information with ELF binaries.
2021-03-05 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
Improved handling of a.
* src/pdk/gen.c,
support/regression/tests/rotate2.c:
Fix bug #3185.
2021-03-05 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
Improved handling of hl.
2021-03-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
Improved handling of hl in binary bitwise operators.
2021-03-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix another issue related to bug #3181.
* src/stm8/gen.c:
exg, exgw handling cleanup, picked from patch #363 by Visenri.
* support/regression/tests/rotate2.c:
Tests for rotation and swap, picked from patch #363 by Visenri.
* sdas/linksrc/lksdcdb.c:
Fix a debug info issue, patch #346 by Benedikt Kleiner.
2021-03-02 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/ralloc.c (isOperandInFarSpace2): fixed warning
* src/mcs51/peep.c (doPushScan): fixed warning
2021-02-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* .version,
doc/INSTALL.txt,
sdcc.spec: Update version to 4.1.0 for release
* doc/sdccman.lyx: update to reflect Freescale/NXP merger
2021-02-19 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/lonesha256.c:
Fix gbz80 xor code generation bug #3181.
2021-02-12 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* support/makebin/makebin.c: Replace getline with fgetc
2021-02-12 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* support/makebin/makebin.c: Tone down filter of -yS
2021-02-10 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* support/makebin/makebin.c: Add patch #365 (-yS)
2021-02-10 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* support/makebin/makebin.c: Add patch #364 (-yp)
2021-02-09 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c
src/port.h
src/z80/gen.c
src/z80/peep.c
src/z80/peep.h,
support/regression/tests/bug-3178.c:
Fix bug #3178.
2021-02-09 Benedikt Freisen <b.freisen AT gmx.net>
* src/SDCCerr.c,
src/SDCCerr.h,
src/SDCCmain.c:
Add language override option -x (feature request #667).
2021-02-08 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/SDCCpeeph.c: fix function names in error messages
2021-02-08 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* support/makebin/makebin.c: add patch #360
2021-02-05 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCattr.c: fix include filename
* ChangeLog: it's no longer 2020
2021-02-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Make end-of-call stack adjustment tolerate return value in a.
2021-02-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Separate __z88dk_fastcall registers from return value registers.
2021-02-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix a bug in code generation for wide unary minus with upper operand word in hl.
2021-02-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peep.c:
Refactor handling of return value registers.
2021-02-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c:
Fix printing of function with variable arguments (e.g. for debug dumps).
* src/z80/gen.c,
src/stm8/gen.c:
Refactor register asmop intialization.
2021-02-02 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCattr.h,
src/SDCCattr.c,
src/SDCC.y,
src/SDCCsymt.h,
src/Makefile.in:
Infrastructure for attributes.
2021-02-01 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
Fix bug #3174.
2021-01-29 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c:
Fix bug #3173.
* src/z80/peeph.def:
Split rule for add from adc, sbc rule due to differences in flag handling.
2021-01-27 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Pick some improvements from patch #362 by Visenri.
* support/regression/tests/bug-3172.c:
Test for bug #3172.
* device/lib/_strcpy.c:
Pick a fix from noasm2 branch.
2021-01-26 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Pick some improvements from patch #362 by Visenri.
2021-01-25 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Pick some improvements from patch #362 by Visenri.
2021-01-22 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Fix bug #3170.
2021-01-21 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-3169.c:
Fix bug #3169.
2021-01-12 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix an issue in handling of non-dead a in __sfr access, possibly bug #3168.
2021-01-01 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/pdk/gen.c,
support/regression/tests/bug-3167.c:
Fix bug #3167.
2021-01-01 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix an issue in handling surviving a when assigning single bytes from (hl) to stack.
* support/regression/tests/bug-3166.c:
Test for bug #3166.
2021-01-03 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c,
src/SDCCast.h,
src/SDCCicode.c,
src/SDCCicode.h,
src/SDCCdwarf2.c,
src/cdbFile.c: partial fix for bug #3153
* suppport/regression/tests/bug-3081.c: avoid redefinition warning
2021-01-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sim/ucsim/cmd.src/cmdlex.l: reverted previous change
* sim/ucism/cmd.src/cmdutil.h: ensure SOCKET_AVAIL defined before use
2021-01-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sim/ucsim/cmd.src/cmdlex.l: change #include order so SOCKET defined
2020-12-29 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixes in handling register operands.
* src/z80/ralloc2.cc:
More flexibility for register operands in cast and ^.
2020-12-27 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix an issue in handling of surviving registers in unsigned upcast.
2020-12-16 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/pic14/aclocal.m4:
Update to automake 1.16.2 to fix bug #3140.
* device/lib/pic14/libc/Makefile.am:
Port itoa, ltoa rename to pic14 to fix bug #3110.
* src/clean.mk:
Include pdk ports in make clean to fix bug #3152.
* support/regression/ports/stm8/spec.mk,
support/regression/ports/stm8-large/spec.mk:
Increase stm8 test timeout by 50%, to accomodate slow macOS PPC (bug #3149).
2020-12-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.lex,
src/SDCCerr.c,
src/SDCCerr.h,
src/SDCCval.c,
.version,
support/regression/test/digit_separators.c:
C23 digit separators.
2020-12-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.lex,
src/SDCCerr.h,
src/SDCCerr.c,
src/SDCCval.c,
.version:
C23 disallows concatenation of differently-prefixed string literals (N2594).
2020-12-01 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve &, |, ^ by integer constant expression, merge ^ and ~.
2020-11-29 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmain.c,
device/include/Makefile.in,
device/include/rab,
.version:
Migrate Rabbit headers from OpenRabbit to SDCC.
2020-11-28 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/main.c:
Change Rabbit default data location to 0xa000.
2020-11-27 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Update links to upstream ASxxxx, patch by Warner Losh.
2020-11-24 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Unify ~,^.
2020-11-24 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve handling of rematerialized stack locations in +,-.
* src/stm8/peeph.def:
Improve negation of carry result.
2020-11-23 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c:
Enable non-zero right GET_VALUE_AT_ADDRESS operand for tlcs90.
* src/SDCClospre.cc:
Enable speculative division for pdk in lospre (though pdk does not use lospre yet).
2020-11-21 Philipp Klaus Krause <pkk AT spth.de>
* src/pic14/glue.c:
--code-loc support for pic14, patch by Georgi Georgiev.
2020-11-10 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/sim.src/mem.cc:
Fix spelling in debug message.
sim/ucsim/doc/index.html:
Reencode to UTF-8.
2020-11-04 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-3141.c:
Disable test for mcs51 due to bug #3146.
2020-11-02 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
support/regression/tests/bug-3141.c:
Fix bug #3141.
* src/z80/gen.c,
support/regression/tests/shifts2.c:
Fix bug #3142.
2020-11-02 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/main.c:
Disable array initalizer support for gbz80 in trunk, so the remining issues can be worked out in a branch instead.
2020-10-29 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix bug #3134.
2020-10-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.h:
Increase limits, patch by Oleg Endo <olegendo@gcc.gnu.org>.
* support/regression/Makefile.in:
add pdk15-stack-auto ton default target.
2020-10-27 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/ralloc2.cc,
src/pdk/gen.c:
Improve register allocation for bitwise xor.
2020-10-26 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-3135.c,
src/z80/ralloc2.cc:
Attempt to fix bug #3135.
* src/pdk/ralloc2.cc,
src/pdk/gen.c:
Improve register allocation for bitwise and, or.
2020-10-21 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c,
* src/z80/mappings.i:
Fix bug #3137.
2020-10-16 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCerr.h,
src/SDCCerr.c,
src/SDCC.lex:
Improve diagnostics for binary integer literals.
2020-10-14 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/r2k/crt0.s,
device/lib/r2ka/crt0.s,
device/lib/r3ka/crt0.s,
.version:
Use a default crt0 that works well on typical Rabbit hardware.
2020-10-13 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCpeeph.c:
Peephole rule immdInRange now accepts mul, div, and mod operations.
immdInRange silently fail in case of non-number (label) arguments.
* src/z80/peeph.def:
Add new peephole rules.
2020-10-13 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-3129.c:
Disable test for ds390.
* support/regression/tests/bug-3132.c:
Remove conflicting (for ds390) __sdcc_external_startup definition.
2020-10-12 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
support/regression/tests/bug-3132.c:
Fix bug #3132.c.
* src/z80/gen.c:
Fix overoptimistic stack coalescing assumption in cost function, RFE #710.
2020-10-11 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-3127.c,
support/regression/tests/bug-3129.c:
Fix bugs #3127, #3128, #3129, #3130, #3131.
2020-10-09 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve wide subtraction.
2020-10-09 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve Rabbit negation.
2020-10-09 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve register shuffling.
2020-10-08 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
Improve left shift.
2020-10-08 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-3126.c:
Fix bug #3126.
2020-10-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve register-to-stack copy.
* sim/ucsim/z80.src/z80mac.h,
sim/ucsim/z80.src/inst_r2k.cc:
Fix handling of offset in sp-relative addressing.
2020-10-05 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix a z80 --reserve-regs-iy regression test failure.
2020-10-04 Philipp Klaus Krause <pkk AT spth.de>
* sdccconf_in.h:
Regenerated file via autoheader to pick up r2ka port.
2020-10-03 Philipp Klaus Krause <pkk AT spth.de>
* Makefile.common.in:
Fix bug #3122.
* src/z80/gen.c:
Improve use of ld d(ix), hl and ld hl, d(ix) for Rabbits.
2020-09-29 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix use of mul for 16-bit multiplication by constant for r2k vs. r2ka.
* support/scripts/sdcc.nsi:
Fix r2ka library Windows installation.
2020-09-27 Philipp Klaus Krause <pkk AT spth.de>
* Makefile.in,
configure,
configure.ac,
device/lib/Makefile.in,
device/lib/r2ka,
device/lib/atomic_flag_clear.c,
device/include/Makefile.in,
device/include/*.h
src/SDCCmain.c,
src/port.h,
src/z80/main.c,
src/z80/z80.h,
support/regression/Makefile.in,
support/regression/fwk/include/testfwk.h,
support/regression/ports/ucr2ka,
support/regression/tests/*.c,
doc/sdccman.lyx,
r2ka port to better support Rabbit 2000A, 2000B, 2000C, 3000. RFE #709.
2020-09-27 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/main.c,
device/lib/r3ka/mulchar.s,
device/lib/r3ka/Makefile.in:
Use mul for r3ka, RFE #372.
2020-09-27 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/peeph.def,
src/z80/peeph-r2k.def,
src/SDCCval.h,
src/SDCCval.c:
Small improvements for z80 and related.
2020-09-27 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve speed of r2k builtins.
* src/SDCCast.c:
Optimize strcpy on Rabbits.
* src/port.h:
Prepare for r2ka port.
2020-09-26 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve use of Rabbit instructions.
2020-09-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
device/lib/r2k/crt0.s,
src/SDCCgen.h,
src/SDCCgen.c,
device/lib/r2k/memcpy.s,
device/lib/r2k/memmove.s:
Work around Rabbit 2000 / 3000 ldir / lddr wait state bugs.
* src/z80/z80.h:
Prepare for r2ka port.
2020-09-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Work around Rabbit 2000 mul wait state bug.
2020-09-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix bug #3105.
2020-09-23 Sergey Belyashov <sergey.belyashov@gmail.com>
* configure,
configure.ac:
Apply patch #357 from Tim Stahlhut: fix bug #3114.
2020-09-23 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c:
Fix handling of ioi, ioe in peephole optimizer, including bug #3118.
2020-09-20 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix bug #3116.
2020-09-18 Sergey Belyashov <sergey.belyashov@gmail.com>
* sdcc/sim/ucsim/app.cc,
sdcc/sim/ucsim/doc/ucsim.1:
Apply part of patch #349: simulator rng seed option
2020-09-17 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/gbz80/abs.s,
device/lib/gbz80/strlen.s:
Assembler optimized abs() and strlen() for GBZ80.
2020-09-17 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/_memset.c:
More optimized memset implementation.
2020-09-17 Sergey Belyashov <sergey.belyashov@gmail.com>
* sim/ucsim/app.cc,
sim/ucsim/chars.cc,
sim/ucsim/errorcl.h,
sim/ucsim/option.cc,
sim/ucsim/optioncl.h,
sim/ucsim/p1516.src/p1516.cc,
sim/ucsim/pdk.src/pdk.cc,
sim/ucsim/pobj.cc,
sim/ucsim/pobjcl.h,
sim/ucsim/pobjt.h,
sim/ucsim/sim.src/brk.cc,
sim/ucsim/sim.src/brkcl.h,
sim/ucsim/sim.src/hw.cc,
sim/ucsim/sim.src/itsrc.cc,
sim/ucsim/sim.src/itsrccl.h,
sim/ucsim/sim.src/mem.cc,
sim/ucsim/sim.src/memcl.h,
sim/ucsim/sim.src/simif.cc,
sim/ucsim/sim.src/uc.cc,
sim/ucsim/sim.src/uccl.h,
sim/ucsim/sim.src/var.cc,
sim/ucsim/sim.src/varcl.h:
Apply patch #343 and patch #347 from Mike Jagdis.
2020-09-15 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/z80.src/inst_r2k.cc:
Fix xpc handling in Rabbit MMU.
2020-09-15 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/main.c:
Temporary enable initializer list support for GBZ80.
2020-09-15 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c:
Fix regression introduced in previous change.
2020-09-15 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCval.c,
src/SDCCval.h,
src/z80/gen.c:
Fix bug #3104.
2020-09-13 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCerr.c:
Fix missing include, patch #354 by Tim Stahlhut.
2020-09-12 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Minor code quality improvements, patch #353 by Tim Stahlhut.
2020-09-10 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve use of bool hl instruction for zeroing.
* src/stm8/gen.c:
Fix handling of 24-bit return values, patch by Tim Stahlhut.
* src/stm8/peep.c:
Fix a bug in handling 24-bit return values in notUsed().
2020-09-07 Philipp Klaus Krause <pkk AT spth.de>
* sdas/asstm8/clean.mk:
Fix clean target for sdasstm8, patch #350 by Tim Stahlhut.
* src/Makefile.in:
Fix C++ linker flags, patch by Mike Jagdis.
2020-08-30 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Remove mention of Rabbit 4000, since it is currently supported in Rabbit 300 compability mode only.
2020-08-28 Sergey Belyashov <sergey.belyashov@gmail.com>
* support/regression/tests/memory.c:
Apply patch #334: Enhanced regression testing for memmove()
2020-08-28 Sergey Belyashov <sergey.belyashov@gmail.com>
* sdas/asz80/z80mch.c,
sdas/asz80/z80pst.c:
Implement RFE#656: add barrel shifts and jp (c) instruction support.
2020-08-28 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/gcc-torture-execute-20040409-1.c:
* support/regression/tests/gcc-torture-execute-20040409-2.c:
* support/regression/tests/gcc-torture-execute-20040409-3.c:
* support/regression/tests/mm-pnvi-ae-udi-pointer_from_int_disambiguation_1_xy.c:
* support/regression/tests/mm-pnvi-ae-udi-provenance_basic_using_uintptr_t_auto_yx.c:
* support/regression/tests/mm-pnvi-ae-udi-provenance_basic_using_uintptr_t_global_yx.c:
Disabled for clang-6.0 and below.
2020-08-27 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/gbz80/Makefile.in,
device/lib/gbz80/crt0_rle.s: crt0_rle.s renamed to __initrleblock.s
* src/z80/gen.c,
src/z80/peep.c,
device/lib/gbz80/__initrleblock.s:
Prepare to implement RFE#670 and RFE#707. Not enabled in z80/main.c,
because there are failed tests:
gcc-torture-execute-921013-1
gcc-torture-execute-pr83383
2020-08-27 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCval.c:
Fix possible bug in reorderIlist() when empty array is passed.
2020-08-27 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/peeph.def:
New peephole rules, fixed and reenabled rule 44.
2020-08-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph.def,
support/regression/tests/bug-3102.c:
Disable some peephole rules for bug #3102.
2020-08-25 Ben Shi <powerstudio1st AT 163 DOT com>
* sim/ucsim/app.cc:
Improve back compatibility with elder gcc/g++.
2020-08-24 Ben Shi <powerstudio1st AT 163 DOT com>
* sim/ucsim/app.cc:
Fix unmatched right parentheses.
2020-08-22 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix bug #3101.
2020-08-21 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Implement RFE #404.
2020-08-21 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Small improvements for left-shift by constant expression.
2020-08-19 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-3093.c:
Test for bug #3093.
* src/z80/gen.c:
Improve left shift, RFE #465.
2020-08-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (resultTypePropagate): Fix bug #3093
2020-08-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/p99-conformance.c: Disable another test
for pdk14 to avoid RAM overflow
2020-08-12 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-3097.c:
Fix bug #3097.
2020-08-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/p99-conformance.c: Disable a test for
mcs51-small due to limited memory
* support/regression/tests/bug-2645.c: Disable warning 88 too
2020-08-11 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/tlcs90/abs.s,
device/lib/tlcs90/memcpy.s,
device/lib/tlcs90/memmove.s,
device/lib/tlcs90/setjmp.s,
device/lib/tlcs90/strcpy.s,
device/lib/tlcs90/strlen.s:
Small stdlib optimizations for tlcs90.
2020-08-11 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/r2k/atomic_flag_test_and_set.s,
device/lib/r3ka/atomic_flag_test_and_set.s:
Optimize atomic_flag_test_and_set() for r2k and r3ka.
2020-08-11 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/tlcs90/Makefile.in,
device/lib/tlcs90/atomic_flag_test_and_set.s,
device/include/stdatomic.h,
device/lib/atomic_flag_clear.c,
support/regression/tests/atomic.c:
Basic implementation of RFE #649 for tlcs90.
2020-08-11 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/r2k/Makefile.in,
device/lib/r2k/memcpy.s,
device/lib/r3ka/Makefile.in,
device/lib/r3ka/memcpy.s,
device/lib/tlcs90/Makefile.in,
device/lib/tlcs90/memcpy.s,
device/lib/tlcs90/memmove.s:
Implement RFE #664 for tlcs90, r2k and r3ka.
2020-08-11 Sergey Belyashov <sergey.belyashov@gmail.com>
* support/regression/tests/bug-2645.c:
Disable warning 154 in regression testsuit.
2020-08-11 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/peeph.def:
Make some of Z80 common peephole rules more generic.
2020-08-10 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/peep.c:
Fix always false conditions in code.
2020-08-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/ds390/gen.c (aopForRemat): fix regression test bug-2363
failure on ds390
2020-08-07 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/peeph.def:
Make some of Z80 common peephole rules more generic.
2020-08-07 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/peep.c:
More accurate Z80 flag handling by notUsed.
2020-08-06 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Avoid unecessary stack save of hl, RFE #699.
2020-08-06 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/peeph-gbz80.def,
src/z80/peeph.def:
Use flag rules for all z80 ports.
2020-08-06 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/peep.c:
canAssign now return true for (IX)/(IY)/(HL) with any register
pair for eZ80_Z80 port.
2020-08-06 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/peep.c:
Fix pop af handling for notUsed('f').
2020-08-06 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/peep.c:
Enable "sp" and flags for notUsed peephole constraint for all Z80
ports.
2020-08-06 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCutil.c,
support/regression/tests/p99-conformance.c:
Fix handling of digits 8 and 9 in universal character names.
* support/regression/tests/bug-2363.c:
Redisable test for targets without enough memory.
2020-08-05 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/peep.c:
Fix notUsed('f') for jr/jp (Bug #3095)
* src/z80/peeph-gbz80.def:
Add rules for regression tests.
2020-08-05 Sergey Belyashov <sergey.belyashov@gmail.com>
* support/regression/tests/bug-2363.c:
Enable test because bug #2363 looks to be fixed.
2020-08-05 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/z80/Makefile.in,
device/lib/z80/__sdcc_critical.s,
src/z80/gen.c,
src/z80/main.c,
src/z80/z80.h,
support/regression/Makefile.in,
support/regression/ports/ucz80-nmos,
support/regression/ports/ucz80-nmos/spec.mk:
Fix bug #2321: Z80 generates unsafe code for critcial function entry.
2020-08-05 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/ez80_z80/Makefile.in,
device/lib/ez80_z80/__sdcc_bcall.s,
device/lib/z180/Makefile.in,
device/lib/z180/__sdcc_bcall.s,
device/lib/z80n/Makefile.in,
device/lib/z80n/__sdcc_bcall.s,
support/regression/tests/banked.c:
Implement RFE #152 for eZ80_Z80, Z180, Z80N.
2020-08-05 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c:
Improve notUsed precision.
2020-08-04 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCpeeph.c,
src/z80/peeph-z80n.def:
Implement RFE #678: new peephole constraint unusedRegs.
2020-08-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peeph.def:
Improve parameter pushing.
2020-08-03 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/peeph-z80n.def:
New rules to replace push nn by ld rr,nn / push rr.
2020-08-03 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Use more indexed adressing where it makes sense.
2020-08-03 Sergey Belyashov <sergey.belyashov@gmail.com>
* sim/ucsim/z80.src/z80.cc,
src/z80/gen.c,
support/regression/tests/z80n-push-nn.c:
Fix bug #3032: Something wrong with z80n push nn.
2020-08-03 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/main.c,
src/stm8/gen.c:
Optimize signed division by small powers of 2.
2020-07-31 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCasm.c,
src/SDCCasm.h,
src/z80/main.c,
src/z80/mappings.i:
Apply patch #312: Initial support for GNU Assembler for Z80 port.
2020-07-31 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
support/regression/tests/bug-3083.c:
Fix bug #3083.
2020-07-31 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCpeeph.c: removed portIsDS390, fixed isPort() coding style
* src/ds390/peeph.def: replaced portIsDS390 by isPort('ds390' 'ds400')
2020-07-30 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/peeph.def:
Implement RFE #669: optimize out unnecessary JP instructions generated
by switch statement.
2020-07-29 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/main.c,
src/pdk/gen.h,
src/pdk/gen.c:
Fix bug #3091, patch by Free-PDK.
* src/z80/gen.c,
support/regression/tests/bug-3090.c:
Fix bug #3090.
2020-07-27 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/stdatomic.h: enabled for ds390, force nonbanked for mcs51
* device/lib/ds390/atomic_flag_clear.c,
* device/lib/ds390/atomic_flag_test_and_set.c: new, added
* device/lib/ds390/Makefile.in: added atomic_flag_*
* device/lib/mcs51/atomic_flag_clear.asm,
* device/lib/mcs51/atomic_flag_test_and_set.asm: new, added
* support/regression/tests/atomic.c: enabled for ds390
* sim/ucsim/z80.src/inst_ed.cc: fixed bug by paying attention to warnings
2020-07-27 Philipp Klaus Krause <pkk AT spth.de>
* Makefile.in:
Fix bug #3078, fix by Free-PDK.
* src/SDCCmain.c:
Disable --stack-loc deprecation warning for pdk and stm8.
2020-07-27 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* sdas/linksrc/lkmain.c:
Add -j to help of sdldgb.
2020-07-26 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/SDCCasm.c,
src/SDCCglue.c,
src/z80/gen.c,
src/z80/main.c,
src/z80/mappings.i:
Fix rgdbs asm generation for gbz80.
Original fix by toxa.
2020-07-25 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/peep.c:
Fix ldh size estimation for gbz80.
2020-07-25 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/main.c,
src/port.h:
Change implementation of -ba and -bo.
2020-07-24 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/stdatomic.h: enable mcs51, atomic_flag must reside in data/idata
* device/lib/mcs51/Makefile.in: added atomic_flag_test_and_set.rel & atomic_flag_clear.rel,
fixed include path
* support/regression/tests/atomic.c: enabled test for mcs51,
added test for atomic_flag within struct
2020-07-24 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/main.c:
Fix initialization of data-seg when using -ba for bug #3088.
2020-07-24 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* sdas/linksrc/lkout.c:
Fix address translation bug found by toxa.
2020-07-23 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* support/makebin/makebin.c:
Add ROM header options for gbz80.
2020-07-23 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* support/makebin/makebin.c:
Apply record type 04 32bit extension to all 00.
2020-07-23 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCasm.c,
src/z80/gen.c,
src/z80/mappings.i:
Add new mapping !hashedbankimmeds.
2020-07-23 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCasm.c,
src/z80/gen.c,
support/regression/tests/banked.c:
Fix incorrect syntax of ASXXXX assembler code generated for banked calls.
2020-07-23 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* sdas/linksrc/lkout.c,
support/makebin/makebin.c:
Translate virtual addresses to real addresses in ihx for gbz80.
2020-07-23 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCpeeph.c:
Fix bug #3089: sdcc hangs under Windows.
2020-07-22 Sergey Belyashov <sergey.belyashov@gmail.com>
* sdas/asz80/z80mch.c,
support/regression/tests/z80n-push-nn.c:
Fix invalid relocation of Z80N PUSH immediate instruction.
2020-07-22 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* sdas/linksrc/lkarea.c:
Set sane default values for gbz80 banks.
2020-07-22 Sergey Belyashov <sergey.belyashov@gmail.com>
* support/regression/tests/memory.c:
Fix test compilation on small systems.
2020-07-22 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/mappings.i:
Unify emitted gbz80 asm and fix indentation.
2020-07-22 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/main.c:
Improve rule order for gbz80
* src/z80/peeph-gbz80.def:
Remove sp0, which wasn't interrupt safe
2020-07-20 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/ez80_z80/memcpy.s,
device/lib/z180/memcpy.s,
device/lib/z80/memcpy.s,
device/lib/z80n/memcpy.s,
support/regression/tests/memory.c:
Fix invalid return value of memcpy implementation for Z80.
2020-07-21 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCpeeph.c:
Fix possible ready beyond a buffer in canJoinRegs constraint.
2020-07-21 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c:
Sanity checks for sscanf arguments.
2020-07-20 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/ez80_z80/Makefile.in,
device/lib/ez80_z80/__itoa.s,
device/lib/ez80_z80/__ltoa.s,
device/lib/ez80_z80/__strreverse.s,
device/lib/ez80_z80/__uitobcd.s,
device/lib/ez80_z80/__ultobcd.s:
Fix Bug #3077 for eZ80_Z80 port
* device/lib/z180/Makefile.in,
device/lib/z180/__itoa.s,
device/lib/z180/__ltoa.s,
device/lib/z180/__strreverse.s,
device/lib/z180/__uitobcd.s,
device/lib/z180/__ultobcd.s:
Fix Bug #3077 for Z180 port
* device/lib/z80n/Makefile.in,
device/lib/z80n/__itoa.s,
device/lib/z80n/__ltoa.s,
device/lib/z80n/__strreverse.s,
device/lib/z80n/__uitobcd.s,
device/lib/z80n/__ultobcd.s:
Fix Bug #3077 for Z80N port
2020-07-20 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/peeph-ez80_z80.def:
Fix ez80 peephole rules 9hl and 9de.
2020-07-20 Sergey Belyashov <sergey.belyashov@gmail.com>
* support/makebin/makebin.c:
Fix compiler warning.
2020-07-20 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/peeph-ez80_z80.def,
src/z80/peeph.def:
New useful peephole rules for Z80-like targets.
2020-07-20 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* support/support/makebin.c:
Add virtual address translation for gbz80 ROMs.
This is a workaround for #115.
2020-07-20 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* support/support/makebin.c:
Support IHX record type 0x04 introduced in [r11746].
This is needed for #115.
2020-07-19 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/gen.c,
src/z80/peeph-ez80_z80.def:
Improve use of hl in z80 (and related) register allocation.
2020-07-18 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/asgb/gbmch.c (minit),
* sdas/asz80/z80mch.c (minit): set address space to 24 bit
* sdas/linksrc/lkdata.c,
* sdas/linksrc/aslink.h: removed packflag
* sdas/linksrc/lkmain.c: removed packflag and warn on removed -Y option
* src/ds390/main.c,
* src/mcs51/main.c: removed --pack-iram, --no-pack-iram
* src/SDCCglobl.h,
* src/SDCCmain.c: removed options.no_pack_iram, no -Y output,
auto-define __SDCC_OPTIMIZE_SPEED or __SDCC_OPTIMIZE_SIZE when appropriate
(thanks Basil Hussain, RFE 675)
2020-07-18 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/gen.c:
Enable use of hl in gbz80 register allocation.
2020-07-17 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/main.c,
src/z80/z80.h,
src/z80/gen.c,
src/z80/ralloc.c,
src/z80/ralloc2.cc:
Enable some use of hl in gbz80 register allocation.
2020-07-17 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
support/regression/tests/bug-3087.c,
src/z80/gen.c:
Fix bug #3087, implement part of RFE #691.
2020-07-17 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/ez80_z80/memcpy.s,
device/lib/ez80_z80/Makefile.in,
device/lib/gbz80/memcpy.s,
device/lib/gbz80/Makefile.in,
device/lib/z180/memcpy.s,
device/lib/z180/Makefile.in,
device/lib/z80n/memcpy.s,
device/lib/z80n/Makefile.in:
Implement RFE #664 for ez80_z80, GBZ80, Z180 and Z80N ports
2020-07-17 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c:
Implement RFE #636: optimize stack allocation for eZ80
2020-07-17 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCval.c:
Revert unnecessary change.
2020-07-17 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/z80/Makefile.in,
device/lib/z80/__sdcc_bcall.s,
src/SDCCval.c,
src/z80/gen.c,
src/z80/main.c,
src/z80/peep.c,
src/z80/z80.h:
Initial implementation of RFE #152 for Z80 port.
2020-07-17 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
support/regression/tests/bug-3085.c:
Fix bug #3085.
2020-07-17 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
support/regression/tests/bug-3080.c:
Fix bug #3080.
2020-07-16 Philipp Klaus Krause <pkk AT spth.de>
* device/include/stdlib.h,
device/lib/__itoa.c,
device/lib/__ltoa.c,
device/lib/Makefile.in,
device/lib/*/Makefile.in,
device/lib/printfl.c,
device/lib/z80/__itoa.s,
device/lib/z80/__ltoa.s,
doc/sdccman.lyx,
support/regression/tests/itoa.c,
support/regression/tests/ltoa.c,
.version:
Fix remaining part of bug #3077.
* src/stm8/peeph.def:
Bit testing jump inversion rules, picked from patch by Basil Hussain.
2020-07-16 Sebastian 'basxto' Riedel <sdcc@basxto.de>
* src/z80/peeph-gbz80.def,
src/z80/peeph-r2k.def,
src/z80/peeph-tlcs90.def,
src/z80/peeph-z80.def,
src/z80/peeph.def:
Merge common peep hole rules for Z80 family.
2020-07-15 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/gen.c,
src/z80/main.c,
src/z80/z80.h:
Revert changes in banked_call parameters.
2020-07-15 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCasm.c,
src/SDCCglue.c,
src/z80/gen.c,
src/z80/main.c:
Add generation of function bank symbol.
Initial implementation of RFE #152
2020-07-15 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/z80/memcpy.s:
Small optimization
2020-07-15 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/z80/__uitobcd.s,
device/lib/z80/__ultobcd.s,
support/regression/tests/uitobcd.c,
support/regression/tests/ultobcd.c:
Add functions ___uitobcd() and ___ultobcd()
* device/lib/z80/__strreverse.s:
Add function ___strreverse() to reverse order of string
* device/lib/z80/__itoa.s,
device/lib/z80/__ltoa.s,
device/lib/z80/Makefile.in:
Fix Bug #3077 for Z80/Z80-resiy ports.
2020-07-14 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/z80/Makefile.in,
device/lib/z80/memcpy.s:
Implement RFE #664 for Z80 port.
2020-07-14 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/Makefile.in:
Add lib file removing before creating new one to prevent merging
Add device/lib/Makefile refreshing after changing Makefile.in
2020-07-14 Sergey Belyashov <sergey.belyashov@gmail.com>
* support/regression/tests/itoa.c,
support/regression/tests/ltoa.c:
Split itoa/ltoa tests on 5 parts. Possible workaround for Bug #3082.
Add tests for uncommon radix.
2020-07-10 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-3081.c:
Fix bug #3081.
2020-07-10 Sergey Belyashov <sergey.belyashov@gmail.com>
* device/lib/_memmove.c:
Small optimization of generic memmove() implementation
2020-07-08 Sergey Belyashov <sergey.belyashov@gmail.com>
* support/regression/tests/itoa.c:
Add tests for _uitoa() and _itoa()
* support/regression/tests/ltoa.c:
Add tests for _ultoa() and _ltoa()
2020-07-06 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCpeeph.c,
src/ds390/main.c,
src/mcs51/main.c,
src/pdk/main.c,
src/stm8/main.c,
src/port.h,
src/z80/main.c,
src/z80/peep.c,
src/z80/peep.h,
src/z80/peeph-z80.def:
Implement RFE #683: Add canSplitReg peephole constraint
2020-07-06 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/memory.c:
Document some design choices in memory function tests.
2020-07-05 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-3079.c:
Fix bug #3079.
2020-07-04 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCpeeph.c:
Implement RFE #661: Add newLabel peephole optimizer constraint
2020-07-03 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCpeeph.c,
src/port.h,
src/z80/peep.c,
src/z80/peep.h:
Add 'unordered' support to canJoinRegs peephole constraint
2020-07-03 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCpeeph.c,
src/z80/peeph-z80.def:
Implement RFE #684
2020-07-02 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
src/pdk/ralloc.c:
Improve __sfr ^ with literal.
2020-07-02 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Use rlca instead of rlc a, RFE #686.
* src/pdk/gen.c:
Improve read from literal pointer.
* src/SDCCopt.c:
Fix bug #3075.
* src/pdk/ralloc.c:
Improve bit set/reset for I/O.
2020-07-01 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
support/regression/tests/bug-3040.c:
Fix code generation for pdk additive operators with two block-scope const static operands.
2020-06-30 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/SDCCpeeph.c,
src/ds390/main.c,
src/mcs51/main.c,
src/pdk/main.c,
src/port.h,
src/stm8/main.c,
src/z80/main.c,
src/z80/peep.c,
src/z80/peep.h,
src/z80/peeph-ez80_z80.def:
Partially implement RFE #683: Support canJoinRegs peephole constraint
2020-06-29 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* debugger/mcs51/Makefile.in: include dependancy on dbuf*
2020-06-29 Sergey Belyashov <sergey.belyashov@gmail.com>
* src/z80/main.c,
src/z80/peeph-ez80_z80.def,
src/z80/peeph-z80n.def:
Implement RFE #632: Add separate peephole definition files for eZ80 and Z80N
2020-06-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c:
Fix notSimilar(), patch #332 by Baŝto.
2020-06-28 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sdas/asxxsrc/asdbg.c (BaseFileName): Possible fix for bug #3068
2020-06-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c,
src/z80/main.c:
instructionSize peephole support for gbz80, patch by Baŝto.
2020-06-24 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-3066.c:
Fix bug #3066.
* src/pdk/gen.c,
support/regression/tests/bug-3065.c:
Fix bug #3065.
2020-06-24 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c,
src/z80/peeph-gbz80.def:
Support for sp in notUsed for gbz80, patch #326 by Baŝto.
* src/z80/gen.c:
Use tlcs90 (sp) adressing mode.
* src/z80/peep.c,
src/z80/main.c:
notUsed() for gbz80 with flag support, from patch by Baŝto.
2020-06-24 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-gbz80.def:
Rename operation in immdInRange rule to prepare for further patches, patch by Baŝto.
* src/SDCCpeeph.c:
Allow bitwise operation in immdInRange, patch by Baŝto.
* device/lib/stm8-large/*
Use optimized support routines for large memory model, patch by Basil Hussain.
2020-06-21 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix bug #3064.
2020-06-20 Erik Petrich <epetrich AT ivorytower.normna.ok.us>
* src/pdk/gen.c (cheapMove, aopOp): Fix bug #3038
* src/SDCCast.c (expandInlineFuncs): Fix bug #3029
2020-06-18 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/bug-3056.c,
src/SDCCsymt.c: Fix bug #3056 for pdk too
* src/SDCCsymt.c: Fix bugs #3059, #3049, #3047 (same cause)
2020-06-17 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCmem.c,
src/pic16/main.c: Fix bug #3056
* src/pic16/gen.c: Fix bug #3057
2020-06-16 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2368.c:
Fix bug #3063.
* src/z80/gen.c,
src/z80/main.c:
Fix bug #3055.
* src/SDCCerr.h,
src/SDCCerr.c,
src/stm8/gen.c:
Fix bug #3044.
2020-06-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/ralloc.c: Fix bug #3061
* src/SDCCcse.c (algebraicOpts): Fix bug #3062
2020-06-14 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c (geniCodeJumpTable): Fix bug #3034
* src/SDCCerr.c (vwerror),
src/SDCCerr.h: Suppress duplicate diagnostic messages
2020-06-13 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCClrange.c: Fix rest of bug #3045
2020-06-13 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/main.c,
src/stm8/main.c:
Fix bug #2944.
2020-06-13 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCClrange.c,
src/SDCCopt.c: Fix bug #3045 and #3046
* src/ds390/ralloc.c: Don't assume operand is symbol
2020-06-13 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c:
isPort: Implement RFE #679 via patch #372 by Basil Hussain.
2020-06-12 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCast.c,
src/SDCCerr.c,
src/SDCCerr.h,
src/pdk/gen.c,
src/stm8/gen.c,
support/regression/tests/bug-3043.c,
support/valdiag/tests/bug-3043.c:
Fix bug #3043.
2020-06-09 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmain.c:
Fix bug #3033.
2020-06-08 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCloop.c (basicInduction): Fix bug #3022
2020-06-08 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Disable use of z80n push nn until bug #3032 is fixed.
* device/lib/ez80_z80/README,
device/lib/ez80_z80/crt0.s,
device/lib/ez80_z80/setjmp.s,
device/lib/z180/crt0.s,
device/lib/z80/crt0.s:
eZ80 setjmp/longjmp improvement, patch by b-s-a.
2020-06-08 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/ports/ucz80n,
support/regression/Makefile.in,
support/regression/fwk/include/testfwk.h:
z80n regression testing infrastructure.
* device/include/stdatomic.h,
device/lib/atomic_flag_clear.c,
device/lib/z80n/Makefile.in:
atomic_flag for z80n.
* src/SDCCglue.c:
Fix __sfr handling for z80n.
* src/z80/gen.c:
Fix z80n immediate push, use pop / push for z80n like for z80.
2020-06-08 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCopt.c (optimizeOpWidth),
src/SDCCloop.c (loopInduction): Fix bug #3027
* support/regression/tests/bug-3027: Add test
2020-06-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c,
src/z80/peeph-gbz80.def:
Improve z80 peephole functions, patch by Baŝto.
* device/include/mcs51/stc89.h:
STC89 header, patch by Diego Elio Pettenò.
2020-06-07 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (genAddrOf): Make better use of HX
2020-06-05 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.y,
support/valdiag/tests/bug-3011.c:
Fix bug #3011.
2020-06-05 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.y,
support/valdiag/tests/bug-3014.c:
Fix bug #3014.
2020-06-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/main.c,
src/z80/peep.c,
src/z80/peeph-gbz80.def:
notUsed for gbz80, patch by Baŝto.
2020-06-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCast.c:
Fix bug #3006, patch by Roy Rankin.
2020-06-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmem.c,
src/SDCCast.c,
support/valdiag/tests/bug-3010.c:
Fix bug #3010.
* src/SDCC.y,
support/valdiag/tests/bug-3009.c:
Fix bug #3009.
* src/stm8/gen.c:
Improve assignment from 8-bit I/O to file-scope and static objects.
2020-06-02 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/peeph.def: added rule 302
2020-05-30 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/ralloc.c (getRegBitTry): reverted to getRegBit
(serialRegAssign): prefer to spil bit over using register
(fillGaps): bug fix, do not change reg_type
2020-05-29 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Improve comparison with 0xff.
2020-05-29 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/ralloc2.cc,
src/pdk/gen.c,
support/regression/tests/bug-3007.c:
Improve jump-on-decrement.
2020-05-29 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/hc08/atomic_flag_test_and_set.c: fix warning
* device/lib/s08/atomic_flag_test_and_set.c: fix warning
2020-05-28 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/ralloc2.cc,
src/pdk/gen.c,
support/regression/tests/bug-3007.c:
Fix bug #3007.
2020-05-28 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCcse.c (ifxOptimize): do not replace condition after '-' so
djnz and alike can be generated
* src/mcs51/gen.c (aopOp, aopGet, aopPut, outBitC): bugfix, fill
aop_dir with "c" for ru_only and acc_use AOP_CRY
(genCmp): fixed warning
* src/SDCCsymt.h: removed unused printSymChain, printStruct
* src/hc08/gen.c (genAddrOf): increased buffer to fix warning
2020-05-25 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve stack operand range assertion.
2020-05-24 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/pdk13/Makefile.in,
device/lib/pdk13/__gptrget2.s,
device/lib/pdk13/__setjmp.s:
Fix missing asm support functions for pdk13.
* Makefile.common.in,
Makefile.in,
configure.ac,
configure,
sdccconf_in.h:
Fix --disable-z80n-port configure option.
2020-05-23 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Stack operand range assertion.
2020-05-23 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCsymt.c (addDecl): removed fix for bug 1253, no longer required
* support/regression/tests/bug1253.c: new, added
2020-05-23 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c (operandFromSymbol),
src/SDCCmem.c (allocLocal): fix bug #3003
* support/regression/tests/bug-3003.c: enable test
2020-05-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c,
src/SDCCicode.h: new support functions for updating operands
and their def/use
* src/SDCCopt.c: final fixes for bug #2828
2020-05-21 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-3003.c:
Regression test for bug #3003 (disabled until bug is fixed).
2020-05-19 Philipp Klaus Krause <pkk AT spth.de>
* device/include/iso646.h,
support/regression/tests/iso646.c:
Fix compl macro.
2020-05-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c: Fix bug #2827
2020-05-18 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCBBlock.c,
src/SDCCerr.c,
src/SDCCerr.h,
src/SDCCglobl.h,
src/SDCCglue.c,
src/SDCCmain.c,
src/pic14/glue.c,
src/pic14/pcode.c,
src/pic14/ralloc.c,
src/pic16/glue.c,
src/pic16/pcode.c,
src/pic16/ralloc.c,
src/z80/main.c:
Improve file open error messages (patch by jbit).
2020-05-17 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Fix link to wiki (was still pointing at previous, no-longer-existing wiki).
2020-05-15 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
support/regression/tests/bug-3002.c:
Fix bug #3002.
* device/lib/*/Makefile.in:
Compile libraries with --max-allocs-per-node 25000 for more optimization.
2020-05-11 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/wchar.c:
Fix bug #2572
2020-05-11 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/wchar.c: fix bug #2572
2020-05-10 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.y,
src/SDCCerr.h,
src/SDCCerr.c,
support/valdiag/tests/enum.c,
support/regression/tests/enum.c:
Fix handling of trailing comma after enumerator list.
2020-05-10 Philipp Klaus Krause <pkk AT spth.de>
* support/scripts/sdcc.nsi:
Fix bug #2972 for tlcs90.
* support/valdiag/Makefile.in:
Fix bug #2971.
* src/SDCC.y,
src/SDCCerr.h,
src/SDCCerr.c:
Align grammar more closely with C2X draft N2479.
2020-05-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix bug #3001.
2020-05-05 Philipp Klaus Krause <pkk AT spth.de>
* sdas/asz80/z80.h,
sdas/asz80/z80mch.c,
sdas/asz80/z80pst.c:
Remove Z80N MMU instruction support.
2020-05-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peep.c:
Implement RFE #676.
* device/lib/pic16/libc/stdlib/g_ftoa.S,
device/lib/pic16/libc/utils/cvtdec.S:
Fix bug #3000 (patch by Roy Rankin).
2020-05-03 Philipp Klaus Krause <pkk AT spth.de>
* sdas/asz80/z80mch.c,
src/z80/gen.c,
src/z80/peep.c:
Support Z80N mlt and swap instructions, part of RFE #573, #656.
2020-05-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve stack parameter pushing, overlaps with RFE #676.
2020-05-02 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix a bug in pushing on-stack-parameters on r2k.
2020-05-02 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
Improve ifx on 8-bit value (remaining part of RFE #668).
2020-05-02 Philipp Klaus Krause <pkk AT spth.de>
* Merge z80n branch.
2020-05-02 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-pr88714.c:
Bug #2949 wasn't a bug, just lack of RAM resulting in a stack overflow.
2020-04-29 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Improve pointer write on rematerialized stack location.
2020-04-29 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
support/regression/tests/gcc-torture-execute-950511-1.c:
Fix bug #2938.
2020-04-29 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Improve pointer read on rematerialized stack location.
2020-04-29 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
support/regression/tests/gcc-torture-execute-20000113-1.c:
Fix bug #2937.
2020-04-26 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2995.c:
Disable test for mcs51, pdk until I find out how to place space_a segment in RAM in a regression test.
2020-04-25 Philipp Klaus Krause <pkk AT spth.de>
* .version:
Bump version post 4.0.0-release.
* src/SDCCsymt.c,
src/SDCCopt.c,
src/SDCCmem.c,
support/regression/tests/bug-2995.c:
Fix bug #2995.
2020-04-24 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/mm-pnvi-ae-udi-provenance_basic_using_uintptr_t_auto_yx.c:
Check for either __PPC__ or __POWERPC__
2020-04-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/mm-pnvi-ae-udi-provenance_basic_using_uintptr_t_auto_yx.c:
Disable test for GCC on PPC instead of clang
2020-04-21 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2993.c:
Disable test for mcs51-huge (bug #2994).
* support/regression/tests/callee_saves.c:
Fix macro spelling to enable for mcs51.
2020-04-15 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
support/regression/tests/bug-2993.c:
Fix bug #2993.
2020-04-11 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/mm-pnvi-ae-udi-provenance_basic_using_uintptr_t_auto_yx.c:
Disable test for clang, since older clang is known to fail it (resulting in false macOS regression test failures).
* src/SDCCast.c,
src/SDCCicode.c:
Simplify code removing obstacles for struct parameter support.
2020-04-05 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sim/ucsim/z80.src/ez80.cc: change int8_t to i8_t
2020-04-04 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
support/regression/tests/mm-pnvi-ae-udi-pointer_offset_xor_auto.c:
Fix bug #2992.
2020-04-04 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
support/regression/tests/mm-pnvi-ae-udi-pointer_offset_xor_auto.c:
Fix bug #2989.
2020-04-04 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
support/regression/tests/mm-pnvi-ae-udi-pointer_offset_from_int_subtraction_auto_xy.c,
support/regression/tests/mm-pnvi-ae-udi-pointer_offset_from_int_subtraction_auto_yx.c,
support/regression/tests/mm-pnvi-ae-udi-pointer_offset_xor_auto.c:
Fix bug #2990.
2020-04-03 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/mm-pnvi-ae-udi-pointer_from_int_disambiguation_2.c,
support/regression/tests/mm-pnvi-ae-udi-pointer_from_int_disambiguation_2_xy.c:
Fix bug #2991.
2020-04-03 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/mm-pnvi-ae-udi-*:
Memory model tests, RFE #672.
2020-03-31 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/realloc.c:
Document some realloc details.
2020-03-22 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
support/regression/tests/gcc-torture-execute-strlen-4.c:
Fix stm8-specific aspect of bug #2987.
2020-03-22 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCast.c,
support/valdiag/Makefile.in,
support/valdiag/valdiag.py,
support/valdiag/tests/bug-2984.c:
Fix bug #2984, enable valdiag tests for pdk13 and pdk14.
* support/regression/tests/gcc-torture-execute-strlen-4.c:
Partially enable a test that now compiles.
2020-03-12 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c,
support/regression/tests/bug-2817.c,
support/regression/tests/bug-2973.c:
Fix bugs #2817 and #2973, patches by Thomas.
2020-03-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* device/lib/hc08/Makefile.in,
* device/lib/s08/Makefile.in: add atomic_flag_clear.c
2020-03-09 Philipp Klaus Krause <pkk AT spth.de>
* device/include/stdatomic.h,
device/lib/atomic_flag_clear.c,
device/lib/*/atomic_flag_test_and_set.s,
device/lib/*/Makfeile.in,
support/regression/tests/atomic.c:
Basic atomic_flag support.
2020-03-06 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c,
support/regression/tests/bug-2982.c:
Fix bug #2982.
* src/z80/gen.c:
Improve code generation for 16-bit addition with literal.
2020-03-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c,
* src/ds390/gen.c: fixed bug #2980
2020-02-13 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/z80/peeph-z80.def,
src/z80/peeph-r2k.def:
Improve flexibility of some peephole rules.
2020-02-13 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/z80/peeph-z80.def:
Additional z80 peephole rules picked from patch #314 by b-s-a.
2020-02-12 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/SDCCopt.c,
src/z80/gen.c:
Allow non-literal third argument for ldir-memcpy().
2020-02-12 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/z80/gen.c:
Use macros for immediate data to improve assembler portability, patch #315 by b-s-a.
2020-02-09 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-gbz80.def:
Fix bug #2974.
2020-01-23 Philipp Klaus Krause <pkk AT spth.de>
* sdas/linksrc/Makefile.in:
Fix bug #2969.
2020-01-22 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix bug #2967.
2020-01-19 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Fix a typo in documentation.
2020-01-18 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Update manual.
* .version,
doc/INSTALL.txt,
sdcc.spec:
Bump version in preparation of 4.0.0 release.
2020-01-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c,
support/regression/tests/bug-2966.c:
Fix bug #2966.
2020-01-14 Benedikt Freisen <b.freisen AT gmx.net>
* src/SDCCglue.c,
support/regression/tests/fptr_cast_array_init.c:
Implement feature request #598 (Cannot initialize arrays with type cast function pointers).
2020-01-13 Benedikt Freisen <b.freisen AT gmx.net>
* src/SDCCast.c,
support/regression/tests/bug-2859.c,
support/valdiag/tests/bug-2859.c:
Fix bug #2859 (Cannot compare function to 0)
2020-01-13 Benedikt Freisen <b.freisen AT gmx.net>
* src/SDCC.y,
src/SDCCerr.c,
src/SDCCerr.h: Add parser rules and an error message for compound literals.
2020-01-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* configure.ac,
configure,
src/SDCC.lex: Gracefully handle when uchar.h is missing
2020-01-10 Benedikt Freisen <b.freisen AT gmx.net>
* sdas/asxxsrc/asdata.c,
sdas/asxxsrc/aslex.c,
sdas/asxxsrc/asxxxx.h,
sdas/linksrc/aslink.h,
sdas/linksrc/lkdata.c,
sdas/linksrc/lklex.c:
Make the character input routines in sdas and sdld 8-bit-safe (bug #2961) and interpret all extended ASCII characters as letters.
* src/SDCC.lex,
src/SDCCutil.c,
support/regression/tests/idf_ucn_utf8.c:
Add compiler support for UCNs and non-ASCII-utf8 in identifiers (patch #311) -- the internal representation is utf8.
2020-01-09 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/hc08/gen.c,
support/regression/tests/bug-2825.c:
Fix bug #2825.
* support/regression/tests/gcc-torture-execute-20040409-1.c,
support/regression/tests/gcc-torture-execute-20040409-2.c,
support/regression/tests/gcc-torture-execute-20040409-3.c:
Remove some tests that depend on older GCC implementation-defined behaviour on signed int overflow.
2020-01-08 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
support/regression/tests/bug-2964.c:
Fix bug #2964.
2019-12-29 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc2.cc,
src/stm8/gen.c,
src/SDCCsymt.c:
Reenable partial register allocation for stm8, that was accidentially partially disabled when enabling the new stack allocator.
2019-12-15 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Use add dd, a for z80n.
* support/scripts/sdcc.nsi:
Include z80n library in Windows installer.
2019-12-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Enable use of rld and rrd for z80n.
2019-12-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Use tst a, n for z80n.
2019-12-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Revive non-destructive &.
2019-12-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peep.c:
Use add dd, nn for z80n.
2019-12-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
Use push nn for z80n.
2019-12-14 Philipp Klaus Krause <pkk AT spth.de>
* sdas/asrab/rabmch.c:
Fix ex (sp), hl for Rabbits.
* src/z80/gen.c:
Fix an issue in eZ80 pointer read.
2019-12-14 Philipp Klaus Krause <pkk AT spth.de>
* configure,
configure.ac,
device/lib/Makefile.in,
device/lib/clean.mk,
device/lib/z80n/Makefile.in,
sdcc.spec,
src/SDCCgue.c,
src/SDCCmain.c,
src/SDCCopt.c,
src/port.h,
src/z80/gen.c,
src/z80/main.c,
src/z80/z80.h,
device/include/*,
device/lib/z80n:
Infrastructure for z80n backend.
2019-12-14 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c,
support/regression/tests/bug-2932.c:
Fix bug #2932.
2019-12-12 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c,
support/regression/tests/bug-2932.c:
Fix bug #2932.
2019-12-12 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc,
src/z80/main.c:
Improve use of sbc hl, rr in comparisons, part of RFE #641.
2019-12-12 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
Improve <<, part of RFE #639.
2019-12-10 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/literalop.c:
Avoid testing for undefined behaviour that happens to be implementation-defined in GCC, but not clang.
2019-12-09 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/SDCClospre.cc:
Improve handling of ADDRESS_OF.
* support/regression/tests/bug-2957.c:
Test for bug #2957.
* src/pdk/gen.c,
support/regression/tests/bug-2959.c,
support/regression/tests/bug-2958.c:
Fix bugs #2959, #2958.
2019-12-02 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/string.c:
Make preprocessor guards compatible with default setting of clang-9.
2019-11-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClrange.c,
support/regression/tests/bug-2956.c:
Fix bug #2956.
2019-11-22 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.y:
Fix bug #2953.
2019-11-21 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.y:
Fix bug #2954.
2019-11-21 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.y:
Revert previous syntax error on multiple data types commit, since it broke __at (which in SDCC is a type specifier).
2019-11-20 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/SDCC.y:
Allow C2X attribute declarations and attribute arguments.
2019-11-20 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/SDCC.y:
Reorganize grammar by appendix A.2 of C2X.
2019-11-19 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/SDCC.lex,
src/SDCC.y,
src/SDCCerr.h,
src/SDCCerr.c:
Allow C2X attributes on statements.
2019-11-19 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c,
support/regression/tests/gcc-torture-execute-20181120-1.c:
Fix bug #2947.
* src/SDCC.lex,
support/regression/tests/c2xkeywords.c:
Support C2X keyword from N2457.
* support/regression/tests/gcc-torture-execute-pr47148.c,
support/regression/tests/gcc-torture-execute-pr63659.c,
support/regression/tests/gcc-torture-execute-pr64682.c:
Enable some tests that depend on C99 features now supported by SDCC.
2019-11-19 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* support/regression/tests/gcc-torture-execute-*:
Add more GCC tests, RFE #652.
2019-11-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def,
src/z80/peeph-tlcs90.def,
src/z80/peeph-r2k.def,
src/z80/peeph-gbz80.def:
Improve fix for bug #2914.
2019-11-11 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.lex,
src/SDCCval.c,
src/SDCCerr.h,
src/SDCCerr.c:
C2X u8 character constants (N2418).
2019-11-09 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.cc,
support/regression/tests/bug-2942.c:
Fix bug #2942.
2019-11-06 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* support/regression/ports/pdk15-stack-auto/spec.mk:
Increase timeout for regression testing on ARMv6.
2019-11-05 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/SDCClrange.c:
Allow more live-range shortening for stm8, pdk.
2019-11-05 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/stm8/gen.c:
Improve wide & by small constants and register result.
* src/SDCCsymt.c,
src/SDCCerr.h,
src/SDCCerr.c,
support/valdiag/tests/bug-2940.c:
Fix bug #2940.
2019-11-05 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c,
src/stm8/gen.c,
src/z80/gen.c:
Fix a bug in optimization of tail calls in interrupt handlers.
2019-11-02 Philipp Klaus Krause <pkk AT spth.de>
* support/scripts/sdcc.nsi:
Fix Windows installation of pdk13 and pdk15-stack-auto files.
2019-11-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/sdbinutils/binutils/Makefile.am,
support/sdbinutils/binutils/Makefile.in: prefer static linked libz
for the Windows snapshot builds so that we don't need another DLL
2019-11-01 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/SDCCsymt.c,
src/SDCCopt.c,
support/regression/tests/bug-2907.c:
Fix bug #2907.
* support/regression/ports/pdk15-stack-auto/spec.mk:
Increase timeout for regression testing on ARMv6.
2019-10-25 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Fix handling of rematerialized pointers to the stack in y.
2019-10-24 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def,
src/stm8/gen.c,
src/stm8/ralloc.c:
Various small improvements.
2019-10-23 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/stm8/gen.c,
src/pdk/gen.c:
Improve ! of bool.
2019-10-23 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/stm8/gen.c:
Register shuffling fix, small | improvement.
2019-10-21 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Fix an issue in stack operands of shifts.
* support/regression/tests/gcc-torture-execute-20000113-1.c,
support/regression/tests/gcc-torture-execute-950511-1.c,
support/regression/tests/gcc-torture-execute-pr42833.c:
Disable tests failing due to known bugs.
2019-10-16 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Fix a typo that resulted in comp being emitted for pdk13.
2019-10-19 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/pdk15-stack-auto/__setjmp.s:
Fix bug #2934.
* src/pdk/gen.c:
Fix 3 issues in handling of non-dead p.
2019-10-16 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Use pdk15 comp.
2019-10-15 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Fix code generation for calls via function pointers.
2019-10-14 Philipp Klaus Krause <pkk AT spth.de>
* Merge pic14 branch.
2019-10-13 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.h,
src/SDCCicode.c,
src/SDCCsalloc.hpp,
src/stm8/gen.c,
src/z80/gen.c,
src/pdk/gen.c:
Improve tail call optimization.
2019-10-11 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.h:
Fix error message, patch #307 by RvS.
* src/SDCCsymt.c:
Indentation fix.
2019-10-07 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pic14/glue.c:
Improve compability with trunk, patches by Gonzalo Pérez de Olaguer Córdoba.
2019-10-06 Philipp Klaus Krause <pkk AT spth.de>
* sdas/aspdk15/pdk15pst.c:
Fix swapc bug #2935.
2019-10-02 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c:
Improve handling of stack operands in comparison.
2019-10-01 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c:
Fixes and improvements for stack operands.
* .version:
Bump version for advances in -mpdk15 --stack-auto.
* configure.ac,
configure,
sim/ucsim/configure.ac,
sim/ucsim/configure,
sdccconf_in.h,
sim/ucsim/ddconfig_in.h:
Remove check for strerror(), which is part of C89 and used unconditionally in SDCC anyway.
2019-09-30 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c:
Fixes and improvements for stack operands.
* configure,
configure.ac,
device/lib/Makefile.in,
device/lib/clean.mk,
device/lib/pdk15-stack-auto,
src/pdk/main.c,
support/regression/Makefile.in,
support/regression/ports/pdk15-stack-auto:
Infrastructure for -mpdk15 --stack-auto regression testing.
2019-09-28 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Fixes for stack operands and rematerialized stack locations.
2019-09-27 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Fixes for stack operands.
2019-09-27 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Fix tracking of pseudoregister in shifts.
2019-09-27 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/ralloc.c:
Fix a bug affecting rematerialized addresses cast to integers of multiple widths.
2019-09-27 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
src/pdk/ralloc2.cc:
Improve register allocation.
2019-09-26 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
src/pdk/gen.h,
src/pdk/ralloc.c,
src/pdk/ralloc2.cc:
Rematerialize stack adresses, improve handling of on-stack operands.
2019-09-25 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
support/regression/tests/gcc-torture-execute-20020402-3.c,
support/regression/tests/gcc-torture-execute-divconst-2.c,
support/regression/tests/gcc-torture-execute-pr78791.c:
Fixes for on-stack operands.
2019-09-24 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/addsub.c,
support/regression/tests/ato.c,
support/regression/tests/bitfields.c,
support/regression/tests/bitwise.c,
support/regression/tests/bug-2621.c,
support/regression/tests/bug-2833.c,
support/regression/tests/bug1115321.c,
support/regression/tests/bug3410878.c,
support/regression/tests/bug3521024.c,
support/regression/tests/compare.c,
support/regression/tests/condopptr.c,
support/regression/tests/constantRange.c,
support/regression/tests/ctype.c,
support/regression/tests/funptrs.c,
support/regression/tests/gcc-torture-execute-20000603-1.c,
support/regression/tests/gcc-torture-execute-20000731-1.c,
support/regression/tests/gcc-torture-execute-20020201-1.c,
support/regression/tests/gcc-torture-execute-20020506-1.c,
support/regression/tests/gcc-torture-execute-20040409-2.c,
support/regression/tests/gcc-torture-execute-ashldi-1.c,
support/regression/tests/gcc-torture-execute-ashrdi-1.c,
support/regression/tests/gcc-torture-execute-divcmp-4.c,
support/regression/tests/gcc-torture-execute-divconst-3.c,
support/regression/tests/gcc-torture-execute-divmod-1.c,
support/regression/tests/gcc-torture-execute-lshrdi-1.c,
support/regression/tests/gcc-torture-execute-pr19606.c,
support/regression/tests/gcc-torture-execute-pr39339.c,
support/regression/tests/gcc-torture-execute-pr19606.c,
support/regression/tests/gcc-torture-execute-string-opt-5.c,
support/regression/tests/gcc-torture-execute-pr19606.c,
support/regression/tests/gcc-torture-execute-va-arg-10.c
support/regression/tests/gcc-torture-execute-pr19606.c,
support/regression/tests/gcc-torture-execute-va-arg-9.c,
support/regression/tests/gcc-torture-execute-pr19606.c,
support/regression/tests/logic.c,
support/regression/tests/gcc-torture-execute-pr19606.c,
support/regression/tests/malloc.c,
support/regression/tests/gcc-torture-execute-pr19606.c,
support/regression/tests/memory.c,
support/regression/tests/gcc-torture-execute-pr19606.c,
support/regression/tests/muldiv.c,
support/regression/tests/gcc-torture-execute-pr19606.c,
support/regression/tests/onebyte.c,
support/regression/tests/gcc-torture-execute-pr19606.c,
support/regression/tests/rotate.c,
support/regression/tests/shifts.c,
support/regression/tests/shifts2.c,
support/regression/tests/staticinit.c,
support/regression/tests/string.c,
support/regression/tests/switch.c,
support/regression/tests/wchar.c:
Preparations for -mpdk15 --stack-auto regression testing.
2019-09-24 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c,
src/pdk/gen.c,
support/regression/ports/pdk14/support.c,
support/regression/ports/pdk15/support.c:
Fixes for on-stack operands.
2019-09-21 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
src/pdk/ralloc2.cc,
src/pdk/peeph.def:
Fixes for on-stack operands.
2019-09-16 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
src/pdk/ralloc2.cc:
Fixes for on-stack operands.
2019-09-13 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix wide load via pointer with register result in ahl.
2019-09-12 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Fixes for on-stack operands.
2019-09-09 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Various improvements.
* device/lib/_fseq.c:
Refactor to reduce RAM use.
2019-09-09 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Improve handling of stack operands.
2019-09-08 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Fix handling of stack operands in right shift.
2019-09-08 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
src/pdk/ralloc2.cc:
Improve push.
2019-09-07 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Improve subtraction flexibility.
2019-09-03 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/ralloc2.cc,
src/SDCCsalloc.hpp,
src/pdk/ralloc.c,
support/regression/tests/gcc-torture-execute-va-arg-19.c:
Use Chaitin-style allocator for stack variables.
* src/pdk/gen.c:
Optimize out assignments between coalesced stack variables.
2019-09-02 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c:
Emulate nadd a, m for pdk14, pdk13.
2019-09-02 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c,
src/SDCCopt.c,
support/regression/tests/bug-2931.c:
Fix bug #2931.
2019-09-02 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c,
support/regression/tests/nadd.c:
Use nadd in subtraction for pdk15.
2019-08-22 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/pdk.src/glob.cc,
sim/ucsim/pdk.src/inst.cc,
sim/ucsim/pdk.src/instcl.h,
sim/ucsim/pdk.src/pdk.cc,
sim/ucsim/pdk.src/pdkcl.h,
sim/ucsim/pdk.src/regspdk.h:
pdk13 I/O fix (patch #305 by Serge Rabyking).
.version:
Bump version for all the pdk13 fixes we got so far.
* src/z80/gen.c,
src/z80/ralloc2.cc:
Improve unsigned char right shift by literal (also part of RFE #639).
2019-08-20 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve wide ==, !=, part of RFE #641.
2019-08-19 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc,
support/regression/test/bug-2929.c:
Fix bug #2929.
2019-08-17 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/strdup.c:
Fix strdup buffer overflow (patch #306).
2019-08-16 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/gen.c:
Improve ~ register allocation (RFE #638).
2019-08-16 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peeph-z80.def,
src/z80/peeph-tlcs90.def,
src/z80/peeph-r2k.def:
Improve caching of zero on pointer write.
2019-08-16 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve assignment.
* device/include/string.h,
device/lib/strdup.c,
device/lib/strndup.c,
device/lib/incl.mk:
Implement C2X string duplication functions.
2019-08-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c:
Improve notUsed() precision, alternative to patch from z88dk fork.
* src/stm8/*.def:
Add rule from patch #304.
* src/z80/gen.c:
Improve load of hl.
2019-08-14 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peep.c,
src/stm8/peeph.def:
stm8 peephole optimization improvements, mostly picked from patch #290.
* sdas/asxxsrc/asmcro.c:
Improve sdas behaviour on internal error, patch from bug #2626.
* src/z80/peep.c:
Pick some peephole optimization improvements from z88dk fork.
2019-08-12 Philipp Klaus Krause <pkk AT spth.de>
* sdas/aspdk13/pdk13mch.c:
Bit instruction fixes by Free-PDK.
* device/lib/pdk13/__gptrget.s:
Pointer read fix as suggested by Serge Rabyking (see patch #305).
2019-07-24 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Small improvements in handling of wide values.
2019-07-18 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2363.c:
Disabled a test that won't work on pic14 due to lack of memory.
2019-07-17 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve aop moves (in particular wrt. 16-bit ld).
2019-07-12 Philipp Klaus Krause <pkk AT spth.de>
* device/include/ctype.h,
device/include/pic14/stdlib.h,
support/regression/fwk/include/testfwk.h:
Minor improvements towards pic14 regression testing suggested by Gonzalo Pérez de Olaguer Córdoba.
2019-07-11 Philipp Klaus Krause <pkk AT spth.de>
* sdcc/device/lib/pic14/libsdcc/idata.c:
Fix missing extern declaration of main.
2019-07-11 Philipp Klaus Krause <pkk AT spth.de>
* .version:
Reflect recent progress on pdk13 by bumping the version number.
2019-07-08 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* sim/ucsim/pdk.src/inst.cc,
sdas/aspdk13/pdk13pst.c,
sdas/aspdk13/pdk13mch.c,
src/pdk/main.c,
src/pdk/gen.c:
Remove cneqsn for pdk13 fixing bug #2923.
2019-07-01 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pic14/gen.c:
Fixes for bit-fields, from patches by Gonzalo Pérez de Olaguer Córdoba.
* src/pic14/glue.c:
Fixes from patches by Gonzalo Pérez de Olaguer Córdoba.
2019-06-30 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/preserves_regs.c:
Improve handling of iy, should fix bug #2918.
2019-06-29 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/ralloc.c,
src/hc08/ralloc.c,
src/mcs51/ralloc.c,
src/ds390/ralloc.c,
src/stm8/ralloc.c,
src/pdk/ralloc.c,
src/pic14/ralloc.c,
src/pic16/ralloc.c: fix bug #2920
* src/hc08/gen.c: fix bug with negative array index
2019-06-28 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/peeph.def:
Add a rule suggested by Free-PDK in RFE #630.
* sdas/aspdk13/pdk13mch.c:
Fix curly brackets.
* Makefile.in:
Fail build if any assembler fails to build.
2019-06-27 Philipp Klaus Krause <pkk AT spth.de>
* sdas/aspdk13/pdk13pst.c,
sdas/aspdk13/pdk13mch.c:
Fix bug #2919 via suggestion by Free-PDK.
2019-06-24 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* Merge pdk branch to trunk.
2019-06-24 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* sdas/aspdk13/pdk13pst.c,
sdas/aspdk13/pdk13mch.c:
Fix bug #2915 via suggestion by Free-PDK.
* configure.ac,
configure:
Disable pdk16 port by default.
2019-06-23 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/*.c:
Disable some tests for pic14 that won't work anytime soon.
Partially picked from patch by Gonzalo Pérez de Olaguer Córdoba.
* src/SDCCast.c,
src/pic14/gen.c,
src/pic14/gen.h,
src/pic14/genarith.c,
src/pic14/pcode.c,
src/pic14/pcodepeep.c,
src/pic14/ralloc.c:
Fixes from patch by Gonzalo Pérez de Olaguer Córdoba.
2019-06-22 Philipp Klaus Krause <pkk AT spth.de>
* src/z88/ralloc2.cc,
src/z80/gen.c:
Improve handling of a in bitwise operations.
* src/pdk/main.c:
Fix bug #2916.
* src/z80/peeph-z80.def:
Fix bug #2914.
2019-06-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/scripts/sdcc.nsi: pic14/libm no longer has *.c files
to install
2019-06-18 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/gen.c:
Improve handling of a in &.
2019-06-18 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc:
Fix an issue in register allocation for GET_VALUE_AT_ADRESS.
2019-06-17 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* support/regression/tests/bug-2912.c:
Fix a typo that resulted in a test being accidentially enabled for pdk.
* src/z80/gen.c:
Fix handling of swapped register operand in 16-bit shift by literal.
2019-06-16 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/SDCCgen.h,
src/SDCCgen.c,
src/z80/gen.c:
Improve handling of a.
2019-06-16 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix an issue in iy shuffling.
2019-06-15 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc.c,
src/z80/ralloc2.cc:
Handle iy like other registers.
2019-06-15 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
Minor register allocation improvement,
fix a --reserve-regs-iy issue.
2019-06-14 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/z80/gen.c,
support/regression/tests/bug-2912.c:
Fix bug #2912.
2019-06-13 Philipp Klaus Krause <pkk AT spth.de>
* src/regression/*:
Update pic-specific rudimentary regression test framework.
2019-06-12 Philipp Klaus Krause <pkk AT spth.de>
* Merge pic14 branch.
2019-06-12 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* device/lib/pic14/Makefile.common,
device/lib/pic14/Makefile.in,
device/lib/pic14/libc/Makefile.in,
device/lib/pic14/libm/Makefile.in,
device/lib/pic14/libsdcc/enhanced/Makefile.in,
device/lib/pic14/libsdcc/enhanced-no-xinst/Makefile.in,
device/lib/pic14/libsdcc/regular/Makefile.in:
Fix another pic14 out-of-tree-build issue.
2019-06-11 Philipp Klaus Krause <pkk AT spth.de>
* device/include/ctype.h,
device/include/pic14/stdlib.h:
Work around some pic14 inlining issue.
* sdcc/aclocal.m4,
sdcc/config.guess,
sdcc/config.sub,
sdcc/device/lib/pic14/install-sh,
sdcc/device/lib/pic14/libc/Makefile.am,
sdcc/device/lib/pic14/libc/Makefile.in,
sdcc/device/lib/pic14/libm/Makefile.am,
sdcc/device/lib/pic14/libm/Makefile.in,
sdcc/device/lib/pic14/libsdcc/enhanced/Makefile.am,
sdcc/device/lib/pic14/libsdcc/enhanced/Makefile.in,
sdcc/device/lib/pic14/libsdcc/enhanced-no-xinst/Makefile.am,
sdcc/device/lib/pic14/libsdcc/enhanced-no-xinst/Makefile.in,
sdcc/device/lib/pic14/libsdcc/regular/Makefile.am,
sdcc/device/lib/pic14/libsdcc/regular/Makefile.in,
sdcc/device/lib/pic14/missing,
sdcc/install-sh,
sdcc/sim/ucsim/ddconfig_in.h,
sdcc/support/sdbinutils/bfd/doc/bfdver.texi:
Fix pic14 library out-of-tree build.
* device/lib/pic14/configure.ac,
device/lib/pic14/configure:
Disable default build of extra libary flavors.
2019-06-11 Philipp Klaus Krause <pkk AT spth.de>
* device/include/ctype.h,
device/include/pic14/stdlib.h:
Work around some pic14 inlining issue.
2019-06-10 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c,
src/pdk/gen.c,
src/pdk/peep.c,
src/pdk/peeph.def:
pdk peephole improvements.
2019-06-10 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/main.c,
src/pdk/peep.h,
src/pdk/peep.c,
src/pdk/peeph.def:
notUsed() and notUsedFrom().
* src/stm8/peep.c,
src/z80/peep.c:
Fixes for notUsedFrom().
2019-06-10 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c,
src/pdk/gen.c,
src/pdk/peep.c,
src/pdk/peeph.def:
pdk peephole improvements.
2019-06-10 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/main.c,
src/pdk/peep.h,
src/pdk/peep.c,
src/pdk/peeph.def:
notUsed() and notUsedFrom().
* src/stm8/peep.c,
src/z80/peep.c:
Fixes for notUsedFrom().
2019-06-06 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* device/include/wchar.h,
device/lib/mbrtowc.c,
device/lib/mbtowc.c,
device/lib/wctomb.c,
support/regression/tests/constantRange.c,
support/regression/tests/driverstruct.c,
support/regression/tests/float.c,
support/regression/tests/nullstring.c,
support/regression/tests/snprintf.c:
Library and test improvements, from patch by Gonzalo Pérez de Olaguer Córdoba.
* src/pic14/glue.c,
src/pic14/main.c:
Predefined macros for pic14 variants, patch by Gonzalo Pérez de Olaguer Córdoba.
* device/lib/clean.mk:
Cleanup pdk13 library files.
* device/include/asm/pic14/features.h,
device/include/pic14,
device/lib/pic14,
src/SDCCsymt.c,
src/pic14/main.c:
pic14 library cleanup, patch by Gonzalo Pérez de Olaguer Córdoba.
* sdas/asz80/z80mch.c:
Fix bug #2910.
* src/pdk/gen.c:
Use xch for wide in-place shift by 8.
2019-06-04 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regress/tests/gcc-torture-execute-pr34456.c:
added missing __reentrant and re-enabled for ds390
2019-06-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/bugs-1596270-1736867.c:
re-enable test for ds390; it passes now
2019-05-31 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/ds390/gen.c: fix assignment into far space from dph/dpl
* src/mcs51/peep.c: fix bug #2909
2019-05-29 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c:
Improve arithmetic right shift.
* src/hc08/gen.c:
Minor improvements suggested by Tony Papadimitriou.
* src/stm8/gen.c,
support/regression/tests/gcc-torture-execute-stdarg-5.c:
Improve addition flexibility wrt. register assignment.
2019-05-29 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcse.c,
src/SDCCopt.c: fix some def/use bugs
* support/regression/tests/gcc-torture-execute-stdarg-5.c:
disable test for stm8, unimplemented addition op
* src/mcs51/ralloc.c,
src/ds390/ralloc.c,
src/hc08/ralloc.c,
src/z80/ralloc.c,
src/pdk/ralloc.c,
src/pic14/ralloc.c,
src/pic16/ralloc.c: fix a live range bug
2019-05-02 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* device/include/string.h,
device/lib/incl.mk,
device/lib/memccpy.c,
support/regression/tests/memory.c:
Implement C2X memccpy().
2019-04-27 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/ralloc.c,
src/pdk/gen.c:
Improve register packing.
2019-04-27 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c,
src/pdk/peeph.def:
Improve workaround for missing addc/subc a, k; improve shifts by 7, 15, etc; fix handling of non-dead a in wide right shifty by literal.
2019-04-24 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Fix note on endianness.
2019-04-21 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Fix bug #2904.
* src/z80/gen.c:
Implement RFE #623.
2019-04-18 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/pdk.src/inst.cc:
Fix addc m, a, patch by Nicolas Lesser,
fix subs m, a.
* src/pdk/gen.c:
+=, -= optimization; fix wide == between stack and register operand.
2019-04-17 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/pdk.src/pdk.cc:
Fix register dump, patch by Nicolas Lesser.
2019-04-17 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c:
Various fixes and improvements.
* src/SDCCpeeph.c,
src/pdk/peeph.def:
Remove untargeted labels.
* support/regression/tests/*.c:
Disable tests that won't work anytime soon on pkd15.
* sim/ucsim/globals.cc:
More verbose pdk subtype output.
2019-04-16 Philipp Klaus Krause <pkk AT spth.de>
* sdas/aspdk16,
Makefile.common.in,
Makefile.in,
configure,
configure.ac,
sdas/asxxsrc/sdas.c,
sdas/asxxsrc/sdas.h:
Infrastructure for pdk16 assembler, based on patch
by Leo and Nicolas.
2019-04-16 Philipp Klaus Krause <pkk AT spth.de>
* Merged pdk branch to trunk.
2019-04-15 Philipp Klaus Krause <pkk AT spth.de>
* sdas/linksrc/lkrloc3.c:
pdk13 linker fix, patch By Nicolas Lesser.
2019-04-15 Philipp Klaus Krause <pkk AT spth.de>
* Merged post-3.9 branch to trunk.
2019-04-15 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c:
Fix POINTER_SET with left operand on stack, right operand in pseudo-register.
2019-04-14 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-460010.c,
support/regression/tests/bug1928022.c,
support/regression/tests/gcc-torture-execute-991216-2.c,
support/regression/tests/gcc-torture-execute-va-arg-1.c,
support/regression/tests/gcc-torture-execute-va-arg-15.c:
Disable some tests for pdk15, on which they won't work anytime soon.
* src/pdk/gen.c:
Improve handling of 16-bit return value,
fix stack parameters,
fix carry in comparison of wide stack values.
* src/pdk/peeph.def:
Remove double exchange.
2019-04-13 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Fix a bug in 16-bit store from registers via rematerialized pointer with non-zero offset;
fix a bug in handling of on-stack operands to &,|;
fix a bug in handling of past-end offsets for stack operands.
2019-04-09 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c:
Fix handling of -0.0 in ifx.
2019-04-09 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* sdas/linksrc/lkrloc3.c:
Linker warning improvement, patch by Nicolas Lesser.
* support/regression/tests/*.c:
Disable some tests for pdk15, on which they won't work anytime soon.
* src/pdk/gen.c:
Fix wide left shift by large literal.
* sim/ucsim/pdk.src/glob.cc,
sim/ucsim/pdk.src/glob.h,
sim/ucsim/pdk.src/inst.cc,
sim/ucsim/pdk.src/instcl.h,
sim/ucsim/pdk.src/pdk.cc:
pdk13 simulator, patch by Nicolas Lesser.
2019-04-08 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* support/regression/tests/*.c:
Disable some tests for pdk15, on which they won't work anytime soon.
* sdas/linksrc/aslink.h,
sdas/linksrc/lkmain.c,
sdas/linksrc/lkrloc3.c:
Linker memory size warning fixes, patches by Nicolas Lesser.
* src/pdk/ralloc.c:
Fix handling of shift result assigned to sfr.
2019-04-06 Philipp Klaus Krause <pkk AT spth.de>
* sdas/aspdk13/pdk13pst.c,
sdas/aspdk13/pdk13mch.c:
Assembler fixes.
2019-04-05 Philipp Klaus Krause <pkk AT spth.de>
* sdas/aspdk13/pdk13pst.c,
sdas/aspdk13/pdk13mch.c:
Assembler fixes.
2019-04-05 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* sdas/aspdk13/pdk13mch.c,
sdas/aspdk13/pdk13pst.c:
Assembler fix, patch by Leo.
* sim/ucsim/pdk.src/pdk.cc:
Simulator fix, patch by Nicolas Lesser.
2019-04-05 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* .version,
doc/INSTALL.txt,
sdcc.spec:
Bump version in preparation of 3.9.0 release.
2019-04-05 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* support/regression/tests/*:
Disable some tests for pdk15, on which they won't work anytime soon.
* sdas/aspdk15/pdk15mch.c
Assembler fix, patch by Nicolas Lesser.
* sim/ucsim/pdk.src/inst.cc,
sim/ucsim/pdk.src/pdk.cc,
sim/ucsim/pdk.src/regspdk.h:
Simulator fix, patch by Nicolas Lesser.
* sdas/aspdk13/pdk13mch.c:
Assembler fix, patch by Leo.
2019-04-05 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c,
support/regression/tests/bug-2274.c:
Support dummy write for handling of uninitialized variables, better code for write of literal to bit-field.
* sim/ucsim/pdk.src/inst.cc:
Fix dec m for pdk15.
* support/regression/tests/bitfields.c,
support/regression/tests/bug-2181.c,
support/regression/tests/bug-2197.c,
support/regression/tests/bug-221100.c,
support/regression/tests/bug-221168.c,
support/regression/tests/bug-2305.c,
support/regression/tests/bug-2349.c,
support/regression/tests/bug-2357.c,
support/regression/tests/bug-2363.c,
support/regression/tests/bug-2373.c,
support/regression/tests/bug-2455.c,
support/regression/tests/bug-2497.c:
Disable some tests for pdk15, on which they won't work anytime soon.
* sdas/linksrc/lkmain.c,
sdas/linksrc/lkrloc3.c,
sdas/linksrc/sdld.c,
sdas/linksrc/sdld.h:
Fix bug #2896, patch by Nicolas Lesser.
* src/pdk/main.c:
Enable peephole optimizer for pdk13, pdk15.
* sim/ucsim/pdk.src/inst.cc:
Fix and m, a, patch by Nicolas Lesser.
2019-04-04 Philipp Klaus Krause <pkk AT spth.de>
* sdas/aspdk15/pdk15mch.c,
sdas/asxxsrc/asout.c,
sdas/linksrc/lkrloc3.c:
Assembler fix, patch by Nicolas Lesser.
* support/regression/fwk/include/testfwk.h,
support/regression/tests/absolute.c,
support/regression/tests/bug-1918.c,
support/regression/tests/bug-2124.c,
support/regression/tests/bug-2271.c:
Towards regression testing for pdk15.
2019-04-04 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* sdas/aspdk13/pdk13mch.c:
Assembler fixes, patch by Leo.
* sdas/aspdk13/pdk13pst.c:
Assembler fixes.
* device/lib/Makefile.in:
Build pdk13 library.
* sim/ucsim/globals.cc,
sim/ucsim/pdk.src/*,
sim/ucsim/stypes.h,
pdk15 simulator, patch by Nicolas Lesser.
* support/regression/Makefile.in,
support/regression/ports/pdk15:
pdk15 regression testing infrastructure.
2019-04-04 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/z80/peep.c:
Fix bug #2898.
2019-04-03 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c,
support/regression/tests/bug-2897.c:
Fix bug #2897.
* sdas/aspdk14/pdk14mch.c,
sdas/aspdk15/pdk15mch.c,
sdas/asxxsrc/asout.c,
sdas/asxxsrc/sdas.c,
sdas/asxxsrc/sdas.h,
sdas/linksrc/lkrloc3.c:
Fix bug #2900, patch by Nicolas Lesser.
2019-04-03 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* device/include/signal.h,
device/include/stdint.h:
Support sig_atomic_t.
* src/stm8/peep.c,
src/stm8/peeph.def:
Peephole improvements, picked from patch #290 by Visenri.
* src/z80/peeph-gbz80.def,
src/z80/peeph-r2k.def,
src/z80/peeph-z80.def:
Peephole rule improvements, patch by b-s-a.
2019-04-02 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/SDCCpeeph.c,
src/pdk/gen.c,
src/pdk/main.c,
src/pdk/peeph.def:
Basic peephole optimizer.
* sdas/aspdk13/pdk13mch.c,
sdas/aspdk13/pdk13pst.c:
Basic pdk13 assembler, patch by Leo.
2019-04-02 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* sdas/aspdk15/Makefile:
Remove generated file from svn.
2019-04-01 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* configure,
configure.ac,
Makefile.in,
Makefile.common.in,
sdas/aspdk13:
Infrastructure for pdk13 assembler.
2019-03-29 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/SDCCast.c,
src/SDCCsymt.h,
src/SDCCsymt.c,
src/SDCCval.c,
support/regression/tests/bug-2751.c,
support/regression/tests/generic.c:
Fix bug #2751.
* sdas/aspdk/pdk.h,
sdas/aspdk/pdkmch.c,
sdas/aspdk14/pdk14mch.c,
sdas/aspdk15/pdk15mch.c:
Bit instruction fix, patch by Nicolas Lesser.
2019-03-29 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCopt.c: fix bug #2892
2019-03-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCglue.c:
Fix bug #2837, patch by Alan Cox.
* sdas/asrab/rabmch.c,
sdas/asrab/rabpst.c:
Support standard ipset syntax, patch by Alan Cox.
* src/z80/gen.c:
Fix an increment bug, patch by Nick Downing.
2019-03-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sdas/asxxsrc/sdas.c,
* sdas/asxxsrc/sdas.h,
* sdas/aspdk14/pdk14mch.c,
* sdas/aspdk15/pdk15mch.c: possible fix for bug #2890
2019-03-23 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcse.c: fix bug #2099
* support/regression/tests/gcc-torture-execute-20041019-1.c:
re-enable test
2019-03-21 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Update manual.
2019-03-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c: fix bug #2834
* support/regression/tests/bug-2834.c: re-enable test
* src/ds390/ralloc.c: fix bug #2603
* support/regression/tests/gcc-torture-execute-20021120-1.c:
re-enable test
2019-03-21 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/pdk14/__setjmp.s,
device/lib/pdk15/__setjmp.s,
device/lib/pdk14/Makefile.in,
device/lib/pdk15/Makefile.in,
support/regression/tests/setjmp.c,
support/regression/tests/gcc-torture-execute-20010409-1.c,
support/regression/tests/gcc-torture-execute-pr60003.c:
setjmp() / longjmp() for pdk.
2019-03-21 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-20051110-2.c:
Enable a test (bug got fixed a few days ago via patch by Nicolas).
* device/lib/Makefile.in,
device/lib/*/Makefile.in,
support/regression/tests/wchar.c,
support/regression/tests/bug-2855.c:
Fix bug #2855.
2019-03-21 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCopt.c: fix bug #2793
* support/regression/tests/bug-2793: re-enable test
* support/regression/tests/gcc-torture-execute-20120817-1.c:
re-enable test
2019-03-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/main.c: fix bug #2713
* support/regression/tests/bug2783061.c: bug #2713 tested
2019-03-20 Philipp Klaus Krause <pkk AT spth.de>
* support/scripts/sdcc.nsi:
Include pdk libraries in Windows installer.
2019-03-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* device/lib/_ulong2fs.c: fix bug #2787
* support/regression/tests/gcc-torture-execute-floatunsisf-1.c:
re-enable test
* src/ds390/gen.c: fix bug #2835
* support/regression/tests/bug-2833.c: re-enable tests
2019-03-19 Philipp Klaus Krause <pkk AT spth.de>
* support/scripts/sdcc.nsi:
Include pdk binaries in Windows installer.
2019-03-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* device/lib/_modslonglong.c: fix bug #2790
* support/regression/tests/gcc-torture-execute-arith-rand-ll.c:
re-enable tests
2019-03-19 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/pdk.src/inst.cc:
Simulator fixes, patches by Nicolas Lesser.
* sdas/aspdk15/pdk15mch.c:
Assembler fix, patch by Nicolas Lesser
* support/regression/tests/staticinit.c,
src/pdk/gen.c,
src/pdk/ralloc2.cc:
Implement RFE #614.
2019-03-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/ds390/gen.c: fix bug #2702
* device/lib/_rrulonglong.c,
* device/lib/_rrslonglong.c: fix bug #2704
* support/regression/tests/longlong.c: re-enable tests for
hc08/s08/ds390, add more long long shifting tests
* support/regression/tests/gcc-torture-execute-ashldi-1.c,
* support/regression/tests/gcc-torture-execute-ashrdi-1.c,
* support/regression/tests/gcc-torture-execute-divconst-3.c,
* support/regression/tests/gcc-torture-execute-lshrdi-1.c,
* support/regression/tests/gcc-torture-execute-vrp-7.c:
re-enable tests
2019-03-18 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c:
Improve |=, &=, ^=.
2019-03-18 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c,
src/pdk/ralloc2.cc,
support/regression/tests/bug3564104.c:
Improve register allocation for shift and addition, RFE #608.
* support/valdiag/valdiag.py,
support/valdiag/Makefile.in:
Enable testing of diagnostics for pdk14.
2019-03-17 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/ralloc2.cc,
src/pdk/gen.c,
support/regression/tests/gcc-torture-execute-20020508-2.c,
support/regression/tests/gcc-torture-execute-pr41750.c:
Improve register allocation, RFE #611, RFE #612, RFE #606.
2019-03-17 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sim/ucsim/aclocal.m4,
* sim/ucsim/configure.ac,
* sim/ucsim/configure: reverting previous changes; go back to
using default C++ dialect instead of C++11
2019-03-17 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/ralloc2.cc,
src/pdk/gen.c,
support/regression/tests/gcc-torture-execute-pr70005.c:
Better register allocation for assignment, RFE #615, fix some bugs in code generation.
2019-03-16 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/ralloc2.cc,
src/pdk/gen.c:
Better register allocation for surviving ifx operands, RFE #610.
2019-03-16 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-divcmp-2.c:
Enable passing test for pdk14.
* src/z80/gen.c,
support/regression/tests/z88dk.c,
support/regression/tests/bug-2881.c:
Fix bug #2881.
2019-03-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sim/ucsim/aclocal.m4,
* sim/ucsim/configure.ac,
* sim/ucsim/configure: request c++11 dialect
2019-03-15 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Cheaper adjustment of pointer in p.
* device/include/limits.h,
support/regression/tests/bug-2885.c:
Fix bug #2885.
2019-03-15 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Fix calculation of cycle cost.
* support/regression/tests/gcc-torture-execute-va-arg-19.c,
support/regression/tests/gcc-torture-execute-960302-1.c,
support/regression/tests/getbyte.c,
support/regression/tests/literalop.c:
Disable some tests for pdk14 (on which they won't work anytime soon due to lack of memory).
* support/regression/tests/gcc-torture-execute-20041011-1.c:
Redisable test for ds390 that got enabled accientially.
* support/regression/tests/gcc-torture-execute-pr34456.c:
Disable a test for ds390, where it fails (bug #2883).
* sim/ucsim/pdk.src/glob.cc:
Fix ret k debug output, patch by Nicolas Lesser.
* src/SDCCglue.c:
Fix initalization of const pointers to non-const char for pdk.
* src/pdk/ralloc2.cc,
support/regression/tests/bug2817646.c:
Improve register allocation for pointer read and some arithmetic operations.
* support/regression/tests/gcc-torture-execute-20051110-2.c:
Disable test that fails due to bug #2884.
* src/SDCCopt.c:
Move width optimization so that it gets proper information from ic sequencing.
2019-03-14 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/cse.c,
support/regression/tests/gcc-torture-execute-991216-2.c,
support/regression/tests/gcc-torture-execute-pr70005.c,
support/regression/tests/swap.c:
Disable some tests for pdk14 (on which they won't work anytime soon due to lack of memory).
2019-03-14 Philipp Klaus Krause <pkk AT spth.de>
* Merged pdk branch to trunk.
2019-03-14 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-20000412-2.c,
support/regression/tests/gcc-torture-execute-20180112-1.c,
support/regression/tests/gcc-torture-execute-920922-1.c,
support/regression/tests/gcc-torture-execute-arith-rand.c,
support/regression/tests/gcc-torture-execute-ashldi-1.c,
support/regression/tests/gcc-torture-execute-divconst-3.c,
support/regression/tests/gcc-torture-execute-divmod-1.c,
support/regression/tests/gcc-torture-execute-index-1.c,
support/regression/tests/gcc-torture-execute-loop-15.c,
support/regression/tests/gcc-torture-execute-multdi-1.c,
support/regression/tests/gcc-torture-execute-pr39100.c,
support/regression/tests/gcc-torture-execute-pr49419.c,
support/regression/tests/gcc-torture-execute-pr60454.c,
support/regression/tests/gcc-torture-execute-pr61306-1.c,
support/regression/tests/gcc-torture-execute-pr61306-2.c,
support/regression/tests/gcc-torture-execute-pr64979.c,
support/regression/tests/gcc-torture-execute-pr78378.c,
support/regression/tests/gcc-torture-execute-pr79121.c,
support/regression/tests/onebyte.c,
support/regression/tests/gcc-torture-execute-va-arg-1.c,
support/regression/tests/gcc-torture-execute-va-arg-12.c,
support/regression/tests/gcc-torture-execute-va-arg-15.c,
support/regression/tests/gcc-torture-execute-va-arg-16.c,
support/regression/tests/gcc-torture-execute-va-arg-18.c,
support/regression/tests/gcc-torture-execute-va-arg-26.c,
support/regression/tests/gcc-torture-execute-va-arg-5.c,
support/regression/tests/gcc-torture-execute-va-arg-6.c,
support/regression/tests/gcc-torture-execute-va-arg-9.c,
support/regression/tests/gcc-torture-execute-loop-8.c:
Disable some tests for pdk14 (on which they won't work anytime soon due to lack of memory).
* src/pdk/gen.c:
Fix non-dead-register bugs, fix a carry issue.
2019-03-14 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/pdk14/Makefile.in,
device/lib/pdk14/__gptrget.s,
device/lib/pdk15/Makefile.in,
device/lib/pdk15/__gptrget.s,
src/pdk/gen.c,
src/pdk/ralloc2.cc:
Improve read of 16-bit value via pointer.
* support/regression/tests/gcc-torture-execute-pure-1.c,
support/regression/tests/gcc-torture-execute-string-opt-18.c,
support/regression/tests/io.c,
support/regression/tests/key.c,
support/regression/tests/string.c,
support/regression/tests/switch.c:
Disable some tests for pdk14 (on which they won't work anytime soon due to lack of memory).
* src/SDCCglue.c:
Fix UTF-16 and UTF-16 string literals for pdk.
2019-03-14 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx,
src/SDCCast.c,
support/regression/tests/vaargs.c:
Disable omission of integer promotion of varargs for pdk.
* device/include/stdarg.h:
Fix variable arguments for pdk.
src/pdk/gen.c:
Fix stack adjustment for reentrant function returning 16-bit value.
* support/regression/tests/bug2084206.c,
support/regression/tests/gcc-torture-execute-920721-1.c,
support/regression/tests/gcc-torture-execute-920829-1.c,
support/regression/tests/gcc-torture-execute-921013-1.c,
support/regression/tests/gcc-torture-execute-921124-1.c,
support/regression/tests/gcc-torture-execute-980604-1.c:
Disable some tests for pdk14 (on which they won't work anytime soon due to lack of memory).
2019-03-14 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: fix bug in optimized 2 byte swap
* support/regression/tests/bool.c: pass all ds390 tests now
2019-03-13 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-pr39339.c,
support/regression/tests/gcc-torture-execute-pr41750.c,
support/regression/tests/gcc-torture-execute-pr42833.c,
support/regression/tests/gcc-torture-execute-pr43236.c,
support/regression/tests/gcc-torture-execute-pr44575.c,
support/regression/tests/gcc-torture-execute-20030717-1.c,
support/regression/tests/gcc-torture-execute-20031204-1.c,
support/regression/tests/gcc-torture-execute-20040409-2.c,
support/regression/tests/gcc-torture-execute-20050218-1.c,
support/regression/tests/gcc-torture-execute-20050502-1.c,
support/regression/tests/gcc-torture-execute-20050826-1.c,
support/regression/tests/gcc-torture-execute-20060110-2.c,
support/regression/tests/gcc-torture-execute-20090207-1.c_
Disable some tests for pdk14 (on which they won't work anytime soon due to lack of memory).
* src/pdk/gen.c:
Fix read from signed bit-field, fix +/- lower result byte in a, fix xor operand upper byte in a.
2019-03-13 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* support/regression/tests/bug-2630.c,
support/regression/tests/bug-2822.c,
support/regression/tests/bug-441448.c,
support/regression/tests/bug-460010.c,
support/regression/tests/bug-2712.c,
support/regression/tests/bug1665511.c,
support/regression/tests/bug1757671.c,
support/regression/tests/bug1928022.c,
support/regression/tests/bug2729218.c,
support/regression/tests/bug2817646.c,
support/regression/tests/bug2862650.c,
support/regression/tests/bug2935162.c,
support/regression/tests/bug3027957.c,
support/regression/tests/bug3183823.c,
support/regression/tests/bug3381400.c,
support/regression/tests/bug3424150.c,
support/regression/tests/bug3564104.c,
support/regression/tests/bugs-1596270-1736867.c,
support/regression/tests/gcc-torture-execute-postmod-1.c,
support/regression/tests/gcc-torture-execute-pr15262.c,
support/regression/tests/gcc-torture-execute-pr15296.c,
support/regression/tests/gcc-torture-execute-pr19606.c,
support/regression/tests/gcc-torture-execute-pr20527-1.c,
support/regression/tests/gcc-torture-execute-pr20601-1.c,
support/regression/tests/gcc-torture-execute-pr27073.c,
support/regression/tests/gcc-torture-execute-pr27260.c,
support/regression/tests/gcc-torture-execute-pr27285.c,
support/regression/tests/gcc-torture-execute-pr28982a.c,
support/regression/tests/condopptr.c,
support/regression/tests/constantRange.c,
support/regression/tests/frexpf.c,
support/regression/tests/gcc-torture-execute-20000603-1.c,
support/regression/tests/gcc-torture-execute-20000717-4.c,
support/regression/tests/gcc-torture-execute-20000731-1.c,
support/regression/tests/gcc-torture-execute-20001024-1.c,
support/regression/tests/gcc-torture-execute-20010910-1.c,
support/regression/tests/gcc-torture-execute-20010915-1.c,
support/regression/tests/gcc-torture-execute-20020129-1.c,
support/regression/tests/gcc-torture-execute-20020402-3.c,
support/regression/tests/gcc-torture-execute-20020508-2.c,
support/regression/tests/gcc-torture-execute-20020615-1.c:
Disable some tests for pdk14 (on which they won't work anytime soon due to lack of memory).
* src/pdk/gen.h,
src/pdk/gen.c:
Fix arithmetic right shift, jump on &, static function pointer initalization, zeroing of bit-fields, ==, bit-field write from register p, bit-field write with non-dead register p, ^, immediate in -.
* src/SDCCglue.c:
Fix pdk pointer initalization corner case.
* sim/ucsim/pdk.src/inst.cc:
Fix ov.
2019-03-12 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2854.c,
support/regression/tests/gcc-torture-execute-arith-rand-ll.c,
support/regression/tests/bug-2222.c,
support/regression/tests/bug-2231.c,
support/regression/tests/bug-2427.c,
support/regression/tests/bug-2611.c,
support/regression/tests/bug-2890326.c,
support/regression/tests/bug3474855.c,
support/regression/tests/bug3475630.c,
support/regression/tests/gcc-torture-execute-20021120-1.c,
support/regression/tests/gcc-torture-execute-20030916-1.c,
support/regression/tests/gcc-torture-execute-20121108-1.c,
support/regression/tests/qsort.c,
support/regression/tests/bug-2188.c,
support/regression/tests/bug-2304.c,
support/regression/tests/bug-2501.c,
support/regression/tests/bug-2568.c,
support/regression/tests/bug-2621.c,
support/regression/tests/bug-2764.c,
support/regression/tests/gcc-torture-execute-pr39501.c,
support/regression/tests/gcc-torture-execute-pr78586.c,
support/regression/tests/bug1723128.c,
support/regression/tests/bug3410878.c,
support/regression/tests/ctype.c,
support/regression/tests/gcc-torture-execute-20030313-1.c,
support/regression/tests/p99-conformance.c,
support/regression/tests/scott-compare3.c:
Disable some tests for pdk14 (on which they won't work anytime soon due to lack of memory).
* support/regression/tests/gcc-torture-execute-divcmp-2.c,
support/regression/tests/staticinit.c:
Disable tests that fail in annoying ways.
* src/SDCCglue.c:
Pointer initialization fix.
* src/pdk/gen.c:
Shift fix, pointer read fix, jump table fix, negation fix, address offset fix, big return fix.
* src/pdk/ralloc2.cc:
Improve register use at pointer read.
* sim/ucsim/pdk.src/inst.cc:
Simulator fixes, patches by Nicolas Lesser.
* src/pdk/ralloc2.cc,
src/pdk/gen.c:
Improve jump on &.
2019-03-12 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/collate-results.py:
Improve error handling in regression test result parsing, fix bug #2675.
2019-03-11 Philipp Klaus Krause <pkk AT spth.de>
* sdas/aspdk14/pdk14mch.c,
sdas/asxxsrc/asdata.c,
sdas/asxxsrc/asexpr.c,
sdas/asxxsrc/asxxxx.h:
Fix handling of offsets to word addresses, patch by Nicolas Lesser.
* src/pdk/gen.c:
Remove workarounds for word address offset handling issue.
* support/regression/tests/*:
Disable some tests for pdk14 (on which they won't work anytime soon due to lack of memory).
2019-03-11 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c:
Codegen fixes.
* sim/ucsim/pdk.src/pdk.cc,
sdas/linksrc/lkmain.c:
Memory limit diagnostics, patch by Nicolas Lesser.
* support/regression/tests/bug-2208.c,
support/regression/tests/bug-2253.c,
support/regression/tests/bug-2357.c,
support/regression/tests/bug-2516.c,
support/regression/tests/bug-2625.c,
support/regression/tests/bug-2254.c,
support/regression/tests/bug-2403.c,
support/regression/tests/bug-2516.c,
support/regression/tests/bug-2820.c:
Disable some tests for pdk14 (on which they won't work anytime soon due to lack of memory).
2019-03-11 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c,
src/SDCCglue.c:
Pointer handling fixes.
* support/regression/tests/bp.c,
support/regression/tests/bug-1805702.c:
Disable some tests for pdk14 (on which they won't work anytime soon due to lack of memory).
2019-03-11 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/ralloc2.cc,
src/pdk/gen.c:
Improve register use.
* sim/ucsim/pdk.src/inst.cc,
sim/ucsim/pdk.src/instcl.h:
Fix flag handling, patch by Nicolas Lesser.
2019-03-11 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c:
Fix arithmetic right shift, assembler issue workaround for variables in ROM.
* src/pdk/ralloc2.cc:
Try to save abit more RAM.
* support/regression/tests/and_survive.c,
support/regression/tests/ato.c,
support/regression/tests/bitopcse.c,
support/regression/tests/bug-2031.c,
support/regression/tests/bug-1953.c:
Disable some tests for pdk14 (on which they won't work anytime soon due to lack of memory).
2019-03-10 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
src/pdk/ralloc2.cc:
Improve register allocation, small code generation fixes.
* support/regression/tests/absolute.c,
support/regression/tests/addsub.c,
support/regression/tests/args.c,
support/regression/tests/array.c,
support/regression/tests/bug-221100.c,
support/regression/tests/bug-221168.c,
support/regression/tests/bug1477149.c,
support/regression/tests/bug3401973.c:
Disable some tests for pdk14 (on which they won't work anytime soon due to lack of memory).
* sim/ucsim/pdk.src/inst.cc:
Carry bug workaround.
2019-03-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c: fix bugs #2750 and #2867 (same root cause)
* support/regression/tests/bug-2750.c: enable test
2019-03-10 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
2019-03-10 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Workaround for lack of support for offset at call in assembler.
* sim/ucsim/pdk.src/inst.cc:
Carry bug workaround.
* src/pdk/ralloc2.cc,
src/pdk/ralloc.c,
src/pdk/main.c:
Enable local variable overlay for leaf functions.
* configure.ac,
configure:
Fix display of pdk13 enable.
2019-03-07 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/pdk.src/inst.cc:
Carry workaround.
* src/pdk/gen.c:
Comparison fix.
* sim/ucsim/pdk.src/glob.cc:
dzsn / izsn debug output fix, patch by Nicolas Lesser.
* sdas/asxxsrc/asout.c,
sdas/linksrc/lkrloc3.c:
Fix handling of addresses of variables in RAM, patch by Nicolas Lesser.
2019-03-06 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/scripts/sdcc.nsi: sdcclib.exe is not built
anymore, so don't try to include it in the installer
2019-03-06 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Improve pointer handling and subtraction.
* sim/ucsim/pdk.src/inst.cc:
Fix idxm.
* src/pdk/gen.c:
Comparison fix.
2019-03-06 Philipp Klaus Krause <pkk AT spth.de>
* sdas/asxxsrc/asout.c:
Address handling fix, patch by Nicolas Lesser.
* sim/ucsim/pdk.src/glob.cc,
sim/ucsim/pdk.src/pdk.cc:
State output fix, patch by Nicolas Lesser.
* src/pdk/gen.c:
Comparison fix.
* sim/ucsim/pdk.src/inst.cc:
Fix src, slc.
2019-03-05 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/pdk14/__gptrget.s,
device/lib/pdk15/__gptrget.s:
Fix generic pointer read.
* sim/ucsim/pdk.src/inst.cc:
Fix push af / pop af simulation.
2019-03-05 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/ports/pdk14/support.c:
Fix regression-test _putchar for pdk14.
* device/lib/pdk14/__gptrget.s,
device/lib/pdk15/__gptrget.s:
Fix generic pointer read.
* sim/ucsim/pdk.src/glob.cc,
sim/ucsim/pdk.src/inst.cc:
pdk14 bit instruction fix, patch by Nicolas Lesser.
2019-03-05 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2363.c,
support/regression/tests/bug-2756.c,
support/regression/tests/gcc-torture-execute-20011008-3.c,
support/regression/tests/gcc-torture-execute-20020402-3.c,
support/regression/tests/gcc-torture-execute-20100430-1.c,
support/regression/tests/gcc-torture-execute-cmpdi-1.c,
support/regression/tests/gcc-torture-execute-longlong.c,
support/regression/tests/gcc-torture-execute-memcpy-bi.c,
support/regression/tests/gcc-torture-execute-mode-dependent-address.c,
support/regression/tests/gcc-torture-execute-p18298.c,
support/regression/tests/gcc-torture-execute-strcmp-1.c,
support/regression/tests/gcc-torture-execute-strcpy-1.c,
support/regression/tests/gcc-torture-execute-strncmp-1.c,
support/regression/tests/gcc-torture-execute-struct-cpy-1.c,
support/regression/tests/new_wide.c,
support/regression/tests/wchar.c
support/regression/tests/bug-2684.c,
support/regression/tests/bug-2732.c,
support/regression/tests/dhrystone.c,
support/regression/tests/gcc-torture-execute-20050826-1.c,
support/regression/tests/gcc-torture-execute-991216-1.c,
support/regression/tests/gcc-torture-execute-pr47538.c,
support/regression/tests/gcc-torture-execute-pr68532.c,
support/regression/tests/qsort.c:
Disable tests that won't work for pdk14 due to lack of memory.
* sdas/asxxsrc/asout.c,
sdas/linksrc/lkrloc3.c,
sim/ucsim/pdk.src/pdk.cc,
sim/ucsim/pdk.src/inst.cc:
pdk14 fixes, patch by Nicolas Lesser.
2019-03-04 Philipp Klaus Krause <pkk AT spth.de>
* sdas/asxxsrc/asout.c:
Assembler fix, patch by Nicolas Lesser.
* sim/ucsim/Makefile.in,
sim/ucsim/configure,
sim/ucsim/configure.ac,
sim/ucsim/globals.cc,
sim/ucsim/globals.h,
sim/ucsim/packages_in.mk,
sim/ucsim/stypes.h,
support/regression/ports/pdk14/spec.mk,
support/regression/ports/pdk14/support.c:
pdk14 simulator, patch by Nicolas Lesser.
2019-03-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c: fix bug #2729
* support/regression/tests/bool.c: reenable test
2019-03-01 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/ralloc.c:
Dump debug info after register assignment.
* support/regression/tests/gcc-torture-execute-20000314-3.c:
Disable failing test, where solution is not clear yet (bug #2878).
2019-03-01 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c:
Fix bug #2876.
2019-03-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c: fix bug #2873
* support/regression/tests/literalop.c: add casts to fix
integer promotion of hexadeciaml constants in ?: operator.
2019-02-26 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-960116-1.c
support/regression/tests/gcc-torture-execute-cvt-1.c
support/regression/tests/gcc-torture-execute-loop-2c.c
support/regression/tests/gcc-torture-execute-pr20601-1.c
support/regression/tests/gcc-torture-execute-pr33870-1.c
support/regression/tests/gcc-torture-execute-pr33870.c
support/regression/tests/gcc-torture-execute-pr37125.c
support/regression/tests/gcc-torture-execute-pr63843.c
support/regression/tests/gcc-torture-execute-pr65215-1.c
support/regression/tests/gcc-torture-execute-pr65215-2.c
support/regression/tests/gcc-torture-execute-pr68841.c
support/regression/tests/gcc-torture-execute-stdarg-5.c
support/regression/tests/gcc-torture-execute-unroll-1.c
support/regression/tests/inline.c
Disable tests that are unlikely to compile for pdk14 anytime soon.
* src/pdk/gen.c:
Fix an issue in handling aop for spilt variables.
2019-02-25 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.c: fix bug #2861
2019-02-20 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c:
Generalize loop narrowing (part of RFE #530).
2019-02-20 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Do not emit set0, set1 with memory operand fpr pdk13, as assembler support for these likely won't be ready for SDCC 3.9.0.
* device/lib/pdk13:
Infrastructure for pdk13 library.
2019-02-15 Philipp Klaus Krause <pkk AT spth.de>
* sdas/asxxsrc/asout.c,
sdas/linksrc/lkrloc3.c:
Fix relocation of addresses in ROM, patches by Nicolas Lesser.
* sdas/aspdk/pdkmch.c:
Fix handling of literals, patch by Nicolas Lesser.
2019-02-14 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Disable use of idxm, ldtabl, stt16, ldt16 on direct operands, since we can't handle alignment requirements yet.
* sdas/aspdk/pdkmch.c,
sdas/aspdk14/pdk14mch.c,
sdas/aspdk15/pdk15mch.c,
sdas/asxxsrc/asout.c,
sdas/asxxsrc/asxxxx.h,
sdas/linksrc/lkrloc3.c:
pdk assembler fixes, patch by Nicolas Lesser.
2019-02-13 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-20030714-1.c,
support/regression/tests/gcc-torture-execute-921208-1.c,
support/regression/tests/gcc-torture-execute-930702-1.c,
support/regression/tests/gcc-torture-execute-991112-1.c,
support/regression/tests/gcc-torture-execute-func-ptr-1.c,
support/regression/tests/gcc-torture-execute-pr34456.c,
support/regression/tests/z88dk.c,
support/regression/tests/gcc-torture-execute-20010409-1.c,
support/regression/tests/gcc-torture-execute-pr60003.c,
support/regression/tests/setjmp.c,
support/regression/tests/loop.c:
Disable tests that are unlikely to compile for pdk14 anytime soon.
* src/z80/gen.c:
Fix wide comparison with immediate, fix a corner case of & with one stack operand, fix comparison with stack operand, fix multiplication by negative literal.
* src/pdk/main.c,
src/stm8/main.c:
Fix extended alignment.
2019-02-13 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix bug #2875.
2019-02-12 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
src/pdk/ralloc2.cc:
Fix subtraction by immediate, &^| with both operands on stack, left shift of on-stack operand.
* device/lib/pdk14/Makefile.in,
device/lib/pdk15/Makefile.in:
Enable missing support functions.
* support/regression/tests/bug-2551.c,
support/regression/tests/bug-2554.c,
support/regression/tests/bug-2558.c,
support/regression/tests/bug-2559.c,
support/regression/tests/gcc-torture-execute-920721-3.c,
support/regression/tests/gcc-torture-execute-20050106-1.c,
support/regression/tests/gcc-torture-execute-20060930-2.c:
Disable tests that fail to compile due to bug #2874.
* support/regression/tests/bug-2663.c,
support/regression/tests/bug-2767.c,
support/regression/tests/bug-716242.c,
support/regression/tests/bug1908493.c,
support/regression/tests/bug2077267.c,
support/regression/tests/bug3379723.c:
Disable tests that are unlikely to compile for pdk14 anytime soon.
* device/lib/pdk14/heap.s,
device/lib/pdk14/heap.s:
Default heap of 64 Bytes for pdk14, pdk15.
* src/pdk/main.c:
Report lack of code generation support for division by constant.
2019-02-12 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.c,
support/regression/tests/bug-2031.c:
Allow rematerialization of pointer-to-integer cast, fixes a gbz80 initialization bug.
2019-02-12 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
src/pdk/ralloc.c:
Fix various pdk issues.
* support/regression/tests/bug-1918.c,
support/regression/tests/bug-2124.c,
support/regression/tests/bug-2271.c,
support/regression/tests/bug-2274.c,
support/regression/tests/bug-2305.c,
support/regression/tests/bug-2349.c,
support/regression/tests/bug-2373.c,
support/regression/tests/bug-2455.c,
support/regression/tests/bug-2497.c:
Disable tests that are unlikely to compile for pdk14 anytime soon.
2019-02-12 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Use ltabl for pdk15, improve shifts.
* src/SDCCglue.c:
Fix initialization of bit-fields in code space for pdk.
2019-02-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c: fix bug #2829
2019-02-11 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/ports/pdk14/support.c:
Make regression tests compile, even before simulator is ready.
* device/lib/pdk14/Makefile.in,
device/lib/pdk15/Makefile.in:
Enable a missing support function.
* src/pdk/gen.c:
Improve bit-field access.
2019-02-11 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c:
Fix handling of wide return values.
2019-02-11 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* sim/ucsim/z80.src/inst_ed.c:
Implement Z80/Z180/eZ80 rld, rrd.
* src/z80/gen.c,
support/regression/tests/bitfields.c:
Improve bit-field write.
2019-02-11 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* sdas/asrab/rabadr.c,
src/z80/gen.c:
Fix bug #2869.
2019-02-08 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c
src/pdk/ralloc2.cc:
Various pdk improvements.
2019-02-09 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCdwarf2.c: fix bug #2762
2019-02-08 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
src/pdk/main.c,
src/pdk/ralloc2.cc:
Various pdk improvements.
* device/lib/calloc.c,
device/lib/free.c,
device/lib/malloc.c,
device/lib/realloc.c:
Improve dynamic memory management for pdk.
* device/lib/_memchr.c:
Improve comparison.
2019-02-08 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* configure,
configure.ac,
device/include/stdlib.h,
device/lib/Makefile.in,
device/lib/clean.mk,
device/lib/pdk15/Makefile.in,
device/lib/pdk15:
pdk15 library.
* src/pdk/main.c,
src/pdk/gen.c:
Improve read from pointer.
2019-02-08 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* Makefile.common.in,
Makefile.in,
configure,
configure.ac,
sdccconf_in.h,
src/pdk/main.c,
sdas/aspdk15:
pdk15 assembler, patch by Nicolas Lesser.
2019-02-07 Philipp Klaus Krause <pkk AT spth.de>
* .version,
Makefile.in,
configure,
configure.ac,
doc/sdccman.lyx:
Remove sdcclib.
* sim/ucsim/sim.src/var.cc,
sim/ucsim/sim.src/varcl.h,
sim/ucsim/stm8.src/glob.cc,
sim/ucsim/stm8.src/stm8.cc:
stm8 simulator fixes, patches by Mike Jagdis.
2019-02-07 Philipp Klaus Krause <pkk AT spth.de>
* sdas/aspdk14,
sdas/aspdk,
device/lib/pdk14/Makefile.in:
Assembler refactoring, patch by Nicolas Lesser.
2019-02-06 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c,
src/pdk/gen.h,
src/pdk/ralloc.c,
src/pdk/ralloc2.cc,
src/pdk/gen.c:
Various improvements in register allocation.
* sdas/linksrc/lkrloc3.c:
Fix a linker issue, patch by Nicolas Lesser.
* device/lib/pdk14/__gptrget.s:
Fix an issue in read from pointer to ROM.
2019-02-06 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/ralloc.c,
src/pdk/gen.c:
Rematerialization.
2019-02-06 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c:
Fix direct read from variable in code space.
2019-02-06 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c:
Implement write of non-literal to bit-field.
2019-02-05 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Implement read from bit-field, literal write to bit-field.
* src/pdk/ralloc2.cc:
Improve handling of p wrt. pointer read / write in register allocation.
2019-02-05 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Fix signed comparison by 0.
* Makefile.in,
configure,
configure.ac,
src/pdk/main.c,
sdas/aspdk,
sdas/aspdk14:
Assembler rename, based on patch by Nicolas Lesser.
2019-02-04 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c: fix bug #2863
2019-02-03 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Fix early return from interrupt.
2019-02-03 Philipp Klaus Krause <pkk AT spth.de>
* doc/Makefile.in:
Fix dependencies.
2019-02-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCglue.c:
Fix a pointer initalization issue.
* src/pdk/main.c:
Save a word in stack-pointer setup.
2019-02-02 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCglue.c,
src/SDCCglue.h,
src/ds390/gen.c,
src/hc08/gen.c,
src/mcs51/gen.c:
Use ret k for constant data.
2019-02-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/scripts/sdcc.nsi: add support for ez80_z80
2019-01-31 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCasm.c,
src/SDCCasm.h,
src/pdk/main.c:
Use ret k for constant data bytes.
2019-01-31 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sim/ucsim/z80.src/ez80.cc: add needed header for int8_t
2019-01-30 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* doc/sdccman.lyx:
Clarify documentation on library path options.
2019-01-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.y:
Document bug #2858 workaround.
2019-01-27 Philipp Klaus Krause <pkk AT spth.de>
* sdas/aspdk/pdkmch.c:
Fix idxm, patch by Tim (cpldcpu).
* device/lib/pdk14/Makefile.in:
Use generic memcpy(), unsigned 8 x 8 -> 16 multiplication and unsigned division for pdk14.
* src/pdk/main.c:
Fix int x int -> long multiplication.
* src/pdk/main.c,
src/pdk/gen.c:
Code generation for 8 x 8 (lit) -> 8 multiplication.
* configure,
configure.ac,
src/SDCCmain.c,
src/pdk/main.c,
src/pdk/ralloc2.cc,
src/port.h:
Infrastructure for pdk13, pdk15.
2019-01-27 Philipp Klaus Krause <pkk AT spth.de>
* aspdk/pdkmch.c,
asxxsrc/asout.c,
asxxsrc/asxxxx.h,
asxxsrc/sdas.c,
asxxsrc/sdas.h,
linksrc/lkrloc3.c:
Linker and assembler fixes for pdk14, patch by Nicolas Lesser.
* src/pdk/gen.c:
Fix code generation for unary float minus and calls to functions returning more than a word.
* device/lib/pdk14/__gptrget.s:
Asm syntax fix.
2019-01-20 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-2866.c:
Fix bug #2866.
2019-01-19 Philipp Klaus Krause <pkk AT spth.de>
* sdas/aspdk/pdkmch.c:
Fix shifts, patch by Tim (cpldcpu).
* src/pdk/gen.c:
Fix signed comparison, fix pointer write with integer literal cast to pointer.
2019-01-18 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Fix !.
2019-01-16 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/main.c:
Switch default code location for bytewise addressing in ROM.
2019-01-15 Philipp Klaus Krause <pkk AT spth.de>
* sdas/aspdk/pdk.h,
sdas/aspdk/pdkadr.c,
sdas/aspdk/pdkmch.c,
sdas/aspdk/pdkpst.c:
Assembler fixes, patch by Nicolas Lesser.
* src/pdk/main.c:
Switch .org use to bytewise addressing in ROM.
2019-01-12 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/main.c:
Use sensible default for --code-loc.
2019-01-12 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/main.c:
Various glue code for program startup.
2019-01-12 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/time.c:
Make some variables const so save RAM on targets that do not have __code.
* src/pdk/gen.c:
Fix a segfault in code generation for &.
* sdas/aspdk/pdk.h,
sdas/aspdk/pdkadr.c,
sdas/aspdk/pdkmch.c:
Assembler fixes and syntax change, patch by Nicolas Lesser.
* src/pdk/gen.c,
device/lib/pdk14/__gptrget.s:
Update for assembler syntax change.
* src/SDCCsymt.c,
device/lib/Makefile.in,
Enable build of pdk14 library.
2019-01-11 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/pdk14/Makefile.in:
Use sdaspdk to build pdk14 library.
* src/pdk/main.c,
src/pdk/gen.c:
Fix generation of invalid asm in a few places.
* sdas/aspdk/pdkmch.c,
sdas/aspdk/pdkpst.c:
Assembler fixes, patch by Nicolas Lesser.
* support/regression/ports/pdk14/spec.mk:
Prepare for future pdk14 regression testing.
2019-01-11 Philipp Klaus Krause <pkk AT spth.de>
* sdas/aspdk,
Makefile.common.in,
Makefile.in,
configure,
configure.ac,
sdas/linksrc/Makefile.in,
sdas/linksrc/sdld.c,
sdas/linksrc/sdld.h,
src/pdk/main.c:
Assembler for pdk14, patch by Nicolas Lesser.
2019-01-11 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/main.c:
Work around lack of link-time arithmetic.
2019-01-10 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
device/lib/pdk14/__gptrget.s:
Use knowledge on byte order for push af.
2019-01-09 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/main.c:
Fix invalid use of .dw for variables in ROM.
* src/pdk/gen.c:
Fix various issues in code generation.
2019-01-09 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c,
device/lib/pdk14/__gptrget.s:
Support variables in ROM.
2019-01-09 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c,
src/pdk/ralloc2.cc:
Minor fixes.
* src/SDCCast.c:
Enable standard library call optimization for pdk14.
2019-01-09 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c,
src/pdk/ralloc2.cc:
Optimize conditional jump on bit test.
2019-01-09 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c:
Fixes for subtraction.
* src/SDCCglue.c:
Fix output of __sfr locations.
2019-01-08 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Generate better code for ^, |, &.
2019-01-08 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Slightly improve __sfr16 handling, fix pseudoregister saving in interrupt routine.
* src/pdk/main.c:
Fix zero-initialization of upper byte of pseudo-register p.
2019-01-08 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/*.c:
Enable some regression tests that need struct assignment support.
2019-01-08 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
device/lib/pdk14/Makefile.in:
Implement unary float minus, enable build of most of the float library.
2019-01-08 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Fix handling of non-stack temporary operands in cost function.
* device/lib/pdk14/Makefile.in:
Enable build of more library functions.
2019-01-08 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Fixes and improvements for stm8 peephole rules, patch by Visenri.
2019-01-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
ez80_z80 fixes.
* src/z80/gen.c:
Only use eZ80 lea for stack frame setup when doing so provides a code size advantage.
* .version:
Bump version for stable ez80_z80 backend.
* support/regression/Makefile.in:
Include ez80_z80 backend in test-z80 target.
2019-01-07 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* support/regression/ports/ez80-z80/spec.mk:
Use new eZ80 uCsim in ez80_z80 regression tests.
* src/z80/gen.c:
ez80_z80 fixes.
2019-01-07 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c,
src/pdk/ralloc.c:
Support for return values wider than 16 bit.
* src/SDCCmem.c:
Fix handling of 1-byte stack parameters.
2019-01-07 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c:
Fixes for reentrant functions.
2019-01-07 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c:
Fix handling of stack adjustment on early return for on-stack variables.
src/pdk/main.c:
Initialize upper byte of pseudo-register p.
2019-01-06 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
src/pdk/ralloc.c,
src/SDCCbtree.cc:
Improve support for reentrant functions.
* support/regression/ports/pdk14,
support/regression/Makefile.in,
support/regression/fwk/include/testfwk.h:
Basic infrastructure for future pdk14 regression testing.
2019-01-05 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/main.c:
Initialization of global / static variables.
2019-01-05 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/pdk14/Makefile.in:
Don't try to compile library functions that will not work anytime soon.
* src/SDCCglue.c:
Emit sfr locations for pdk14.
* device/include/stdlib.h:
Mark bsearch(), qsort() function pointers as __reentrant for pdk14.
* src/pdk/main.c:
Properly announce lack of support for extended bit operations.
* src/pdk/gen.c:
Fix some cases of pointer read / write.
* src/SDCCicode.c:
Pass 8-bit arguments as 16 bit on stack on pdk14 to satisfy alignment requirements.
2019-01-05 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmem.c:
Improve error handling on missing output storage class.
2019-01-05 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Implement & for stack objects.
* device/lib/pdk14/Makefile.in:
Don't try to compile library functions that will not work anytime soon.
2019-01-05 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/main.c,
src/pdk/gen.c,
src/pdk/ralloc2.cc:
Better unsigned char comparisons.
* device/lib/pdk14,
configure.ac,
configure:
Infrastructure for pdk14 library.
2019-01-04 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.h,
src/pdk/gen.c:
Rudimentary support for arguments on the stack.
2019-01-03 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/main.c,
src/pdk/gen.c,
src/SDCCsymt.c:
Implement basic I/O support (__sfr, __sfr16).
* src/port.h,
src/SDCCsymt.c:
Prepare for future pdk13, pdk15 and pdk16 backends.
2019-01-03 Benedikt Freisen <b.freisen AT gmx.net>
* src/version.awk:
Fix bug #2818.
2019-01-03 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c,
src/pdk/ralloc2.cc:
Implement support for dummy read from volatile in direct space.
2019-01-02 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c,
src/SDCCerr.h,
src/SDCCerr.c,
support/valdiag/tests/bug-2773.c:
Fix bug #2773.
* src/ds390/main.c:
Change the name of a hackish predefined macro for standard-compliance.
2018-12-31 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Document default calling convention for z80, z180, r2k, r3ka, ez80_z80, tlcs90, stm8.
* src/SDCCast.c:
Fix bug #2850.
* src/SDCCsymt.c:
Fix bug #2797.
* src/SDCCmain.c,
src/mcs51/main.c,
src/hc08/main.c,
src/stm8/main.c:
Fix bug #2809.
* src/SDCClospre.hpp,
support/regression/tests/bug-2558.c:
Fix bug #2558.
* src/SDCCast.c:
Fix bug #2535.
* device/lib/printf_large.c,
support/regression/tests/bug-2732.c:
Fix bug #2732.
2018-12-30 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2854.c:
Fix read from uninitialized memory.
* src/z80/peep.c:
Handle eZ80 lea, pea in peephole size calculation.
2018-12-24 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/bug-2854.c: disabled test, segmentation fault
* configure, configure.ac: fixed help text
* device/lib/clean.mk: also clean ez80
2018-12-20 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve use of eZ80, Rabbit, TLCS-90 16-bit load.
2018-12-19 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Implement RFE #594.
2018-12-19 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix a recently-introduced bug in handling of 32-bit return values for gbz80.
2018-12-18 Philipp Klaus Krause <pkk AT spth.de>
* sdas/asz80/z80mch.c,
sdas/asz80/z80pst.c,
sdas/asz80/tez80.asm:
Improve eZ80 assembler support, patch by Hynek Sladký.
2018-12-16 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix a bug in wide read via pointer.
2018-12-16 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix bug #2856.
2018-12-15 Maarten Brock <sourceforge.brock AT dse.nl>
* configure, configure.ac: changed warning into notice
* sdas/asz80/z80mch.c: cosmetic
* src/sdcc.vcxproj,
* src/sdcc.vcxproj.filters: added missing SDCC.lex & SDCC.y
* support/cpp/libcpp/files.c,
* support/cpp/libcpp/identifiers.c,
* support/cpp/libcpp/init.c,
* support/cpp/libcpp/symtab.c: fixed warnings for unsigned size_t
* support/regression/tests/bitopcse.c: only use idata for mcs51
* support/regression/tests/gcc-torture-execute-20021120-1.c: disabled for
hc08 & s08, uses way too much spillocs in DSEG
* support/regression/tests/longlong.c: split the test in 3 parts
* support/sdbinutils/bfd/targets.c: added "ASXXXX"
* support/sdbinutils/libiberty/simple-object-elf.c: fixed warning
2018-12-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Refactor handling of return values, steps towards RFE #594.
2018-12-13 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.c,
support/regression/tests/bug-2710.c:
Fix bug #2710.
* Makefile.in,
sim/ucsim/Makefile.in:
Remove dist target, fix bug #2679.
* src/SDCCtree_dec.hpp:
Improve fix for #1874.
* sdas/asz80/z80mch.c:
Turn a few eZ80-related warning into comments.
2018-12-12 Philipp Klaus Krause <pkk AT spth.de>
* sdas/asz80/z80mch.c:
Fix handling of tst for eZ80, patch by Hynek Sladký.
* src/z80/gen.c,
support/regression/tests/bug-2854.c:
Fix an issue in 8-bit parameters to __z88dk_fastcall, bugs #2852 and #2854.
* src/hc08/ralloc2.cc:
Fix bug #2215.
* src/stm8/ralloc.c,
src/z80/ralloc.c,
support/regression/tests/bug-2501.c:
Fix bug #2501.
2018-12-11 Philipp Klaus Krause <pkk AT spth.de>
* Merged ez80_z80 branch to trunk.
2018-12-11 Philipp Klaus Krause <pkk AT spth.de>
* device/include/math.h,
device/include/sdcc-lib.h:
Fixes for ez80_z80 library.
* support/regression/ports/ez80-z80/spec.mk,
support/regression/ports/ucz180/spec.mk:
Preparation for ez80_z80 regression testing.
2018-12-05 Philipp Klaus Krause <pkk AT spth.de>
* sdas/asz80/z80mch.c:
Improve eZ80 support in assembler, patch by Hynek Sladký.
* configure,
configure.ac,
device/lib/Makefile.in,
device/lib/ez80_z80/Makefile.in,
src/z80/main.c,
device/lib/ez80_z80:
ez80_z80 library.
2018-12-05 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/ralloc2.cc,
src/pdk/gen.c:
Improve code for shifts.
2018-12-04 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/ralloc2.cc,
src/pdk/gen.c:
Improve use of pseudoregister p.
2018-12-04 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCtree_dec.hpp:
Fix bug #1847.
2018-12-04 Maarten Brock <sourceforge.brock AT dse.nl>
* SDCCerr.c: replaced include sdccconf.h by SDCCglobl.h, required for MSVC
2018-12-04 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Basic support for function pointers.
2018-12-04 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Improve code generation for jump on comparison.
2018-12-04 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/gen.c:
Fix an issue in code generation for pointer read.
2018-12-03 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/ralloc.c,
src/pdk/ralloc.h,
src/pdk/ralloc2.cc,
src/pdk/gen.c,
src/pdk/gen.h,
src/pdk/main.c:
Basic register allocation.
2018-12-03 Philipp Klaus Krause <pkk AT spth.de>
* src/pdk/ralloc.c,
src/pdk/gen.c:
Allow return of up to 2 bytes.
2018-12-03 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/main.c:
Report lack of hardware multiplication.
2018-12-03 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c,
src/pdk/main.c,
src/pdk/ralloc.c:
Implement basic support for pointers.
2018-12-03 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c:
Implement comparison.
2018-12-03 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/main.c,
src/pdk/gen.c:
Switch to little-endian to ease pointer-integer casts, fix addition.
2018-12-03 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pdk/gen.c:
Implement shifts, complement, negation.
2018-12-02 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c:
Peephole function for z88dk, patch from zsdcc fork diff by Phillip Stevens.
* src/SDCC.lex,
src/SDCC.y,
src/SDCCerr.c,
src/SDCCerr.h,
src/SDCCsymt.c,
src/SDCCsymt.h,
src/z80/gen.c,
src/z80/main.c:
More z88dk-specific calling conventions, patch from zsdcc fork diff by Phillip Stevens.
2018-12-02 Philipp Klaus Krause <pkk AT spth.de>
* configure,
configure.ac,
sdccconf_in.h,
src/SDCCmain.c,
src/port.h,
src/pdk,
src/pdk/Makefile.in,
src/pdk/main.c,
src/pdk/ralloc.c,
src/pdk/ralloc.h:
Basic infrastructure for pdk14 backend.
2018-12-01 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Use lea for ez80_z80.
* sdas/asz80/z80.h,
sdas/asz80/z80adr.c,
sdas/asz80/z80mch.c,
sdas/asz80/z80pst.c:
eZ80 support in assembler, patch by Hynek Sladký.
* src/SDCCglue.c:
Use assembler ez80 mode for ez80_z80 backend.
2018-12-01 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
genAddrOf refactoring.
2018-11-30 Philipp Klaus Krause <pkk AT spth.de>
* configure,
configure.ac,
sdccconf_in.h,
src/SDCCmain.c,
src/port.h,
src/z80/main.c,
src/z80/z80.h,
src/z80/peep.c,
support/regression/ports/ez80-z80,
device/include/setjmp.h,
device/include/stdarg.h,
device/include/stdlib.h,
device/include/string.h,
support/regression/fwk/include/testfwk.h:
Basic ez80_z80 backend.
2018-11-30 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/stm8/gen.c:
Improve code generation for negation.
2018-11-30 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/stm8/gen.c:
Fix an issue in shift of large on-stack operands (part of bug #2844).
2018-11-29 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/stm8/gen.c:
Fix an issue in call to function returning struct / union.
2018-11-29 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/stm8/gen.c:
Fix an issue in code generation for subtraction (part of bug #2844).
2018-11-26 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/SDCCmem.c,
support/regression/tests/bug-2842.c:
Fix bug #2842.
2018-11-24 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve handling of right subtraction operand in a.
2018-11-22 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Fix an issue in right shift.
2018-11-20 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improvements for previous commit
* src/SDCCsalloc.hpp:
New stack allocator: unaligned Chaitin.
2018-11-19 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/stm8/gen.c:
Slightly more verbose error reporting.
2018-11-18 Philipp Klaus Krause <pkk AT spth.de>
* configure.ac,
sdccconf_in.h,
configure,
src/SDCCerr.c,
src/SDCCerr.h,
src/stm8/gen.c:
Provide backtrace on some internal errors.
2018-11-16 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Fix right shift of literal.
2018-11-15 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/Makefile.in:
Include stm8-large in default target for regression tests.
* src/stm8/gen.c:
Improve code generation for wide negation.
2018-11-14 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsalloc.hpp,
.version:
A bit of fine-tuning in the aligned Chaitin stack allocator to avoid some inefficiencies from alignment.
2018-11-14 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/z80/gen.c:
Fix issues in z80 code generation.
* src/z80/mappings.i:
Consistently use space after comma in asm output.
2018-11-13 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
support/regression/tests/oldfmul.c:
Fix an issue in code generation for shifts found while experimenting with stack allocation.
* src/SDCCmem.c,
src/SDCCsalloc.hpp,
src/stm8/ralloc.c,
src/stm8/ralloc2.cc,
src/z80/ralloc.c:
New stack allocator for stm8: aligned Chaitin.
* device/lib/_fsmul.c:
Improve float multiplication routine a bit.
* support/regression/tests/bug-2833.c:
Disable a new test for ds390 (where it fails).
* src/stm8/gen.c:
More flexible handling of register x in read from pointer.
2018-11-12 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* support/regression/tests/bug-2834.c:
Test for bug #2834.
* src/SDCCopt.c,
support/regression/tests/bug-2833.c:
Fix bug #2833 (patch by Noam Preil).
* src/z80/gen.c:
Minor improvements in handling on-stack variables.
* src/SDCCsalloc.hpp,
src/SDCCmem.c,
src/SDCCmem.h,
src/SDCCralloc.hpp,
src/z80/ralloc.c,
src/z80/ralloc.h,
src/z80/ralloc2.cc:
New default stack allocator for z80 and related: aligned Chaitin.
* src/stm8/ralloc.c,
src/stm8/ralloc.h,
src/stm8/ralloc2.cc,
src/z80/ralloc.h,
src/z80/ralloc2.cc:
Prepare for new stack allocator for stm8.
* src/stm8/gen.c:
Fix an issue in code generation for comparisons.
2018-11-11 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.h,
src/z80/ralloc.c,
src/z80/ralloc2.cc:
Refactoring to prepare for alternative stack allocation.
2018-11-08 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* support/regression/tests/bug-2833.c:
Test for bug #2833.
2018-11-07 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve code generation for some multiplications.
* sim/ucsim/stm8.src/stm8.cc,
sim/ucsim/stm8.src/inst.cc:
Improve accuracy of timing in stm8 simulator.
* src/stm8/peeph.def:
Peephole rule to improve shifting via spilled pointers.
2018-11-06 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c:
Apply % to & optimization in a few more cases.
2018-11-05 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* sim/ucsim/cmd.src/cmd_uc.cc,
sim/ucsim/sim.src/hw.cc,
sim/ucsim/sim.src/serial_hw.cc,
sim/ucsim/sim.src/simifcl.h,
sdas/linksrc/lklibr.c,
src/SDCCerr.c,
src/SDCCerr.h:
Cherry-pick a few spelling fixes from Debian.
2018-10-29 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve code for dummy read.
* support/regression/tests/gcc-torture-execute-pr38212.c,
support/regression/tests/cse.c:
Enable tests that no longer fail.
2018-10-29 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.h,
src/stm8/gen.c,
src/stm8/peep.c,
src/stm8/ralloc.c:
Support offsets from symbols in rematerialization (RFE #446).
2018-10-26 Philipp Klaus Krause <pkk AT spth.de>
* src/mcs51/peeph.def:
Fix a bug in an mcs51 peephole rule.
2018-10-25 Philipp Klaus Krause <pkk AT spth.de>
* src/mcs51/peeph.def:
Fix bug #2832.
* src/z80/gen.c:
Fix some --reserve-regs-iy issues.
* src/z80/mappings.i:
Reformat to better match generated code.
2018-10-24 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peep.c:
Improve distance estimation for direct long addressing mode for jp and call.
2018-10-24 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c,
src/stm8/peep.c:
Generalize the fix for #2830 to improve some peephole optimizations.
2018-10-23 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c:
Fix bug #2830, patch by Tom Li.
2018-10-22 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClrange.c,
support/regression/tests/bug-2826.c:
Fix bug #2826 in preincrement optimization.
* .version:
Bump version for completion of machine-independent preincrement opt.
* src/z80/gen.c:
Improve code generation for 16-bit increment of global variables.
* src/z80/peeph-z80.def,
src/z80/peeph-r2k.def:
Optimize reuse of hl.
2018-10-18 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve 16-bit pointer write, completes RFE #521.
2018-10-18 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve ==, !=.
2018-10-18 Philipp Klaus Krause <pkk AT spth.de>
* SDCClrange.c,
src/SDCCpeeph.c,
src/SDCCralloc.hpp,
src/SDCCsymt.c,
src/SDCCsymt.h,
src/stm8/gen.c,
src/stm8/peeph.def:
Improve volatile handling in peepholes, fix a bug and implement RFE #585.
* src/stm8/gen.c:
Improve pointer read for stm8, completes RFE #545.
2018-10-17 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2822.c:
Make test work for hc08.
* device/lib/Makefile.in,
src/SDCCmain.c:
Fix bug #2823.
2018-10-16 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Minor stm8 peephole improvement, RFE #584.
* src/z80/gen.c:
Fix bug #2801, #2674.
2018-10-15 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
support/regression/tests/bug-2822.c:
Fix bug #2822.
* src/SDCClospre.cc,
support/regression/tests/bug-2820.c:
Fix bug #2820.
* src/SDCCicode.c,
support/regression/tests/bug-2805.c:
Fix bug #2805.
2018-10-09 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Use bit transfer instructions for 1-bit bit-field (part of RFE #446).
2018-10-08 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Optimizations for 8-bit loop counters (RFE #431).
* src/stm8/gen.c:
Use bit set / reset instructions for 1-bit bit-fields (part of RFE #446).
2018-10-08 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve code generation for 8-bit integers (addition of small constants, paramter passing) (RFE #583).
* rc/SDCCBBlock.c,
src/SDCCBBlock.h,
src/SDCCsymt.c,
src/SDCCsymt.h:
Improve const use.
* src/SDCClrange.c,
src/SDCClrange.h,
src/SDCCopt.c,
src/stm8/gen.c,
src/z80/peeph-z80.def:
Optimize postincrement (RFE #581).
2018-10-02 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Fix an issue that resulted in overestimation of remat costs.
* src/stm8/peeph.def:
Optimize out dead loads from stack.
* device/include/asm/*/features.h,
device/lib/Makefile.in,
device/lib/_memmove.c,
device/lib/clean.mk,
device/lib/__memcpy.c,
device/lib/memcpy.c,
device/lib/stm8-large/memcpy.s,
device/lib/*/Makefile.in:
Library memcpy() cleanup.
2018-10-02 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve wide arithmetic right shift.
2018-10-01 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc.c,
src/stm8/gen.h,
src/stm8/gen.c:
Basic support for rematerialization of stack addresses.
2018-10-01 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/stm8/gen.c:
Improve wide addition.
2018-10-01 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/stm8/gen.c:
Improve 32-bit right shift by 6 to 7.
2018-10-01 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/SDCCopt.c:
Port an operand narrowing optimization to UNARYMINUS.
* src/stm8/gen.c:
Improve handling of trailing 0 in wide comparison.
2018-09-29 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/structassign.c:
Use exactly representable values in union assignment test.
* src/SDCClospre.cc:
Prepare for use of different container types.
* src/SDCCtree_dec.hpp:
Cleanup.
2018-09-27 Philipp Klaus Krause <pkk AT spth.de>
* Merge next branch.
2018-09-27 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCtree_dec.hpp:
Cherry-pick a minor performance improvement from lospre-vs-mcpre branch.
2018-09-26 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCtree_dec.hpp,
src/SDCClospre.hpp,
src/SDCClospre.cc:
Remove hard dependencies on std::set to allow future transition to other containers.
2018-09-25 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.y,
src/SDCCerr.c,
src/SDCCerr.h,
src/SDCCsymt.c,
src/SDCCsymt.h,
support/valdiag/tests/struct.c,
support/valdiag/tests/structflexiblearray.c:
Fix bugs #2774, 2775.
2018-09-23 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.hpp,
src/SDCCralloc.hpp:
Speed and memory usage improvements for tree-decomposition based algorithms.
2018-09-20 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-r2k.def,
src/z80/peeph-tlcs90.def,
src/z80/peeph-z80.def:
Fix bug #2814.
2018-09-19 Philipp Klaus Krause <pkk AT spth.de>
* support/scripts/repack_release.sh:
Update script for 3.8.0 release.
2018-09-18 Philipp Klaus Krause <pkk AT spth.de>
* doc/README.txt:
List TLCS-90 as supported target.
* src/z80/peeph-z80.def,
src/z80/peeph-r2k.def:
Minor z80 peephole improvement.
2018-09-16 Philipp Klaus Krause <pkk AT spth.de>
* .version,
doc/INSTALL.txt,
sdcc.spec:
Bump version number preparing for 3.8.0 release.
2018-09-14 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/main.c,
support/regression/tests/smallc.c,
support/regression/tests/bug-2590.c,
support/regression/tests/z88dk.c:
Disable __smallc for stm8.
2018-09-13 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.c,
src/SDCCmem.c,
src/z80/gen.c,
src/z80/ralloc.c:
Fix bug #2811.
2018-09-12 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCval.c,
support/regression/tests/iso-8859-1.c:
Fix bug #2812.
2018-09-11 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve wide right shift.
2018-09-11 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc2.cc,
src/stm8/gen.c:
Improve jump on sign bit.
2018-09-11 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/structassign.c:
Test more struct sizes.
* src/SDCCopt.c:
Narrow |.
* src/stm8/peeph.def:
Minor stm8 peephole improvement.
* src/stm8/gen.c:
Improve wide pointer reads and shifts.
* src/stm8/peep.c:
Improve notUsed() accuracy.
2018-09-11 Philipp Klaus Krause <pkk AT spth.de>
* device/include/string.h,
device/lib/_memcpy.c,
device/lib/stm8/memcpy.s,
doc/sdccman.lyx,
src/SDCCast.c,
src/SDCCerr.c,
src/SDCCerr.h,
src/SDCCopt.c,
src/SDCCsymt.c,
src/SDCCsymt.h,
support/regression/tests/gcc-torture-execute-20011008-3.c,
support/regression/tests/gcc-torture-execute-20050826-2.c,
support/regression/tests/gcc-torture-execute-lto-tbaa-1.c,
support/regression/tests/gcc-torture-execute-pr39339.c,
support/regression/tests/gcc-torture-execute-pr70127.c,
support/regression/tests/gcc-torture-execute-struct-cpy-1.c,
support/regression/tests/structassign.c:
Support for struct / union assignment, patch by Benedikt Freisen (roybaer).
2018-09-10 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Minor stm8 peephole improvement.
* src/stm8/gen.c,
support/regression/tests/gcc-torture-execute-991112-1.c:
Fix a bug in function pointer handling.
2018-09-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/cpp/Makefile.in: move current directory earlier in
the include file search path
2018-09-01 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
support/regression/tests/bug-2807.c:
Fix bug #2807.
2018-08-30 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/main.c,
.version:
Make default segment ordering suitable for large memory model.
* support/regression/tests/gcc-torture-execute-func-ptr-1.c:
Enable test that now passes for stm8 large memory model.
2018-08-26 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/pic14/*,
device/lib/pic16/*:
Regenerate files to fix bug #2806.
* src/SDCClospre.cc:
Minor lospre code refactoring.
2018-08-25 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.h,
src/SDCCicode.c,
support/regression/tests/bug-2804.c:
Fix bug #2804.
* src/stm8/peeph.def:
Remove redundant ret.
* src/SDCClospre.cc:
Trigger assertion failure before SIGSEV when dumping graph of non-existing function.
2018-08-24 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-strcpy-1.c:
Reduce risk of timeout due to long test.
2018-08-23 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/stm8.src/stm8.cc:
Fix bug #2803.
2018-08-22 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/ports/hc08/spec.mk,
support/regression/ports/s08/spec.mk,
support/regression/tests/gcc-torture-execute-arith-rand.c,
support/regression/tests/gcc-torture-execute-strcmp-1.c,
support/regression/tests/gcc-torture-execute-strncmp-1.c:
Reduce risk of timeouts due to long tests.
* support/regression/tests/rand.c:
Disable a test on the broken OpenBSD.
2018-08-20 Philipp Klaus Krause <pkk AT spth.de>
* sdcc/doc/sdccman.lyx:
Update documentation on library memory models.
2018-08-20 Philipp Klaus Krause <pkk AT spth.de>
* sdcc/sdccconf_in.h,
sdcc/doc/sdccman.lyx:
Remove infrastructure for STX support.
2018-08-14 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/gcc-torture-execute-20060110-2.c: enabled test
* support/regression/tests/gcc-torture-execute-arith-rand.c: run only 100x
2018-08-13 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genSend): fixed bugs #2778, #2736
* support/regression/tests/gcc-torture-execute-divconst-3.c: enabled test
* support/regression/fwk/include/testfwk.h: added __printu, fixed __printd
* support/regression/tests/bug-1981238.c: enabled more tests
* support/regression/tests/gcc-torture-execute-pr86231.c: fixed warnings
* support/regression/tests/gcc-torture-execute-va-arg-14.c: suppress warning
2018-08-10 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-pr85529-2.c:
Disable a test for older GCC.
* support/regression/tests/new_wide.c:
Disable a test for host.
2018-08-08 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCloop.c:
Fix bug #2794.
2018-08-06 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-pr85529-1.c:
Disable a test for older GCC.
2018-08-05 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve error message on unbalanced stack.
* support/regression/tests/bug-2793.c:
Test for bug #2793.
2018-08-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c:
Fix an issue introduced in the bugfix for #2665.
* src/stm8/peep.c,
src/stm8/peeph.def:
Minor improvements in STM8 peephole optimization.
* src/stm8/gen.c:
Minor improvement in STM8 subtraction codegen.
2018-08-02 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-va-arg-5.c:
Disable a test for older GCC.
* support/regression/ports/uc*/spec.mk:
Harmonize simulation timeouts for z80-related.
* src/SDCCsymt.c,
src/SDCCdwarf2.c,
src/z80/main.c,
src/ds390/main.c,
device/lib/_rrulonglong.c,
device/lib/_rlulonglong.c,
device/lib/_rrslonglong.c,
device/lib/_rlslonglong.c:
Fix bug #2665.
2018-08-01 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def,
support/regression/tests/compare.c:
Improve range checks on 8- and 16-bit variables.
* support/regression/tests/gcc-torture-execute-vrp-7.c:
Disable test which fails for z80-related for tlcs90, also.
2018-07-31 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc.c,
src/stm8/gen.c:
Improve shift of global variables by 1.
2018-07-30 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCval.c,
support/regression/tests/gcc-torture-execute-wchar_t-1.c,
Fix bug #2792.
2018-07-30 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCglue.c,
support/regression/tests/gcc-torture-execute-wchar_t-1.c,
support/regression/tests/gcc-torture-execute-widechar-2.c:
Fix bug #2791.
2018-07-30 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-*.c:
Add tests from GCC 8.2.
2018-07-29 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCerr.?:
Fix typos.
support/regression/tests/gcc-torture-execute-*.c:
Disable some warnings.
2018-07-26 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/pic14/glue.c:
Fix an issue introduced with support for C99 intermingling of declarations and statements.
2018-07-14 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.cc,
src/SDCClospre.hpp:
Fix bug #2673.
2018-07-13 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/z80/peep.c,
support/regression/tests/bug-2771.c:
Fix bug #2771.
* src/SDCClospre.cc:
Improve lospre debug output.
2018-07-12 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-2770.c:
Fix bug #2770.
* device/include/mcs51/ax8052.h,
device/include/mcs51/ax8052f131.h,
device/include/mcs51/ax8052f142.h,
device/include/mcs51/ax8052f143.h,
device/include/mcs51/ax8052f151.h,
device/include/mcs51/compiler.h:
Headers for Axsem 8052, patch #166 by Thomas Sailer.
2018-07-05 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.hpp:
Fix bug #2748.
* src/SDCCcse.h,
src/SDCCdebug.c,
src/SDCCglue.c,
src/SDCCpeeph.c,
src/SDCCsymt.c,
src/SDCCsymt.h:
Improve code quality fixing a few gcc -pedantic warnings.
2018-07-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-2767.c:
Fix bug #2767.
2018-07-02 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2764.c:
Fix test for systems with int wider than 16 bits.
2018-06-28 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2764.c,
src/stm8/peep.c,
src/stm8/peeph.def:
Fix bug #2764.
2018-06-28 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/gcc-torture-execute-20040409-2.c:
Disabled more tests for arm64.
2018-06-27 Philipp Klaus Krause <pkk AT spth.de>
* src/mcs51/peep.c:
Fix bug #2108.
* device/lib/z80/crt0.s,
device/lib/z180/crt0.s:
Implement ei for RFE #519.
* src/SDCCbtree.cc,
src/SDCCnaddr.hpp,
configure.ac,
configure:
Remove use of STX, RFE #542.
2018-06-26 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/gcc-torture-execute-20040409-1.c:
* support/regression/tests/gcc-torture-execute-20040409-2.c:
* support/regression/tests/gcc-torture-execute-20040409-3.c:
Disabled for arm64.
2018-06-25 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2363.c:
Disable test for mcs51 small model.
2018-06-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcse.c: remove leftover debugging (fix bug #2763)
2018-06-21 Philipp Klaus Krause <pkk AT spth.de>
* sdas/asxxsrc/asdbg.c:
Fix an assembler issue, alternative fix to patch #286.
* support/regression/tests/bug-2750.c:
Regression test for bug #2750.
* support/regression/tests/bug-2363.c:
Regression test for bug #2363.
2018-06-17 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/SDCC.y,
src/SDCCBBlock.c,
src/SDCCast.c,
src/SDCCast.h,
src/SDCCdwarf2.c,
src/SDCCerr.c,
src/SDCCerr.h,
src/SDCCglobl.h,
src/SDCCglue.c,
src/SDCCicode.c,
src/SDCCicode.h,
src/SDCCmem.c,
src/SDCCsymt.c,
src/SDCCsymt.h,
src/SDCCval.c,
src/cdbFile.c,
support/regression/tests/p99-conformance.c,
support/regression/tests/declafterstmt.c,
support/valdiag/tests/declafterstmt.c:
Support for C99 intermingling of declaration and statements, patch by Benedikt Freisen.
* doc/sdccman.lyx:
Update documentation on standard support.
2018-06-15 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/SDCClospre.hpp,
support/regression/tests/bug-2761.c:
Fix bug #2761.
* src/SDCCicode.c:
Optimize division from pointer subtraction.
* src/stm8/gen.c:
Improve ^.
2018-06-13 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/SDCCglobl.h,
src/SDCCBBlock.c:
Infrastructure for custom iCode dump point.
* src/SDCClospre.hpp:
Fix handling of use vector in lospre.
* src/SDCClrange.h,
src/SDCClrange.c,
src/SDCCopt.c:
Fix secondary issue in bug #2756.
* device/include/uchar.h,
device/lib/incl.mk,
device/lib/mbstoc16s.c,
device/lib/c16stombs.c,
support/regression/tests/new_wide.c
Functions for converting between UTF-8 and UTF-16 strings.
2018-06-13 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcse.c: fix bugs #2709 and #1951
* support/regression/tests/gcc-torture-execute-20001027-1.c,
* support/regression/tests/bug-2708.c: enable tests
2018-06-13 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/bug-2756.c:
disabled for test-mcs51-large and test-mcs51-huge due to build failure.
2018-06-13 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCset.c: reduce memory use of unionSets()
2018-06-12 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/bug-2756.c:
disabled for test-host.
2018-06-12 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp,
support/regression/tests/bug-2756.c:
Fix main issue in bug #2756.
2018-06-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/ralloc.c: fix bug #2737
2018-06-11 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCbitv.c: fix bug #2759
* src/SDCCglue.c: fix bug #2749
* support/regression/tests/bug-2749: enable test
2018-06-11 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/literalop.c:
Improved for aarch64.
2018-06-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCbitv.c,
* src/SDCCbitv.h: simplify to only access bit vector as unsigned
int, add functions for in-place intersection and union operations
* src/SDCCset.c,
* src/SDCCset.h: new function destructItemIf calls a destructor
function before deleting a set item
* src/SDCCBBlock.c,
* src/SDCCBBlock.h,
* src/SDCCopt.c: free some eBBlock data when switching to iCode chain
* src/SDCCcflow.c: free code flow data when not needed
* src/SDCCdflow.c,
* src/SDCCcse.c,
* src/SDCCcse.h: free data flow and CSE data when not needed
2018-06-08 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/bitwise.c:
Improved for aarch64.
2018-06-08 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc.c,
src/SDCCopt.c:
Narrow reads from pointers, RFE #559.
* doc/sdccman.lyx:
Improve documentation for --stack-loc.
2018-06-06 Ben Shi <powerstudio1st AT 163 DOT com>
* sim/ucsim/config.guess:
updated to the newest version. (timestamp='2018-05-19')
2018-06-05 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/peeph-z80.def: fixed peephole rule 153 (possibly fix for
bug #2754)
2018-06-04 Philipp Klaus Krause <pkk AT spth.de>
* sdas/asz80/z80.h,
sdas/asz80/z80adr.c,
sdas/asz80/z80mch.c,
sdas/asz80/z80pst.c:
Assembler support for ZX Spectrum Next opcodes: Patch by pauloscustodio.
2018-06-04 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (expandInlineFuncs): fix bug #2752
* support/regression/tests/bug-2752.c: enable test
2018-06-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/scripts/sdcc.nsi: mingw-w64 needs libwinpthread-1.dll
* support/scripts/sdcc.nsi: add stm8-large library to setup.exe package
2018-05-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.y,
src/SDCCerr.c:
Improve behaviour on unknown register specifications.
2018-05-27 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2752.c:
Test for bug #2752
2018-05-26 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c:
Fix bug #2753.
2018-05-24 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/stm8/peeph.def:
Improve documentation for jump-on-false-style optimization.
2018-05-12 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Improve jump-on-false-style optimization.
2018-05-10 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.lex,
support/regression/tests/assert.c,
support/valdiag/tests/static_assert.c:
Add pragma for C2X, fix pragma for C99.
* src/stm8/peeph.def:
Various optimizations that help in stdcbench.
* src/stm8/ralloc.c:
Improve code for pushing globals.
2018-05-09 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.y,
src/SDCCerr.c,
src/SDCCerr.h,
src/SDCCglobl.h,
src/SDCCmain.c:
Support for C2X static_assert variant.
2018-05-09 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
src/SDCCval.c:
Fix use of undefined behaviour (left shift by negative amount).
* support/regression/tests/bug-2749.c:
Test for bug #2749.
* src/SDCCglue.c:
Code cleanup.
* src/SDCCglobl.h,
src/SDCCmem.c,
src/SDCCutil.c,
src/pic14/genarith.c,
src/pic16/genarith.c,
src/stm8/peep.c:
Code cleanup by relying on ISO C99 support.
2018-05-08 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2746.c:
Test for bug #2746.
* src/stm8/peep.c:
Fix reads from unallocated memory.
2018-04-25 Philipp Klaus Krause <pkk AT spth.de>
* device/include/stdbool.h:
Change the type of true and false to _Bool (see also N 2229).
* device/include/assert.h,
device/lib/__assert.c,
device/lib/incl.mk:
Fix bug #2745.
2018-04-23 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Update documentation on long long support.
* device/lib/wctomb.c,
support/regression/tests/wchar.c:
Fix wctomb() error handling wrt. invalid surrogate codepoints.
* device/lib/wcrtomb.c,
support/regression/tests/wchar.c:
Fix wcrtomb() errno handling.
* device/lib/mbrtowc.c,
device/lib/mbtowc.c:
Improve mbrtowc(), mbtowc() error handling.
* device/lib/mbrtoc16.c:
Simplify mbrtoc16() by relying on mbrtowc() error handling.
* device/lib/c16rtomb.c,
support/regression/tests/wchar.c:
Fix c16rtomb() error handling.
2018-04-21 Philipp Klaus Krause <pkk AT spth.de>
* device/include/stdint.h,
support/regression/tests/constantRange.c:
Fix intmax_t, uintmax_t limit macros.
2018-04-21 Philipp Klaus Krause <pkk AT spth.de>
* device/include/stdint.h,
support/regression/tests/wchar.c:
Fix wchar_t, wint_t limit macros.
2018-04-19 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* support/regression/tests/wchar.c:
A bit of additional UTF-16 and UTF-32 support testing.
2018-04-17 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peep.c:
Fix reads from unallocated memory.
* src/stm8/gen.c:
Fix bug #2743.
2018-04-16 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCglue.c:
Fix read of unitialized value in initialization of zero-length bit-field.
2018-04-15 Philipp Klaus Krause <pkk AT spth.de>
* configure,
configure.ac:
Use C11 instead of ms-extensions to get support for anonymous struct.
2018-04-07 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/asxxsrc/asout.c (outrw): enable emit 24-bit relocation data for stm8
* src/stm8/main.c (get_model): fixed warning
2018-04-06 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
support/regression/tests/bug-2124.c,
support/regression/tests/bug-2373.c,
support/regression/tests/bug1908493.c,
support/regression/tests/compare.c,
support/regression/tests/funptrs.c,
support/regression/tests/gcc-torture-execute-930702-1.c,
support/regression/tests/gcc-torture-execute-991112-1.c,
support/regression/tests/z88dk.c:
Workaround for 24-bit symbol assembler issue.
2018-04-02 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-20060110-2.c:
Disable failing test.
2018-04-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/valdiag/tests/funcdec.c,
* support/valdiag/tests/tentdecl.c: fix bug #2735
2018-03-31 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c:
Consider string literal reuse in dead code elimination, part of RFE #567.
* src/SDCCast.c,
src/SDCCast.h,
src/SDCCopt.c:
Merge adjacent calls to puts(), RFE #564.
* src/SDCCglue.c,
src/stm8/gen.c:
Enable support for 24-bit function pointers for stm8 large memory model.
* support/valdiag/Makefile.in:
Omit host by default.
* support/valdiag/tests/funcdec.c,
support/valdiag/tests/tentdecl.c:
Disable test affected by bug #2735.
* src/stm8/main.c:
Separate default name for const segment from code segment.
2018-03-31 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sdas/asxxsrc/asout.c
* sdas/asxxsrc/sdas.c
* sdas/asxxsrc/sdas.h: enable sdasstm8 to emit 24-bit relocation data
2018-03-30 Philipp Klaus Krause <pkk AT spth.de>
* support/valdiag/tests/overflow.c:
Disable tests for known bugs #2733, #2734.
* device/lib/stm8-large/heap.s:
Fix heap initialization.
2018-03-30 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/collate-results.py: fix bug #2731 and
handle malformed "Summary" and "Simulator" stats better
2018-03-29 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/SDCCast.c,
src/SDCCutil.c,
src/SDCCval.c,
src/SDCCval.h:
Make optimization of stdlib calls play nice with string reuse.
* support/util/dbuf.c,
support/util/dbuf.h:
Improve const-correctness.
2018-03-28 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
support/regression/tests/bug-2124.c,
support/regression/tests/bug-2373.c,
support/regression/tests/bug-716242.c,
support/regression/tests/bug1908493.c,
support/regression/tests/compare.c,
support/regression/tests/funptrs.c,
support/regression/tests/gcc-torture-execute-930702-1.c,
support/regression/tests/gcc-torture-execute-991112-1.c,
support/regression/tests/gcc-torture-execute-func-ptr-1.c,
support/regression/tests/z88dk.c:
Give up on supporting function pointers for stm8 large memory model.
* device/lib/Makefile.in:
Build library for stm8 large memory model by default.
2018-03-28 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Fix long long return values for large memory model.
* sim/ucsim/stm8.src/glob.cc:
Fix decoding of jpf.
* device/lib/stm8-large/setjmp.s:
Fix longjmp() for large memory model.
2018-03-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.y,
src/SDCCasm.c,
src/SDCCicode.c,
src/SDCCralloc.hpp,
src/stm8/gen.c,
src/stm8/ralloc.c,
src/stm8/ralloc2.cc,
src/stm8/peep.c:
Improve handling of global pointers.
2018-03-27 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/SDCCast.c,
doc/sdccman.lyx,
src/SDCCglobl.h,
src/SDCCmain.c:
Implement basic optimization of calls to standard library functions, RFE #564.
* support/regression/tests/bug-716242.c,
support/regression/tests/genptrs.c:
Fix tests that assign void * to function pointers.
* src/SDCCglue.c:
Use jpf to reach main() for stm8 large memory model.
* src/stm8/gen.c:
Give up on assembler for stm8 large memory model to make regression tests pass.
2018-03-26 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Minor optimization for 8-bit pointer reads.
2018-03-26 Philipp Klaus Krause <pkk AT spth.de>
* support/valdiag/tests/constantRange.c:
Make tests expect a few more warnings implemented in SDCC.
* src/stm8/gen.c:
Fix | of a with itself.
* support/valdiag/tests/bug-971834.c:
Do not expect unreasonable warning.
* src/SDCCast.h,
src/SDCCast.c,
src/SDCCicode.c,
support/valdiag/tests/pointers.c:
Fix bug #2730.
2018-03-26 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/SDCCerr.h,
src/SDCCerr.c,
src/SDCCast.c,
support/valdiag/valdiag.py,
support/valdiag/tests/pointers.c:
Diagnostics for conversions between pointers to objects and pointers to functions.
* src/stm8/gen.c,
src/stm8/peeph.def:
Some minor improvements.
2018-03-25 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve calls via global function pointers.
* src/pic16/gen.c,
src/pic16/ralloc.c,
src/pic16/ralloc.c:
Fix NEARPTRSIZE use.
* src/hc08/main.c:
Fix leftover max type size.
2018-03-25 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/stm8-large/Makefile.in,
device/lib/stm8-large/_fast_long_neg.s:
Remove unused support routine.
* src/port.h,
src/stm8/main.c:
Fix library path for large memory model.
* src/SDCCpeeph.c:
Fix labelIsUncondJump() for large memory model.
* src/stm8/gen.c:
Simplify generation of calls, implement 24-bit return values.
* device/lib/stm8-large/Makefile.in:
Fix build of char multiplicative operator routines.
* support/regression/ports/stm8-large/support.c:
Fix regression test output.
2018-03-25 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/collate-results.py,
* support/regression/compact-results.py,
* support/regression/get_ticks.py: Accept non-UTF-8 regression test
output without throwing an exception under Python 3
2018-03-24 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Fixes for handling of immediate operands for large memory model.
* device/include/setjmp.h,
device/lib/stm8-large/setjmp.s:
Fix setjmp() / longjmp() for large memory model.
2018-03-24 Philipp Klaus Krause <pkk AT spth.de>
* src/port.h,
src/*/main.c,
src/SDCCglobl.h,
src/SDCCglue.c,
src/SDCCsymt.c:
Handle function pointer sizes separately from object pointer sizes.
* configure.ac,
device/lib/Makefile.in,
src/stm8/gen.c,
device/lib/stm8-large:
stm8-large library.
* support/regression/Makefile.in,
support/regression/ports/stm8-large:
stm8-large regression test target.
2018-03-24 Philipp Klaus Krause <pkk AT spth.de>
* src/port.h,
src/SDCCglobl.h,
src/SDCCast.c,
src/SDCCdwarf2.c,
src/SDCCglue.c,
src/SDCCicode.c,
src/SDCCopt.c,
src/SDCCsymt.c,
src/ds390/gen.c,
src/ds390/main.c,
src/ds390/ralloc.c,
src/hc08/gen.c,
src/mcs51/gen.c,
src/mcs51/main.c,
src/mcs51/ralloc.c,
src/pic14/gen.c,
src/pic16/gen.c:
Rename pointer size macros for clarification.
* src/stm8/main.c,
src/stm8/gen.c:
Simplify call overhead handling for large memory model.
2018-03-24 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/longlong.c:
Disable test for mcs51 medium model.
* support/regression/tests/bool.c:
Test assignments between bool bitfields.
2018-03-23 Philipp Klaus Krause <pkk AT spth.de>
* src/mcs51/gen.c,
support/regression/tests/gcc-torture-execute-950612-1.c:
Fix bug #2669.
* support/regression/tests/longlong.c:
Enable full long long regression testing for large and huge mcs51 memory model.
2018-03-23 Philipp Klaus Krause <pkk AT spth.de>
* src/mcs51/gen.c:
Fix a bug in code generation that was triggered by lospre.
* support/regression/tests/gcc-torture-execute-20060110-2.c:
Enable test for mcs51.
* support/regression/tests/gcc-torture-execute-920922-1.c:
Document that mcs51 exploits undefined behaviour.
2018-03-23 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/valdiag/valdiag.py: define some port specific
macros (__has_bit, __has_data, __has_xdata, __has_reentrant)
to simplify conditions
* support/valdiag/tests/bug-971834.c,
* support/valdiag/tests/enum.c,
* support/valdiag/tests/funcdec.c,
* support/valdiag/tests/primtypes.c,
* support/valdiag/tests/switch.c,
* support/valdiag/tests/tentdecl.c,
* support/valdiag/tests/typedef.c: update for newer SDCC/GCC versions
2018-03-22 Philipp Klaus Krause <pkk AT spth.de>
* src/mcs51/gen.c,
src/mcs51/ralloc.c:
Improve _Bool handling.
2018-03-22 Philipp Klaus Krause <pkk AT spth.de>
* src/mcs51/ralloc.c:
Allocate some local _Bool to bit registers.
2018-03-22 Philipp Klaus Krause <pkk AT spth.de>
* src/mcs51/gen.c:
Fix handling of acc for multiplicative operators.
* src/mcs51/ralloc.c:
Fall back to generic registers when running out of bit registers.
2018-03-22 Philipp Klaus Krause <pkk AT spth.de>
* src/mcs51/gen.c,
src/SDCCast.c
Improve code generation for _Bool.
2018-03-22 Philipp Klaus Krause <pkk AT spth.de>
* src/mcs51/ralloc.c:
Make better use of acc for 8-bit operands.
* src/SDCCopt.c:
Optimize width of temporaries for bit tests.
2018-03-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/valdiag/Makefile.in: display any actual failure(s)
and not just the summary
2018-03-21 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.c:
Remove leftover debug message.
2018-03-21 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/mcs51/ralloc.c,
src/mcs51/gen.c:
Optimize bitwise operations on global variables.
2018-03-20 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* support/scripts/as2gbmap.py:
Migrate to Python 2/3.
* src/z80/ralloc.c,
src/stm8/ralloc.c,
support/regression/tests/bug-2347.c:
Fix bug #2347.
* device/README,
device/examples:
Remove outdated examples (bug #2728).
2018-03-19 Philipp Klaus Krause <pkk AT spth.de>
* configure.ac,
configure:
Migrate to Python 3.6 for default.
2018-03-19 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/z80/ralloc.c,
src/stm8/ralloc.c:
Do not mark global variables as rematerializeable.
2018-03-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/generate-cases.py: apply patch #282 from
Diego Herranz
* support/regression/generate-cases.py,
* support/regression/HTMLgen.py: use latin-1 encoding for file I/O
to pass through UTF-8 and non-UTF-8 data without interpretation
when using Python 3
2018-03-18 Philipp Klaus Krause <pkk AT spth.de>
* support/sdbinutils:
Merge upstream GNU Binutils 2.30.
* src/stm8/gen.c:
Improve cycle count accuracy for shifts.
2018-03-18 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve handling of rematerialized operands and I/O.
2018-03-18 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/valdiag/valdiag.py: Fix a very old bug, more fixes
for Python 2/3 compatibility
2018-03-17 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Implement RFE #566.
2018-03-17 Philipp Klaus Krause <pkk AT spth.de>
* support/valdiag/tests/restrict.c:
Test for bug #2714.
* src/SDCCralloc.hpp:
Faster check for non-connected live-ranges.
* src/stm8/ralloc.c,
src/stm8/gen.c,
src/stm8/peep.c:
Basic support for rematerialization of addresses for stm8.
2018-03-17 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/collate-results.py,
support/valdiag/valdiag.py: replace use of deprecated
functions for better Python 3 compatibility
2018-03-16 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/collate-results.py,
support/regression/compact-results.py,
support/valdiag/valdiag.py:
Convert Python 1 to Python 2/3.
* support/regression/tests/qsort.c:
Disable test for mcs51-small due to lack of RAM.
* sim/ucsim/cmd.src/cmdlex.cc:
Remove lex-generated file from repository.
2018-03-13 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-2716.c:
Fix bug #2716.
* src/SDCCopt.c:
Disable fix for non-connected live-ranges for ds390.
* device/include/stdlib.h,
device/lib/bsearch.c,
device/lib/incl.mk,
support/regression/tests/qsort.c:
Implement bsearch().
* support/valdiag/valdiag.py,
support/valdiag/Makefile.in:
Include z180, r2k, gbz80, tlcs90, s08, stm8 in diagnostic validation.
* support/regression/generate-cases.py,
support/regression/HTMLgen.py,
support/regression/get_ticks.py:
Convert Python 1 to Python 2/3.
2018-03-13 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix --reserve-regs-iy issue in function pointers to functions returning long long.
2018-03-12 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/SDCCralloc.hpp:
Fix --dump-graphs debug output for non-connected live-ranges.
* src/SDCClrange.c,
src/SDCCopt.c:
Fix non-connected live-ranges, bugs #2525, #2644, #2266, #2319.
2018-03-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/bug-1981238.c,
support/regression/tests/gcc-torture-execute-20141107-1.c,
support/regression/tests/gcc-torture-execute-920711-1.c: Test for
__POWERPC__ instead of __PPC__
2018-03-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/bug-1981238.c,
support/regression/tests/gcc-torture-execute-20141107-1.c,
support/regression/tests/gcc-torture-execute-920711-1.c: Disable
tests failing on PPC host
* support/regression/tests/gcc-torture-execute-20121108-1.c,
support/regression/tests/gcc-torture-execute-pr79286.c: Don't
define putchar when compiling for host
2018-03-06 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/bug-1981238.c: disabled new tests that fail on
host
2018-03-05 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* src/SDCCopt.c,
support/regression/tests/bug-2712.c:
Fix bug #2712.
2018-03-04 Maarten Brock <sourceforge.brock AT dse.nl>
* src/stm8/gen.c (emitCall): fix callf with literal
* support/regression/tests/bug-1981238.c: added tests,
changed pad.b to 5 bits so the total is <= 8
* support/regression/tests/memory.c: enabled test for ds390, mcs51-large
and mcs51-huge
* device/lib/strtoul.c: fix warnings
2018-03-04 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCerr.c,
src/SDCCerr.h,
src/SDCCsymt.c:
Fix bug #2714.
2018-03-04 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/stm8.src/stm8.cc:
Fix bug #2694.
* configure.ac,
configure,
src/Makefile.in,
sim/ucsim/cmd.src/Makefile.in:
Fix bug #2724.
* src/SDCC.y,
src/SDCCerr.h,
src/SDCCerr.c,
src/SDCCsymt.c:
Fix bug #2720.
2018-02-28 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Implement calls through functions pointers via retpoline for stm8 large memory model (RFE #556).
2018-02-28 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Document stm8 memory models (RFE #556).
* src/stm8/main.c,
src/stm8/gen.c:
Do not generate jump tables for stm8 large memory model (RFE #556).
2018-02-27 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/stm8.src/inst.cc:
Fix handling of 16-bit and 17-bit jumps in simulator (RFE #556).
* src/stm8/peep.c:
Improve handling of 24-bit jumps in peephole optimizer (RFE #556).
* src/stm8/main.c,
src/stm8/gen.c:
Code generation for large memory model for stm8 (RFE #556).
* support/regression/tests/memory.c:
Enable test for host.
* src/stm8/peeph.def:
New peephole rules for large memory model (RFE #556).
2018-02-26 Philipp Klaus Krause <pkk AT spth.de>
* .version,
src/stm8/peeph.def:
Implement RFE #557.
* device/lib/stm8/strcmp.s,
device/lib/stm8/strcpy.s:
Faster string functions from patch #281 by Benedikt Freisen.
* support/regression/tests/memory.c:
Test memory functions on larger arrays.
* device/lib/stm8/memcpy.s:
Faster string function based on patch #281 by Benedikt Freisen.
2018-02-18 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-2715.c:
Fix bug #2715.
* doc/sdccman.lyx:
Document treedec location.
2018-02-07 Philipp Klaus Krause <pkk AT spth.de>
* .version,
doc/INSTALL.txt,
sdcc.spec:
Version 3.7.0
2018-02-07 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Update for default build of lib for huge mcs51 memory model.
2018-02-06 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Fixed a typo.
2018-02-05 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* support/sdbinutils/bfd/doc/Makefile.am,
support/sdbinutils/bfd/doc/Makefile.in:
Fix bug #2711.
2018-01-31 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* device/lib/strtol.c,
device/lib/strtoul.c,
support/regression/tests/strto.c,
device/include/stdlib.h,
device/lib/incl.mk:
Implement strtoul(), strtol() RFE #555.
2018-01-26 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c:
Reduce memory usage in the peephole optimizer.
2018-01-26 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de>
* device/include/stdlib.h,
device/lib/incl.mk,
device/lib/qsort.c,
support/regression/tests/qsort.c:
Implement qsort(), RFE #554.
* device/lib/stm8/heap.s:
Increase stm8 default heapsize to 1KB size of other backends.
* src/SDCCpeeph.c,
src/SDCCgen.c,
src/stm8/peep.c:
Code cleanup.
2018-01-24 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peep.c,
support/regression/tests/bug-2708.c:
Fix bug #2708.
2018-01-18 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.lex,
src/SDCCglobl.h,
src/SDCCmain.c:
Remove leftovers from deprecated nojtbound pragma and option.
* doc/sdccman.lyx:
Update list of incompatible changes.
* src/hc08/gen.c,
src/SDCCast.c,
device/lib/_rlulonglong.c,
device/lib/_rrslonglong.c,
device/lib/_rrulonglong.c,
support/regression/tests/*.c:
Fixed many long long issues, including bugs #2658 and #2118.
2018-01-07 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCglue.c,
support/regression/tests/bug-2643.c:
Fix bug #2643.
2018-01-05 Philipp Klaus Krause <pkk AT spth.de>
* src/ds390/gen.c,
src/ds390/ralloc.c,
support/regression/ports/ds390/spec.mk,
support/regression/tests/*.c:
Fixes in ds390 long long support.
2018-01-04 Philipp Klaus Krause <pkk AT spth.de>
* src/ds390/ralloc.c,
support/regression/tests/*.c:
Fix conflict in assignment of long long return values.
2018-01-04 Philipp Klaus Krause <krauseph AT informatik.uni-freiburg.de.de>
* device/include/stdint.h,
src/SDCCsymt.c,
src/ds390/gen.c,
src/ds390/gen.h,
src/ds390/ralloc.c,
support/regression/tests/*.c:
Initial long long support for ds390.
2018-01-03 Maarten Brock <sourceforge.brock AT dse.nl>
* support/scripts/sdcc.nsi: added tlcs90 library
2017-12-30 Maarten Brock <sourceforge.brock AT dse.nl>
* support/scripts/sdcc.nsi: added sdastlcs90.exe
2017-12-29 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/wchar.c: disabled test for gcc 5.4 and older
* support/scripts/sdcc.nsi: added huge library
2017-12-29 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/cmd.src/clean.mk:
Cleanup bison-generated files.
2017-12-28 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/cmd.src/Makefile.in,
sim/ucsim/cmd.src/cmdpars.cc,
sim/ucsim/cmd.src/cmdpars.hh,
device/lib/pic14/*,
device/lib/pic16/*:
Fixes for out-of-tree builds.
2017-11-18 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/ports/mcs51-huge/spec.mk,
* support/regression/Makefile.in: huge lib is now built by default
* support/regression/tests/gcc-torture-execute-20140212-1.c,
* support/regression/tests/gcc-torture-execute-20140212-2.c,
* support/regression/tests/gcc-torture-execute-pr60062.c,
* support/regression/tests/gcc-torture-execute-pr63209.c,
* support/regression/tests/gcc-torture-execute-pr64979.c,
* support/regression/tests/gcc-torture-execute-pr67714.c,
* support/regression/tests/gcc-torture-execute-pr68250.c,
* support/regression/tests/gcc-torture-execute-pr68321.c,
* support/regression/tests/gcc-torture-execute-pr68390.c,
* support/regression/tests/gcc-torture-execute-pr78675.c,
* support/regression/tests/gcc-torture-execute-pr80153.c,
* support/regression/tests/bug-2567.c: fix or suppress warnings
* support/regression/tests/gcc-torture-execute-pr66940.c: added test that
long != long long
* support/regression/tests/inline.c: added test for bug 2591
2017-11-14 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCtree_dec.hpp:
Choose Thorup vs. PP+FI+TM per CFG depending on width of decompositions.
2017-11-14 Ben Shi <powerstudio1st AT 163 DOT com>
* src/mcs51/gen.c,
* src/mcs51/rtrack.c:
Fix illegal form of MOV.
* support/regression/tests/bug-2221.c:
Partially enabled.
2017-11-13 Philipp Klaus Krause <pkk AT spth.de>
* Merged nothorup branch to trunk.
2017-11-13 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCtree_dec.hpp:
Document choice of algorithm for tree-decomposition.
2017-11-13 Philipp Klaus Krause <pkk AT spth.de>
* configure.ac,
src/SDCCtree_dec.hpp,
sdccconf_in.h,
configure:
Automatically use gala for treedec.
2017-11-12 Philipp Klaus Krause <pkk AT spth.de>
* sdccconf_in.h:
Regenerate to get correct definitions from configuration.
2017-11-08 Philipp Klaus Krause <pkk AT spth.de>
* configure,
configure.ac,
src/SDCClospre.cc,
src/SDCClospre.hpp,
src/SDCCnaddr.cc,
src/SDCCnaddr.hpp,
src/SDCCralloc.hpp,
src/SDCCtree_dec.hpp,
src/hc08/ralloc2.cc,
src/stm8/ralloc2.cc,
src/z80/ralloc2.cc:
Detect and use treedec when available, fall back to Thorup otherwise.
2017-11-08 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.cc,
src/SDCClospre.hpp,
src/SDCCnaddr.cc,
src/SDCCnaddr.hpp,
src/SDCCralloc.hpp,
src/SDCCtree_dec.hpp,
src/hc08/ralloc2.cc,
src/stm8/ralloc2.cc,
src/z80/ralloc2.cc:
tdlib to treedec rename.
2017-11-07 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCglobl.h,
src/SDCCglue.c,
src/SDCCmain.c,
src/z80/main.c:
Implement --data-seg, part of RFE #544.
2017-11-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peeph-gbz80.def,
support/regression/tests/longlong.c,
support/regression/tests/gcc-torture-execute-20001108-1.c,
support/regression/tests/gcc-torture-execute-20011126-1,
support/regression/tests/gcc-torture-execute-20041011-1.c,
support/regression/tests/gcc-torture-execute-20080529-1.c,
support/regression/tests/gcc-torture-execute-20120817-1.
support/regression/tests/gcc-torture-execute-920829-1.c,
support/regression/tests/gcc-torture-execute-950511-1.c,
support/regression/tests/gcc-torture-execute-961213-1.c,
support/regression/tests/gcc-torture-execute-pr65170:
Fix bugs #2329, #2656, #2653.
* support/makebin/makebin.c:
Apply patch #278 by Brandon Blake.
* support/regression/tests/bugs-1596270-1736867.c:
Disable a test for ds390.
2017-11-06 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCval.c,
src/SDCCval.c,
src/SDCC.lex,
support/regression/tests/bug-2221.c,
support/regression/tests/bug-2687.c,
support/regression/tests/generic.c:
Fix bugs #2221, #2687.
* configure.ac,
configure:
Fix bug #2689.
2017-11-05 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp,
src/z80/gen.c,
support/regression/tests/bug-2681.c:
Fix bug #2681.
* support/regression/tests/bug-2645.c:
Silence an mcs51 warning.
* support/regression/tests/bug-2567.c,
support/regression/tests/gcc-torture-execute-pr60062.c,
support/regression/tests/gcc-torture-execute-pr63209.c,
support/regression/tests/gcc-torture-execute-pr80153.c:
Silence some warning about unused function arguments.
2017-11-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCtree_dec.hpp:
Fix bug #2684.
2017-11-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCtree_dec.hpp:
Cleanup algorithm selection.
2017-11-03 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2684.c:
Disable new test for mcs51-small, which doesn't have enough RAM.
2017-11-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.hpp,
src/SDCCnaddr.hpp,
src/SDCCralloc.hpp,
src/SDCCtree_dec.hpp:
More changes for current tdlib, patch by Felix Salfelder.
2017-11-02 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2684.c:
Test for bug #2684.
2017-11-02 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCtree_dec.hpp:
Use find_root() from tdlib when available.
2017-11-01 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc:
Fix a bug in Z80 sfr handling.
* support/scripts/Makefile.in:
Fix an access rights issue in make install, patch by Felix Salfelder.
2017-10-31 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCtree_dec.hpp,
src/SDCCralloc.hpp,
src/stm8/ralloc2.cc,
src/hc08/ralloc2.cc,
src/z80/ralloc2.cc:
Allow use of tdlib Thorup in place of SDCC Thorup in register allocator.
* src/SDCClospre.cc,
src/SDCClospre.hpp,
src/SDCCnaddr.cc,
src/SDCCnaddr.hpp:
Allow use of tdlib Thorup in place of SDCC Thorup in lospre and bank selection instruction placement.
* src/SDCClospre.cc,
src/SDCCnaddr.cc,
src/hc08/ralloc2.cc,
src/z80/ralloc2.cc:
Enable use of tdlib Thorup in place of SDCC Thorup.
* src/SDCCtree_dec.hp:
Use PP+FI+TM instead of Thorup.
2017-10-30 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix --reserve-regs-iy issues, part of bug #2674.
* device/lib/incl.mk:
Build library for mcs51 huge model, to reduce differences with Debian version.
2017-10-29 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2580.c:
Fix an issue for host systems where char is signed.
* support/regression/ports/ucz80-resiy,
support/regression/Makefile.in:
Add target for z80 test with --reserve-regs-iy.
* doc/Makefile.in:
Try to resurrect full documentation build.
2017-10-28 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/pic16/configure,
device/non-free/lib/pic16/configure,
device/non-free/lib/pic16/supported-devices.ac:
Reduce pic device support warning timeout.
* support/regression/tests/gcc-torture-execute-920612-1.c:
Disable a host test that fails for GCC 7.2.
* src/z80/gen.c,
support/regression/tests/bug-2580.c:
Fix bug #2580.
2017-10-27 Philipp Klaus Krause <pkk AT spth.de>
* configure,
configure.ac,
sim/ucsim/cmd.src/cmdutil.cc,
sim/ucsim/configure,
sim/ucsim/configure.ac,
sim/ucsim/utils.cc,
src/SDCCutil.c,
src/SDCCutil.h:
Do not work around missing C99 support.
* support/regression/Makefile.in:
Reduce make overhead in regression testing from quadratic to linear in the number of tests.
* sim/ucsim/app.cc:
Speed up simulator command handling for faster regression testing.
2017-10-26 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/gen.c,
support/regression/tests/bug-2370.c:
Fix various --reserve-regs-iy issues, including bug #2370 and most of bug #2674.
2017-10-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen:
Fix a --reserve-regs-iy bug in 32/64-bit comparisons.
* src/stm8/peeph.def,
src/stm8/gen.c:
Minor improvements for stm8.
2017-10-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peep.c:
__z88dk_fastcall function pointer support for --reserve-regs-iy.
2017-10-24 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Fix broken references.
* src/z80/gen.c:
Fix various --reserve-regs-iy issues, including bugs #2400, #2278, #2380.
2017-10-23 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCdwarf2.c:
Debug info for partially spilt variables.
* doc/sdccman.lyx,
doc/Makefile.in:
Fix SDCC version in manual title for out-of-tree build.
* src/SDCCast.c,
support/regression/tests/bug-2632.c:
Fix bug #2632.
2017-10-22 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCdwarf2.c:
Infrastructure for debug info for partially spilt variables.
* src/SDCCmain.c:
Document command line options in help output.
2017-10-20 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/gen.c:
Improve handling of a in cast.
* src/z80/gen.c:
Improve &.
* src/z80/gen.c:
Improve |.
2017-10-19 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Optimize ifx on 16-bit pointer read.
* src/z80/peeph-z80.def:
Improve peephole rules for caching 0 in a.
2017-10-18 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
Improve subtraction of global variables.
* src/z80/gen.c:
Simplify stack adjustment.
* src/z80/gen.c:
Improve 32-bit increment.
* src/z80/ralloc2.cc:
Improve handling of a in negation.
* src/z80/gen.c:
Improve cast to signed long and signed long long.
* src/z80/gen.c:
Improve addition of immediates.
2017-10-18 Maarten Brock <sourceforge.brock AT dse.nl>
* SDCC.props: boost 1.64
* sdas/linksrc/lkmem.c: fixed warning
* src/mcs51/peep.c,
* src/SDCCast.c,
* src/SDCCcse.c,
* src/SDCCmem.c,
* src/z80/ralloc2.cc: cosmetic changes
2017-10-18 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/gen.c:
Improve handling of a in pointer read and ifx.
2017-10-17 Maarten Brock <sourceforge.brock AT dse.nl>
* src/z80/main.c (_parseOptions): fix bug #2634
2017-10-17 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCdwarf2.h,
src/SDCCdwarf2.c:
CFI handling in DWARFv2 output, patch by Åke Rehnman.
2017-10-16 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/main.c:
Debug info infrastructure for stm8 registers.
* device/lib/_fsgt.c,
device/lib/incl.mk,
src/SDCCsymt.h,
src/SDCCsymt.c
src/SDCCopt.c:
Remove __fsgt support function, RFE #526.
* src/z80/gen.c:
Improve handling of variables on stack in return.
* src/SDCCsymt.c:
Fix bug #2666.
2017-10-16 Ben Shi <powerstudio1st AT 163 DOT com>
* src/mcs51/peeph.def:
Fix a potential bug in label reference count calculation.
2017-10-15 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCdebug.h,
src/SDCCdwarf2.c,
src/cdbFile.c,
src/stm8/gen.c,
src/stm8/ralloc.c,
src/stm8/ralloc.h:
STM8 frame address debug info, based on patch by Åke Rehnman.
* src/stm8/main.c:
Implement RFE #538: Option for stack pointer startup value for stm8.
* device/lib/*/mulchar.s:
Minor char multiplication improvement.
* sdas/linksrc/lkelf.c:
RFE #2670 ELF e_entry, patch by Åke Rehnman.
* src/SDCCtree_dec.hpp,
src/SDCCralloc.hpp,
src/SDCCnaddr.hpp,
src/SDCClospre.cc:
More verbose --dump-graphs output.
* device/lib/z180/mul.s:
Better multiplication support routine for z180.
2017-10-11 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-920922-1.c,
support/regression/tests/gcc-torture-execute-950612-1.c:
Disable tests that fail due to bug #2669.
2017-10-11 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph.def:
Renumber peephole rules.
2017-10-11 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph.def:
Remove obsolete peephole rules.
2017-10-11 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Renumber peephole rules.
2017-10-11 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Remove obsolete peephole rules.
2017-10-11 Philipp Klaus Krause <pkk AT spth.de>
* src/hc08/peeph.def:
Renumber peephole rules.
2017-10-11 Philipp Klaus Krause <pkk AT spth.de>
* src/hc08/peeph.def:
Remove obsolete peephole rules.
2017-10-11 Ben Shi <powerstudio1st AT 163 DOT com>
* src/mcs51/peeph.def:
Fix potential bugs in a serial of rules (241a-241h) by adding check of labelRefCount().
2017-10-11 Ben Shi <powerstudio1st AT 163 DOT com>
* src/mcs51/peeph.def:
Add two optimization rules for long long comparison.
2017-10-10 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-20001108-1.c,
support/regression/tests/gcc-torture-execute-20020201-1.c,
support/regression/tests/gcc-torture-execute-20020226-1.c,
support/regression/tests/gcc-torture-execute-20060110-1.c,
support/regression/tests/gcc-torture-execute-20060110-2.c,
support/regression/tests/gcc-torture-execute-20060127-1.c,
support/regression/tests/gcc-torture-execute-20071030-1.c,
support/regression/tests/gcc-torture-execute-20080529-1.c,
support/regression/tests/gcc-torture-execute-20101013-1.c,
support/regression/tests/gcc-torture-execute-20120817-1.c,
support/regression/tests/gcc-torture-execute-920604-1.c,
support/regression/tests/gcc-torture-execute-920829-1.c,
support/regression/tests/gcc-torture-execute-920922-1.c,
support/regression/tests/gcc-torture-execute-930702-1.c,
support/regression/tests/gcc-torture-execute-950511-1.c,
support/regression/tests/gcc-torture-execute-950612-1.c,
support/regression/tests/gcc-torture-execute-950915-1.c,
support/regression/tests/gcc-torture-execute-961213-1.c,
support/regression/tests/gcc-torture-execute-990513-1.c,
support/regression/tests/gcc-torture-execute-pr19606.c,
support/regression/tests/gcc-torture-execute-pr47538.c,
support/regression/tests/gcc-torture-execute-pr65170.c,
support/regression/tests/gcc-torture-execute-pr78791.c,
support/regression/tests/gcc-torture-execute-pr81556.c:
Enable mcs51 tests that pass for me now.
* device/lib/hc08/Makefile.in,
device/lib/hc08/_divuint.c,
device/lib/hc08/_divulong.c,
device/lib/hc08/_mullong.c,
device/lib/hc08/Makefile.in,
device/lib/hc08/_divuint.c,
device/lib/hc08/_divulong.c,
device/lib/hc08/_mullong.c:
Replace some backend-specific functions in hc08 and s08 libraries by generic ones.
2017-10-10 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp:
Fix bug #2667.
* support/regression/tests/gcc-torture-execute-pr68532.c:
Disable test for medium model.
2017-10-10 Ben Shi <powerstudio1st AT 163 DOT com>
* src/mcs51/gen.c:
Fix a bug in genRet() to avoid generate "mov Rx,Ry".
* src/mcs51/peeph.def:
Better format.
* support/regression/ports/mcs51-common/spec.mk:
Add support for liblonglong.
* support/regression/tests/gcc-torture-execute-pr78378.c:
Enabled for mcs-51.
2017-10-09 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/_divuchar.c,
device/lib/_moduchar.c,
device/lib/_muluchar.c,
src/SDCCsymt.c:
Generic support routine infrastructure.
2017-10-08 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2663.c:
Disable new function pointer test for ds390.
* src/SDCCsymt.c,
src/SDCCerr.h,
src/SDCCerr.c:
Improve error reporting for conflicting function declarations.
* src/SDCCast.c,
support/regression,tests/bug-2556.c:
Fix bug #2556.
2017-10-07 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCerr.c,
src/SDCCglue.c:
Fix bug #2641.
2017-10-05 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCval.c,
support/regression/tests/generic.c:
Fix string literal signedness to match char.
* src/SDCCsymt.c,
support/regression/tests/bug-2663.c:
Partial fix for bug #2663.
2017-10-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp:
Make source compilable with MSVC++ 2015.
2017-10-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: fix bug #2662 (omit debug info on dry run)
2017-10-02 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/cvu_play_music.c,
support/regression/tests/io.c:
Improve coverage of z80 peephole rules.
* src/SDCCicode.c:
Improve debug info for ENDFUNCTION iCode, patch by Åke Rehnman.
* src/z80/peeph-tlcs90.def:
Remove obsolete tlcs90 peephole rules.
* src/z80/peeph-gbz80.def:
Remove obsolete gbz80 peephole rules.
2017-10-01 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-pr80501.c,
support/regression/tests/gcc-torture-execute-pr81555.c:
Disable tests for older host compilers.
* src/z80/peep.c,
support/regression/tests/bug-2569.c:
Fix bug #2569.
* src/SDCCralloc.hpp:
Change filenames for graphs from register allocation for --dump-graphs.
* support/regression/tests/gcc-torture-execute-20141125-1.c:
Disable new test since it fails on 32-bit hosts, bug #2661.
2017-09-30 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix issues in built-in memset() and handling of literals.
* src/z80/gen.c:
Improve long long parameter passing.
2017-09-29 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/addsub.c:
Optimize addition.
2017-09-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.y,
src/SDCCerr.c,
src/SDCCerr.h,
support/regression/tests/p99-conformance.c,
doc/sdccman.lyx:
Implement RFE #537: static in array parameters.
2017-09-27 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-pr7*.c
support/regression/tests/gcc-torture-execute-pr8*.c:
Port more tests from the GCC testsuite.
* support/regression/tests/gcc-torture-execute-930529-1.c:
Disable test that hangs on GCC 7.2.0 for host.
* support/regression/tests/gcc-torture-execute-pr51581-?.c:
Fix for test-host.
2017-09-26 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCerr.c:
Improve error message for storage class specifiers in parameters.
* src/SDCC.y:
Separate type qualifiers from type specifiers to prepare for RFE #2538.
* support/regression/tests/gcc-torture-execute-20120111-1.c,
support/regression/tests/gcc-torture-execute-20120817-1.c,
support/regression/tests/gcc-torture-execute-20140212-1.c,
support/regression/tests/gcc-torture-execute-20141125-1.c,
support/regression/tests/gcc-torture-execute-20170111-1.c,
support/regression/tests/gcc-torture-execute-pr65170.c,
support/regression/tests/gcc-torture-execute-pr65215-1.c,
support/regression/tests/gcc-torture-execute-pr65215-2.c,
support/regression/tests/gcc-torture-execute-pr66940.c,
support/regression/tests/gcc-torture-execute-pr69320-4.c:
Disable new long long tests for ds390.
* src/SDCC.y,
src/SDCCerr.c,
src/SDCCerr.h,
src/SDCCsymt.h,
src/SDCCsymt.c,
support/regression/tests/p99-conformance.c:
Partially fix bug #2538: const and volatile in array parameters.
* support/regression/tests/gcc-torture-execute-pr51581-1.c:
Fix for test-host.
* src/SDCC.y,
support/regression/tests/p99-conformance.c:
Fix bug #2538: qualifiers in array parameters (ISO C99).
* doc/sdccman.lyx:
Document missing support for static in array parameters.
2017-09-25 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-20111227-1.c,
support/regression/tests/gcc-torture-execute-2012*.c,
support/regression/tests/gcc-torture-execute-2013*.c,
support/regression/tests/gcc-torture-execute-2014*.c,
support/regression/tests/gcc-torture-execute-2015*.c,
support/regression/tests/gcc-torture-execute-2017*.c:
Port more tests from the GCC testsuite.
* src/stm8/gen.c,
support/regression/tests/gcc-torture-execute-20141022-1.c:
Fix bug #2652.
* support/regression/tests/gcc-torture-execute-pr51581-1.c,
support/regression/tests/gcc-torture-execute-pr51581-2.c:
support/regression/tests/gcc-torture-execute-pr6*.c:
Port more tests from the GCC testsuite.
2017-09-25 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCval.c,
support/regression/tests/bug-2645.c:
Fix bug #2645, patch by Kamil Zbróg.
* src/z80/gen.c,
support/regression/tests/bug-441448.c,
support/regression/tests/bug2729218.c:
Fix bug #2649.
2017-09-25 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCdwarf2.c:
Fix long long support in DWARF output (bug #2613)
* src/z80/gen.c:
Fix interaction of __z88dk_fastcall with frame pointer setup when optimizing for code size (bug #2581).
* device/lib/calloc.c,
support/regression/tests/malloc.c:
Fix bug #2650.
2017-09-21 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.c:
Optimize stm8 left shifts a bit better.
2017-09-20 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/preserves_regs.c:
Test specifications for preserved registers.
2017-09-13 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/main.c:
Fix handling of specifications for preserved registers.
2017-09-12 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/bug-441448.c:
* support/regression/tests/bug2729218.c:
Disabled for gbz80.
2017-09-08 Ben Shi <powerstudio1st AT 163 DOT com>
* src/stm8/peeph.def:
Optimize bit-xor with BCPL.
* support/regression/tests/bug-2642.c:
Improve test case.
2017-08-20 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCpeeph.c:
Improve notVolatile() for stm8.
* src/stm8/peeph.def:
Add more rules for optimization with BSET/BRES.
* support/regression/tests/bug-2642.c:
Add a new test case.
2017-08-17 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCglue.c:
More verbose error message on initialization from incompatible pointer type.
2017-08-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc:
Fix bug #2640.
2017-08-13 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcse.c (cseBBlock),
* src/SDCCptropt.c (ptrPostIncDecOpt, pattern1, pattern2),
* src/SDCCptropt.h: fix bug #2459
2017-08-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c: fix bug #2624
2017-08-10 Philipp Klaus Krause <pkk AT spth.de>
* device/include/stdio.h,
device/lib/ds390/putchar.c:
Make getchar() prototype standard-compliant.
* src/stm8/gen.c:
Improve I/O and bit toggling.
2017-08-08 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Fix ASMOP_A / ASMOP_ZERO initialization.
2017-08-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/gen.c:
Improve use of register A.
2017-08-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/gen.h:
Refactor and optimize subtraction.
* sim/ucsim/z80.src/inst_ed.cc,
sim/ucsim/z80.src/inst_ed_r2k.cc:
Fix negation.
2017-08-06 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve left shift.
2017-08-01 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.h,
src/z80/gen.c,
src/z80/ralloc.h,
src/z80/ralloc2.cc:
Handle register A more like other registers.
* src/z80/peeph-z80.def:
Instructions in jump target for cheaper short jumps.
2017-08-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/gcc-torture-execute-20010224-1.c: re-enable
2017-07-31 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix a gbz80 codegen issue.
2017-07-31 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCmem.c (initMem),
* src/hc08/gen.c (aopForSym): fix bug #2385
* support/regression/tests/bug-2385.c: re-enable for all ports
2017-07-30 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve 16-bit left-shift by 7,
improve transfers between hl and de (in codegen at a cost in peephole opt).
2017-07-29 Ben Shi <powerstudio1st AT 163 DOT com>
* configure
* configure.ac:
Remove requirement of C++14.
2017-07-28 Ben Shi <powerstudio1st AT 163 DOT com>
* aclocal.m4:
Added new file.
* configure
* configure.ac:
Check if C++14 or C++11 is supported.
2017-07-27 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2567.c:
Test for bug #2567.
2017-07-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c,
* src/SDCCicode.c
* src/SDCCralloc.hpp: fix bug #2567, include block num in iCode debug
2017-07-24 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/gen.c: fix bug #2486 (frame pointer offset wrong)
* src/z80/peeph-z80.def,
* src/z80/peeph-r2k.def,
* src/z80/peeph-tlcs90.def: fix unsafe rules exposed by fixing #2486
* sdas/asrab/rabmch.c: fix encoding of ld (n+sp),hl instruction
2017-07-23 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp:
Speed up register allocator.
* src/stm8/gen.c:
Spped up code generation a little bit.
2017-07-21 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp:
Speed up register allocator a little bit.
2017-07-20 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Fix an issue similar to bug #2633.
* src/SDCCralloc.hpp,
src/stm8/ralloc2.cc:
Speed up register allocator a bit.
2017-07-19 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Fix bug #2633.
2017-07-18 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c,
support/regression/tests/loop.c:
Improve narrowing of loop counters.
2017-07-16 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve writing of constants to bit-fields.
2017-07-16 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc.c,
src/stm8/gen.c:
Better code for operations on 8-bit global variables.
2017-07-16 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve code generation for wide read through pointer.
2017-07-16 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c:
Implement narrowing of loop counters, RFE #530.
* src/stm8/gen.c,
support/regression/tests/bug-2630.c:
Fix bug #2630.
2017-07-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (isInitiallyTrue),
* src/SDCCerr.c (setWarningDisabledState),
* src/SDCCerr.h: fix bugs #2552 & #2614
* src/SDCCast.c (decorateType): fix bug #2550
2017-07-15 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c:
Improve narrowing of multiplications.
2017-07-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c (genRet): fix some problems with returning long long
* src/SDCCicode.c (geniCodeAdd): fix bug #2625
* support/regression/tests/bug-2625.c: test for bug #2625
2017-07-14 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Optimze reads from literal pointer.
* src/SDCCopt.c:
Optimize right shift followed by cast.
2017-07-13 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
support/regression/tests/bug-2628.c:
Fix bug #2628.
2017-07-06 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def,
src/stm8/peep.c:
Improve accuracy and fix bugs in peephole optimizer.
2017-07-05 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c,
src/SDCCsymt.c:
Minor code cleanup, gets rid of a few LLVM warnings.
2017-07-03 Philipp Klaus Krause <pkk AT spth.de>
* sdas/asstm8/stm8pst.c:
Support for break debug instruction, patch by Reto Schneider.
2017-06-30 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCast.c:
add cast to left and right subtree only if they both can be casted.
* support/regression/tests/bug-2611.c:
add a new test case.
2017-06-29 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCgen.c,
support/regression/tests/bug-2627.c:
Fix bug #2627.
* src/stm8/gen.c:
Enable use of execution count in stm8 register allocation cost calculations.
2017-06-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.h,
src/SDCCopt.c:
Execution frequency handling infrastructure.
2017-06-26 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp,
.version,
src/*/ralloc2.cc:
Speed up register allocator.
2017-06-25 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp,
src/SDCCbitv.h,
src/SDCCbitv.c,
src/*/ralloc2.cc:
Speed up register allocator a bit.
2017-06-24 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
More efficient >= 32-bit increment for (partially) spilt local variables.
2017-06-23 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve 16-bit register-to-register transfer,
consider cycle cost for register allocation.
* src/stm8/peeph.def:
Improve 16-bit addition with on-stack operand.
2017-06-17 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
src/stm8/peeph.def:
More efficient comparisons.
2017-06-14 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2621.c:
Disable test for ds390, which doesn't have long long.
2017-06-13 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/stm8.c:
More efficient equality comparisons.
* support/regression/tests/bug-2621.c:
Test for bug #2612.
2017-06-12 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/stm8.c:
More efficient equality comparisons, fix bug #2612.
2017-05-31 Philipp Klaus Krause <pkk AT spth.de>
* device/non-free/lib/pic14/Makefile.in,
device/non-free/lib/pic14/Makefile.subdir,
src/Makefile.in,
src/port.mk:
Sort directory listings towards are reproducible build, patch by Bernhard M. Wiedemann.
2017-05-30 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.lex,
src/SDCCmain.c,
src/SDCCicode.c,
doc/sdccman.lyx:
Deprecate --nojtbound and the corresponding pragma.
2017-05-15 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix bug #2617.
2017-05-15 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix a z80 codegen bug #2615 in and (triggered by recent register allocation changes when using --reserve-regs-iy).
2017-05-15 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix a gbz80 codegen bug in comparisons (triggered by recent register allocation changes).
2017-05-13 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/test-p99-conformance.c: renamed p99-conformance.c
decreased flex10 to flex2,
removed SKIP_FLEXIBLE, SKIP_LONG_LONG for mcs51
2017-05-10 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCdwarf2.c:
Fix encoding DWARF info for _Bool, explicitly specify for char.
2017-05-09 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/main.c,
src/z80/gen.c:
Better code for switch statements.
2017-05-08 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/inline.c: oops, wrong place to skip bug_2591
2017-05-08 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def,
src/z80/ralloc.c,
src/z80/ralloc2.cc:
Improve handling of 8-bit parameters.
2017-05-07 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/fwk/lib/extern1.c: renamed bug2591 to bug_2591
* support/regression/tests/inline.c: skip bug_2591 for old buggy GCC
2017-05-06 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c:
Optimize computations on shift counts.
* src/stm8/gen.c:
Fix bug in register handling in shifts.
* src/z80/gen.c:
Optimize computations on shift counts, fix bug in register handling of
wide shifts.
2017-05-06 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/sdccman.lyx: fixed typo
* sim/ucsim/gui.src/Makefile.in: use $(AR)
* src/mcs51/gen.c: cosmetic
* src/SDCC.lex,
* src/stm8/main.c,
* src/z80/main.c: make __smallc a target specific keyword
* src/SDCCicode.c (geniCodeAdd): take generic pointers into account
* src/z80/ralloc2.cc (assign_operands_for_cost): fix warning, remove TABs
* support/regression/fwk/lib/extern1.c,
* support/regression/tests/inline.c: added bug2591 test
* support/regression/tests/bug-2601.c: test with several pointer sizes
* support/regression/tests/bug-2590.c,
* support/regression/tests/smallc.c,
* support/regression/tests/z88dk.c: test __smallc only on stm8 & z80-like
2017-05-05 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2188.c,
support/regression/tests/gcc-torture-execute-930526-1.c:
Add extern declaration to make test compile where functions aren't inlined.
2017-05-05 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/stm8/gen.c (genMove_o): fixed bug #2607
2017-05-04 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c:
Be more forgiving about omitted whitespace after comma in peephole matching
(whitespace handling had become stricter in the fix to #2600).
* src/z80/peep.c:
Slightly more accurate analysis of register reads, also wrt. whitespaces.
* src/z80/gen.c:
Unify emitted asm syntax wrt. space after comma.
2017-05-02 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Minor fix in list of supported data types.
2017-05-01 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Document separation of _Bool/bool and __bit for mcs51 and ds390,
fix typos,
automatic version number.
2017-04-29 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmain.c,
doc/sdccman.lyx,
.version:
Resurrect SDCC macro zombie for old SiLabs IDE support.
* sdcc.spec:
Update list of targets in description.
2017-04-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCast.c,
src/SDCCicode.c,
support/regression/tests/bug-2601.c,
support/regression/tests/bug3537338.c,
support/regression/tests/gcc-torture-execute-20021120-1.c:
Fix bug #2602.
* src/SDCCsymt.h,
src/SDCCsymt.c:
Minor improvements for const-correctness.
* src/SDCCpeeph.c:
Fix bug #2600.
2017-04-28 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2590.c:
Enable for all z80-related backends.
* support/regression/tests/bug-2601.c:
Disable for ds390.
2017-04-27 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Update manual for --std-sdcc99 vs. --std-c11 change.
* device/lib/tlcs90/crt0.s:
Fix bug #2583.
2017-04-27 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCsymt.c (newEnumType): fixed bug 2545
* support/regression/tests/enum.c: added test
* support/regression/tests/bug-2590.c: disabled for non-z80
2017-04-26 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (assignBit): disabled to fix a warning
* src/SDCCicode.c (geniCodeLeftShift): fixed bug, replaced TABs
* src/SDCCralloc.hpp (create_cfg): fixed warning, replaced TABs
* src/SDCCsymt.c (computeType): fixed bug #2585
* src/stm8/ralloc2.cc (assign_operands_for_cost): fixed warning, replaced TABs
* src/z80/gen.c (genLeftShift, genRightShift): fixed warning
* src/z80/peep.c (z80SurelyWrites): fixed warning
* support/regression/tests/gcc-torture-execute-20020201-1.c
* support/regression/tests/bug-2585.c: new, added
2017-04-24 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCast.c,
support/regression/tests/bug-2601.c:
Fix bug #2601.
2017-04-13 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c:
Minor improvement in Z180 support from z88dk patch.
2017-04-12 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/smallc.c:
Disable Small-C test for mcs51.
2017-04-11 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCast.c,
support/regression/tests/bug-2596.c:
Fix bug #2598 by not inlining calls to functions with variable arguments.
2017-04-10 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmem.c:
Fix bug #2591.
* support/regression/tests/smallc.c:
Do not try to test __smallc for host.
* src/SDCCsymt.c:
Always specify signedness for char in debug dumps.
* support/regression/tests/bug-2539.c:
Test for bug #2539.
* src/z80/peeph-z80.def,
src/z80/peeph-tlcs90.def,
src/z80/peeph-r2k.def:
Fix bug #2597.
* src/SDCCglue.c:
Fix bug #2574 (patch by Sebastian).
* src/mcs51/gen.c,
support/regression/tests/gcc-torture-execute-921202-2.c:
Fix bug #2542.
2017-04-06 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmem.c,
support/regression/tests/z88dk.c,
support/regression/tests/smallc.c,
doc/sdccman.lyx:
Support for __smallc callees.
2017-04-06 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCast.c:
Fix bug #2570.
* src/SDCCmem.h,
src/SDCCmem.c,
src/z80/gen.c:
Fix bug #2595.
2017-04-03 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Update documentation on _Bool / bool support.
2017-03-17 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug3027957.c:
Disable fixed-address test for host.
2017-03-17 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c (geniCodeAdd): Fix bug #2568 fix
2017-03-15 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCast.h,
src/SDCCast.c,
src/SDCCcse.c:
Fix bug #2593.
* support/regression/tests/absolute.c,
support/regression/tests/bug-2304.c,
support/regression/tests/bug2686159.c,
support/regression/tests/bug3027957.c:
Fix bug #2584.
* src/SDCCicode.c,
support/regression/tests/bug-2568.c:
Fix bug #2568.
2017-03-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (checkZero): fix bug #2586
2017-03-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-2582.c:
Fix bug #2582.
2017-03-14 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCC.y: fixed bug #2587
* support/regression/tests/for.c: change to catch bug #2587
* support/regression/tests/bug-2590.c: disable test on host
2017-03-13 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-2376.c:
Fix bug #2376.
2017-03-08 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c,
support/regression/tests/bug-2590.c:
Fix bug #2590.
2017-02-10 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Omit some unnecessary register saving on wide shifts.
2017-02-09 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Optimize wide right shifts, part of RFE #524.
* device/lib/rand.c,
support/regression/tests/rand.c:
Fix default seed.
2017-02-08 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/rand.c:
Replace LCG by xorshift for rand().
* src/z80/gen.c:
Optimize wide left shifts, part of RFE #524.
2017-02-04 Philipp Klaus Krause <pkk AT spth.de>
* device/include/pic14/math.h,
device/include/pic16/math.h,
device/lib/pic14/libm/Makefile.am,
device/lib/pic14/libm/Makefile.in,
device/lib/pic16/libm/Makefile.am,
device/lib/pic16/libm/Makefile.in,
src/pic14/gen.c,
src/pic14/glue.c,
support/regression/compact-results.py,
support/regression/ports/pic14/support.c,
support/regression/tests/absolute.c,
support/regression/tests/bug1723128.c,
support/regression/tests/bug2686159.c,
support/regression/tests/gcc-torture-execute-20021120-1.c,
support/regression/tests/gcc-torture-execute-pr19606.c:
Various pic14-related fixes: Patches 00, 01, 02, 04, 05, 07, 09, 11, 14, 15 by Martin Habets via sdcc-devel.
2017-01-13 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (expandInlineFuncs,fixupInline): Fix bug #2559
* support/regression/tests/bug-2559.c: Re-enable test
2017-01-12 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve efficiency of wide left-shifts.
2017-01-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c (geniCodeDerefPtr): Fix bug #2575
2016-12-29 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/wchar.c:
Test some more wide character functionality.
2016-12-28 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCglobl.h,
* src/SDCCmain.c: applied patch #276, adds -MD option, Thanks Anders Dellien
2016-12-19 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/mbrlen.c,
support/regression/tests/wchar.c:
Fix bug #2566.
2016-12-18 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/main.c:
Save space by omitting an unused part of the interrupt table.
2016-12-17 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
src/stm8/peeph.def:
Minor code improvements, mostly for bit-fields.
2016-12-12 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Document STM8 trap handler syntax.
2016-12-12 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCast.c
* src/SDCCerr.c
Fix incorrect error messages.
2016-11-27 Philipp Klaus Krause <pkk AT spth.de>
* device/include/wchar.h,
device/lib/btowc.c,
device/lib/incl.mk,
device/lib/mbrlen.c,
device/lib/mbstowcs.c,
device/lib/wcscmp.c,
device/lib/wcstombs.c,
device/lib/wctob.c,
device/lib/wcslen.c,
support/regression/tests/string.c,
support/regression/tests/wchar.c:
Improvements and fixes in wide character library support.
2016-11-26 Philipp Klaus Krause <pkk AT spth.de>
* device/include/stdlib.h,
device/lib/incl.mk,
device/lib/mbstowcs.c,
device/lib/wcstombs.c,
.version:
Multibyte/wide string conversion functions.
* src/stm8/gen.c:
Optimize comparisons with (partial) 1 and -1.
2016-11-17 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.cc,
src/SDCClospre.hpp:
More fine-grained handling of volatile to allow more optimizations in lospre.
2016-11-17 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc.c,
src/z80/ralloc.c:
Fix some comments on spilling.
* support/regression/tests/bug-2559.c
2016-11-07 Philipp Klaus Krause <pkk AT spth.de>
* configure.ac,
configure,
src/SDCCasm.c,
src/SDCCasm.h,
src/SDCCglue.c,
src/SDCCmain.c,
src/port.h,
src/xa51,
support/regression/ports/xa51,
support/regression/Makefile.in:
Kill incomplete, unmaintained xa51 backend.
2016-11-07 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCicode.c
Fix a bug in zeror-divider check.
2016-11-02 Philipp Klaus Krause <pkk AT spth.de>
* device/include/stdbool.h,
src/ds390/gen.c,
support/regression/tests/bitopcse.c,
support/regression/tests/bool.c,
support/regression/tests/bug2942247.c,
support/regression/tests/bug3404101.c,
support/regression/tests/bug3565757.c:
bool for ds390.
2016-11-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.c,
src/SDCCloop.c,
src/SDCCopt.c,
src/port.h,
src/*/main.c:
Replace all muldiv uses by hasNativeMulFor().
2016-10-23 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
support/regression/tests/bug-2554.c:
Fix a stack corruption issue in stm8 ! code generation, bug #2554.
2016-10-23 Ben Shi <powerstudio1st AT 163 DOT com>
* sdas/linksrc/lkbank.c
* sdas/linksrc/lksym.c
Fix a buffer overflow error in revision #9786.
2016-10-22 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/*.c,
support/regression/ports/*/spec.mk:
Cleanup handling of __reentrant in the regression tests, RFE #517.
2016-10-22 Ben Shi <powerstudio1st AT 163 DOT com>
* sdas/linksrc/lksym.c
Fix a buffer overflow error in previous commit.
2016-10-21 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCBBlock.c,
src/SDCClabel.c:
Fix a bug in BBlock label handling, allows reenabling jump-to-jump optimization for jump tables.
2016-10-17 Ben Shi <powerstudio1st AT 163 DOT com>
* sdas/linksrc/lkbank.c
Fix bug #2549.
2016-10-11 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClabel.c:
Temporarily disable jump-to-jump optimization for jump tables RFE #514, since it causes a hc08/z80 regression.
2016-10-02 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCcse.c:
Optimize out negation by inverting jump condition, part of RFE #516.
2016-10-02 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClabel.c,
src/SDCCset.h,
src/SDCCset.c:
Implement jump-to-jump optimization for jump tables RFE #514.
* src/SDCCcse.c:
Optimize bitwise and of _Bool and comparison results, RFE #513.
2016-09-25 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (shiftLLong): support sizes 1,2,4,8,
refactored genlshOne, genlshTwo, genlshFour into genlshFixed,
(genLeftShiftLiteral): support long long
2016-09-24 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCast.c,
support/regression/tests/bug-2548.c,
support/regression/tests/bug-2551.c:
Fix bugs #2548, #2551 by disabling a broken AST optimization.
2016-09-19 Ben Shi <powerstudio1st AT 163 DOT com>
* src/stm8/gen.c
Fix a bug in bitwise-and operation (genAnd()).
2016-09-17 Maarten Brock <sourceforge.brock AT dse.nl>
* config.vcxproj,
* src/sdcc.vcxproj,
* src/sdcc.vcxproj.filters: moved SDCC.lex and SDCC.y to config project
* src/mcs51/gen.c (gencjneshort): proper support for long long
* src/mcs51/peeph.def: restart 3.b
* src/SDCCsymt.c (initCSupport): MSVC doesn't support casting compound lit
* src/SDCCval.c (csdOfVal): we still use MSVC 2010, no mid-code declarations
* support/regression/tests/bug-2205.c: removed unused disabled warning
* support/regression/tests/gcc-torture-execute-20020506-1.c: intermediate
functions should not be named test*
* support/regression/tests/gcc-torture-execute-961122-1.c: fixed no-return
warning
2016-09-17 Ben Shi <powerstudio1st AT 163 DOT com>
* device/lib/isinf.c
* device/lib/isnan.c
Improve comapabililty and efficiency.
2016-09-15 Ben Shi <powerstudio1st AT 163 DOT com>
* device/lib/isinf.c
* device/lib/isnan.c
Improve compatibility.
2016-09-14 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (isLiteralBit): fixed for long long,
(genReceive): fixed stack smashing bug
* support/regression/tests/test-p99-conformance.c: decreased restrict_buffer
2016-09-12 Philipp Klaus Krause <pkk AT spth.de>
* device/include/stdbool.h,
src/mcs51/gen.c:
Standard-compliant _Bool for mcs51.
2016-09-08 Philipp Klaus Krause <pkk AT spth.de>
* device/include/stdint.h:
Enable C99 typedefs for 64-bit types.
2016-09-07 Ben Shi <powerstudio1st AT 163 DOT com>
* src/mcs51/gen.c
Improve longlong compatibility of mcs-51 on 32-bit hosts.
2016-09-03 Philipp Klaus Krause <pkk AT spth.de>
* src/mcs51/gen.c:
Fixes for mcs51 long long on 32-bit hosts.
2016-08-30 Philipp Klaus Krause <pkk AT spth.de>
* src/mcs51/gen.c:
Fixes for mcs51 long long on 32-bit hosts.
2016-08-28 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-20020506-1.c:
Disable test for ds390 that accidentially got enabled when enabled for mcs51.
2016-08-26 Philipp Klaus Krause <pkk AT spth.de>
* src/mcs51/peep.c,
support/regression/tests/bug-2477.c,
support/regression/tests/gcc-torture-execute-20001031-1.c,
support/regression/tests/gcc-torture-execute-20020506-1.c,
support/regression/tests/gcc-torture-execute-20060127-1.c,
support/regression/tests/gcc-torture-execute-941015-1.c,
support/regression/tests/gcc-torture-execute-950512-1.c,
support/regression/tests/gcc-torture-execute-950612-1.c,
support/regression/tests/gcc-torture-execute-960402-1.c,
support/regression/tests/gcc-torture-execute-960801-1.c,
support/regression/tests/gcc-torture-execute-20000717-2.c,
support/regression/tests/gcc-torture-execute-20020402-3.c,
support/regression/tests/gcc-torture-execute-20050111-1.c,
support/regression/tests/gcc-torture-execute-950704-1.c:
Fix mcs51 peephole handling of long long parameters.
* support/regression/tests/test-p99-conformance.c:
Disable test for older GCC, where it fails.
2016-08-25 Philipp Klaus Krause <pkk AT spth.de>
* src/mcs51/gen.c,
support/regression/tests/gcc-torture-execute-20020508-?.c:
Fix long long right shift for mcs51.
2016-08-25 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/_strchr.c:
Explicitly cast away const to silence a warning.
* support/regression/tests/gcc-torture-execute-20020508-?.c:
Disable some failing long long tests for mcs51.
* src/mcs51/gen.c:
Fix pushing of long long received parameters for mcs51.
2016-08-24 Ben Shi <powerstudio1st AT 163 DOT com>
* device/include/math.h
* device/lib/Makefile.in
* device/lib/incl.mk
* device/lib/isinf.c
* device/lib/isnan.c
* device/lib/make51lib.bat
Support of new library functions isnan() and isinf().
* src/SDCCval.c
* device/lib/_fsdiv.c
Make float division more compitable with inf and nan results.
* src/SDCCast.c
* src/SDCCerr.c
Change zero-div from error to warning level.
* support/regression/tests/bug-2516.c
Add a new test case for inf and nan.
2016-08-23 Philipp Klaus Krause <pkk AT spth.de>
* src/mcs51/gen.h,
src/mcs51/peep.c,
support/regression/tests/gcc-torture-execute-20000314-2.c,
support/regression/tests/gcc-torture-execute-pr42269-2.c,
support/regression/tests/gcc-torture-execute-20060110-2.c,
support/regression/tests/gcc-torture-execute-20001031-1.c,
support/regression/tests/gcc-torture-execute-20011126-1.c,
support/regression/tests/gcc-torture-execute-20020201-1.c,
support/regression/tests/gcc-torture-execute-20020219-1.c,
support/regression/tests/gcc-torture-execute-20020402-3.c,
support/regression/tests/gcc-torture-execute-20020506-1.c,
support/regression/tests/gcc-torture-execute-20020508-1.c,
support/regression/tests/gcc-torture-execute-20020508-2.c,
support/regression/tests/gcc-torture-execute-20020508-3.c,
support/regression/tests/gcc-torture-execute-20030307-1.c,
support/regression/tests/gcc-torture-execute-20050104-1.c,
support/regression/tests/gcc-torture-execute-20050111-1.c,
support/regression/tests/gcc-torture-execute-941015-1.c,
support/regression/tests/gcc-torture-execute-950503-1.c:
long long fix for deadMove() on ret.
2016-08-22 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c,
src/mcs51/gen.c,
support/regression/tests/gcc-torture-execute-961122-1.c,
support/regression/tests/gcc-torture-execute-961206-1.c,
support/regression/tests/gcc-torture-execute-991016-1.c,
support/regression/tests/gcc-torture-execute-991216-1.c,
support/regression/tests/gcc-torture-execute-991216-2.c,
support/regression/tests/gcc-torture-execute-pr20187-1.c,
support/regression/tests/gcc-torture-execute-pr40057.c,
support/regression/tests/gcc-torture-execute-pr42269-2.c,
support/regression/tests/gcc-torture-execute-pr42544.c,
support/regression/tests/test-p99-conformance.c:
support/regression/tests/gcc-torture-execute-20000121-1.c,
support/regression/tests/gcc-torture-execute-20000314-2.c,
support/regression/tests/gcc-torture-execute-20000412-2.c,
support/regression/tests/gcc-torture-execute-20000523-1.c,
support/regression/tests/gcc-torture-execute-20000717-2.c,
support/regression/tests/gcc-torture-execute-20001112-1.c,
support/regression/tests/gcc-torture-execute-20001221-1.c,
support/regression/tests/gcc-torture-execute-20060110-2.c,
support/regression/tests/gcc-torture-execute-20060127-1.c,
support/regression/tests/gcc-torture-execute-20071213-1.c,
support/regression/tests/gcc-torture-execute-920829-1.c,
support/regression/tests/gcc-torture-execute-921029-1.c,
support/regression/tests/gcc-torture-execute-921202-2.c,
support/regression/tests/gcc-torture-execute-930111-1.c:
More long long support for mcs51.
2016-08-21 Philipp Klaus Krause <pkk AT spth.de>
* src/mcs51/gen.c,
src/mcs51/gen.h,
src/mcs51/ralloc.c,
The basics of long long support for mcs51.
2016-08-20 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Fix double underscores in manual.
2016-08-19 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/test-p99-conformance.c:
Enable a test for newer GCC, comment on other GCC issues.
2016-08-18 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.y,
src/SDCCerr.h,
src/SDCCerr.c,
doc/sdccman.lyx,
support/regression/tests/for.c,
test-p99-conformance.c:
RFE #165: C99 compliance: for (int i=0; ...
2016-08-17 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/test-p99-conformance.c:
Disable a subtest for host, since it fails on older GCC, disable a subtest for backends that don't have long long.
2016-08-14 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/test-p99-conformance.c,
support/regression/fwk/lib/extern1.c:
Enable inlining test for host.
2016-08-14 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/test-p99-conformance.c:
Document SDCC bug correspondance to P99 conformance tests.
2016-08-13 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/test-p99-conformance.c:
Some P99 conformance tests.
2016-08-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sim/ucsim/sim.src/mem.cc: rewrote some of the memory cell classes
to work properly on big endian architectures
2016-08-10 Ben Shi <powerstudio1st AT 163 DOT com>
* sim/ucsim/charscl.h
Fix the failure of building ucsim on MacOS.
* support/regression/tests/gcc-torture-execute-string-opt-18.c
* support/regression/tests/string.c
Disable several tests on MacOS.
2016-08-10 Philipp Klaus Krause <pkk AT spth.de>
* device/include/string.h,
device/lib/tlcs90/Makefile.in,
device/lib/tlcs90/memmove.s:
pop af correctness for tlcs90.
2016-08-06 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/get_ticks.py: parse the byte count more robustly
(buffering on stderr vs stdout sometimes jumbling text)
2016-08-05 Erik Petrich <epetrich AT ivorytower.normna.ok.us>
* src/SDCCcse.c (ifxOptimize): fixed bug #2484
* src/z80/gen.c (ld_cost): fixed bug #2399
2016-08-04 Erik Petrich <epetrich AT ivorytower.normna.ok.us>
* src/SDCCast.c (decorateTree, optimizeCompare): fixed bug #2503
and an unreported bug similar to bug #2529
* support/regression/tests/bug-2503: added test
* src/SDCClospre.hpp (forward_lospre_assignment): fixed bug #2510
2016-08-03 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcflow.c (eBBSuccessors),
* src/SDCCloop.c (addPostLoopBlock): fixed bug #2453
* support/regression/tests/bug-2453: added test
2016-08-03 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/tlcs90/setjmp.s,
device/lib/tlcs90/memmove.s:
Avoid messing up interrupt flags via pop af.
2016-08-02 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/_strstr.c:
Fix a warning.
* src/SDCCmain.c:
Fix usage info, patch #274.
* src/SDCCtree_dec.hpp:
Fix isolation of redundant nodes in the tree-decomposition.
2016-08-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcse.c (cseBBlock): Recompute data flow if any outgoing
expressions have been changed (fixed bug #2495)
* src/hc08/gen.c (genCopy),
* src/hc08/ralloc.c (packPointerOp): fixed bug #2357
* support/regression/tests/bug-2357.c: re-enabled test for hc08/s08
2016-08-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/stm8/gen.c (regFree): Y is not free when using extended stack
2016-07-31 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (genMinus): mark A as modified for reverse subtraction
* src/z80/gen.c (genPointerGet,genUnpackBits): preserve pointer
register pair if not dead
2016-07-30 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sim/ucsim/fwio.cc: try defining WINVER instead of _WIN32_WINNT
* sim/ucsim/cmd.src/Makefile.in,
* sim/ucsim/gui.src/Makefile.in,
* sim/ucsim/sim.src/Makefile.in,
* sim/ucsim/main_in.mk: omit -D option to ar, not supported by all ar
2016-07-29 Maarten Brock <sourceforge.brock AT dse.nl>
* SDCC.props: added ExecutablePath
* src/ds390/gen.c,
* src/SDCCutil.c,
* src/SDCCval.c,
* src/stm8/gen.c,
* src/stm8/main.c,
* src/z80/peep.c: fixed warnings
2016-07-29 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.c:
Enable an optimization that was blocked on bug #2450.
* src/SDCCtree_dec.hpp,
src/SDCCralloc.hpp:
Fix bug #2467 (fix previously was blocked on bug #2450).
* src/z80/peeph-tlcs90.def:
Remove leftover z80 peepholes that break on tlcs90.
2016-07-29 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (processBlockVars): fix bug #2450
* support/regression/tests/inline.c: add test for bug #2450
* src/hc08/gen.c (aopForSym): remove work-around
2016-07-29 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2529.c
Regression test for bug #2517.
2016-07-29 Ben Shi <powerstudio1st AT 163 DOT com>
* sim/ucsim/cmd.src/cmd_exec.cc
* sim/ucsim/cmd.src/cmd_get.cc
* sim/ucsim/cmd.src/command.cc
* sim/ucsim/fuio.cc
* sim/ucsim/s51.src/interrupt.cc
* sim/ucsim/s51.src/uc51.cc
* sim/ucsim/sim.src/mem.cc
* sim/ucsim/stm8.src/itc.cc
* sim/ucsim/utils.h
Fix build failures on cygwin.
* src/SDCCicode.c
* src/SDCCicode.h
Fix bug #2517.
2016-07-29 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sim/ucsim/fwio.cc: added _WIN32_WINNT def for GetConsoleWindow()
* sim/ucsim/fio.cc: handle case S_IRGRP and S_IROTH not defined
* sim/ucsim/doc/Makefile.in: copy *.svg files instead of *.gif
2016-07-28 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (decorateType): fixed bug #2529
2016-07-27 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* device/lib/expf.c: ensure exponent not random before normalization
2016-07-27 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2385.c:
Disable a test for tlcs90, so all tests compile for tlcs90.
2016-07-26 Daniel Drotos <drdani AT mazsola.iit.uni-miskolc.hu>
* sim/ucsim/.version, sim/ucsim/Makefile.in, sim/ucsim/NEWS,
sim/ucsim/README, sim/ucsim/TODO, sim/ucsim/app.cc,
sim/ucsim/appcl.h, sim/ucsim/avr.src/Makefile.in,
sim/ucsim/avr.src/avr.cc, sim/ucsim/avr.src/avrcl.h,
sim/ucsim/avr.src/savr.cc, sim/ucsim/c.sh, sim/ucsim/chars.cc,
sim/ucsim/charscl.h, sim/ucsim/cmd.src/Makefile.in,
sim/ucsim/cmd.src/bp.cc, sim/ucsim/cmd.src/bpcl.h,
sim/ucsim/cmd.src/cmd_bp.cc, sim/ucsim/cmd.src/cmd_bpcl.h,
sim/ucsim/cmd.src/cmd_conf.cc, sim/ucsim/cmd.src/cmd_confcl.h,
sim/ucsim/cmd.src/cmd_exec.cc, sim/ucsim/cmd.src/cmd_execcl.h,
sim/ucsim/cmd.src/cmd_get.cc, sim/ucsim/cmd.src/cmd_getcl.h,
sim/ucsim/cmd.src/cmd_gui.cc, sim/ucsim/cmd.src/cmd_guicl.h,
sim/ucsim/cmd.src/cmd_info.cc, sim/ucsim/cmd.src/cmd_infocl.h,
sim/ucsim/cmd.src/cmd_mem.cc, sim/ucsim/cmd.src/cmd_memcl.h,
sim/ucsim/cmd.src/cmd_set.cc, sim/ucsim/cmd.src/cmd_setcl.h,
sim/ucsim/cmd.src/cmd_show.cc, sim/ucsim/cmd.src/cmd_showcl.h,
sim/ucsim/cmd.src/cmd_stat.cc, sim/ucsim/cmd.src/cmd_statcl.h,
sim/ucsim/cmd.src/cmd_timer.cc, sim/ucsim/cmd.src/cmd_timercl.h,
sim/ucsim/cmd.src/cmd_uc.cc, sim/ucsim/cmd.src/cmd_uccl.h,
sim/ucsim/cmd.src/cmdconf.cc, sim/ucsim/cmd.src/cmdconfcl.h,
sim/ucsim/cmd.src/cmdgui.cc, sim/ucsim/cmd.src/cmdguicl.h,
sim/ucsim/cmd.src/cmdlex.l, sim/ucsim/cmd.src/cmdmem.cc,
sim/ucsim/cmd.src/cmdmemcl.h, sim/ucsim/cmd.src/cmdpars.y,
sim/ucsim/cmd.src/cmdset.cc, sim/ucsim/cmd.src/cmdsetcl.h,
sim/ucsim/cmd.src/cmdstat.cc, sim/ucsim/cmd.src/cmdstatcl.h,
sim/ucsim/cmd.src/cmduc.cc, sim/ucsim/cmd.src/cmduccl.h,
sim/ucsim/cmd.src/cmdutil.cc, sim/ucsim/cmd.src/cmdutil.h,
sim/ucsim/cmd.src/command.cc, sim/ucsim/cmd.src/commandcl.h,
sim/ucsim/cmd.src/get.cc, sim/ucsim/cmd.src/getcl.h,
sim/ucsim/cmd.src/info.cc, sim/ucsim/cmd.src/infocl.h,
sim/ucsim/cmd.src/newcmd.cc, sim/ucsim/cmd.src/newcmdcl.h,
sim/ucsim/cmd.src/newcmdposix.cc,
sim/ucsim/cmd.src/newcmdposixcl.h, sim/ucsim/cmd.src/set.cc,
sim/ucsim/cmd.src/setcl.h, sim/ucsim/cmd.src/show.cc,
sim/ucsim/cmd.src/showcl.h, sim/ucsim/cmd.src/timer.cc,
sim/ucsim/cmd.src/timercl.h, sim/ucsim/conf, sim/ucsim/configure,
sim/ucsim/configure.ac, sim/ucsim/ddconfig_in.h,
sim/ucsim/doc/Makefile.in, sim/ucsim/doc/analyzer.html,
sim/ucsim/doc/burst.gif, sim/ucsim/doc/chip.gif,
sim/ucsim/doc/chip.svg, sim/ucsim/doc/cmd.html,
sim/ucsim/doc/cmd.txt, sim/ucsim/doc/cmd_bp.html,
sim/ucsim/doc/cmd_dump.html, sim/ucsim/doc/cmd_exec.html,
sim/ucsim/doc/cmd_general.html, sim/ucsim/doc/cmd_memory.html,
sim/ucsim/doc/cmd_removed.html, sim/ucsim/doc/cmd_set.html,
sim/ucsim/doc/commref.html, sim/ucsim/doc/conf.mk,
sim/ucsim/doc/cpu-mem.gif, sim/ucsim/doc/cpu-mem.jpg,
sim/ucsim/doc/cpu-mem.svg, sim/ucsim/doc/cpu.gif,
sim/ucsim/doc/cpu.html, sim/ucsim/doc/cpu_types.html,
sim/ucsim/doc/decoded.gif, sim/ucsim/doc/decoded.jpg,
sim/ucsim/doc/decoded.svg, sim/ucsim/doc/index.html,
sim/ucsim/doc/interrupt.gif, sim/ucsim/doc/interrupt.html,
sim/ucsim/doc/invoke.html, sim/ucsim/doc/memory.html,
sim/ucsim/doc/mulcons.html, sim/ucsim/doc/new.gif,
sim/ucsim/doc/news.html, sim/ucsim/doc/obsolete.html,
sim/ucsim/doc/serial.html, sim/ucsim/doc/serial1.gif,
sim/ucsim/doc/serial1.svg, sim/ucsim/doc/serial2.gif,
sim/ucsim/doc/serial2.svg, sim/ucsim/doc/share-chip.gif,
sim/ucsim/doc/share-chip.svg, sim/ucsim/doc/simif.html,
sim/ucsim/doc/syntax.html, sim/ucsim/doc/term_cpuopt.gif,
sim/ucsim/doc/term_cpuopt.html, sim/ucsim/doc/timers.gif,
sim/ucsim/doc/timers.html, sim/ucsim/doc/uCsim.txt,
sim/ucsim/doc/wins.gif, sim/ucsim/doc/wins.html,
sim/ucsim/error.cc, sim/ucsim/errorcl.h, sim/ucsim/eventcl.h,
sim/ucsim/example, sim/ucsim/example/Makefile,
sim/ucsim/example/config.cmd, sim/ucsim/example/run.cmd,
sim/ucsim/example/simif.c, sim/ucsim/example/simif.sh,
sim/ucsim/example/simif_fin.txt, sim/ucsim/fio.cc,
sim/ucsim/fiocl.h, sim/ucsim/ftest.cc, sim/ucsim/fuio.cc,
sim/ucsim/fuiocl.h, sim/ucsim/fwio.cc, sim/ucsim/fwiocl.h,
sim/ucsim/globals.cc, sim/ucsim/gstring.cc, sim/ucsim/gstring.h,
sim/ucsim/gstring_LICENSE, sim/ucsim/gstring_REAME,
sim/ucsim/gstring_append.cc, sim/ucsim/gstring_basic.cc,
sim/ucsim/gstring_copyright.html, sim/ucsim/gstring_explode.cc,
sim/ucsim/gui.src/Makefile.in, sim/ucsim/hc08.src/Makefile.in,
sim/ucsim/hc08.src/hc08.cc, sim/ucsim/hc08.src/hc08cl.h,
sim/ucsim/hc08.src/hc08mac.h, sim/ucsim/hc08.src/regshc08.h,
sim/ucsim/hc08.src/shc08.cc, sim/ucsim/hc08.src/simhc08.cc,
sim/ucsim/main_in.mk, sim/ucsim/option.cc, sim/ucsim/optioncl.h,
sim/ucsim/p.sh, sim/ucsim/packages_in.mk, sim/ucsim/pobj.cc,
sim/ucsim/pobjcl.h, sim/ucsim/pobjt.h, sim/ucsim/put(c),
sim/ucsim/s51.src/Makefile.in, sim/ucsim/s51.src/arith.cc,
sim/ucsim/s51.src/bit.cc, sim/ucsim/s51.src/inc.cc,
sim/ucsim/s51.src/interrupt.cc, sim/ucsim/s51.src/interruptcl.h,
sim/ucsim/s51.src/jmp.cc, sim/ucsim/s51.src/logic.cc,
sim/ucsim/s51.src/mov.cc, sim/ucsim/s51.src/pca.cc,
sim/ucsim/s51.src/pcacl.h, sim/ucsim/s51.src/port.cc,
sim/ucsim/s51.src/portcl.h, sim/ucsim/s51.src/s51.cc,
sim/ucsim/s51.src/serial.cc, sim/ucsim/s51.src/serialcl.h,
sim/ucsim/s51.src/sim51.cc, sim/ucsim/s51.src/timer0.cc,
sim/ucsim/s51.src/timer0cl.h, sim/ucsim/s51.src/timer1.cc,
sim/ucsim/s51.src/timer2.cc, sim/ucsim/s51.src/timer2cl.h,
sim/ucsim/s51.src/types51.h, sim/ucsim/s51.src/uc251.cc,
sim/ucsim/s51.src/uc390.cc, sim/ucsim/s51.src/uc390cl.h,
sim/ucsim/s51.src/uc390hw.cc, sim/ucsim/s51.src/uc51.cc,
sim/ucsim/s51.src/uc51cl.h, sim/ucsim/s51.src/uc51r.cc,
sim/ucsim/s51.src/uc52.cc, sim/ucsim/s51.src/uc89c51r.cc,
sim/ucsim/s51.src/uc89c51rcl.h, sim/ucsim/s51.src/wdt.cc,
sim/ucsim/sim.src/Makefile.in, sim/ucsim/sim.src/arg.cc,
sim/ucsim/sim.src/argcl.h, sim/ucsim/sim.src/brk.cc,
sim/ucsim/sim.src/brkcl.h, sim/ucsim/sim.src/hw.cc,
sim/ucsim/sim.src/hwcl.h, sim/ucsim/sim.src/itsrc.cc,
sim/ucsim/sim.src/itsrccl.h, sim/ucsim/sim.src/mem.cc,
sim/ucsim/sim.src/memcl.h, sim/ucsim/sim.src/obsolete.cc,
sim/ucsim/sim.src/obsolete.h, sim/ucsim/sim.src/sim.cc,
sim/ucsim/sim.src/simcl.h, sim/ucsim/sim.src/simif.cc,
sim/ucsim/sim.src/simifcl.h, sim/ucsim/sim.src/stack.cc,
sim/ucsim/sim.src/stackcl.h, sim/ucsim/sim.src/test_mem_speed.cc,
sim/ucsim/sim.src/uc.cc, sim/ucsim/sim.src/uccl.h,
sim/ucsim/sim.src/var.cc, sim/ucsim/sim.src/varcl.h,
sim/ucsim/st7.src/Makefile.in, sim/ucsim/st7.src/glob.cc,
sim/ucsim/st7.src/regsst7.h, sim/ucsim/st7.src/sst7.cc,
sim/ucsim/st7.src/st7.cc, sim/ucsim/st7.src/st7cl.h,
sim/ucsim/stm8.src/Makefile.in, sim/ucsim/stm8.src/glob.cc,
sim/ucsim/stm8.src/glob.h, sim/ucsim/stm8.src/inst.cc,
sim/ucsim/stm8.src/instcl.h, sim/ucsim/stm8.src/itc.cc,
sim/ucsim/stm8.src/itccl.h, sim/ucsim/stm8.src/regsstm8.h,
sim/ucsim/stm8.src/rst.cc, sim/ucsim/stm8.src/rstcl.h,
sim/ucsim/stm8.src/serial.cc, sim/ucsim/stm8.src/serialcl.h,
sim/ucsim/stm8.src/simstm8.cc, sim/ucsim/stm8.src/simstm8cl.h,
sim/ucsim/stm8.src/sstm8.cc, sim/ucsim/stm8.src/stm8.cc,
sim/ucsim/stm8.src/stm8cl.h, sim/ucsim/stm8.src/stm8mac.h,
sim/ucsim/stm8.src/test, sim/ucsim/stm8.src/test/Makefile,
sim/ucsim/stm8.src/test/conf.cmd, sim/ucsim/stm8.src/test/s0.c,
sim/ucsim/stm8.src/test/s1.c, sim/ucsim/stm8.src/test/s1.mk,
sim/ucsim/stm8.src/test/s2.c, sim/ucsim/stm8.src/test/s2.mk,
sim/ucsim/stm8.src/test/s3.c, sim/ucsim/stm8.src/test/s3.mk,
sim/ucsim/stm8.src/test/sdcc.mk, sim/ucsim/stm8.src/test/stm8.h,
sim/ucsim/stm8.src/test/t1.c, sim/ucsim/stm8.src/test/t1.mk,
sim/ucsim/stm8.src/test/t2.c, sim/ucsim/stm8.src/test/t2.mk,
sim/ucsim/stm8.src/test/t3.c, sim/ucsim/stm8.src/test/t3.mk,
sim/ucsim/stm8.src/test/t4.c, sim/ucsim/stm8.src/test/t4.mk,
sim/ucsim/stm8.src/timer.cc, sim/ucsim/stm8.src/timercl.h,
sim/ucsim/stypes.h, sim/ucsim/tlcs.src, sim/ucsim/tlcs.src/(c).1,
sim/ucsim/tlcs.src/Makefile.in, sim/ucsim/tlcs.src/clean.mk,
sim/ucsim/tlcs.src/conf.mk, sim/ucsim/tlcs.src/glob.cc,
sim/ucsim/tlcs.src/glob.h, sim/ucsim/tlcs.src/inst_arith.cc,
sim/ucsim/tlcs.src/inst_bit.cc, sim/ucsim/tlcs.src/inst_block.cc,
sim/ucsim/tlcs.src/inst_cpu_others.cc,
sim/ucsim/tlcs.src/inst_jump.cc, sim/ucsim/tlcs.src/inst_move.cc,
sim/ucsim/tlcs.src/inst_rot_sh.cc,
sim/ucsim/tlcs.src/mulibyte_instructions.txt,
sim/ucsim/tlcs.src/regression.txt, sim/ucsim/tlcs.src/simtlcs.cc,
sim/ucsim/tlcs.src/simtlcscl.h, sim/ucsim/tlcs.src/stlcs.cc,
sim/ucsim/tlcs.src/test, sim/ucsim/tlcs.src/test/Makefile,
sim/ucsim/tlcs.src/test/b2385.c,
sim/ucsim/tlcs.src/test/b2385.mk, sim/ucsim/tlcs.src/test/c,
sim/ucsim/tlcs.src/test/conf.cmd,
sim/ucsim/tlcs.src/test/dummy.h, sim/ucsim/tlcs.src/test/run.cmd,
sim/ucsim/tlcs.src/test/run.sh, sim/ucsim/tlcs.src/test/sdcc.mk,
sim/ucsim/tlcs.src/test/t0.c, sim/ucsim/tlcs.src/test/t0.mk,
sim/ucsim/tlcs.src/test/t1.c, sim/ucsim/tlcs.src/test/t1.mk,
sim/ucsim/tlcs.src/test/t2.c, sim/ucsim/tlcs.src/test/t2.mk,
sim/ucsim/tlcs.src/test/t3.c, sim/ucsim/tlcs.src/test/t3.mk,
sim/ucsim/tlcs.src/tlcs.cc, sim/ucsim/tlcs.src/tlcscl.h,
sim/ucsim/ucsim.cc, sim/ucsim/utils.cc, sim/ucsim/utils.h,
sim/ucsim/xa.src/Makefile.in, sim/ucsim/xa.src/glob.cc,
sim/ucsim/xa.src/glob.h, sim/ucsim/xa.src/regsxa.h,
sim/ucsim/xa.src/sxa.cc, sim/ucsim/xa.src/xa.cc,
sim/ucsim/xa.src/xacl.h, sim/ucsim/z80.src/Makefile.in,
sim/ucsim/z80.src/inst_r2k.cc, sim/ucsim/z80.src/lr35902.cc,
sim/ucsim/z80.src/lr35902cl.h, sim/ucsim/z80.src/r2k.cc,
sim/ucsim/z80.src/r2kcl.h, sim/ucsim/z80.src/regsz80.h,
sim/ucsim/z80.src/sz80.cc, sim/ucsim/z80.src/test,
sim/ucsim/z80.src/test/Makefile, sim/ucsim/z80.src/test/c,
sim/ucsim/z80.src/test/conf.cmd, sim/ucsim/z80.src/test/dummy.h,
sim/ucsim/z80.src/test/run.cmd, sim/ucsim/z80.src/test/run.sh,
sim/ucsim/z80.src/test/sdcc.mk, sim/ucsim/z80.src/test/t0.c,
sim/ucsim/z80.src/test/t0.mk, sim/ucsim/z80.src/test/t1.c,
sim/ucsim/z80.src/test/t1.mk, sim/ucsim/z80.src/test/t2.c,
sim/ucsim/z80.src/test/t2.mk, sim/ucsim/z80.src/z80.cc,
sim/ucsim/z80.src/z80cl.h, sim/ucsim/z80.src/z80mac.h: ucsim
version 0.6-pre4
2016-07-25 Daniel Drotos <drdani AT mazsola.iit.uni-miskolc.hu>
* device/lib/tlcs90/crt0.s,
device/lib/tlcs90/crt0_org.s: dirty
hacked crt0 so compiled simple programs will run at least
2016-07-25 Daniel Drotos <drdani AT mazsola.iit.uni-miskolc.hu>
* support/regression/Makefile.in,
support/regression/fwk/include/testfwk.h,
support/regression/ports/tlcs90,
support/regression/ports/tlcs90/spec.mk,
support/regression/ports/tlcs90/support.c,
support/regression/ports/tlcs90/uCsim.cmd,
support/regression/tests/bug-2305.c,
support/regression/tests/bug3379723.c: regression test prepared
for tlcs90
2016-07-25 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCmem.c (printAllocInfoSeg),
* src/port.h,
* src/avr/main.c,
* src/ds390/main.c,
* src/hc08/main.c,
* src/mcs51/main.c,
* src/pic14/main.c,
* src/pic16/main.c,
* src/stm8/main.c,
* src/xa51/main.c,
* src/z80/main.c: Display correct stack offsets when stack grows down
2016-07-24 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCopt.c (optimizeOpWidth): don't narrow types cast to bit/sbit either
2016-07-23 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCval.h,
src/SDCCval.c,
src/stm8/main.c,
src/stm8/gen.c:
Generate code for 16 bit multiplication by literal based on CSD representation.
2016-07-23 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.h,
src/SDCCsymt.c,
src/SDCCopt.c,
device/lib/stm8/__mulsint2slong.s:
support/regression/tests/muldiv.c:
Support routine for unsigned 16x16->32 multiplication.
2016-07-23 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/stm8/memcpy.s:
Fix issue in loop counter in stm8 memcpy().
* src/port.h,
src/SDCCsymt.c,
src/*/main.c:
Introduce backend option for 16x16->32 multiplication.
* support/regression/tests/muldiv.c:
Prepare test for unsigned 16x16->32 multiplication.
2016-07-23 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_strchr.c,
* device/lib/_strrchr.c,
* device/lib/_strstr.c: reverted commit 9631, these files should not
generate warning 196
* sdas/asstm8/stm8mch.c: fixed incw cycle count
2016-07-22 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/stm8/memcpy.s,
support/regression/tests/memory.c:
Fix an issue in stm8 unrolled memcpy().
* device/lib/stm8/__mulsint2slong.s:
Optimize multiplication routine for small operands.
* src/SDCCopt.c:
Optimize multiplication with anded operands.
2016-07-21 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/stm8/Makefile.in,
device/lib/stm8/__mulsint2slong.s,
src/SDCCcse.c,
src/SDCCopt.c,
src/SDCCsymt.c,
src/SDCCsymt.h,
support/regression/tests/muldiv.c,
Support for separate 16x16->32 multiplication routine, RFE #507.
2016-07-21 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c:
Narrow arithmetic operations when results are cast to narrower type: RFE #506.
2016-07-21 Ben Shi <powerstudio1st AT 163 DOT com>
* sdas/astlcs90/t90mch.c
Fix a potential defect.
2016-07-20 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/stm8/Makefile.in,
device/lib/stm8/strcpy.s:
Partially unrolled, slightly faster strcpy() for stm8.
* src/stm8/gen.c,
src/SDCCsymt.c:
More efficient handling of boolean values.
* device/lib/r2k/Makefile.in:
Fix bug #2526.
* src/stm8/main.c:
Remove unused vars.
2016-07-18 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Slight improvement in code generation.
2016-07-17 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/main.c,
src/stm8/gen.c:
Special case for int multiplication by 7 and 100.
2016-07-16 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/stm8/memcpy.s:
Improve stm8 memcpy().
* support/regression/tests/memory.c:
Better memcpy() test coverage.
2016-07-15 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/stm8/memcpy.s:
Improve stm8 memcpy().
2016-07-14 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/stm8/memcpy.s:
Partially unroll stm8 memcpy() for speed.
* device/lib/stm8/strcmp.s:
Partially unroll stm8 strcmp() for speed.
2016-07-11 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/main.c,
src/z80/gen.c:
Fix bug #2522.
* device/lib/stm8/memcpy.s,
device/lib/stm8/strcmp.s,
device/lib/*/Makefile.in,
device/lib/Makefile.in,
device/lib/incl.mk:
Provide handwritten memcpy(), strcmp() to improve stm8 Dhrystone scores.
* sdas/astlcs90/t90mch.c:
Fix TLCS-90 assembler relocation issue for ld, reopened bug #2520.
* src/stm8/peeph.def:
Some peepholes to remove redundant stm8 loads, to improve stm8 DMIPS by another 0.42%
2016-07-10 Philipp Klaus Krause <pkk AT spth.de>
* sdas/astlcs90/t90mch.c:
Fix TLCS-90 assembler relocation issue for adc, bug #2520.
2016-07-06 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/gcc-torture-execute-920612-1.c
Disabled in test-host with gcc-6.
2016-06-30 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCicode.c
Check pointer qualifier in geniCodeReturn().
* device/lib/_strstr.c
* device/lib/_strchr.c
* device/lib/_strrchr.c
* support/regression/tests/gcc-torture-execute-920429-1.c
Suppress warning 196.
2016-06-26 Ben Shi <powerstudio1st AT 163 DOT com>
* src/ds390/gen.c
Fix a bug in genCmp().
* support/regression/tests/dhrystone.c
Enabled for ds390.
2016-06-21 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.c:
Fix bug #1841.
* device/include/stdbool.h:
Minor cleanup.
2016-06-19 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx,
src/SDCCglobl.h,
src/SDCCmain.c,
src/SDCCsymt.c:
Remove obsolete SDCC macro, --short-is-8-bits option.
2016-06-18 Ben Shi <powerstudio1st AT 163 DOT com>
* src/mcs51/gen.c
Fix a bug in jump table of switch/case when --acall-ajmp is specified.
* src/mcs51/peeph.def
Remove empty lines.
2016-06-18 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/ports/mcs51-huge/spec.mk
* support/regression/ports/mcs51-xstack-auto/spec.mk
Make "make" more compatible.
2016-06-17 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/ports/ucr2k/support.asm:
Fix regression test putchar() for r2k.
2016-06-16 Philipp Klaus Krause <pkk AT spth.de>
* device/include/stdio.h,
device/lib/ds390/putchar.c,
device/lib/puts.c,
support/regression/tests/bug1115321.c,
support/regression/tests/dhrystone.c:
Make putchar() prototype standard-compliant, fix bug #2505.
2016-06-16 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/*/Makefile.in,
device/lib/*/putchar.s,
support/regression/ports/*/support.asm,
support/regression/tests/dhrystone.c:
Remove z80 putchar() from library.
2016-06-15 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/dhrystone.c:
Introduce a regression test based on the Dhrystone benchmark.
2016-06-13 Ben Shi <powerstudio1st AT 163 DOT com>
* src/stm8/gen.c
Fix a bug in emitCall().
2016-06-12 Maarten Brock <sourceforge.brock AT dse.nl>
* Small Device C Compiler 3.6.0 released
* .version, doc/sdccman.lyx: changed sdcc version to 3.6.1
2016-06-04 Maarten Brock <sourceforge.brock AT dse.nl>
* .version,
* doc/INSTALL.txt,
* doc/sdccman.lyx: version 3.6.0
2016-06-03 Philipp Klaus Krause <pkk AT spth.de>
* src/hc08/gen.c:
Work around an allocation issue.
2016-05-29 Maarten Brock <sourceforge.brock AT dse.nl>
* .version,
* doc/INSTALL.txt,
* doc/sdccman.lyx: version 3.6.0 rc1, use coloured links
* sdcc.spec: version 3.6.0
* doc/Makefile.in: silence makeindex
* sim/ucsim/cmd.src/cmdset.cc,
* sim/ucsim/hc08.src/hc08cl.h,
* sim/ucsim/sim.src/hw.cc,
* sim/ucsim/sim.src/hwcl.h,
* sim/ucsim/st7.src/st7cl.h,
* sim/ucsim/stm8.src/stm8cl.h,
* sim/ucsim/z80.src/z80cl.h: cosmetics
* sim/ucsim/st7.src/st7.cc (cl_st7::disass): fixed get_disasm_info call
2016-05-25 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Implement genAddrOf for both X and Y in use (to make all regression tests compile for low --max-allocs-per-node).
2016-05-21 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/ralloc.c: fixed bug #2489
* support/regression/tests/wchar.c: re-enable hc08/s08 tests
2016-05-17 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peep.c:
Basic flag handling in notUsed(), more accurate notUsed().
* src/stm8/peeph.def:
Enable dead load optimization (with fixed flag handling).
2016-05-17 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c:
Improve labelIsReturnOnly() accuracy.
* src/stm8/peeph.def:
Disable dead load optimization, introduce jump-to-return optimization.
2016-05-16 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Use more jumps on false for stm8 peepholes.
* src/stm8/gen.c:
More efficient comparisons.
2016-05-15 Philipp Klaus Krause <pkk AT spth.de>
* Makefile.in:
Fix distclean failures.
2016-05-14 Maarten Brock <sourceforge.brock AT dse.nl>
* support/sdbinutils/binutils/arlex.c,
* support/sdbinutils/binutils/arparse.c,
* support/sdbinutils/binutils/arparse.h,
* support/sdbinutils/binutils/defparse.c,
* support/sdbinutils/binutils/defparse.h,
* support/sdbinutils/binutils/mcparse.c,
* support/sdbinutils/binutils/mcparse.h,
* support/sdbinutils/binutils/rcparse.c,
* support/sdbinutils/binutils/rcparse.h,
* support/sdbinutils/binutils/sysinfo.c,
* support/sdbinutils/binutils/sysinfo.h,
* support/sdbinutils/binutils/syslex.c: added, as in upstream git
2016-05-13 Philipp Klaus Krause <pkk AT spth.de>
* sdas/linksrc/lkelf.c:
Enable ELF symbol table output, (from patch #255 by Peter Dons Tychsen).
2016-05-12 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Minor code cleanup, also gets rid of a GCC warning.
2016-05-10 Ben Shi <powerstudio1st AT 163 DOT com>
* configure
* configure.ac
* src/SDCCmain.c
Call setrlimit() in a more compatible way.
2016-05-07 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/hc08/_setjmp.c,
* device/lib/s08/_setjmp.c: svn eol-style native
* support/regression/tests/gcc-torture-execute-pr28982a.c,
* support/regression/tests/bug-2197.c: enabled for mcs51
* src/mcs51/gen.c (genFunction, genEndFunction): implemented RFE 81 to
disable interrupts before stacking
* sim/ucsim/s51.src/uc390.cc: use IDMx/MCON instead of SA/ACON
* sim/ucsim/s51.src/uc390hw.cc: do not lock out all IDM settings
* src/ds390/main.c (_ds390_genIVT): MCON requires Timed Access
2016-05-06 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/compact-results.py
Roll back to previous version.
2016-05-05 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/setjmp.h: ds390 needs 5 bytes
* device/lib/_setjmp.c: added ds390 version
* device/lib/ds390/setjmp.c: updated, but still a dummy
* device/lib/hc08/_setjmp.c,
* device/lib/s08/_setjmp.c: fixed stack pointer bug
* sim/ucsim/cmd.src/Makefile.in,
* sim/ucsim/gui.src/Makefile.in,
* sim/ucsim/main_in.mk,
* sim/ucsim/sim.src/Makefile.in: drop -u to prevent warning on ar 2.26
* sim/ucsim/s51.src/uc390cl.h: added ixram
* sim/ucsim/s51.src/uc390.cc: check full ixram range,
* sim/ucsim/s51.src/uc51.cc,
* sim/ucsim/s51.src/uc89c51r.cc: show @R0, @R1 and 8 stack bytes
* sim/ucsim/sim.src/mem.cc (cl_memory::dump): allow decrementing range
* sim/ucsim/stm8.src/inst.cc (cl_stm8::flag_cvh): fixed warnings
* src/SDCC.y: critical is not a part of the calling convention
* support/regression/tests/bug663539.c: fix to fool the python script
* support/regression/tests/gcc-torture-execute-20010409-1.c: use longjmp()
instead of return() to mimic exit()
* support/regression/tests/setjmp.c: enabled for all regular targets
2016-05-05 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/compact-results.py
Fix spots in previous commit.
2016-05-04 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/collate-results.py
* support/regression/compact-results.py
Detect and report aborted test cases.
2016-05-03 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/collate-results.py
* support/regression/compact-results.py
* support/regression/Makefile.in
Detect and report 'segment fault' in test-host.
* support/regression/tests/gcc-torture-execute-20010409-1.c
Disable for gcc-5 in test-host.
2016-05-01 Ben Shi <powerstudio1st AT 163 DOT com>
* Enlarge stack size to 4MB in run time.
2016-04-30 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCasm.c:
Hex number case consistency, RFE #142.
2016-04-29 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
doc/sdccman.lyx,
.version:
Reorganize interrupt handling for z80-related backends, fix bugs #2339, #2131.
2016-04-29 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCC.y
* src/SDCCerr.c
* src/SDCCerr.h
Make the warning in previous commit more generic.
2016-04-28 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCC.y
* src/SDCCerr.c
* src/SDCCerr.h
Add warning for inlined _z88dk_* functions.
2016-04-28 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCC.y
* src/SDCCerr.c
Allow typedef function types.
* support/regression/tests/bug-2497.c
Add a new test case.
2016-04-27 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (genFarPointerSet): no inline variable definitions
* src/ds390/main.c (_ds390_genAssemblerPreamble, _ds390_genIVT): add MCON,
(_ds390_genXINIT): added _ds390_genXRAMCLEAR
2016-04-25 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCC.y
* src/SDCCsymt.c
* src/SDCCsymt.h
Check local defined structs more strictly.
2016-04-24 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCast.c
Change the signess of the literal operand in bitwise operation.
* support/regression/tests/bug-1929.c
Add a new test case.
* support/regression/tests/gcc-torture-execute-20020506-1.c
Modify test case.
2016-04-21 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/sdbinutils/bfd/doc/Makefile.am,
support/sdbinutils/bfd/doc/Makefile.in,
support/sdbinutils/binutils/Makefile.am,
support/sdbinutils/binutils/Makefile.in:
Revert changes of wrong bugfix.
2016-04-20 Ben Shi <powerstudio1st AT 163 DOT com>
* src/z80/peeph-r2k.def
* src/z80/peeph-tlcs90.def
* src/z80/peeph-z80.def
Fix potential bugs.
2016-04-19 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/sdbinutils/bfd/doc/Makefile.am,
support/sdbinutils/bfd/doc/Makefile.in,
support/sdbinutils/binutils/Makefile.am,
support/sdbinutils/binutils/Makefile.in:
Fix a distclean bug. Now the "make distclean" command deletes
these unnecessary files:
support/sdbinutils/bfd/doc/bfd.info*
support/sdbinutils/binutils/arlex.c
support/sdbinutils/binutils/arparse.c
support/sdbinutils/binutils/arparse.h
support/sdbinutils/binutils/defparse.c
support/sdbinutils/binutils/defparse.h
support/sdbinutils/binutils/mcparse.c
support/sdbinutils/binutils/mcparse.h
support/sdbinutils/binutils/rcparse.c
support/sdbinutils/binutils/rcparse.h
support/sdbinutils/binutils/sysinfo.c
support/sdbinutils/binutils/sysinfo.h
support/sdbinutils/binutils/syslex.c
2016-04-18 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/setjmp.h: use C89 compatible comments
* device/lib/ds390/setjmp.c: preliminary setjmp/longjmp implementation
* device/lib/gbz80/Makefile.in,
* device/lib/gbz80/setjmp.s,
* device/lib/hc08/Makefile.in
* device/lib/hc08/_setjmp.c
* device/lib/s08/Makefile.in
* device/lib/s08/_setjmp.c: implemented setjmp/longjmp for gbz80, hc08, s08
* support/regression/tests/setjmp.c: enabled for all but ds390
* device/lib/hc08/_divuint.c,
* device/lib/s08/_divuint.c: removed mcs51 asm
* device/lib/pic16/libc/stdlib/atof.c,
* device/lib/pic16/libc/stdlib/x_ftoa.c: fixed since char is now unsigned
* src/SDCCval.c (reorderIlist): properly fixed bug #2423
* src/z80/peeph-gbz80.def: added rule 2
* support/regression/tests/bug-2423.c: remove disabled pragma
* support/regression/tests/float_single.c: enabled EXPF as it seems to pass
2016-04-18 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix handling of register pair hl in block copy pointer assignment.
2016-04-18 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Optimize jumps on boolean bitfields.
* src/z80/gen.c:
Improve unpacking of signed bitfields.
2016-04-18 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/lib/pic14/bootstrap.sh,
device/lib/pic16/bootstrap.sh,
device/non-free/lib/pic16/bootstrap.sh:
Deleted the execute rights, to prevent accidental execution.
2016-04-17 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/lib/pic14/configure,
device/lib/pic14/configure.ac,
device/lib/pic14/Makefile.am,
device/lib/pic14/Makefile.in,
device/lib/pic16/Makefile.am,
device/lib/pic16/Makefile.in,
device/non-free/lib/pic14/Makefile.in,
device/non-free/lib/pic16/Makefile.am,
device/non-free/lib/pic16/Makefile.in:
Renamed the "device/lib/pic14/.checksupport" directory to
"device/lib/pic14/.checkdevices".
Fix a distclean bug. Now the "make distclean" command deletes
these unnecessary directories and files:
device/lib/pic14/.checkdevices/*
device/lib/pic14/a.*
device/lib/pic16/.checkdevices/*
device/lib/pic16/a.*
device/lib/pic16/pics.supported
device/non-free/lib/pic14/.checkdevices/*
device/non-free/lib/pic14/a.*
device/non-free/lib/pic14/pics.supported
device/non-free/lib/pic16/.checkdevices/*
device/non-free/lib/pic16/a.*
device/non-free/lib/pic16/pics.supported
2016-04-17 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/wchar.c:
Enable test for mcs51.
* doc/sdccman.lyx:
Update manual, clearly mark 8051-specifics as such in Chapter 3.
2016-04-17 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCglue.c
Fix a pointer printing bug, when a 4-byte generic pointer is printed on ds390.
2016-04-16 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/compiler.h: added INTERRUPT, INTERRUPT_USING, NOP
macros, copied from SiLabs' compiler_defs.h
* device/include/mcs51/EFM8BB1.h: new, added, from RFE 271, thanks
Kharitonov Dmitry
2016-04-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/gcc-torture-execute-20000717-2.c,
support/regression/tests/gcc-torture-execute-20050104-1.c,
support/regression/tests/gcc-torture-execute-921202-2.c,
support/regression/tests/gcc-torture-execute-950612-1.c,
support/regression/tests/gcc-torture-execute-961122-1.c,
support/regression/tests/gcc-torture-execute-20060110-2.c,
support/regression/tests/gcc-torture-execute-950704-1.c,
support/regression/tests/longlong.c:
Fixes to gbz80 carry flag handling, particularly relevant to long long.
2016-04-14 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCerr.c
* src/SDCCerr.h
* src/SDCCsymt.c
Check tagged anonymous struct/union.
2016-04-13 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
support/regression/tests/bug-2492.c:
Fix bug #2492.
2016-04-13 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/include/pic14/pic14devices.txt,
device/non-free/include/pic14/*.h,
device/non-free/include/pic16/*.h,
device/non-free/lib/pic14/libdev/*.c,
device/non-free/lib/pic16/libdev/*.c:
Refreshed the device files.
2016-04-12 Philipp Klaus Krause <pkk AT spth.de>
* device/include/uchar.h,
device/include/wchar.h,
device/lib/c16rtomb.c,
device/lib/mbrtoc16.c,
device/lib/mbsinit.c,
device/lib/incl.mk,
support/regression/tests/wchar.c:
Implement c16rtomb(), mbrtoc16(), mbsinit().
* device/lib/*/mul.s
Integer multiplication improvement by Kio (RFE #422).
2016-04-12 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/lib/pic14/configure.ac,
device/lib/pic14/Makefile.in,
device/lib/pic14/libm/Makefile.in,
device/lib/pic14/libsdcc/enhanced/Makefile.in,
device/lib/pic14/libsdcc/enhanced-no-xinst/Makefile.in,
device/lib/pic14/libsdcc/regular/Makefile.in:
Fixed bug: #2482 Link error with pic16f1827
2016-04-11 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Enable iy register content tracking optimization.
* device/include/stdlib.h,
device/lib/mbtowc.c,
device/lib/incl.mk,
support/regression/tests/wchar.c:
Implement mbtowc().
* device/include/wchar.h,
device/lib/mbrlen.c:
Implement mbrlen().
2016-04-10 Molnar Karoly <molnarkaroly AT users.sf.net>
* src/pic14/gen.c,
src/pic16/gen.c:
Fixed typo from "psuedo" to "pseudo".
* src/pic14/gen.c:
Fixed bug in genCall() function: The PAGESEL instructions must
be given unconditionally. (In this context: "Each function has
its own code section.")
* src/pic14/pcode.c,
src/pic16/pcode.c,
src/pic14/ralloc.c,
src/pic16/ralloc.c:
Fix potential buffer overflow.
* src/pic14/glue.c:
Minor code formatting.
2016-04-09 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/gcc-torture-execute-20020506-1.c
* support/regression/tests/gcc-torture-execute-20041011-1.c
* support/regression/tests/gcc-torture-execute-20050111-1.c
* support/regression/tests/gcc-torture-execute-20060127-1.c
* support/regression/tests/gcc-torture-execute-920604-1.c
* support/regression/tests/gcc-torture-execute-921029-1.c
* support/regression/tests/gcc-torture-execute-941015-1.c
Enabled.
2016-04-07 Philipp Klaus Krause <pkk AT spth.de>
* device/include/errno.h,
device/include/uchar.h,
device/include/wchar.h,
device/lib/mbrtoc32.c,
device/lib/c32rtomb.c,
device/lib/mbrtowc.c,
device/lib/wcrtomb.c,
device/lib/incl.mk,
support/regression/tests/wchar.c:
Implement mbrtoc32, c32rtomb(), mbrtowc(), wcrtomb().
2016-04-07 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.lex,
src/SDCCerr.h,
src/SDCCerr.c:
Fix bug #2488 by implementing hexadecimal floating constants.
* device/include/stdlib.h,
device/lib/mblen.c,
device/lib/wctomb.c,
device/lib/incl.mk,
support/regression/tests/string.c:
Implement mblen(), wctomb().
2016-04-06 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/string.c:
Check more of wide strings, do not depend on implementation-defined
behaviour in char escape.
2016-04-06 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/gcc-torture-execute-950512-1.c
* support/regression/tests/gcc-torture-execute-961122-1.c
* support/regression/tests/gcc-torture-execute-960402-1.c
Enabled.
2016-04-05 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/string.c
Improve test case.
* src/SDCCast.c
* src/SDCCicode.c
* src/z80/gen.c
Improve longlong compatibility.
2016-04-03 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/lib/pic14/bootstrap.sh,
device/lib/pic14/Makefile.in,
device/lib/pic14/libm/Makefile.in,
device/lib/pic14/libsdcc/enhanced/Makefile.am,
device/lib/pic14/libsdcc/enhanced/Makefile.in,
device/lib/pic14/libsdcc/enhanced-no-xinst/Makefile.am,
device/lib/pic14/libsdcc/enhanced-no-xinst/Makefile.in,
device/lib/pic14/libsdcc/regular/Makefile.am,
device/lib/pic14/libsdcc/regular/Makefile.in:
Workaround the Linux Mint bug: #2482 Link error with pic16f1827
* device/lib/pic16/*,
device/non-free/lib/pic16/*:
Downgraded the autoconf version from 1.15 to 1.11.6.
2016-04-01 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCglue.c,
src/SDCCval.c:
Support wide string literals in initialization of global arrays.
* src/SDCCast.c,
Support wide string literals in initialization of local arrays.
* doc/sdccman.lyx:
Update documentation on standard compliance.
2016-04-01 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/gcc-torture-execute-950512-1.c
Enabled.
* src/z80/gen.c
Improve longlong comptability on different hosts.
2016-03-31 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Remove user-visible feature macros for signed / unsigned char.
* device/include/limits.h:
Fix multibyte sequence limit.
* support/regression/tests/bitvars.c,
support/regression/tests/funsigned-char.c:
Detect char signedness portably.
* src/SDCCsymt.h,
src/SDCCval.c,
src/SDCCglue.c,
doc/sdccman.lyx,
support/regression/tests/string.c:
Support wide string literals outside of array initialization.
2016-03-31 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/gcc-torture-execute-pr19606.c
Disabled in test-host.
2016-03-29 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/gcc-torture-execute-20060127-1.c
* support/regression/tests/gcc-torture-execute-921029-1.c
* support/regression/tests/gcc-torture-execute-941015-1.c
* support/regression/tests/gcc-torture-execute-pr19606.c
Disabled.
2016-03-29 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/bug3475656.c
* support/regression/tests/gcc-torture-execute-20000314-2.c
* support/regression/tests/gcc-torture-execute-20000523-1.c
* support/regression/tests/gcc-torture-execute-20001108-1.c
* support/regression/tests/gcc-torture-execute-20020201-1.c
* support/regression/tests/gcc-torture-execute-20020226-1.c
* support/regression/tests/gcc-torture-execute-20020508-1.c
* support/regression/tests/gcc-torture-execute-20020508-2.c
* support/regression/tests/gcc-torture-execute-20020508-3.c
* support/regression/tests/gcc-torture-execute-20060110-1.c
* support/regression/tests/gcc-torture-execute-20060110-2.c
* support/regression/tests/gcc-torture-execute-20060127-1.c
* support/regression/tests/gcc-torture-execute-20101013-1.c
* support/regression/tests/gcc-torture-execute-920710-1.c
* support/regression/tests/gcc-torture-execute-920829-1.c
* support/regression/tests/gcc-torture-execute-921029-1.c
* support/regression/tests/gcc-torture-execute-941015-1.c
* support/regression/tests/gcc-torture-execute-950704-1.c
* support/regression/tests/gcc-torture-execute-960801-1.c
* support/regression/tests/gcc-torture-execute-961213-1.c
* support/regression/tests/gcc-torture-execute-pr19606.c
* support/regression/tests/gcc-torture-execute-pr27285.c
Enable more longlong test cases.
2016-03-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCglue.c:
Disable assertions to mask ds390 issue on non-OpenBSD for now.
2016-03-28 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCicode.c
Fix a long long issue on 32-bit machines.
* support/regression/tests/gcc-torture-execute-950511-1.c
* support/regression/tests/bug-2477.c
Enabled.
2016-03-27 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/inline.c:
Disable failing test for OpenBSD host.
* src/SDCCglue.c:
Add assertions to help track down pointer size bugs.
2016-03-27 Ben Shi <powerstudio1st AT 163 DOT com>
* sdas/asstm8/stm8pst.c
Apply part of patch #255 by Peter Dons Tychsen.
2016-03-24 Ben Shi <powerstudio1st AT 163 DOT com>
* src/z80/gen.c
Improve long long compatibility among different host machines.
2016-03-22 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCast.c
* src/SDCCglue.c
* src/SDCCval.c
* src/SDCCval.h
* src/pic16/glue.c
* src/z80/gen.c
Improve long long compatibility among different host machines.
2016-03-19 Ben Shi <powerstudio1st AT 163 DOT com>
* src/z80/gen.c
Improve compatibility of SDCC between 32-bit and 64-bit machines.
2016-03-15 Molnar Karoly <molnarkaroly AT users.sf.net>
* src/pic14/pcode.c:
Fixed bug: "#2481 wrong asm code for pic16f1827 (or even others?)"
2016-03-12 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCpeeph.c (labelIsUncondJump): also search backwards
* src/mcs51/peeph.def: added rules 257.a-i for jump-to-jump optimization,
added rules 259.c-f to remove dead jumps, implements RFE 491
* src/SDCCerr.c,
* src/SDCCerr.h: changed W_UNKNOWN_FEXT to E_UNKNOWN_FEXT
* src/SDCCmain.c (processFile): also accept .h sources, implement RFE 460
2016-03-12 Ben Shi <powerstudio1st AT 163 DOT com>
* src/z80/gen.c
Rollback to previous version.
* support/regression/tests/bug-2477.c
Disable this test case.
2016-03-11 Ben Shi <powerstudio1st AT 163 DOT com>
* src/z80/gen.c
Fix a bug in genRet(): long long return value is cut to long.
* support/regression/tests/bug-2477.c
Add a new test case.
2016-03-10 Ben Shi <powerstudio1st AT 163 DOT com>
* src/stm8/gen.c
Fix a bug in genAnd(): conflict register assignment.
* support/regression/tests/bug-2480.c
Add a new test case.
2016-03-06 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCC.y: MSVC does not accept declarations in for loop
2016-03-05 Maarten Brock <sourceforge.brock AT dse.nl>
* device/non-free/lib/pic16/missing: copied from device/lib/pic16/missing
* src/SDCCgen.c (genInline): also check for colon in single literal char
* support/cpp/libcpp/macro.c (create_iso_definition): fixed warning
* support/regression/compact-results.py: use 'T' for clock ticks
2016-03-05 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCgen.c
Fix a bug: colon should not be treated as a label suffix in a literal
string in inline-asm.
2016-03-05 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCerr.c
* src/SDCCval.c
Remove warning #212 W_LONGLONG_LITERAL.
2016-03-04 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCicode.c
Fix long long issues.
* support/regression/tests/longlong.c
Add more tests.
2016-02-27 Ben Shi <powerstudio1st AT 163 DOT com>
* support/scripts/sdcc.nsi
Install large-stack-auto related files into windows distribution.
2016-02-26 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCicode.c
* src/SDCCicode.h
* src/SDCCval.c
* src/SDCCval.h
Fix potential precision loss of long long operands.
2016-02-21 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCast.c
* src/SDCCast.h
Make sure the parameter list is not reversed before calling parmProcess().
* support/regression/tests/bug-2473.c
Add a new test case.
2016-02-20 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCast.c
Fix bug #2471.
2016-02-19 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCerr.c
Make the error message of error E_CONST_EXPECTED more understandable.
2016-02-18 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCglue.c
Add check of non-constant in a global variable's initial value.
2016-02-13 Molnar Karoly <molnarkaroly AT users.sf.net>
* src/pic14/gen.c,
* src/pic14/glue.c,
* src/pic14/pcode.c,
* src/pic14/pcode.h:
Fixed bug: "#2470 wrong asm code for PIC14 interrupt - interrupt not working"
2016-02-09 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/Makefile.in: added and enabled large-mcs51-stack-auto
* support/regression/ports/mcs51-large-stack-auto,
* support/regression/ports/mcs51-large-stack-auto/spec.mk,
* support/regression/Makefile.in: added test-mcs51-large-stack-auto
* support/regression/tests/bug2094505.c: disabled for mcs51-large-stack-auto
2016-02-08 Maarten Brock <sourceforge.brock AT dse.nl>
* debugger/mcs51/simi.c,
* debugger/mcs51/simi.h: applied patch 268, Thanks Peter Dons Tychsen
* device/include/stdlib.h: suppress unused variable warning
* src/SDCCsymt.c (checkSClass): globals and statics in code don't need an
initializer but may be implicitly cleared
* support/regression/tests/gcc-torture-execute-20000412-1.c: added disabled
testcase for this
* support/regression/tests/bug-2041.c: also check with xdata starting at 1
* support/regression/tests/bug-2089.c: fix warnings
* support/regression/tests/bug-2423.c: suppress warning 147, show weird 203
2016-02-07 Ben Shi <powerstudio1st AT 163 DOT com>
* src/ds390/gen.c
Fix a bug in genFarPointerSet() when the result and the right operand are
both in DPTR.
* support/regression/tests/bug-2041.c
Add a new test case.
2016-02-06 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.hpp,
src/SDCCnaddr.hpp,
src/SDCCralloc.hpp:
Workaround boost bug #11880 to make SDCC compile with boost 1.60.
2016-02-05 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCast.c
Fix a bug in comparison operation.
* support/regression/tests/memory.c
Enable more tests.
2016-02-04 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCicode.c
Allow array members of structs can be accessed in pointer form.
* support/regression/tests/bug-2468.c
Add a test case.
2016-02-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.hpp:
Fix compare operator, patch #267 by Peter Dons Tychsen.
* device/lib/pic16/libsdcc/char/divschar.c,
device/lib/pic16/libsdcc/char/modschar.c:
Fix signedness of pic16 char support routines.
2016-02-01 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCast.c
Try to find a common type for the left and right in '?:' .
* support/regression/tests/bug-2461.c
Add a new test case.
2016-02-01 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCglobl.h,
src/SDCCmain.c,
src/SDCCsymt.c,
src/SDCCval.c,
doc/sdccman.lyx:
Make char unsigned by default.
2016-02-01 Philipp Klaus Krause <pkk AT spth.de>
* device/include/stdlib.h:
Fix declaration of aligned_alloc() for C11.
2016-02-01 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCC.y
Fix a bug: type mismatch between function definition and declaration.
* support/regression/tests/bug-2419.c
Add a new test case.
2016-01-31 Molnar Karoly <molnarkaroly AT users.sf.net>
* src/pic14/device.c,
src/pic14/gen.c,
src/pic14/glue.c,
src/pic14/pcode.c,
src/pic14/pcodepeep.c,
src/pic14/ralloc.c,
src/pic16/device.c,
src/pic16/device.h,
src/pic16/gen.c,
src/pic16/genarith.c,
src/pic16/genutils.c,
src/pic16/glue.c,
src/pic16/glue.h,
src/pic16/graph.c,
src/pic16/main.c,
src/pic16/pcode.c,
src/pic16/pcode.h,
src/pic16/pcodepeep.c,
src/pic16/ralloc.c,
src/pic16/ralloc.h:
Use "Safe_alloc(...)" instead of "Safe_calloc(1, ...)".
Use SNPRINTF(X, sizeof(X), ...) instead of sprintf(X, ...).
Some code simplification, e.g.:
sprintf (s, "%s", aop->aopu.aop_dir);
rs = Safe_calloc (1, strlen (s) + 1);
strcpy (rs, s);
return rs;
.
.
.
return Safe_strdup(aop->aopu.aop_dir);
2016-01-28 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/Makefile.in:
Change handling of test filenames for regression tests, patch #266 by
Peter Dons Tychsen.
* src/SDCCast.c,
support/regression/tests/bug-2458.c:
Changed result type propagation for logic operations, variant of proposed
fix by Peter Dons Tychsen for bug #2458.
2016-01-26 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c:
Fix handling of __z88dk_fastcall in specifier merging.
2016-01-26 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCval.c (strVal): free utf_8 and suppress warning
2016-01-25 Molnar Karoly <molnarkaroly AT users.sf.net>
* src/pic14/pcode.c,
src/pic14/ralloc.c:
More use the logical constants.
2016-01-25 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/main.c:
Improve DWARF support for stm8 ELF, picked from patch #255 by Peter Dons
Tychsen.
* src/SDCCsymt.c:
Fix handling of preserved regs in specifier merging.
2016-01-24 Molnar Karoly <molnarkaroly AT users.sf.net>
* src/pic16/pcode.c,
src/pic16/pcodepeep.c:
More use the logical constants.
2016-01-24 Molnar Karoly <molnarkaroly AT users.sf.net>
* src/pic14/gen.c,
src/pic14/glue.c,
src/pic14/pcode.c,
src/pic14/pcoderegs.c,
src/pic14/ralloc.c:
More use the logical constants.
2016-01-24 Molnar Karoly <molnarkaroly AT users.sf.net>
* src/pic14/gen.c,
src/pic14/pcode.c,
src/pic14/pcode.h:
Add support the ASRF, LSLF and LSRF instructions
(enhanced intructions of pic14): feature-requests #484
* src/pic14/gen.c,
src/pic14/gen.h:
On more place I exchanged the "char *" to "const char *".
2016-01-24 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCC.y
* src/SDCCast.c
* src/SDCCast.h
* src/SDCCutil.c
* src/SDCCutil.h
Format inline asm coding style.
2016-01-23 Ben Shi <powerstudio1st AT 163 DOT com>
* configure
* configure.ac
* debugger/mcs51/configure
* debugger/mcs51/configure.ac
* support/cpp/configure
* support/cpp/configure.ac
* support/packihx/configure
* support/packihx/configure.ac
Try to use C99 first.
* src/SDCC.lex
Remove a duplicate function definition.
* src/SDCC.y
Change to C99 style.
2016-01-22 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c,
src/SDCCglue.h,
src/SDCCglue.c:
Do not display meaningless __reentrent to users.
2016-01-22 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peep.c:
Make estimate for preserved regs on function pointers less conservative.
* src/SDCCsymt.c:
Consider preserved regs for type of function pointer.
2016-01-22 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c:
More accurate handling of conditional jumps, handle ex (sp), ix and
ex (sp), iy.
2016-01-21 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.y:
Seems we have to worry about more than MSVC wrt. C99, patch #265 by Peter
Dons Tychsen.
2016-01-21 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.lex,
src/SDCC.y,
src/SDCCerr.c,
src/SDCCerr.h,
src/SDCCsymt.h,
src/*/main.c,
src/z80/gen.c:
Implement declaration of preserved registers, RFE #483.
* src/z80/peep.c
Handle preserved register information in peephole optimization.
* device/include/stdlib.h,
device/include/string.h:
Preserved register information on standard functions.
* doc/sdccman.lyx:
Document syntax for specifying preserved registers.
2016-01-20 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c:
More exact handling of ex, support for decimal shifts.
2016-01-18 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCdebug.c:
Debug info for block-copy-initialized global variables, patch #262 by
Peter Dons Tychsen.
* src/SDCCdwarf2.c:
Fix handling of declared, but unused global vairables in debug output,
patch #263 by Peter Dons Tychsen.
* src/z80/peep.c:
More accurate handling of functions returning long long for peephole
optimizer.
* src/SDCCmain.c:
Fix stream for help output, patch #264 by Peter Dons Tychsen.
2016-01-18 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCicode.c
Apply a modified version of patch #261 by Peter Dons Tychsen.
* support/regression/bug-2455.c
Improve test case.
2016-01-18 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.c:
Fix pointer dereference issue, patch #261 by Peter Dons Tychsen.
2016-01-17 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/non-free/include/pic14/*.h,
device/non-free/include/pic16/*.h,
device/non-free/lib/pic14/libdev/*.c,
device/non-free/lib/pic16/libdev/*.c:
Updated the device files.
2016-01-17 Molnar Karoly <molnarkaroly AT users.sf.net>
* src/pic14/pcode.c,
src/pic14/pcode.h,
src/pic16/ralloc.c,
src/pic16/ralloc.h,
src/pic16/pcodepeep.c,
src/pic16/ralloc.c,
src/pic16/ralloc.h:
On more place I exchanged the "char *" to "const char *".
* src/regression/Makefile:
Added the option to CFLAGS: --no-warn-non-free
2016-01-16 Molnar Karoly <molnarkaroly AT users.sf.net>
* src/pic14/gen.c,
src/pic14/pcode.c:
Each function has its own code section.
* src/pic16/pcode.c:
Fix a gcc warning.
2016-01-15 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCicode.c
Fix bug #2455.
* support/regression/bug-2455.c
Add a new test case.
2016-01-14 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/lib/pic14/configure,
device/lib/pic14/configure.ac,
device/lib/pic16/configure.ac:
Do away with the automake warning:
"option 'subdir-objects' is disabled"
* device/lib/pic16/Makefile.in,
device/lib/pic16/aclocal.m4,
device/lib/pic16/configure,
device/lib/pic16/depcomp,
device/lib/pic16/install-sh,
device/lib/pic16/missing,
device/lib/pic16/debug/Makefile.in,
device/lib/pic16/libc/Makefile.in,
device/lib/pic16/libio/Makefile.am,
device/lib/pic16/libio/Makefile.in,
device/lib/pic16/libio/adc.ignore,
device/lib/pic16/libio/i2c.ignore,
device/lib/pic16/libio/usart.ignore,
device/lib/pic16/libm/Makefile.in,
device/lib/pic16/libsdcc/Makefile.in,
device/lib/pic16/startup/Makefile.in,
device/non-free/include/pic16/pic18fam.h:
Improve of update to gputils-1.4.2-1.
2016-01-12 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c:
More accurate handling of Z80/Z180 I/O in peepholes.
2016-01-11 Ben Shi <powerstudio1st AT 163 DOT com>
* src/ds390/ralloc.c
* src/mcs51/ralloc.c
Improve positionRegs().
* src/mcs51/gen.c
Roll back to previous version.
* support/regression/tests/bug-2263.c
* support/regression/tests/bug-2403.c
Add new test cases.
2016-01-10 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c:
More accurate handling of Z80/Z180 I/O in peepholes.
2016-01-10 Ben Shi <powerstudio1st AT 163 DOT com>
* src/mcs51/gen.c
Fix a bug in genOr() when all operands are in registers.
* support/regression/tests/bug-2448.c
Add a new test case.
2016-01-09 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/cinc2h.pl,
support/optimize_pic16devices.pl,
support/z80-disasm.pl:
Some minor repairs.
* device/include/pic14/pic14devices.txt,
device/include/pic14/pic16regs.h,
device/include/pic16/pic16devices.txt,
device/include/pic16/pic18fregs.h,
device/lib/pic16/configure,
device/lib/pic16/libio/Makefile.am,
device/lib/pic16/libio/Makefile.in,
device/lib/pic16/libio/adc.ignore,
device/lib/pic16/libio/i2c.ignore,
device/lib/pic16/libio/usart.ignore,
device/non-free/include/pic14/*.h,
device/non-free/include/pic16/*.h,
device/non-free/lib/pic14/libdev/devices.txt,
device/non-free/lib/pic14/libdev/*.c,
device/non-free/lib/pic16/Makefile.in,
device/non-free/lib/pic16/aclocal.m4,
device/non-free/lib/pic16/configure,
device/non-free/lib/pic16/processors.ac,
device/non-free/lib/pic16/libdev/Makefile.am,
device/non-free/lib/pic16/libdev/Makefile.in,
device/non-free/lib/pic16/libdev/*.c,
doc/sdccman.lyx:
Updated to gputils-1.4.2-1.
2016-01-06 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.c:
Optimize comparisons of cheap variables to expensive constants more.
* src/SDCCast.c:
Use cheaper types for implicitly introduced constants.
2016-01-05 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCast.c:
Do not try to output debug info in case of fatal errors - patch #260 by
Peter Dons Tychsen
* src/z80/gen.c,
support/regression/tests/bug-2452.c:
Fix gbz80 right shift bug #2452.
2016-01-05 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCicode.c
Fix bug: members of pointer arrays are always treated as r-values.
* support/regression/tests/gcc-torture-execute-930526-1.c
Improve test case.
* support/sdbinutils/binutils/arlex.c
Removed.
2016-01-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c:
Fix handling of nop in z80MightRead, patch #259 by alvin.
* src/SDCCicode.c:
Optimize comparisons of cheap variables to expensive constants.
2016-01-03 Philipp Klaus Krause <pkk AT spth.de>
* sdas/linksrc/lkarea.c:
Fix handling of NOLOAD for STM8 in linker, patch by Peter Dons Tychsen.
* src/SDCCralloc.hpp:
Fix compare operator for register assignments.
2016-01-02 Ben Shi <powerstudio1st AT 163 DOT com>
* support/sdbinutils/binutils/arparse.c
* support/sdbinutils/binutils/arparse.h
Delete intermediate files.
2016-01-02 Maarten Brock <sourceforge.brock AT dse.nl>
* all.vcxproj,
* config.vcxproj,
* sdas/as6808/as_hc08.vcxproj,
* sdas/as8051/asx8051.vcxproj,
* sdas/as8xcxxx/sdas390.vcxproj,
* sdas/asgb/asgb.vcxproj,
* sdas/linksrc/aslink.vcxproj,
* src/avr/avr.vcxproj,
* src/ds390/ds390.vcxproj,
* src/hc08/hc08.vcxproj,
* src/mcs51/mcs51.vcxproj,
* src/pic14/pic14.vcxproj,
* src/pic16/pic16.vcxproj,
* src/sdcc.vcxproj,
* src/xa51/xa51.vcxproj,
* src/z80/z80.vcxproj,
* src/z80/z80a.vcxproj,
* support/cpp/sdcpp.vcxproj,
* support/librarian/librarian.vcxproj,
* support/makebin/makebin.vcxproj,
* support/packihx/packihx.vcxproj: applied patch 252 by Peter Dons Tychsen
to remove UpgradeFromVC60.props
2015-12-30 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCdwarf2.c:
Fix memory bug in DWARF output, patch by Peter Dons Tychsen.
* sdas/asxxsrc/asdbg.c:
Fix 0 pointer access when specifying -y or -j without -o.
2015-12-30 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCsymt.c
Make comparePtrType() less strict.
* support/regression/tests/bug-2271.c
Improve test case.
2015-12-28 Ben Shi <powerstudio1st AT 163 DOT com>
* doc/sdccman.lyx
Suggest msys2 along with msys while building wih MSVC.
* sdas/asxxsrc/assym.c
Apply patch #253.
2015-12-26 Ben Shi <powerstudio1st AT 163 DOT com>
* src/stm8/gen.c
Add absent call to dwWriteFunction() while --debug is specified.
2015-12-24 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCC.y
Fix a bug in the front end. (pointer array parameters)
* support/regression/tests/bug-2271.c
Add a test case.
2015-12-21 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/main.c:
Option for ELF output in STM8 backend.
2015-12-20 Philipp Klaus Krause <pkk AT spth.de>
* sdas/linksrc/lkelf.c,
sdas/linksrc/lkmain.c:
STM8 ELF linker support from patch #251.
2015-12-18 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmain.c:
Always use preprocessor in standard mode.
* device/include/stdlib.h:
Fix declaration order for inlined aligned_alloc().
2015-12-17 Ben Shi <powerstudio1st AT 163 DOT com>
* Makefile.in
Fix the conflict in parallel build caused by component dependency.
2015-12-16 Ben Shi <powerstudio1st AT 163 DOT com>
* sim/ucsim/cmd.src/cmdset.cc
Apply a modified version of patch #250.
2015-12-14 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCast.c:
Avoid redundant call to processParms().
* support/regression/tests/bug-2436.c
Add a new test case.
2015-12-10 Philipp Klaus Krause <pkk AT spth.de>
* device/include/wchar.h:
A basic wchar.h with for types that are useful even with no wide character
functions around.
2015-12-05 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCC.y
* src/SDCCerr.c
* src/SDCCerr.h
Fix a bug of type definition of a function by typedef.
2015-12-02 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCerr.c
* src/SDCCerr.h
Fix defects in previous commit.
2015-12-01 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCC.y
* src/SDCCerr.c
* src/SDCCerr.h
Remove warning #220 (W_ANONYMOUS_MEMBER).
2015-11-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c:
Fix operandsNotRelated() bug #2435.
* device/include/stddef.h,
device/include/stdlib.h,
src/SDCC.lex,
src/SDCCmain.c,
src/SDCCval.c,
src/SDCCval.h,
support/regression/tests/charconst.c,
support/regression/tests/string.c:
Make wchar_t UTF-32.
* support/cpp/Makefile.in:
Fix call to make.
2015-11-26 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/gcc-torture-execute-20050111-1.c
* support/regression/tests/gcc-torture-execute-950511-1.c
Disable test cases.
2015-11-24 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCicode.c
* src/SDCCval.c
* src/SDCCval.h
Improve long long multiplication.
* support/regression/tests/gcc-torture-execute-20050111-1.c
* support/regression/tests/gcc-torture-execute-950511-1.c
* support/regression/tests/longlong.c
Improve test cases.
2015-11-14 Philipp Klaus Krause <pkk AT spth.de>
* doc/Makefile.in,
doc/sdccman.lyx:
Fix bookmarks and hyperlinks in manual, bug #2405.
* src/SDCCglue.c:
Drop build time in asm output to ease reproducible builds.
* device/lib/*/Makefile.in,
device/lib/Makefile.in:
Drop build time in sdar calls to make non-pic lib builds reproducible.
2015-11-13 Ben Shi <powerstudio1st AT 163 DOT com>
* support/cpp/libcpp/include/symtab.h:
Fix build failure on MacOS x86-64.
* support/regression/tests/inline.c:
Fix failure in test-host in NetBSD.
* support/regression/tests/literalop.c:
Disable some tests on MacOS x86-64.
2015-11-12 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/at89c51id2.h: moved
2015-11-12 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Update standard compliance documentation.
2015-11-09 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/at89c51ed2.h: applied patch 247
* device/include/at89c51id2.h: new, added, thanks Victor Munoz
* src/SDCC.lex: it seems really hard not to declare vars amidst the code
* src/SDCCast.c (expandInlineFuncs): fix bug 2295: also expand for clauses
* support/regression/tests/ctype.c: warn about undefined __STDC_VERSION__
* support/regression/tests/inline.c (bug_2295): new test case
2015-11-09 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.lex,
src/SDCCval.c:
UTF-32 and UTF-16 encodig in strVal().
2015-11-08 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c: added IS_AOP_IMMEDIATE,
(gencjneshort): applied modified part of patch 129, thanks Hubert Sack
2015-11-08 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/string.c
Separate C11 behaviour from implementation-defined behaviour.
2015-11-07 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCglue.c:
Eliminate unused static symbols. (__str_%d generated in stringToSymbol()).
* support/regression/tests/bug-2089.c:
Improve test case.
* support/regression/ports/mcs51-xstack-auto/spec.mk:
Use default sdcc11.
* support/regression/tests/string.c:
Disabled for test-host.
2015-11-07 Philipp Klaus Krause <pkk AT spth.de>
* support/util/dbuf_string.h,
support/util/dbuf_string.c,
src/SDCCval.c,
src/SDCC.lex:
Handling of UTF-16 and UTF-16 string literals in the frontend up to
strVal().
2015-11-06 Philipp Klaus Krause <pkk AT spth.de>
* support/util/dbuf.h,
support/util/dbuf.c,
support/util/dbuf_string.h,
support/util/dbuf_string.c:
Allow prepending to dynamic buffers.
* src/SDCC.lex,
src/SDCCerr.h,
src/SDCCerr.c:
Support C11 u8 prefix for UTF-8-encoded unicode string literals.
* src/SDCCutil.c,
support/regression/tests/string.c:
Fix handling of universal escape sequences in UTF-8-encoded string literals.
* support/regression/tests/iso-8859-1.c:
Test support for source encodings other than unicode.
2015-11-06 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCC.y: only emit W_FLEXARRAY_INSTRUCT for c89
* src/SDCCpeeph.c (labelJTInRange): removed env SDCC_SJMP_JUMPTABLE check,
closes patch #29,
(readRules): clean up
2015-11-05 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c:
Print calling convention for functions.
* src/z80/peep.c:
More accurate handling of register arguments in peepholes.
2015-11-05 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/ralloc.c (packRegsForOneuse): fixed bug 2373
* support/regression/tests/bug-2373.c: new, added
2015-11-05 Maarten Brock <sourceforge.brock AT dse.nl>
* sdcc.sln,
* src/yacc.vcxproj: deleted yacc project
* src/sdcc.vcxproj,
* src/sdcc.vcxproj.filters: moved SDCC.y here for better dependencies
* SDCC.props: new, added Visual C property sheet for generic settings like
boost path (default: c:\local\boost_1_59_0\)
* src/hc08/hc08.vcxproj,
* src/sdcc.vcxproj,
* src/stm8/stm8.vcxproj,
* src/z80/z80.vcxproj: use SDCC.props
* sdas/linksrc/lkaomf51.c: output capitals depending on the zflag
* src/common.h
* src/stm8/ralloc2.cc (extra_ic_generated),
* src/z80/ralloc2.cc (default_operand_cost, assign_cost, Ainst_ok,
rough_cost_estimate),
* src/SDCCglue.c (printIvalChar),
* src/SDCCopt.c (convertToFcall): fixed warnings
* src/SDCCutil.c (isblank): added for MSVC 2010
* support/cpp/ansidecl.h: deleted
* support/cpp/sdcpp.vcxproj,
* support/cpp/sdcpp.vcxproj.filters: use files in support/sdbinutils/
* support/sdbinutils/libiberty/getpwd.c: fixed for MSVC
2015-10-30 Ben Shi <powerstudio1st AT 163 DOT com>
* sdas/linksrc/lkmem.c:
Fix defects in previous commit.
2015-10-30 Ben Shi <powerstudio1st AT 163 DOT com>
* sdas/linksrc/lkarea.c:
* sdas/linksrc/lkmem.c:
Improve the error message in .mem when no enough space for the stack.
Suggest the largest spare space (address and size) in the internal RAM.
2015-10-28 Ben Shi <powerstudio1st AT 163 DOT com>
* sdas/linksrc/lkmem.c:
Fix incorrect check of "--xram-size".
2015-10-27 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCglue.c:
Bug fix: char s[10] = "ab", bytes beyond "ab" sometimes aren't set to 0.
2015-10-26 Philipp Klaus Krause <pkk AT spth.de>
* Merge cpp-merge-upstream branch to get improved standard support.
2015-10-26 Philipp Klaus Krause <pkk AT spth.de>
* .version:
Bump version due to improved standard support.
2015-10-24 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc.c,
src/port.h:
Spelling fixes.
2015-10-23 Philipp Klaus Krause <pkk AT spth.de>
* support/cpp/Makefile.in:
Fix build-dependency of sdcpp on libiberty.
* support/cpp/sdcpp.opt,
support/cpp/sdcpp-opts.c,
support/cpp/libcpp/init.c:
Support C11 in preprocessor.
* src/SDCCmain.c:
Fix standard support, add support for c95 and sdcc11 dialects.
2015-10-22 Ben Shi <powerstudio1st AT 163 DOT com>
* SDCC.y:
Add checks for NULL pointers.
2015-10-19 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCast.c:
* src/SDCCglue.c:
* src/SDCCglue.h:
Eliminate redundant string literals to be generated.
* support/regression/tests/bug-2089.c:
Add a new test case.
2015-10-18 Philipp Klaus Krause <pkk AT spth.de>
* support/cpp/libcpp/*:
Reformat to reduce diff to upstream cpp.
2015-10-17 Philipp Klaus Krause <pkk AT spth.de>
* support/cpp/libcpp/*:
Reformat to reduce diff to upstream cpp.
2015-10-11 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCerr.h,
src/SDCCerr.c,
src/SDCC.lex:
Support C95 wide string literals.
2015-10-09 Philipp Klaus Krause <pkk AT spth.de>
* support/cpp/libcpp/include/*:
Reformat to reduce diff to upstream version.
2015-10-10 Ben Shi <powerstudio1st AT 163 DOT com>
* support/util/dbuf_string.c:
Add check for null pointer.
2015-10-09 Ben Shi <powerstudio1st AT 163 DOT com>
* src/z80/gen.c:
Wrap strtoul() to support $-prefix hex numbers.
2015-10-09 Philipp Klaus Krause <pkk AT spth.de>
* New memory management by merging malloc branch into trunk.
2015-10-09 Ben Shi <powerstudio1st AT 163 DOT com>
* sdas/linksrc/lkaomf51.c:
Add bound check while accessing a buffer in the heap.
2015-10-08 Philipp Klaus Krause <pkk AT spth.de>
* support/cpp/libcpp/files.c:
Drop cpp support for Borland C.
2015-10-07 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/charconst.c,
support/regression/tests/escape.c:
Disable some tests for host, so we don't need a C11 host.
2015-10-07 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCval.c:
Add bound check in reorderIlist().
* support/regression/bug-2423.c:
Add a new test case.
2015-10-06 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCerr.h,
src/SDCCerr.c,
src/SDCCutil.h,
src/SDCCutil.c,
src/SDCCval.c,
support/regression/tests/charconst.c,
support/regression/tests/escape.c:
Implement escape sequences for wide character constants, fix universal
escape sequences.
2015-10-06 Philipp Klaus Krause <pkk AT spth.de>
* device/include/uchar.h,
src/SDCCval.h,
src/SDCCval.c,
src/SDCC.lex,
src/SDCCutil.c,
src/SDCCmain.c,
src/SDCCglobl.h,
src/SDCCerr.h,
src/SDCCerr.c,
support/regression/tests/charconst.c:
Wide character constants.
2015-10-05 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/malloc.c:
Improve comments on heap data structures.
2015-10-04 Philipp Klaus Krause <pkk AT spth.de>
* device/include/stdlib.h,
device/lib/aligned_alloc.c:
Implement aligned_alloc().
2015-10-02 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/realloc.c:
Fix a bug in realloc() freeing.
2015-10-02 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/free.c,
device/lib/realloc.c,
device/lib/malloc.c,
device/lib/realloc.c,
support/regression/tests/malloc.c:
Simplify memory management, document search of free list.
* support/regression/fwk/lib/testfwk.c:
Support printing unsigned in test logs
2015-10-02 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCval.c:
Loose the condition of warning 116.
2015-09-29 Ben Shi <powerstudio1st AT 163 DOT com>
* src/stm8/main.c:
Support "pragma codeseg" and "pragma constseg" in the stm8 port.
2015-09-28 Ben Shi <powerstudio1st AT 163 DOT com>
* src/stm8/main.c:
Support "--codeseg" and "--constseg" on the stm8 port.
2015-09-22 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_calloc.c,
* device/lib/_free.c,
* device/lib/_heap.c,
* device/lib/_malloc.c,
* device/lib/_realloc.c: renamed all _sdcc_* to __sdcc_*,
removed register keywords,
changed _sdcc_heap_size to __sdcc_last_memheader,
removed init_dynamic_memory() and other optimizations
* support/regression/tests/malloc.c: added test for size overflow
2015-09-21 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/gcc-torture-execute-pr28982a.c:
Enabled for the r2k and r3ka ports.
2015-09-20 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/calloc.c,
device/lib/malloc.c,
device/lib/realloc.c,
device/lib/free.c:
Use typedefs for memory block header type, use more pointers to __xdata.
* device/include/stdlib.h,
device/include/malloc.h:
Move memory management to stdlib.h, fix stdlib.h inclusion.
2015-09-20 Philipp Klaus Krause <pkk AT spth.de>
* device/include/asm/*/features.h,
device/include/malloc.h,
device/lib/calloc.c,
device/lib/malloc.c,
device/lib/realloc.c,
device/lib/free.c,
support/regression/tests/malloc.c:
First version of new, more efficient memory management.
2015-09-20 Ben Shi <powerstudio1st AT 163 DOT com>
* src/z80/gen.c:
Fix bugs in genOr() and genXor() while operands are longlong.
* support/regression/tests/longlong.c:
Enable more tests.
2015-09-16 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCC.y:
* src/SDCCast.c:
* src/SDCCerr.c:
* src/SDCCicode.c:
Disable nested critical block / function call, support return in inline
critical functions.
* support/regression/tests/critical.c:
Improve test case.
* support/regression/tests/malloc.c:
fix a small spot.
2015-09-15 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/malloc.c:
More testing of memory management.
2015-09-14 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/malloc.c:
More testing of memory management.
2015-09-13 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/pic16/*
Fix delarations to make pic16 lib compile again.
2015-09-12 Philipp Klaus Krause <pkk AT spth.de>
* src/pic14/genarith.c:
Fix bug #2417 by applying patch by Juho Salminen.
2015-09-10 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2385.c:
Regression test for bug #2385.
2015-09-10 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/critical.c:
Improve test case.
* src/SDCC.y:
Fix a bug: inline critical functions are inlined as non-critical.
2015-09-09 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/generic.c:
More testcases for _Generic.
* src/z80/gen.c,
support/regression/tests/critical.c:
Fix bug #2416.
2015-09-04 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peep.c:
Fix handling of bcpl in notUsed().
2015-09-03 Philipp Klaus Krause <pkk AT spth.de>
* src/pic14/peeph.def:
Fix bug #2415.
* src/stm8/peeph.def:
Implement some rules for bit complement.
* src/SDCCval.c,
support/regression/tests/generic.c:
Fix bug #2411.
* src/pic16/main.c:
Use zero-initializing crt0 by default.
2015-08-27 Ben Shi <powerstudio1st AT 163 DOT com>
* sim/ucsim/packages_in.mk:
Fix a bug: simulator sz80 is not built if only z80 port is enabled.
2015-08-22 Ben Shi <powerstudio1st AT 163 DOT com>
* src/stm8/peep.c:
Fix a bug in peephole rule condition notUsed().
2015-08-22 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/bug-2188.c:
* src/SDCCast.c:
Apply patch #248 by Pavel Pisa <pisa@cmp.felk.cvut.cz>.
2015-08-19 Ben Shi <powerstudio1st AT 163 DOT com>
* configure.ac:
* configure:
Correct build failure on sparc64-netbsd.
2015-08-19 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/condopptr.c:
Add more test.
* src/SDCC.y:
Improve conditional expression.
* configure.ac:
* configure:
Correct spots in previous commit.
2015-08-17 Ben Shi <powerstudio1st AT 163 DOT com>
* configure.ac:
* configure:
Extend stack size on cygwin64.
2015-08-15 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCast.c:
Fix a bug in storage class check.
* support/regression/tests/gcc-torture-execute-20020402-3.c:
Enable test case.
2015-08-15 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCast.c,
support/regression/tests/array.c:
Implement RFE #454 for index[array] access.
* src/SDCC.y,
src/SDCCerr.h,
src/SDCCerr.c:
Emit warning for non-standard label without statement.
* support/regression/tests/generic.c:
Disable test for host, since older host compilers are still in use.
2015-08-12 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.lex,
src/SDCC.y,
src/SDCCast.c,
src/SDCCerr.h,
src/SDCCerr.c,
support/regression/tests/generic.c,
doc/sdccman.lyx:
Implement C11 generic selections.
2015-08-11 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c,
src/SDCCerr.h,
src/SDCCerr.c,
support/regression/tests/gcc-torture-execute-920721-3.c,
support/regression/tests/gcc-torture-execute-pr34176.c,
support/regression/tests/implicit_int.c:
Diagnostic for implicit int.
2015-08-10 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Fix bug #2408.
* src/z80/peeph-r2k.def,
* src/z80/peeph-tlcs90.def:
Synced with z80 peepholes.
2015-08-09 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Fix bug #2407 using fix suggested by alvin.
2015-08-02 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Cheaper stm8 division workaround (RFE #449).
* doc/sdccman.lyx:
Update standard compliance documentation to reflect recently implemented
feature.
2015-08-01 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.h,
src/SDCCsymt.c,
src/SDCCralloc.hpp,
src/stm8/gen.c:
Static code analysis to omit stm8 division workaround when safe to do so
(RFE #448).
2015-07-31 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/gcc-torture-execute-stdarg-5.c:
Improve test case.
2015-07-26 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Workaround for for stm8 division hardware bug.
2015-07-13 Ben Shi <powerstudio1st AT 163 DOT com>
* support/cpp/configure.ac:
* support/cpp/configure:
* support/cpp/Makefile.in:
* Makefile.common.in:
Fix small spots.
2015-07-13 Ben Shi <powerstudio1st AT 163 DOT com>
* sdas/linksrc/lklex.c:
Support unicode character in sdld's command line.
* sdas/linksrc/lkbank.c:
Remove unsupported ".s28" and ".s37" file extensions.
2015-07-12 Ben Shi <powerstudio1st AT 163 DOT com>
* configure.in:
* debugger/mcs51/configure:
* debugger/mcs51/configure.in:
* device/lib/pic14/Makefile.in:
* device/lib/pic14/aclocal.m4:
* device/lib/pic14/config.h.in:
* device/lib/pic14/configure.in:
* device/lib/pic14/libm/Makefile.in:
* device/lib/pic14/libsdcc/enhanced/Makefile.in:
* device/lib/pic14/libsdcc/enhanced-no-xinst/Makefile.in:
* device/lib/pic14/libsdcc/regular/Makefile.in:
* device/non-free/lib/pic14/configure:
* device/non-free/lib/pic14/configure.in:
* sim/ucsim/configure.in:
* support/cpp/configure:
* support/cpp/configure.in:
* support/packihx/configure:
* support/packihx/configure.in:
Move all configure.in to configure.ac and update with autoconf 2.69.
2015-07-10 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Fix comments.
* device/lib/stm8/_mulint.s:
Faster, smaller integer multiplication.
2015-07-08 Ben Shi <powerstudio1st AT 163 DOT com>
* support/sdbinutils/bfd/asxxxx.c:
Fix a bug in check .rel format while there are comments.
2015-07-06 Ben Shi <powerstudio1st AT 163 DOT com>
* configure:
* configure.in:
* device/include/Makefile.in:
* support/sdbinutils/Makefile.in:
* support/sdbinutils/binutils/Makefile.in:
Make "make install" and "make uninstall" more clear.
2015-07-05 Philipp Klaus Krause <pkk AT spth.de>
* support/sdbinutils/binutils/*
Fix bug #2394 and do not ship files generated by yacc.
2015-07-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c:
Patch from z88dk to allow comments in between rule and condition.
2015-07-01 Philipp Klaus Krause <pkk AT spth.de>
* Merge upstream binutils 2.25 by merging binutils branch into trunk.
2015-07-01 Ben Shi <powerstudio1st AT 163 DOT com>
* src/mcs51/peep.c:
Add NULL pointer check.
2015-06-30 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmain.c:
Adjust buffer sizes RFE #441.
2015-06-29 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmain.c,
doc/sdccman.lyx,
support/regression/tests/version.c:
Implement patchlevel macro RFE #441.
2015-06-28 Philipp Klaus Krause <pkk AT spth.de>
* support/sdbinutils/*
Merge upstream binutils 2.25.
2015-06-28 Philipp Klaus Krause <pkk AT spth.de>
* support/sdbinutils/*
Import more parts of upstream binutils 2.23.2.
2015-06-27 Philipp Klaus Krause <pkk AT spth.de>
* support/sdbinutils/*
Import more parts of upstream binutils 2.23.2.
2015-06-26 Ben Shi <powerstudio1st AT 163 DOT com>
* device/include/float.h:
Hide sdcc library private macros.
* support/sdbinutils/include/objalloc.h:
* support/sdbinutils/libiberty/objalloc.c:
Apply patches from GNU.
2015-06-25 Ben Shi <powerstudio1st AT 163 DOT com>
* configure:
* configure.in:
* device/non-free/include/Makefile.in:
Fix the bug "make uninstall" left empty directory.
* src/SDCCBBlock.c:
Apply patch #158 to fix bug #1693.
* support/regression/tests/version.c:
Fix the failure in "make test-host".
2015-06-24 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmain.c,
doc/sdccman.lyx,
support/regression/tests/version.c:
Implement version macros RFE #441.
2015-06-24 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/collate-results.py:
Fix the bug that an abnormal stop in reg-rest can not be detected.
2015-06-24 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.c:
Fix bug #2389.
* src/SDCCglue.c,
src/SDCCmain.c,
src/SDCCutil.c,
src/SDCCutil.h:
Remove build date from version string to make reproducible builds easier.
2015-06-24 Maarten Brock <sourceforge.brock AT dse.nl>
* Small Device C Compiler 3.5.0 released
* .version, doc/sdccman.lyx: changed sdcc version to 3.5.1
2015-06-20 Maarten Brock <sourceforge.brock AT dse.nl>
* support/scripts/gen_known_bugs.pl: fixed by Raphael Neider for changed
SourceForge pages
2015-06-18 Maarten Brock <sourceforge.brock AT dse.nl>
* .version,
* doc/INSTALL.txt,
* doc/sdccman.lyx: version 3.5.0
2015-06-18 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCmain.c (preProcess): reverted removal of SDCC macro
* src/stm8/gen.c (genLeftShiftLiteral): hushed a compiler warning
* support/regression/tests/gcc-torture-execute-960218-1.c,
* support/regression/tests/gcc-torture-execute-20030913-1.c: renamed test()
to prevent double testing, renamed glob to prevent name conflict
* support/scripts/sdcc.nsi: removed dedication to Borut Razem
2015-06-09 Maarten Brock <sourceforge.brock AT dse.nl>
* support/scripts/repack_release.sh: changed mac osx snapshot source,
forced uploading to directories
2015-06-07 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Add section on the use of --allow-unsafe-reads on Z80-based systems.
2015-06-06 Maarten Brock <sourceforge.brock AT dse.nl>
* .version,
* doc/INSTALL.txt,
* doc/sdccman.lyx: version 3.5.0 rc1
* sdcc.spec: version 3.5.0
* device/lib/pic14/libsdcc/idata.c: cosmetics
* support/regression/tests/bug-2274.c: prevented double testing by rename
* support/regression/tests/gcc-torture-execute-stdarg-5.c: no ASSERT(0)
2015-06-05 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx,
src/SDCCglobl.h,
src/SDCClospre.cc,
src/SDCCmain.c:
Use more generic name for option for unsafe reads.
2015-05-23 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCast.c:
* src/SDCCglue.c:
Support initialization of char array in form 'char arr[] = {"abc"};'.
* support/regression/tests/bug-2059.c:
Add a new test case.
2015-05-21 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCsymt.c:
Remove useless code.
* support/regression/tests/bug-2384.c:
Add a new test case.
2015-05-19 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/bug-1918.c:
Add a new test case.
2015-05-17 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/clean.mk: remove *.eps
* doc/Makefile.in: use dvipdfm instead of pdflatex to enable svg graphics
* configure.in,
* configure: require latex and dvipdfm for building doc
2015-05-17 Ben Shi <powerstudio1st AT 163 DOT com>
* sdas/linksrc/lklex.c:
Check illegal object files.
2015-05-15 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCC.y:
Fix a potential bug in simplification of nested '*' and '&' in AST.
2015-05-14 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCC.y:
simplify nested '&' and '*' in AST.
* support/regression/tests/bug-2381.c:
Add a new test case.
2015-05-13 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCerr.c:
* src/SDCCerr.h:
* src/SDCCsymt.c:
* src/SDCCsymt.h:
Add a new warning for duplicate specifiler in c89.
2015-05-08 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCC.y: Turn off warning 219 for declaration (with extern) while keep
for definition (without extern).
* support/regression/tests/bug-2102.c:
Improve test case.
2015-05-06 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCC.y: Do not warn if a variable of a struct with a flexible array is
declared with extern.
* src/SDCCerr.c:
Change text message of warning 219.
* support/regression/tests/bug-2102.c:
Supress warning 219 and improve test case.
* support/regression/tests/bug-2274.c:
Supress warning 84.
2015-05-04 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/bug-2102.c:
Add a new test case.
* src/SDCCerr.c:
* src/SDCC.y:
Rise warning 219 for creating an instance of a struct with a flexible array.
* src/SDCCsymt.c:
Remove useless code.
2015-05-04 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCC.y:
Fix a bug in macro __func__ substitution.
2015-05-03 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_calloc.c: removed unused struct declarations
* device/lib/pic16/libc/stdio/vfprintf.c: fixed warnings
* src/SDCC.y: disabled W_ANONYMOUS_MEMBER
* src/SDCCsymt.c (compStructSize): disabled W_FLEXARRAY_INSTRUCT
* src/z80/main.c: fixed gbz80_port peephole pointers, and
* src/ds390/main.c,
* src/mcs51/main.c,
* src/stm8/main.c: added peephole null-pointers, unified layout
* src/stm8/ralloc.c (stm8_assignRegisters): fixed warning
* support/regression/tests/bug-2320.c: fixed warning
2015-05-01 Ben Shi <powerstudio1st AT 163 DOT com>
* sdas/linksrc/lkar.c:
* sdas/linksrc/lklib.c:
* sdas/linksrc/lksdcclib.c:
* src/SDCCmain.c:
Remove useless code for Cygwin.
* support/sdbinutils/bfd/config.bfd:
* sim/ucsim/cmd.src/cmdutil.cc:
Support Cygwin64.
2015-04-29 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/gcc-torture-execute-20001011-1.c:
Enabled.
* support/cpp/libcpp/macro.c:
* support/cpp/libcpp/include/cpplib.h:
* support/cpp/libcpp/init.c:
* src/SDCC.y:
Support macro __func__.
2015-04-22 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Better peephole interaction for early ret statements in functions.
2015-04-22 Ben Shi <powerstudio1st AT 163 DOT com>
* Makefile.common.in:
* configure:
* configure.in:
* support/regression/Makefile.in:
* support/regression/ports/ds390/spec.mk:
* support/regression/ports/hc08/spec.mk:
* support/regression/ports/mcs51-common/spec.mk:
* support/regression/ports/pic14/spec.mk:
* support/regression/ports/pic16/spec.mk:
* support/regression/ports/s08/spec.mk:
* support/regression/ports/stm8/spec.mk:
* support/regression/ports/ucgbz80/spec.mk:
* support/regression/ports/ucr2k/spec.mk:
* support/regression/ports/ucr3ka/spec.mk:
* support/regression/ports/ucz180/spec.mk:
* support/regression/ports/ucz80/spec.mk:
* support/valdiag/Makefile.in:
Auto detect python in $PATH.
* support/regression/tests/z88dk.c:
Fix build error in reversion #9218.
2015-04-22 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c,
support/regression/tests/bug-2376.c:
Fix peephole optimizer bug #2376.
2015-04-21 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c,
src/port.h,
src/z80/main.c,
src/z80/gen.c,
src/z80/peep.h,
src/z80/peep.c,
src/z80/peeph-z80.def:
Fix peephole optimizer bug #2374, more efficient calls to _Noreturn
functions.
2015-04-20 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peep.c,
support/regression/tests/z88dk.c:
Fix peephole optimizer bug #2371.
2015-04-19 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCglobl.h:
Silence warning.
* src/z80/gen.c,
device/lib/*/__sdcc_call_hl.s,
device/lib/*/__sdcc_call_iy.s,
src/SDCCsymt.c:
Better handling of calls through function pointers.
2015-04-18 Ben Shi <powerstudio1st AT 163 DOT com>
* sim/ucsim/configure.in:
* sim/ucsim/configure:
* sim/ucsim/packages_in.mk:
Do not build disabled ports.
2015-04-17 Ben Shi <powerstudio1st AT 163 DOT com>
* sdas/linksrc/Makefile.in:
Fix the issue that "make install" of sdld* failed on Windows.
2015-04-16 Ben Shi <powerstudio1st AT 163 DOT com>
* device/include/Makefile.in:
Fix the problem that the header files of ds400 are not installed.
* sdas/linksrc/Makefile.in:
Do not install unnecessary sdld* for disabled ports.
2015-04-15 Ben Shi <powerstudio1st AT 163 DOT com>
* Makefile.common.in:
* Makefile.in:
Partially fix bug #2369.
* configure:
* configure.in:
* device/lib/Makefile.in:
* src/ds400/Makefile.in:
* src/ds400/main.c:
* src/ds400/main.h:
Delete the empty stuff src/ds400/ .
* support/regression/tests/z88dk.c:
Fix compiling errors.
2015-04-14 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.lex,
src/SDCC.y,
src/SDCCsymt.h,
src/z80/main.c,
src/z80/gen.c,
support/regression/tests/z88dk.c:
Support for __z88dk_callee calling convention on the caller side.
2015-04-11 Ben Shi <powerstudio1st AT 163 DOT com>
* support/scripts/sdcc.nsi:
Remove savr which is disabled by default.
2015-04-10 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/z88dk.c:
Fix bug number in comment.
2015-04-10 Ben Shi <powerstudio1st AT 163 DOT com>
* debugger/mcs51/configure:
* debugger/mcs51/Makefile.in:
* debugger/mcs51/configure.in:
* sim/ucsim/st7.src/Makefile.in:
* sim/ucsim/z80.src/Makefile.in:
* sim/ucsim/stm8.src/Makefile.in:
* sim/ucsim/xa.src/Makefile.in:
* sim/ucsim/s51.src/Makefile.in:
* sim/ucsim/avr.src/Makefile.in:
* sim/ucsim/hc08.src/Makefile.in:
* sim/ucsim/configure:
* sim/ucsim/Makefile.in:
* sim/ucsim/configure.in:
Support --program-prefix and --program-suffix.
2015-04-09 Philipp Klaus Krause <pkk AT spth.de>
* device/include/ctype.h,
device/lib/isblank.c:
Faster isblank().
* device/include/stdlib.h,
device/lib/atoi.c,
device/lib/atol.c,
device/lib/atoll.c,
device/lib/incl.mk,
device/lib/make51lib.bat,
support/regression/tests/ato.c:
Faster and shorter atoi(), atol(), implemented atoll().
* src/SDCC.lex,
src/SDCC.y,
src/SDCCsymt.h,
src/port.h,
src/SDCCerr.h,
src/SDCCerr.c,
src/*/main.c,
src/z80/gen.c,
src/z80/ralloc2.cc,
support/regression/tests/z88dk.c:
Support for __z88dk_fastcall calling convention.
* src/stm8/peeph.def:
Use relative jump on false instruction for optimizing jumps over 1-byte
opcodes.
2015-04-06 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/bug-2368.c:
Try to fix the failure in "make test-host" on sparc64-solaris.
2015-04-03 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCerr.c:
* src/SDCCerr.h:
* src/SDCCast.c:
Add a warning for inline __naked functions.
2015-04-02 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCutils.h:
* src/SDCCutils.c:
* src/SDCCmain.c:
Support --program-prefix and --program-suffix while calling assembler and
linker.
* src/z80/gen.c:
* src/z80/mapping.i:
* src/SDCCasm.c:
Add new "globalfunctionlabel".
* sdas/linksrc/Makefile.in:
Fix a spot in 'make install'.
2015-04-01 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCnaddr.hpp,
src/SDCCnaddr.cc:
Dump tree decomposition used for address space switching on --dump-graphs.
2015-04-01 Ben Shi <powerstudio1st AT 163 DOT com>
* sdas/as6808/Makefile.in:
* sdas/as8051/Makefile.in:
* sdas/as8xcxxx/Makefile.in:
* sdas/asgb/Makefile.in:
* sdas/asrab/Makefile.in:
* sdas/asstm8/Makefile.in:
* sdas/astlcs90/Makefile.in:
* sdas/asz80/Makefile.in:
* sdas/linksrc/Makefile.in:
* src/Makefile.in:
* support/cpp/Makefile.in:
* support/librarian/Makefile.in:
* support/makebin/Makefile.in:
* support/packihx/Makefile.in:
Fix a bug of --program-suffix on Win32 / Win64.
2015-03-31 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
support/regression/tests/bug-2368.c:
Fixed bug #2368.
2015-03-27 Ben Shi <powerstudio1st AT 163 DOT com>
* sdas/as6808/Makefile.in:
* sdas/as8051/Makefile.in:
* sdas/as8xcxxx/Makefile.in:
* sdas/asgb/Makefile.in:
* sdas/asrab/Makefile.in:
* sdas/asstm8/Makefile.in:
* sdas/astlcs90/Makefile.in:
* sdas/asz80/Makefile.in:
* sdas/linksrc/Makefile.in:
* src/Makefile.in:
* support/cpp/Makefile.in:
* support/librarian/Makefile.in:
* support/makebin/Makefile.in:
* support/packihx/Makefile.in:
* support/scripts/Makefile.in:
Support --program-prefix and --program-suffix.
2015-03-26 Ben Shi <powerstudio1st AT 163 DOT com>
* support/sdbinutils/libiberty/Makefile.in:
Disable make install.
* support/sdbinutils/binutils/Makefile.in:
* support/sdbinutils/Makefile.in:
Support make uninstall.
* device/non-free/lib/Makefile.in:
Apply patch #245 by David Grayson.
2015-03-24 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Peepholes for optimizing jump on decrement.
2015-03-20 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCglue.c:
Improve error messages.
2015-03-19 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCglue.c:
Fix a bug in a global char array initialized by a string.
* src/SDCCast.c:
Fix a bug in a local static global array initialization.
* support/regression/tests/bug-1953.c:
Improve test case.
* doc/sdccman.lyx:
Suggest msys while build SDCC with VS2010.
2015-03-16 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix bug #2288.
2015-03-13 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/z80/crt0.s: cosmetics
* sdas/asstm8/sdasstm8.vcxproj,
* sdas/asstm8/sdasstm8.vcxproj.filters: new, added
* sdcc.sln: added sdasstm8
2015-03-12 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCerr.c:
* src/SDCCerr.h:
* src/SDCC.y:
Add a new warning: anonymous member in struct/union.
2015-03-11 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCval.c:
* src/SDCCglue.c:
Add a new special case in pointer initialization.
* support/regression/tests/gcc-torture-execute-const-addr-expr-1.c:
Enabled.
* support/regression/test-1898.c:
Add a new test case.
2015-03-06 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCsymt.c:
* src/SDCCerr.h:
* src/SDCCerr.c:
Add a warning for a flexible array in a struct.
2015-02-25 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Speed up stm8 port by skipping output early in dry runs and making some
aop tests more efficient,
fix code generation bug in shifts.
2015-02-25 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/bug-2031.c:
Add a new test case.
* src/SDCCglue.c:
* src/SDCCval.c:
* src/SDCCval.h:
* pic16/glue.c:
Enable a global char/int/long variable initialized by an address
(const pointer).
2015-02-24 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Fix bug in stm8 comparison code generation.
2015-02-23 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/bug-2357.c:
Improve this test case.
2015-02-22 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/main.c:
Improve z88dk compability (patch provided by z88dk).
2015-02-20 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/bug-2357.c:
A new test case.
* support/regression/tests/gcc-torture-execute-20000412-1.c:
Enabled.
* src/SDCCerr.c:
Change E_CODE_NO_INIT from an error to a warning.
* src/SDCCast.c:
Fix a bug in selecting type of an array index.
2015-02-17 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/bug-1953.c:
Disable failed tests.
2015-02-16 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCast.c:
Fix a bug in char array initialization with string.
* support/regression/tests/bug-1953.c:
Add a new test case.
* support/regression/tests/gcc-torture-execute-20000801-4.c:
Enabled.
2015-02-13 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCglue.c:
Make pointers (of a struct) initialization more generaic.
* support/regression/tests/bug-2123.c:
Add more tests.
2015-02-11 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCglue.c:
Improve pointer initialization.
* support/regression/tests/bug-2123.c:
Add a new test case for bug #2123.
2015-02-08 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCval.c:
Allow type cast in function pointer initialization.
* support/regression/tests/bug-2124.c:
Add a new test case for bug #2124.
2015-02-06 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCtree_dec.hpp:
Fix bug in weight calculation that affected tree-decompositions with
imbalanced nested branches.
* src/z80/peeph-gbz80.def:
Fix handling of (hl-), (hl+) in peepholes.
2015-02-05 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/mappings.i:
Fix gbz80 function entry helper.
* src/SDCCralloc.hpp:
Use weight mechanism for deciding which subtree to process first - should
reduce memory consumption and improve the heuristic in the register
allocator.
2015-02-05 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* doc/Makefile.in: copy *.svg graphic files when using VPATH too
2015-02-04 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* device/lib/*/crtcall.s,
device/lib/*/crtenters,
device/lib/*/Makefile.in,
src/z80/gen.c,
src/z80/mappings.i,
src/z80/peep.c:
Fix name of helper function for function pointers, introduce Alan Cox'
proposal for helper function for function header.
2015-02-02 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCast.c:
Add check for infinite recursive call of copyAst().
2015-01-30 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Fix references to obsolete keywords.
2015-01-29 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Reorganize documentation of language extensions, in particular named
address spaces, separate mcs51isms, remove references to obsolete keywords.
2015-01-28 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Update documentation on C dialect selection.
2015-01-27 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCsymt.c:
Fix bug #2349.
* support/regression/test/bug-2349.c:
Add a new test for bug #2349.
2015-01-27 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.lex,
src/SDCC.y,
src/SDCCmem.c,
src/SDCCsymt.h,
src/stm8/main.c:
Apply patch by Pascal for trap handlers.
2015-01-24 Ben Shi <powerstudio1st AT 163 DOT com>
* src/stm8/gen.c:
Fix a bug in genPointerGet(): negative offset is not handled correctly.
* support/regression/test/bug-2239.c:
More tests are added and enabled for stm8.
2015-01-24 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCast.c:
Fix bug #2239.
* support/regression/test/bug-2239.c:
Add a new test for bug #2239.
2015-01-20 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmain.c,
.version:
Make sdcc dialect of C99 the default.
2015-01-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc.c,
src/mcs51/ralloc.c:
Fix register packing inline asm interaction bugs #2346, #2268.
2015-01-09 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Classification macros are not required in freestanding implementations.
2015-01-08 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCC.y:
Fix a bug which might be a NULL pointer access.
* device/lib/time.c:
Eliminate a warning. (overflow in implicit constant conversion)
2015-01-06 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCast.c:
Fix bug #2167 & #1967. (auto struct variables initialization)
* support/regression/tests/gcc-torture-execute-960326-1.c:
Add more test cases.
* support/regression/tests/gcc-torture-execute-20050613-1.c:
* support/regression/tests/gcc-torture-execute-20030408-1.c:
Enable test.
2015-01-01 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCval.c:
Make SDCC_VERY_PEDANTIC default, if --less-pedantic is not specified.
2014-12-30 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/sdccman.lyx: fixed typo, webdoc #69, thanks Petr Petyovsky
* sdas/linksrc/aslink.h: added include "sdccconf.h" or "sdcc_vc.h"
* sdas/linksrc/lkar.c: removed include "sdccconf.h"
2014-12-29 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/pic16/limits.h,
* device/lib/_divsint.c,
* device/lib/_divslong.c,
* device/lib/_divuint.c,
* device/lib/_divulong.c,
* device/lib/_memset.c,
* device/lib/_modsint.c,
* device/lib/_modslong.c,
* device/lib/_moduint.c,
* device/lib/_modulong.c,
* device/lib/_mulint.c,
* device/lib/_mullong.c,
* device/lib/hc08/_divuint.c,
* device/lib/hc08/_divulong.c,
* device/lib/pic16/libm/asincosf.c,
* device/lib/pic16/libm/atanf.c,
* device/lib/pic16/libm/logf.c,
* device/lib/s08/_divuint.c,
* device/lib/s08/_divulong.c: replaced deprecated predefined macros
* device/lib/pic16/libio/i2c/i2copen.c: idem to fix bug 2336
* src/SDCCast.c (ast_print),
* src/SDCCicode.c (dbuf_printOperand): fixed warnings
* support/regression/tests/bug-2313.c: fixed warning
2014-12-29 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2320.c:
Fix test for host.
2014-12-28 Philipp Klaus Krause <pkk AT spth.de>
* device/include/stdio.h:
Fix bug #2338.
2014-12-27 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
support/regression/tests/bug-2320.c:
Fixed bug #2320.
2014-12-24 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/pic14/gen.c (aopOp): fix typo in previous commit
2014-12-23 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/stm8/gen.c (aopOp),
* src/z80/gen.c (aopOp),
* src/hc08/gen.c (aopOp),
* src/mcs51/gen.c (aopOp),
* src/ds390/gen.c (aopOp),
* src/pic16/gen.c (pic16_aopOp),
* src/pic14/gen.c (aopOp): only use spill location if isspilt set
2014-12-22 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Cleanup manual.
2014-12-22 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/longlong.c:
Modify test cases for large signed / unsigned long long.
2014-12-21 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmain.c,
src/pic14/main.c,
src/pic16/main.c,
doc/sdccman.lyx,
.version:
Remove obsolete feature macros.
2014-12-21 Ben Shi <powerstudio1st AT 163 DOT com>
* src/SDCCast.c:
Make AST dump more clear.
* src/SDCCval.c:
* src/SDCCval.h:
* src/SDCCicode.c:
* src/SDCCcse.c:
* src/SDCCast.c:
* src/SDCCglue.c:
* src/pic16/SDCCglue.c:
make valFromLiteral() more accurate by a new unsigned long long parameter.
* support/regression/tests/longlong.c:
Add new test cases for large unsigned long long.
2014-12-19 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/longlong.c:
Enable more test cases.
* src/SDCCast.c:
* src/SDCCicode.c:
Fix a bug: higher 4 bytes of a longlong literal are missing while dumping.
* src/SDCCval.c:
Fix a bug: higher 4 bytes of a longlong value are discarded while casting
from a double value.
2014-12-16 Philipp Klaus Krause <pkk AT spth.de>
* configure.in,
doc/Makefile.in:
Remove dependency on pdfopt.
* support/regression/tests/bug-2313.c:
Regression test for bug #2313.
2014-12-13 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/pic16/libc/string/strncpy.c,
support/regression/tests/bug-2231.c:
Fix strncpy() in pic16. Patch by Diego Herranz.
2014-12-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcse.c (ifxOptimize): fixed bugs #2313/2330
2014-12-04 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-20080529-1.c,
support/regression/tests/longlong.c:
Disable tests that fail due to broken gbz80 long long multiplication
(bug #2329).
* support/regression/tests/bug-2231.c,
support/regression/tests/float_single.c,
support/regression/tests/gcc-torture-execute-stdarg-4.c,
support/regression/tests/gcc-torture-execute-stdarg-5.c,
support/regression/tests/vaargs.c:
Disable failing tests for pic16.
2014-12-03 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/gcc-torture-execute-950511-1.c:
Disabled. Since it fails on FreeBSD.
2014-12-02 Ben Shi <powerstudio1st AT 163 DOT com>
* support/regression/tests/gcc-torture-execute-20050826-1.c:
* support/regression/tests/gcc-torture-execute-950511-1.c:
Enabled for stm8.
2014-12-02 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/_mullonglong.c,
support/regression/tests/longlong.c:
Make long long multiplication independent of endianness.
2014-12-02 Ben Shi <powerstudio1st AT 163 DOT com>
* sim/ucsim/stm8.src/stm8.cc:
Make stack larger, since some test cases cost large stack space.
2014-12-02 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc.c,
src/z80/ralloc.c:
Do not try to use spill locations that are not on the stack in ports that
can't handle it.
* support/regression/tests/longlong.c:
Enable some long long tests that pass for stm8 now.
2014-12-01 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c:
Initialize usl.spillLoc to help track down spill location issues.
* src/stm8/ralloc.c:
Minor cleanup.
2014-11-30 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* configure.in,
* configure,
* sdccconf_h.in,
* sdas/linksrc/lkar.c: Use configure to detect system strndup()
(alternate fix for bugs #2310 and #2303)
* sdas/linksrc/Makefile.in: Removed -std=c99; it caused problems with
mingw32 build
2014-11-29 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/ctype.h: compare as unsigned chars, added static asserts on
EOF
* device/lib/isdigit.c,
* device/lib/islower.c,
* device/lib/isupper.c: include stdio.h to enable the static assert in ctype.h
* support/regression/tests/gcc-torture-execute-20050613-1.c: split up ASSERTs
2014-11-23 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/include/pic14/pic14devices.txt:
Bugfix, thanks to Franz.
2014-11-23 Ben Shi <powerstudio1st AT 163.com>
* support/regression/tests/bug-2304.c:
Improve this test case.
* sdas/linksrc/lkmain.c:
Add bound check.
2014-11-22 Ben Shi <powerstudio1st AT 163.com>
* src/stm8/peep.c:
Fix potential bugs.
2014-11-22 Ben Shi <powerstudio1st AT 163.com>
* src/SDCCpeeph.c:
Add function notSimilar().
* src/stm8/peep.c:
Make notUsed() more aggressive.
* src/stm8/peeph.def:
Add more rules.
2014-11-21 Philipp Klaus Krause <philipp@informatik.uni-frankfurt.de>
* src/stm8/main.c:
Comment expaining why we can't use the byte at 0 in C.
2014-11-21 Ben Shi <powerstudio1st AT 163.com>
* device/lib/stm8/heap.s:
* device/lib/stm8/Makefile.in:
Add support for heap operation.
* support/regression/tests/gcc-torture-execute-920810-1.c:
* support/regression/tests/malloc:
enable test cases which use malloc().
2014-11-19 Ben Shi <powerstudio1st AT 163.com>
* sdas/linksrc/aslink.h:
Change PATH_MAX to a proper value on x86_64, for bug #2316.
2014-11-18 Philipp Klaus Krause <pkk AT spth.de>
* device/include/iso646.h,
support/regression/tests/iso646.c:
Fixed bug #2314.
2014-11-15 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-pr40057.c:
Disable test for host, since it fails on NetBSD.
2014-11-14 Philipp Klaus Krause <pkk AT spth.de>
* support/sdbinutils/bfd/configure,
support/sdbinutils/bfd/warning.m4,
support/sdbinutils/binutils/configure:
Fixed bug #2280 by disabling -Werror.
* sdas/linksrc/Makefile.in:
Fixed bugs #2310 and #2303.
* support/regression/tests/gcc-torture-execute-20031012-1.c:
Disable test that fails on MacOS.
2014-11-13 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/gcc-torture-execute-pr42544.c:
Disable test for host, since it fails on Solaris.
2014-11-11 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/longlong.c:
Disable test that fails on 32-bit hosts.
2014-11-10 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.c,
src/z80/gen.c,
src/stm8/ralloc.c,
src/stm8/gen.c,
support/regression/tests/longlong.c:
Implement unused long long return values.
2014-11-09 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc:
Fix a long long register allcoation issue.
* support/regression/tests/gcc-torture-execute-950511-1.c:
Disable test that fails on 32-bit hosts.
2014-11-08 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/longlong.c,
support/regression/tests/gcc-torture-execute-950512-1.c:
Disabled test, since it fails on 32-bit hosts.
2014-11-07 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/_modslonglong.c,
device/lib/_modulonglong.c,
device/lib/Makefile.in,
device/lib/*/Makefile.in,
doc/sdccman.lyx:
Implement % for long long and unsigned long long.
* doc/Makefile.in:
More sensible error behaviour when building documentation.
* src/SDCCval.c,
src/SDCCerr.c:
Only warn about long long constants for large values.
* device/lib/_mullonglong.c:
Fix long long multiplication.
* support/regression/tests/*.c:
Enable some long long regression test that pass now.
2014-11-06 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
More efficient assignment of literals to 16-bit globals and statics.
2014-11-06 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-2306.c:
Fixed bug #2306.
2014-11-06 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug-2304.c:
Fixed bug #2304.
* src/z80/ralloc.c,
support/regression/tests/bug-2305.c:
Fixed bug #2305.
2014-10-29 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2254.c:
Regression test for bug #2254.
2014-10-22 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Spelling fix inspired by Debian patch 02_fix_spelling.
2014-10-22 Ben Shi <powerstudio1st AT 163.com>
* device/lib/stm8/Makefile.in:
* device/stm8/_modslong.s:
* device/stm8/_divslong.s:
Optimized mod & div of signed long.
2014-10-17 Ben Shi <powerstudio1st AT 163.com>
* device/lib/stm8/Makefile.in:
* device/stm8/_modulong.s:
* device/stm8/_divulong.s:
Optimized according to their c origination.
2014-10-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve error messages for unimplemented unused return value.
2014-10-14 Ben Shi <powerstudio1st AT 163.com>
* device/stm8/_modsint.s:
* device/stm8/_mullong.s:
Optimized with more efficient instructions.
* device/stm8/_mulint.s:
Reformat to more readable.
2014-10-13 Philipp Klaus Krause <pkk AT spth.de>
* device/stm8/_divsint.s:
Optimized signed division.
2014-10-11 Ben Shi <powerstudio1st AT 163.com>
* src/stm8/gen.c:
Delete temporary code stm_sub_func().
* device/stm8/_modsint_stm8.s:
* device/stm8/_mulint_stm8.s:
* device/stm8/_divsint_stm8.s:
* device/stm8/_mullong_stm8.s:
Deleted.
* device/stm8/_modsint.s:
* device/stm8/_mulint.s:
* device/stm8/_divsint.s:
* device/stm8/_mullong.s:
Added.
* device/stm8/Makefile.in:
Use the above new added .s files.
2014-10-09 Ben Shi <powerstudio1st AT 163.com>
* src/stm8/gen.c:
Add stm_sub_func() for future more stm8 optimized functions.
* src/stm8/peeph.def:
Remove redundant rules.
2014-10-03 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/cinc2h.pl: Updated to the gputils-1.4.0 .
2014-09-29 Ben Shi <powerstudio1st AT 163.com>
* device/lib/stm8/_mullong_stm8.s:
* device/lib/stm8/Makefile.in:
stm8 optimized version of _mullong.
* src/stm8/peeph.def:
add new rules to utilize the above optimized functions.
2014-09-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-gbz80.def:
Removed or simplification peepholes.
2014-09-24 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c:
Remove negation by inverting jump condition.
* src/SDCCcse.c:
Remove cast at conditional jump.
* device/include/ctype.h:
Simplify classification functions.
2014-09-24 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCsymt.c (mergeSpec): added check for both static and extern
(checkFunction): merge static or extern and check
* device/include/ctype.h: replaced macros with direct inline versions
* device/lib/isdigit.c,
* device/lib/islower.c,
* device/lib/isupper.c: replaced definitions with extern declaration to give
inline versions external linkage
2014-09-22 Ben Shi <powerstudio1st AT 163.com>
* device/lib/stm8/_modsint_stm8.s:
* device/lib/stm8/Makefile.in:
stm8 optimized version of _modsint.
* src/stm8/peeph.def:
add new rules to utilize the above optimized functions.
2014-09-19 Ben Shi <powerstudio1st AT 163.com>
* device/lib/stm8/_divsint_stm8.s:
* device/lib/stm8/_mulint_stm8.s:
* device/lib/stm8/Makefile.in:
stm8 optimized version of div / mul.
* src/stm8/peeph.def:
add new rules to utilize the above optimized functions.
2014-09-19 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed double read from __sfr function parameter.
2014-09-17 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/pic14-header-parser.pl:
Creates two new groups: "regular", "enhanced"
* support/scripts/pic16fam-h-gen.pl:
Divides into more groups the 14-bit processors:
"adc", "ccp", "pwm", "i2c", "spi", "usart"
2014-09-17 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/pic14-header-parser.pl,
support/scripts/pic16-header-parser.pl:
updated
2014-09-15 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/non-free/include/pic14/*.inc,
device/non-free/lib/pic14/libdev/*.c:
updated
2014-09-13 Ben Shi <powerstudio1st AT 163.com>
* src/stm8/main.c:
Make libstm8.lib is implicitly linked rather than explicitly designated.
2014-09-04 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl,
support/scripts/optimize_pic16devices.pl:
Updated unto the Perl 5.16 version.
2014-09-04 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/cinc2h.pl:
Updated unto the Perl 5.16 version.
2014-09-03 Ben Shi <powerstudio1st AT 163.com>
* sdas/asstm8/stm8mch.c:
Fix the wrong code of the bit index in BTJF / BTJF.
2014-09-01 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/include/pic14/pic14devices.txt: Minor bugfix.
2014-08-30 Ben Shi <powerstudio1st AT 163.com>
* support/regression/tests/gcc-torture-execute-pr28982a.c:
* support/regression/tests/bug3475630.c:
Enabled on the stm8 port.
2014-08-29 Ben Shi <powerstudio1st AT 163.com>
* support/regression/tests/gcc-torture-execute-pr47337.c:
Enable this test case on the stm8 port.
2014-08-20 Ben Shi <powerstudio1st AT 163.com>
* device/lib/stm8/setjmp.s:
Substitute _CODE to CODE to conform with stm8's code generator.
* sdas/linksrc/lkmain.c:
Revert to reversion 9059.
2014-08-18 Ben Shi <powerstudio1st AT 163.com>
* support/regression/tests/setjmp.c:
Enabled for the stm8 port.
* sdas/linksrc/lkmain.c:
Avoid generating invalid instructions on MacOS.
2014-08-17 Ben Shi <powerstudio1st AT 163.com>
* support/regression/setjmp.c:
Disabled for the stm8 port.
2014-08-16 Ben Shi <powerstudio1st AT 163.com>
* all.vcxproj:
* support/scripts/sdcc.nsi:
Create a new sdldstm8 on Windows.
* sdas/linksrc/Makefile.in:
* Makefile.in:
Create a spereated sdldstm8 on Unix like.
* src/stm8/main.c:
* sdas/linksrc/sdld.c:
* sdas/linksrc/sdld.h:
Let the stm8 port use sdldstm8 instead of sdld.
2014-08-12 Ben Shi <powerstudio1st AT 163.com>
* sdcc/support/regression/tests/bug-2205.c:
* sdcc/support/regression/tests/bug-971834.c:
* sdcc/support/regression/tests/key.c:
Make Small changes to fit LLVM/CLANG for host test.
2014-08-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (pushSide, genPcall): fixed bug with pointer
function call overwriting register parameter with function
address. Optimized constant function pointer case.
2014-08-06 Ben Shi <powerstudio1st AT 163.com>
* sdas/linksrc/lkaomf51.c:
Add array bound check to avoid crash.
2014-07-30 Ben Shi <powerstudio1st AT 163.com>
* sim/ucsim/st7.src/inst.cc:
Eliminate warnings.
* support/regression/tests/gcc-torture-execute-930628-1.c:
Enable this case for the stm8 port.
2014-07-29 Ben Shi <powerstudio1st AT 163.com>
* support/regression/tests/gcc-torture-execute-20030714-1.c:
Enable this case for the stm8 port.
* src/stm8/gen.c:
Fix bug #2285: an error in genCast().
2014-07-22 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/optimize_pic16devices.pl,
device/include/pic16/pic16devices.txt:
Stronger optimization.
2014-07-21 Ben Shi <powerstudio1st AT 163.com>
* support/regression/tests/gcc-torture-execute-stdarg-4.c:
* support/regression/tests/gcc-torture-execute-stdarg-5.c:
Split the original gcc-torture-execute-stdarg-4.c to inline / non-inline.
2014-07-20 Ben Shi <powerstudio1st AT 163.com>
* support/regression/tests/gcc-torture-execute-stdarg-4.c:
* support/regression/tests/gcc-torture-execute-loop-2c.c:
* support/regression/tests/gcc-torture-execute-unroll-1.c:
Add "static" to fit the C99 standard.
2014-07-19 Ben Shi <powerstudio1st AT 163.com>
* support/regression/tests/gcc-torture-execute-20001121-1.c:
Add "static" to fit the C99 standard.
2014-07-15 Ben Shi <powerstudio1st AT 163.com>
* src/stm8/peep.c
Make calculation of instructions' length more accurate.
2014-07-14 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/non-free/include/pic14/pic16f1yyy.h:
Added the missing DEBUG config option to the enhanced midrange MCUs.
2014-07-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/bug2084206.c:
Enable test, since #2198 is fixed.
* support/regression/tests/gcc-torture-execute-20030714-1.c:
Reference bug #2285.
2014-07-12 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/cinc2h.pl: Bugfix and update.
* device/non-free/include/pic14/pic16c433.h: bugfix
2014-07-12 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/include/pic14/pic14devices.txt,
device/include/pic14/pic16regs.h,
device/non-free/include/pic14/pic12lf1554.h,
device/non-free/include/pic14/pic12lf1559.h,
device/non-free/lib/pic14/libdev/devices.txt,
device/non-free/lib/pic14/libdev/pic12lf1554.c,
device/non-free/lib/pic14/libdev/pic12lf1559.c,
doc/sdccman.lyx:
New devices.
2014-07-11 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/gen.c:
Remove workarounds for bug #2198.
2014-07-09 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sdas/linksrc/lkrloc3.c (adb_hi, adb_lo, relr3),
sdas/asxxsrc/asout.c (outrxb): back port some of ASxxxx 5.06 to
fix bug 2198
2014-07-08 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/non-free/include/pic14/pic1xxx.h,
device/non-free/lib/pic14/libdev/pic1xxx.c,
device/non-free/include/pic16/pic18fxxx.h,
device/non-free/lib/pic16/libdev/pic18fxxx.c:
updated
* device/non-free/include/pic14/pic12f1571.h,
device/non-free/include/pic14/pic12f1572.h,
device/non-free/include/pic14/pic12f1612.h:
Added the missing _DEBUG_ON and _DEBUG_OFF config options.
(These Microchip bugs in original mpasmx includes.)
2014-07-07 Ben Shi <powerstudio1st AT 163.com>
* sim/ucsim/stm8.src/inst.cc:
Unify all flag affection code to flag_cvh().
2014-07-06 Ben Shi <powerstudio1st AT 163.com>
* sim/ucsim/stm8.src/inst.cc:
Merge inst_sub() to inst_sbc().
2014-07-03 Ben Shi <powerstudio1st AT 163.com>
* sim/ucsim/stm8.src/inst.cc:
Fix potential bugs in inst_dec(), inst_inc() & inst_ldxy(): flags
affection.
Make inst_addw(), inst_clr() & inst_ldxydst() more understandable.
* sim/ucsim/stm8.src/stm8.cc:
Fix potential bugs in CALLR & CALLF: the stack saved PC value is not
accurate.
2014-06-30 Ben Shi <powerstudio1st AT 163.com>
* sim/ucsim/stm8.src/inst.cc:
Fix potential bugs in inst_adc() & inst_add() - flags affection.
Fix potential bugs in inst_sll() & inst_rlc() - reg.X & reg.Y might exceed
0xffff.
* sim/ucsim/stm8.src/stm8.cc:
Improve code quality.
2014-06-25 Ben Shi <powerstudio1st AT 163.com>
* sim/ucsim/stm8.src/inst.cc:
Fix potential bugs of flags affection in inst_sbc() and inst_cpw().
* sim/ucsim/stm8.src/stm8.cc:
Fix potential bugs of flags affection in RLWA, and improve code quality of
TRAP.
2014-06-21 Ben Shi <powerstudio1st AT 163.com>
* sim/ucsim/stm8.src/inst.cc:
Fix potential bugs of flags affection in inst_addw(), inst_sub() and
inst_cp().
* sim/ucsim/stm8.src/stm8.cc:
Fix potential bugs of flags affection in simulation of RRWA.
2014-06-20 Ben Shi <powerstudio1st AT 163.com>
* sim/ucsim/stm8.src/inst.cc:
Fix potential bugs of flags affection in inst_addw().
2014-06-17 Ben Shi <powerstudio1st AT 163.com>
* sim/ucsim/stm8.src/inst.cc:
Make the comment more understandable, fix potential bugs in inst_jr().
(JRSGT / JRSLE / JRSGE / JRSLT)
2014-06-10 Ben Shi <powerstudio1st AT 163.com>
* sim/ucsim/stm8.src/inst.cc:
Add indirect addressing handling in CLR, CPW & LD.
Fix potential bugs in get_dest().
2014-06-03 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/stm8.src/inst.cc,
support/regression/tests/gcc-torture-execute-20021120-1.c:
Fix bug #2180 by applying patch #244 by Ben Shi.
2014-06-02 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/Makefile.in:
Fix non-standard end-of-line matching (makes device libraries compile on
OpenBSD).
2014-05-28 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Fix a bug in code generation for right shift by applying patch #243 by Ben
Shi.
2014-05-25 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc2.cc:
Fix complement bug #2275.
2014-05-22 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* sim/ucsim/stm8.src/stm8.cc:
Fix flag handling, patch by Ben Shi.
* src/stm8/gen.c:
Enable some shift optimizations that need the flag handling fix.
2014-05-13 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/ralloc2.cc:
Fix detection of free regs for stm8.
* src/stm8/gen.c:
Enable optimizations for bitwise and.
2014-05-08 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCcse.c:
More aggressive optimization of casts to bool following logic operations.
2014-05-04 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (saveRegisters, unsaveRegisters): fixed bug 1928,
(genXpush): small optimization
* src/mcs51/peep.c (termScanAtFunc): fixed return value,
(scan4op: ret): fixed callee_saves
* src/stm8/gen.c: MSVC is not C99 compliant
* support/regression/tests/callee_saves.c: new, added
2014-04-30 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
More efficient float negation.
2014-04-30 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc2.cc,
src/stm8/gen.c:
More flexible register allocation of operands, fixed bug in intra-register
assignment.
2014-04-27 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve loading of literals to long globals.
2014-04-23 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/gen.c:
Fix overoptimistic stack coalescing estimate, clamp shifts.
2014-04-22 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/gen.c:
Improve arithmetic right shift.
2014-04-22 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/gen.c:
Various small fixes and improvements.
* src/stm8/ralloc.c
Prepare for register packing for assignment.
2014-04-21 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/z80-disasm.pl: Disassembler for the z80 family.
2014-04-21 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve left shift by literal, preparations for patch #234.
* device/lib/_mulint.c:
Speed up integer multiplication by using casts.
2014-04-21 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
More efficient clearing of high bytes of x and y, more efficient right
shift.
* src/SDCCpeeph.c:
Better immdInRange, patch by Ben Shi.
* src/stm8/peeph.def:
Peepholes to optimize stack adjustment.
2014-04-21 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/pic16fam-h-gen.pl: updated
2014-04-20 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
src/stm8/ralloc2.cc:
Improve bitwise and, improve choice of shift location.
2014-04-20 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/non-free/include/pic14/pic16fam.h:
Updated and moved here: device/include/pic14/pic16fam.h
2014-04-20 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c,
src/stm8/peeph.def:
Applied a variant of patch #237 by Ben Shi, implementing RFE #400.
* src/stm8/gen.c:
Use mov for POINTER_SET where it makes sense.
2014-04-16 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/cinc2h.pl,
support/scripts/mcs51-disasm.pl,
support/scripts/optimize_pic16devices.pl,
support/scripts/pic14-header-parser.pl,
support/scripts/pic16-header-parser.pl:
Updated the copyright date.
2014-04-16 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/include/pic14/pic14devices.txt,
device/include/pic14/pic16regs.h,
device/non-free/include/pic14/pic12f1571.h,
device/non-free/include/pic14/pic12f1572.h,
device/non-free/include/pic14/pic12f1612.h,
device/non-free/include/pic14/pic16f1613.h,
device/non-free/include/pic14/pic16f1703.h,
device/non-free/include/pic14/pic16f1705.h,
device/non-free/include/pic14/pic16f1707.h,
device/non-free/include/pic14/pic16f1709.h,
device/non-free/include/pic14/pic16f1713.h,
device/non-free/include/pic14/pic16f1716.h,
device/non-free/include/pic14/pic16f1717.h,
device/non-free/include/pic14/pic16f1718.h,
device/non-free/include/pic14/pic16f1719.h,
device/non-free/lib/pic14/libdev/devices.txt,
device/non-free/lib/pic14/libdev/pic12f1571.c,
device/non-free/lib/pic14/libdev/pic12f1572.c,
device/non-free/lib/pic14/libdev/pic12f1612.c,
device/non-free/lib/pic14/libdev/pic16f1613.c,
device/non-free/lib/pic14/libdev/pic16f1703.c,
device/non-free/lib/pic14/libdev/pic16f1705.c,
device/non-free/lib/pic14/libdev/pic16f1707.c,
device/non-free/lib/pic14/libdev/pic16f1709.c,
device/non-free/lib/pic14/libdev/pic16f1713.c,
device/non-free/lib/pic14/libdev/pic16f1716.c,
device/non-free/lib/pic14/libdev/pic16f1717.c,
device/non-free/lib/pic14/libdev/pic16f1718.c,
device/non-free/lib/pic14/libdev/pic16f1719.c,
doc/sdccman.lyx:
New devices.
2014-04-13 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Fix for 32-bit host systems (bug #2267).
2014-04-12 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/*/Makefile.in,
device/lib/*/*.s,
src/z80/main.c:
Do not mangle support function names. Implements RFE #405.
* src/stm8/gen.c:
More efficient comparisons, a modified version of patch #232 by Ben Shi.
* sdas/asstm8/stm8mch.c:
Fix bit handling instructions, patch #239 by Pascal S.
2014-04-11 Maarten Brock <sourceforge.brock AT dse.nl>
* Small Device C Compiler 3.4.0 released
* .version, doc/sdccman.lyx: changed sdcc version to 3.4.1
2014-04-02 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/pic16/debug/Makefile.in: regenerated
2014-04-02 Maarten Brock <sourceforge.brock AT dse.nl>
* Makefile.common.in,
* Makefile.in: manual edit
2014-04-02 Maarten Brock <sourceforge.brock AT dse.nl>
* configure
* debugger/mcs51/aclocal.m4
* debugger/mcs51/configure
* device/lib/pic14/aclocal.m4
* device/lib/pic14/configure
* device/lib/pic14/depcomp
* device/lib/pic14/libm/Makefile.in
* device/lib/pic14/libsdcc/enhanced-no-xinst/Makefile.in
* device/lib/pic14/libsdcc/enhanced/Makefile.in
* device/lib/pic14/libsdcc/regular/Makefile.in
* device/lib/pic14/Makefile.in
* device/lib/pic16/aclocal.m4
* device/lib/pic16/configure
* device/lib/pic16/depcomp
* device/lib/pic16/install-sh
* device/lib/pic16/libc/Makefile.in
* device/lib/pic16/libio/Makefile.in
* device/lib/pic16/libm/Makefile.in
* device/lib/pic16/libsdcc/Makefile.in
* device/lib/pic16/Makefile.in
* device/lib/pic16/missing
* device/lib/pic16/startup/Makefile.in
* device/non-free/lib/pic14/configure
* device/non-free/lib/pic16/aclocal.m4
* device/non-free/lib/pic16/configure
* device/non-free/lib/pic16/depcomp
* device/non-free/lib/pic16/install-sh
* device/non-free/lib/pic16/libdev/Makefile.in
* device/non-free/lib/pic16/Makefile.in
* device/non-free/lib/pic16/missing
* sdccconf_in.h
* sim/ucsim/aclocal.m4
* sim/ucsim/configure
* sim/ucsim/ltmain.sh
* support/cpp/configure
* support/packihx/configure: regenerated
2014-04-02 Maarten Brock <sourceforge.brock AT dse.nl>
* configure.in,
* Makefile.in: manual edit to support option --disable-non-free
2014-04-01 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/INSTALL.txt,
* support/scripts/sdcc.nsi: added dedication to Borut Razem
* doc/README.txt: added STM8 target support
2014-03-31 Philipp Klaus Krause <pkk AT spth.de>
* Merged sdcc-stm8 branch into trunk.
2014-03-29 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Patch #233 by Pascal S, and further peepholes for improving io access.
2014-03-29 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
support/regression/tests/patch-235.c:
Fix a bug in long and long long right shift on stm8.
2014-03-28 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Improve ifx code generation.
2014-03-28 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c: Comment for range error check in aopIsLitVal(),
improve range checks in snprintf() calls,
prepare for refactored version of patch #232.
2014-03-22 Maarten Brock <sourceforge.brock AT dse.nl>
* .version,
* doc/INSTALL.txt,
* doc/sdccman.lyx: version 3.4.0
2014-03-21 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c: Applied patch #227 by Ben Shi to fix jumping on float in y
and to speed up jumping on byte in yl.
* device/lib/z80/setjmp.s:
Slightly more efficient longjmp().
* device/lib/stm8/setjmp.s,
support/regression/tests/setjmp.c:
Implement setjmp() / longjmp() for stm8.
* src/z80/ralloc2.cc: Allow use of hl in 16-bit additions with global
variables as long as de or bc is free.
2014-03-18 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* doc/sdccman.lyx:
Fix example in documentation on named address spaces in ROM.
2014-03-09 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/non-free/include/pic14/pic*.h,
device/non-free/include/pic16/pic18f*.h,
device/non-free/lib/pic14/libdev/pic*.c,
device/non-free/lib/pic16/libdev/pic18f*.c:
Regenerate the DEVICE.[ch] files with the cinc2h.pl program.
2014-03-03 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCpeeph.c (notVolatileVariable): fixed strchr params
2014-03-01 Maarten Brock <sourceforge.brock AT dse.nl>
* src/stm8/gen.c: retry to revert previous two changes
2014-02-28 Maarten Brock <sourceforge.brock AT dse.nl>
* src/stm8/gen.c: reverted previous two changes (not committed)
* .version,
* doc/INSTALL.txt,
* doc/sdccman.lyx: version 3.4.0 rc1
* sdcc.spec: version 3.4.0
2014-02-27 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Simplify and improve ifx code generation.
2014-02-27 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c: Applied patch #227 by Ben Shi to fix jumping on float in y
and to speed up jumping on byte in yl.
2014-02-23 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c: Applied patch #223 by Ben Shi to improve code size for
signed bit-fields on stm8.
* src/stm8/main.c:
Applied patch #225 by Pascal S to enable naked functions for stm8.
2014-02-21 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/peeph.def: Applied patch #222 by Ben Shi (new peephole to make
shifts slightly more efficient).
* src/stm8/gen.c:
Applied patch #221 by Ben Shi (fix some bugs in shifts).
2014-02-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c (geniCodeDivision): Fixed bug 2254
2014-02-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/gen.c:
Fix condition for shifting stack operands in a.
2014-02-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/gen.c:
Handle signed and unsigned 8-bit operands the same in destructive ifx and.
2014-02-17 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/bug-2253.c: reduce array size for
ports that do not support large local variables
2014-02-13 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/gen.c,
support/regression/tests/bug-2253.c:
Fix and improve division and multiplication, includes fix for #2253.
2014-02-12 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/gen.c,
support/regression/tests/bug-2252.c:
Fix bug #2252.
* src/SDCCpeeph.c:
Fix notVolatile() for stm8.
* src/stm8/peeph.def:
Add some peephole rules to eliminate unnecessary loads.
2014-02-09 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c
Slightly more efficient complement.
2014-02-08 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c: Fix jump on condition that is stored in register y in
reverse order (bug #2251).
2014-02-02 Philipp Klaus Krause <pkk AT spth.de>
* sdas/asstm8/stm8mch.c,
src/stm8/gen.c:
Apply patch #215 by Ben Shi to fix bug #2227.
* src/port.h,
sdas/asxxsrc/asmain.c:
Fix >= comparisons.
2014-01-12 Philipp Klaus Krause <pkk AT spth.de>
* sdas/asstm8/stm8pst.c,
src/stm8/main.c:
Enable .optsdcc for stm8.
2014-01-03 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (ast_print): fixed GOTO, warn for undecorated
2014-01-03 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_gptrget.c,
* device/lib/_gptrput.c,
* src/ds390/main.c,
* src/ds390/gen.c: renamed _ap to acc1, fixed bug 1896
* support/regression/tests/gcc-torture-execute-loop-5.c: enabled for ds390
* sdas/asxxsrc/aslex.c (nxtline): fixed bug 2166 and 2206
* src/SDCClospre.hpp,
* src/SDCCralloc.hpp: fixed MSVC warnings
2014-01-02 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/sdccman.lyx: applied patch 62
* sdas/linksrc/lkarea.c (lnksect): fixed bug 1805
* sdas/linksrc/lkmain.c (Areas51): use only for mcs51
* src/hc08/main.c: mark XINIT as (CODE)
2013-12-30 Philipp Klaus Krause <pkk AT spth.de>
* src/hc08/ralloc2.cc,
src/stm8/gen.c,
src/stm8/ralloc2.cc:
Remove some GETHBIT leftovers.
2013-12-30 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genGetHbit): removed
* src/mcs51/main.c (hasExtBitOp): removed GETHBIT
* src/SDCCast.c (optimizeGetByte, optimizeGetWord): do not use GETYBTE or
GETWORD for byte or word sources
(createFunction): allow xstack==NULL
* src/SDCCmem.c (redoStackOffsets): allow xstack==NULL
* src/SDCCerr.c (W_CONST_TOO_LARGE): fixed format bug
* src/SDCCerr.h: cosmetics
* src/SDCCsymt.c (mergeSpec, checkSClass): fixed bug 2068, loss of register
storage class
2013-12-29 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/is*.c
Revert and redo commit #8912.
2013-12-27 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCglue.c (glue): added .optsdcc --all-callee-saves, fixed bug 2090
* src/SDCCmain.c (preProcess): added -D__SDCC_ALL_CALLEE_SAVES
* src/SDCCglobl.h: removed xa51 MODEL_PAGE0
* doc/sdccman.lyx: documented predefined macro
2013-12-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/scripts/sdcc.nsi: copy either sjlj or seh support dll
2013-12-25 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/abs.c, device/lib/acosf.c, device/lib/asincosf.c,
* device/lib/asinf.c, device/lib/atan2f.c, device/lib/atanf.c,
* device/lib/ceilf.c, device/lib/cosf.c, device/lib/coshf.c,
* device/lib/cotf.c, device/lib/expf.c, device/lib/fabsf.c,
* device/lib/floorf.c, device/lib/frexpf.c, device/lib/labs.c,
* device/lib/ldexpf.c, device/lib/log10f.c, device/lib/logf.c,
* device/lib/modff.c, device/lib/powf.c, device/lib/rand.c,
* device/lib/sincosf.c, device/lib/sincoshf.c, device/lib/sinf.c,
* device/lib/sinhf.c, device/lib/sqrtf.c, device/lib/tancotf.c,
* device/lib/tanf.c, device/lib/tanhf.c,
* device/include/math.h: removed const from arguments
* device/lib/pic14/libm/acosf.c, device/lib/pic14/libm/asincosf.c,
* device/lib/pic14/libm/asinf.c, device/lib/pic14/libm/atan2f.c,
* device/lib/pic14/libm/atanf.c, device/lib/pic14/libm/ceilf.c,
* device/lib/pic14/libm/cosf.c, device/lib/pic14/libm/coshf.c,
* device/lib/pic14/libm/cotf.c, device/lib/pic14/libm/errno.c,
* device/lib/pic14/libm/expf.c, device/lib/pic14/libm/fabsf.c,
* device/lib/pic14/libm/floorf.c, device/lib/pic14/libm/frexpf.c,
* device/lib/pic14/libm/ldexpf.c, device/lib/pic14/libm/log10f.c,
* device/lib/pic14/libm/logf.c, device/lib/pic14/libm/modff.c,
* device/lib/pic14/libm/powf.c, device/lib/pic14/libm/sincosf.c,
* device/lib/pic14/libm/sincoshf.c, device/lib/pic14/libm/sinf.c,
* device/lib/pic14/libm/sinhf.c, device/lib/pic14/libm/sqrtf.c,
* device/lib/pic14/libm/tancotf.c, device/lib/pic14/libm/tanf.c,
* device/lib/pic14/libm/tanhf.c,
* device/include/pic14/math.h: removed const from arguments
* device/lib/pic16/libm/acosf.c, device/lib/pic16/libm/asincosf.c,
* device/lib/pic16/libm/asinf.c, device/lib/pic16/libm/atan2f.c,
* device/lib/pic16/libm/atanf.c, device/lib/pic16/libm/ceilf.c,
* device/lib/pic16/libm/cosf.c, device/lib/pic16/libm/coshf.c,
* device/lib/pic16/libm/cotf.c, device/lib/pic16/libm/errno.c,
* device/lib/pic16/libm/expf.c, device/lib/pic16/libm/fabsf.c,
* device/lib/pic16/libm/floorf.c, device/lib/pic16/libm/frexpf.c,
* device/lib/pic16/libm/ldexpf.c, device/lib/pic16/libm/log10f.c,
* device/lib/pic16/libm/logf.c, device/lib/pic16/libm/modff.c,
* device/lib/pic16/libm/powf.c, device/lib/pic16/libm/sincosf.c,
* device/lib/pic16/libm/sincoshf.c, device/lib/pic16/libm/sinf.c,
* device/lib/pic16/libm/sinhf.c, device/lib/pic16/libm/sqrtf.c,
* device/lib/pic16/libm/tancotf.c, device/lib/pic16/libm/tanf.c,
* device/lib/pic16/libm/tanhf.c,
* device/include/pic16/math.h: removed const from arguments
* device/lib/_memchr.c, device/lib/_memcmp.c, device/lib/_memcpy.c,
* device/lib/_memmove.c, device/lib/_memset.c, device/lib/_strcat.c,
* device/lib/_strchr.c, device/lib/_strcmp.c, device/lib/_strcpy.c,
* device/lib/_strcspn.c, device/lib/_strlen.c, device/lib/_strncat.c,
* device/lib/_strncmp.c, device/lib/_strncpy.c, device/lib/_strpbrk.c,
* device/lib/_strrchr.c, device/lib/_strspn.c, device/lib/_strstr.c,
* device/lib/_strtok.c,
* device/include/string.h: added const for const pointer arguments
* device/lib/pic16/libc/string/memchr.c,
* device/lib/pic16/libc/string/memcmp.c,
* device/lib/pic16/libc/string/memcpy.c,
* device/lib/pic16/libc/string/memmove.c,
* device/include/pic16/string.h: added const for const pointer arguments
* device/lib/_setjmp.c: small optimization
* sdas/linksrc/lkarea.c (lnksect2): fixed s_XISEG calculation
* sdas/linksrc/lkmem.c: cosmetics
* src/SDCCmain.c: place xstack_loc at same address as xdata_loc by default
* src/SDCCsymt.c (printFromToType): print in one go for make -j output,
(compareFuncType): fixed bug 2134
* sdas/astlcs90/t90mch.c (machine, 16bit indirect op): fixed warning
* support/cpp/libiberty/md5.c: synced with support/sdbinutils/libiberty/md5.c
2013-12-25 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* device/lib/tlcs90/Makefile.in: fix assembler level .include
when not building within source tree
* sim/ucsim/utils.cc: properly enable vasprintf() declaration
2013-12-22 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCval.c (valForStructElem): fixed bug 2122
2013-12-22 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCmain.c (setDefaultOptions): start xdata at 1 by default, fixes bug
2173
* src/SDCCast.c (decorateType, RETURN): error on returning void expression
when not using sdcc extensions
* src/stm8/gen.c (genReturn): accept returning void, fixes bug 2158
* support/regression/tests/gcc-torture-execute-20000314-3.c: reintroduced
2013-12-22 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (aopGet): fixed for remat non-generic pointers,
(genPointerGet, genPointerSet): remat all cast remat pointers
* src/mcs51/ralloc.c (packRegisters): remat all cast of remat ptr
* src/SDCCast.c (decorateType, CAST): fix bug 2133, array==pointer
* src/SDCCmain.c: cosmetics
* src/SDCCsymt.h: reordered DECLARATOR_TYPE
* support/regression/tests/bug-2133.c: new, added
* support/regression/tests/gcc-torture-execute-20021010-2.c,
* support/regression/tests/gcc-torture-execute-20041112-1.c,
* support/regression/tests/gcc-torture-execute-960116-1.c,
* support/regression/tests/staticinit.c: fixed warnings
2013-12-20 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCerr.c,
* src/SDCCerr.h: added W_UNRECOGNIZED_ASM
* src/SDCCglobl.h,
* src/z80/gen.c: cosmetics
* src/SDCCpeeph.c (StrStr): added
(pcDistance): largest instruction on any target is 4 bytes?
* src/z80/peep.c (ISINST): use STRNCASECMP,
(argCont): use StrStr,
(z80instructionSize): use STRNCASECMP, W_UNRECOGNIZED_ASM,
fixed some bugs, return 999 when unrecognized
* support/regression/tests/bug-2222.c: removed memset and un
* support/regression/tests/gcc-torture-execute-20040313-1.c: enabled for all
targets with reduced footprint
2013-12-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/gen.c:
Document subw uses that can be enabled once bug #2227 is fixed.
* device/include/ctype.h:
Provide macros that use inline functions to improve efficiency of some
common functions.
2013-12-18 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
support/regression/tests/float_single.c:
Fix float comparison, bug #2170.
* support/regression/tests/gcc-torture-execute-20050826-1.c:
Use smaller array for stm8.
2013-12-18 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/gcc-torture-execute-20040313-1.c:
Enabled test.
2013-12-18 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* device/include/ctype.h,
device/include/stdio.h,
device/lib/incl.mk,
device/lib/_is*.c,
device/lib/is*.c,
device/lib/tolower.c,
device/lib/toupper.c,
support/regression/tests/ctype.c:
Fix ctype.h and anything in there.
2013-12-18 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* device/lib/z80/crt0.s,
device/lib/z180/crt0.s,
device/lib/r3ka/crt0.s,
device/lib/r2k/crt0.s,
device/lib/gbz80/crt0.s:
Fix bug #2153.
2013-12-18 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (stringToSymbol, createIf): fixed bug 2163
* support/regression/tests/gcc-torture-execute-string-opt-5.c: enabled for
mcs51 with smaller buffer
* support/regression/tests/bug-2163.c: new, added
2013-12-18 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* device/lib/tlcs90/t90regs.s,
device/lib/tlcs90/crt0.s:
crt0 for tlcs90.
2013-12-17 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/peep.c:
Fix bug #2182.
* src/SDCCralloc.hpp:
Enable warning for non-connected live ranges for hc08 and s08.
2013-12-16 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c: Fix cost for built-in strncpy().
2013-12-16 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCglue.c (glue): fixed bug 2212
* src/z80/gen.c (genBuiltInStrncpy): fixed bug 2231
* support/regression/tests/bug-2231.c: new, added
2013-12-15 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCicode.c (newiTempOperand): fixed bug 2235
* support/regression/tests/bug-2235.c: new, added
* src/SDCCptropt.c (ptrPseudoSymSafe): fixed bug 2216
* support/regression/tests/bug-2216.c: new, added
2013-12-07 Maarten Brock <sourceforge.brock AT dse.nl>
* .version, doc/sdccman.lyx: bumped version to 3.3.2
* src/SDCCast.c (decorateType, NOT): fixed bug 2232
* src/SDCCmain.c (printVersionInfo): mention GPL
* support/regression/tests/bool.c: fixed warning
2013-12-06 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (outBitC, genIfx): fixed both parts of bug 2233
* support/regression/tests/bool.c: added test
2013-12-02 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc:
Fix handling of IY during accesses to global variables.
2013-11-23 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.hpp:
Fix use flag initialization in lospre edge splitting.
* src/SDCCglue.c:
Add comment on bug #2089 that allocates strings twice.
2013-11-16 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_divulong.c: cosmetic, use y0
* device/lib/_fsadd.c: cosmetic
* device/lib/clean.mk: clean pic14 and tlcs90
* device/lib/ds390/tinibios.c (_sdcc_external_startup): do not change stack
* device/lib/Makefile.in: use TAB's
* device/non-free/lib/clean.mk: clean pic14
* device/non-free/lib/pic14/Makefile.in,
* sdas/as6808/clean.mk,
* sdas/as8051/clean.mk,
* sdas/as8xcxxx/clean.mk,
* sdas/asgb/clean.mk,
* sdas/asrab/clean.mk,
* sdas/asstm8/clean.mk,
* sdas/astlcs90/clean.mk,
* sdas/asz80/clean.mk,
* support/sdbinutils/Makefile.in: prevent warnings
* sim/ucsim/cmd.src/clean.mk: clean cmdpars.* & cmdlex.*
* src/clean.mk: clean pic14 and stm8
* src/common.h: cosmetic
* src/ds390/main.c (_ds390_genAssemblerPreamble): added dpl, dph, acon,
(_ds390_genIVT): change addressing mode and stack at __reset_vect,
(_ds390_genInitStartup): no need for 10bit stack init here
* src/port.h: added rtrackUpdate
* src/SDCCgen.c (emit_raw): try to track constant register contents
* src/ds390/main.c,
* src/hc08/main.c,
* src/pic14/main.c,
* src/pic16/main.c,
* src/stm8/main.c,
* src/z80/main.c (*_port): no register tracking
* src/mcs51/rtrack.h: renamed rtrackUpdate to _mcs51_rtrackUpdate
* src/mcs51/rtrack.c: enabled by default,
implemented suggested removals
* src/mcs51/main.c: use _mcs51_rtrackUpdate
* src/mcs51/gen.c (genSend, genPagedPointerGet): fixed bugs obscured by
peephole rules,
(genLeftShiftLiteral): disabled assert to fix bug 2224
* src/z80/z80.vcxproj,
* src/z80/z80.vcxproj.filters: added peeph-tlcs90.def
* support/regression/Makefile.in: clean host/spec.mk
* support/regression/tests/bug-2222.c: enabled test for mcs51
2013-11-15 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/bug-2222.c:
Do not try to execute code that dereferences 0 pointer.
2013-11-11 Raphael Neider <rneider AT web.de>
* src/pic14/main.c,
src/pic14/main.h,
src/pic16/device.h,
src/pic16/main.c:
add warning if --use-non-free is *not* given while compiling
for PIC14 or PIC16 devices; the warning can be disabled by
either passing --use-non-free (usually recommended) or
by passing --no-warn-non-free (usually not recommended)
* device/lib/pic14/Makefile.common,
device/lib/pic16/Makefile.common,
device/non-free/lib/pic14/Makefile.common.in,
device/non-free/lib/pic16/Makefile.common,
support/regression/ports/pic14/spec.mk,
support/regression/ports/pic16/spec.mk:
pass --no-warn-non-free to avoid new warnings
* device/lib/pic14/Makefile.in,
device/lib/pic14/aclocal.m4,
device/lib/pic14/configure,
device/lib/pic14/libm/Makefile.in,
device/lib/pic14/libsdcc/enhanced-no-xinst/Makefile.in,
device/lib/pic14/libsdcc/enhanced/Makefile.in,
device/lib/pic14/libsdcc/regular/Makefile.in,
device/lib/pic16/Makefile.in,
device/lib/pic16/aclocal.m4,
device/lib/pic16/configure,
device/lib/pic16/debug/Makefile.in,
device/lib/pic16/libc/Makefile.in,
device/lib/pic16/libio/Makefile.in,
device/lib/pic16/libm/Makefile.in,
device/lib/pic16/libsdcc/Makefile.in,
device/lib/pic16/startup/Makefile.in,
device/non-free/lib/pic16/Makefile.in,
device/non-free/lib/pic16/aclocal.m4,
device/non-free/lib/pic16/configure,
device/non-free/lib/pic16/libdev/Makefile.in:
regenerated
2013-09-30 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/tlcs90/stubs.s,
device/lib/tlcs90/Makefile.in:
TLCS-90 library.
2013-09-29 Philipp Klaus Krause <pkk AT spth.de>
* device/include/asm/tlcs90,
device/include/math.h,
device/include/sdcc-lib.h,
device/include/stdarg.h,
device/lib/tlcs90/Makefile.in,
device/lib/tlcs90/divmixed.s,
device/lib/tlcs90/modmixed.s,
src/z80/gen.c:
TLCS-90 library.
2013-09-28 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-gbz80.def:
Remove broken peephole rule.
2013-09-27 Philipp Klaus Krause <pkk AT spth.de>
* sdas/astlcs90/t90mch.c:
Fix handling of 8-bit immediates, patch by Rainer Keuchel.
* src/stm8/peeph.def:
More flexible unreachable jump elimination.
* configure.in,
device/lib/Makefile.in,
device/lib/tlcs90,
src/z80/main.c:
Library for TLCS-90.
* src/stm8/gen.c:
Fix comparisons with operand in y, fix offset in wide pointer read when
optimizing for code size, fix and improve stack adjustment.
* src/z80/peeph-tlcs90.def,
src/z80/main.c,
src/z80/peep.c:
Peephole optimization for TLCS-90.
2013-09-27 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c (operandFromSymbol): don't allocate register
equivalents for symbols that can't fit in HC08/S08 registers.
* src/SDCClrange.c (visit): remove TARGET_HC08_LIKE exception.
2013-09-26 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/main.c,
src/stm8/peep.c:
notUsedFrom() for stm8.
* src/z80/peeph-r2k.def,
src/z80/peeph-z80.def,
support/regression/tests/bug-2228.c:
Fix bug #2228.
* sim/ucsim/stm8.src/inst.cc:
Fix type name.
* support/regression/tests/bug-2222.c:
Fix use of uninitialized memory.
2013-09-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve handling of global variables in addition (and prepare for
subtraction).
* sim/ucsim/stm8.src/inst.cc:
Code cleanup.
2013-09-24 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/reg51.h: fall back to 8052.h
* doc/sdccman.lyx: pragma exclude bits
* src/mcs51/gen.c (genFunction, genEndFunction): applied patch 193 for
pragma exclude bits
* src/port.h: maxextalign warning fixed
* src/SDCCglobl.h: define true and false for MSVC
* src/stm8/gen.c (genCmp): fixed warning
* src/stm8/ralloc2.cc (Ainst_ok): fixed warning
2013-09-24 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp:
Enable warning for non-connected live-ranges.
2013-09-24 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/stm8/gen.c,
support/regression/tests/bug-2222.c:
Fix bugs #2222, 2223.
2013-09-24 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp,
src/SDCClrange.c:
Check more carefully for undead hiding among the living variables.
2013-09-23 Philipp Klaus Krause <pkk AT spth.de>
* sdas/astlcs90,
Makefile.common.in,
Makefile.in,
configure.in:
Integrate Rainer Keuchel's TLCS-90 assembler.
2013-09-23 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Remove redundant jumps.
2013-09-22 Borut Razem <borut.razem AT gmail.com>
* device/non-free/lib/pic14/configure.in,
device/non-free/lib/pic14/configure,
device/non-free/lib/pic16/supported-devices.ac,
device/non-free/lib/pic16/configure,
device/lib/pic16/configure: fixed bash dependencies
2013-09-21 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
More efficient stack adjustment when optimizing for code size.
2013-09-21 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genEndFunction): applied patch 207 to fix bug 2221,
Thanks Alex Burton!
* support/regression/tests/bug-2221.c: new, added
2013-09-20 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Refactor testing for literal bytes, more efficient cast from unsigned.
2013-09-20 Borut Razem <borut.razem AT gmail.com>
* device/non-free/lib/pic14/configure.in,
device/non-free/lib/pic14/configure,
device/non-free/lib/pic16/supported-devices.ac,
device/non-free/lib/pic16/configure,
device/lib/pic16/configure:
fixed bug #2220 Detection of 16 bit pic devices supported by gputils
is not working correctly on Cygwin environment
2013-09-19 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/include/pic14/pic14devices.txt,
device/include/pic14/pic16regs.h,
device/non-free/include/pic14/pic16f1704.h,
device/non-free/include/pic14/pic16f1708.h,
device/non-free/include/pic14/pic16lf1704.h,
device/non-free/include/pic14/pic16lf1708.h,
device/non-free/lib/pic14/libdev/devices.txt,
device/non-free/lib/pic14/libdev/pic16f1704.c,
device/non-free/lib/pic14/libdev/pic16f1708.c,
device/non-free/lib/pic14/libdev/pic16lf1704.c,
device/non-free/lib/pic14/libdev/pic16lf1708.c,
doc/sdccman.lyx:
New devices.
2013-09-19 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Enable some Rabbit optimizations for the TLCS-90.
* src/SDCCtree_dec.hpp,
src/SDCCralloc.hpp,
src/SDCCnaddr.hpp,
src/SDCClospre.hpp:
Reduce memory footprint in lospre and named address spaces, prepare for
reducing memory footprint in register allocation.
2013-09-17 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
More efficient zeroing of longs.
* src/z80/gen.c:
Remove C99 variable declaration.
2013-09-17 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc.c:
Do not allocate spill locations for optimized-out jump conditions.
2013-09-16 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
More efficient casts to long, fix handling of register deadness in shifts.
2013-09-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sim/ucsim/stm8.src/stm8.cc: fix simulation of LDW Y,(n,SP)
to properly update N & Z flag bits
2013-09-14 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
sim/ucsim/stm8.src/inst.cc:
More efficient conditional jumps.
2013-09-13 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Assume spilt variables are on non-extended stack during dry runs.
2013-09-12 Philipp Klaus Krause <pkk AT spth.de>
* Makefile.common.in,
configure.in,
src/z80/gen.c:
Preparations for TLCS-90 port.
* src/stm8/peeph.def:
Peepholes to work around lack of RFE #357.
2013-09-12 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Negative stack adjustment efficiency, restore stack pointer from frame pointer.
* src/stm8/peep.c:
Provide our own isblank()-substitute for compilers that lack C99 support.
2013-09-11 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/mappings.i,
src/z80/peep.c:
Stack adjustment code refactoring.
2013-09-11 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmain.c,
src/port.h,
src/z80/main.c,
src/z80/peep.c,
src/z80/z80.h,
src/z80/gen.c,
src/z80/peep.c:
Preparations for TLCS-90 port.
2013-09-09 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/addrspace.c:
Disable test for host regression tests.
* src/stm8/gen.c:
Make it compile on compilers that lack C99 support.
2013-09-08 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.y,
src/SDCCmem.c,
src/SDCCglue.c,
doc/sdccman.lyx,
support/regression/tests/addrspace.c:
Support for const named address spaces (for variables in ROM).
* src/z80/peeph-z80.def,
src/z80/peeph-r2k.def:
Check for volatile in peephole 1.
2013-09-05 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Fix bug #2211, fix name of codegen struct (_G vs. G).
2013-09-04 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bitvars.c,
support/regression/tests/bool.c,
support/regression/tests/bug1057979.c,
support/regression/tests/bug1738367.c,
support/regression/tests/bug2084206.c,
support/regression/tests/bug2935162.c,
support/regression/tests/bug3183823.c,
support/regression/tests/bug3290691.c,
support/regression/tests/bug3467508.c,
support/regression/tests/bug3537338.c,
support/regression/tests/float_single.c,
support/regression/tests/gcc-torture-execute-20000412-2.c,
support/regression/tests/gcc-torture-execute-20030714-1.c,
support/regression/tests/gcc-torture-execute-990524-1.c,
support/regression/tests/gcc-torture-execute-pr15296.c,
support/regression/tests/gcc-torture-execute-string-opt-5.c,
support/regression/tests/genptrs.c,
support/regression/tests/muldiv.c,
support/regression/tests/onebyte.c,
support/regression/tests/snprintf.c:
Disable tests for the least-broken one of the broken ports.
2013-09-04 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
support/regression/tests/gcc-torture-execute-20020219-1.c,
support/regression/tests/gcc-torture-execute-20050104-1.c,
support/regression/tests/gcc-torture-execute-920810-1.c,
support/regression/tests/gcc-torture-execute-950612-1.c,
support/regression/tests/gcc-torture-execute-pr42269-2.c,
support/regression/tests/gcc-torture-execute-950915-1.c,
support/regression/tests/gcc-torture-execute-20080529-1.c:
Fix returning of long long.
2013-09-04 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Partial workaround for linker bug #2198.
* support/regression/tests/bug-136564.c,
support/regression/tests/bug-927659.c,
support/regression/tests/bug1057979.c,
support/regression/tests/bug3521024.c,
support/regression/tests/funptrs.c,
support/regression/tests/gcc-torture-execute-20021120-3.c,
support/regression/tests/gcc-torture-execute-20030626-1.c,
support/regression/tests/gcc-torture-execute-20070201-1.c,
support/regression/tests/gcc-torture-execute-921208-1.c,
support/regression/tests/gcc-torture-execute-930513-1.c,
support/regression/tests/gcc-torture-execute-960327-1.c,
support/regression/tests/gcc-torture-execute-980707-1.c,
support/regression/tests/snprintf.c,
support/regression/tests/gcc-torture-execute-20021118-2.c,
support/regression/tests/gcc-torture-execute-20030626-2.c:
Enable tests that pass due to workaround for bug #2198.
* support/regression/tests/gcc-torture-execute-20030916-1.c:
Enable passing test.
2013-09-03 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Implement assertion for linker bug #2198 so it is no longer silent to the
user.
* support/regression/tests/gcc-torture-execute-20030714-1.c:
Disable failing test.
2013-09-02 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Pointer indirect long addressing mode.
2013-09-02 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc:
Tuned register allocation heuristic.
2013-09-01 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Fix loading of upper parts of large values through frame pointer, bug #2209.
2013-08-30 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Slightly more efficient addition and loading through frame pointer.
2013-08-30 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/bug-2205.c: new, added
* support/regression/tests/*: set svn properties eol and keywords
* device/lib/clean.mk: add stm8 port to cleaning
2013-08-30 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
support/regression/tests/bug-2208.c:
Fix bug #2208.
2013-08-29 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c,
src/ds390/peeph.def,
src/hc08/peeph.def,
src/mcs51/peeph.def,
src/stm8/peeph.def,
src/z80/peeph-gbz80.def,
src/z80/peeph-r2k.def,
src/z80/peeph-z80.def:
Simplified peephole rules.
2013-08-29 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Rules for bit setting.
* src/stm8/peep.c:
Implement more of register use check.
* src/stm8/gen.c:
Fix byte skipping in subtraction.
2013-08-28 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Fix generation of temporary labels in dry runs, more efficient shift by
literal, subtraction and addition, partially fix recognition of multibyte
on-stack operands.
* src/stm8/peeph.def:
Eliminate unreachable jumps (which can be generated by other rules).
* src/stm8/ralloc2.cc:
Tune register allocation heuristic.
2013-08-27 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Fix handling of A in float negation and equality comparison, more flexible
addition and subtraction.
* support/regression/tests/float_single.c:
Enable tests for asinf(), atanf(), cosf(), sinf(), sinhf().
2013-08-25 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic16devices.txt:
add flag indicating XINST availability per device
* src/pic16/device.c:
parse XINST flag in pic16devices.txt
* src/pic16/device.h:
add field to store XINST availability per device
* src/pic16/glue.c:
emit warning on code breakage when XINST is supported and not
explicitly disabled (#pragma config XINST=OFF).
* src/pic16/main.c:
detect and remember occurrence of #pragma config XINST=OFF
* support/scripts/optimize_pic16devices.pl:
support new XINST flag
* support/scripts/pic16_update_xinst.sh:
update XINST flags is pic16devices.txt from information extracted
out of gputils/libgputils/gpprocessor.c
2013-08-21 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Be a little bit more flexible about addition operands - necessary to make
Coremark compile.
2013-08-21 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peep.c,
src/stm8/peeph.def:
Eliminate dead popw / pushw pairs.
2013-08-20 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
More efficient left shift by literal.
2013-08-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (decorateType): fixed bug 2205 (return discarded if
missing expected operand)
2013-08-20 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
More efficient right shift by literal.
2013-08-08 Borut Razem <borut.razem AT gmail.com>
* doc/sdccman.lyx: added some STM8 tools info, various fixes
2013-08-07 Borut Razem <borut.razem AT gmail.com>
* doc/sdccman.lyx: updated Sourceforge URLs
2013-08-05 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (decorateType): fixed bug 2201 (spurious limited
range warning)
2013-08-04 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Peepholes for in-place operations.
* src/stm8/gen.c:
More efficient pointer write, fix handling of a in comparison for equality.
2013-08-03 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peep.c,
src/stm8/peeph.def:
Infrastructure for notUsed().
* src/stm8/gen.c:
More efficient stack-to-stack copy.
2013-08-02 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
More efficient pcall.
2013-08-02 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp,
src/SDCCopt.c:
Fix handling of isaddr flag in optimizations.
2013-08-02 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCopt.c,
src/SDCCicode.c,
src/stm8/gen.c,
src/z80/gen.c:
Fold offset into ADDRESS_OF, RFE #393.
2013-08-02 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/gen.c:
More efficient zeroing of bytes, more efficient addition of constants,
fix handling of a in pointer set.
* src/SDCCpeeph.c:
Fix handling of architectures that have absolute jump instructions of
different length.
* src/stm8/peeph.def:
More jump-to-jump optimizations.
2013-08-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/scripts/sdcc.nsi: install/uninstall stm8 related files
2013-08-01 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/gen.c:
Smaller code for GET_VALUE_AT_ADDRESS and signed casts.
2013-07-30 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
More efficient mixed-size addition of on-stack operands, and assignment
to parts of x and y.
* support/regression/tests/bug-136564.c,
support/regression/tests/bug3521024.c,
support/regression/tests/gcc-torture-execute-980707-1.c:
Disable tests affected by bug #2196, 2198.
* support/regression/tests/float_single.c:
Disable failing sinf, cosf tests.
* src/stm8/peeph.def:
Tail call optimization.
2013-07-30 Borut Razem <borut.razem AT gmail.com>
* support/sdbinutils/*: sync with binutils 2.23.2
2013-07-29 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def,
src/stm8/gen.c:
Enable peepholes for inverse jumps, and labels, fix label reference
counting bug #2183.
2013-07-29 Borut Razem <borut.razem AT gmail.com>
* support/cpp/sdcpp-diagnostic.c, upport/cpp/sdcpp-opts.c: fixed bug
#2194 Missing header file produces error, but still zero exit status
2013-07-27 Leland Morrison <enigmalee AT sourceforge.net>
* sdas/linksrc/lkrloc3.c:
prevent NULL ptr dereference when generating error message
(fixes bug #2076 core dump from sdldz80
if relative jump exceeds range)
2013-07-26 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peep.c,
src/stm8/peeph.def:
Enable peephole for jp to jra optimization.
2013-07-24 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/bug-927659.c,
support/regression/tests/bug1057979.c,
support/regression/tests/bug2084206.c,
support/regression/tests/funptrs.c,
support/regression/tests/gcc-torture-execute-20020219-1.c,
support/regression/tests/gcc-torture-execute-20021118-2.c,
support/regression/tests/gcc-torture-execute-20021120-3.c,
support/regression/tests/gcc-torture-execute-20030626-1.c,
support/regression/tests/gcc-torture-execute-20030626-2.c,
support/regression/tests/gcc-torture-execute-20050104-1.c,
support/regression/tests/gcc-torture-execute-20070201-1.c,
support/regression/tests/gcc-torture-execute-20080529-1.c,
support/regression/tests/gcc-torture-execute-921208-1.c,
support/regression/tests/gcc-torture-execute-930513-1.c,
support/regression/tests/gcc-torture-execute-950612-1.c,
support/regression/tests/gcc-torture-execute-950915-1.c,
support/regression/tests/gcc-torture-execute-960327-1.c,
support/regression/tests/gcc-torture-execute-pr42269-2.c,
support/regression/tests/snprintf.c:
Disabled tests that fail due to linker issue, bug #2196, 2198.
* support/regression/tests/gcc-torture-execute-20030916-1.c:
Disable failing test, bug #2200.
2013-07-24 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
src/stm8/ralloc2.cc,
src/stm8/main.c:
More efficient unsigned right shifts by more than 3 bits,
implement GETABIT, implement jump from and.
* src/hc08/gen.c,
src/hc08/main.c:
Remove support for GETHBIT.
2013-07-23 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
More efficient unsigned right shifts by more than 7 bits.
2013-07-23 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp,
src/hc08/ralloc2.cc,
src/stm8/ralloc2.cc
src/stm8/gen.h,
src/stm8/gen.c,
src/z80/ralloc2.cc:
Consider ifx optimization in register allocation.
* device/lib/_mullong.c:
Fix typo in comment.
2013-07-23 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (genLeftShift,genRightShift): fixed bug in shifting
when result and shift count partially overlapped registers
2013-07-22 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp,
src/stm8/gen.c,
src/stm8/ralloc2.cc:
Implement direct jump from comparison, eliminating temporary;
fix operand handling in multiplication.
2013-07-21 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCglobl.h,
src/SDCCmain.c,
src/*/ralloc.c,
src/SDCCopt.c,
src/SDCCast.c,
doc/sdccman.lyx:
Reorganize debug output dump options.
2013-07-20 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
More efficient zeroing and comparing.
2013-07-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/gen.c,
src/stm8/ralloc2.cc:
Efficient pushes.
2013-07-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/gen.c:
More efficient long and long long shifts by small contants.
2013-07-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/gen.c,
support/regression/tests/compare.c:
Fix handling of comparisons to immediates for stm8.
2013-07-18 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/_mullong.c:
Use 16x16 multiplication instead of 8x8 where faster; patch #133 by Marco
Bodrato.
2013-07-18 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClrange.c,
support/regression/tests/bug-2197.c:
Fix handling of pointer write in live-range splitting, fixing bug #2197.
2013-07-16 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.c,
src/z80/ralloc2.cc,
support/regression/tests/bug-2195.c,
src/hc08/ralloc.c,
src/hc08/ralloc2.cc:
Unify handling of register survival in old and new register allocator,
fixing bug #2195.
2013-07-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/compact-results.py,
* support/regression/collate-results.py: Also look for "unknown
instruction"
* sim/ucsim/st7.src/st7.cc,
* sim/ucsim/hc08.src/hc08.cc,
* sim/ucsim/hc08.src/inst.cc: Change result code for invalid and
incomplete instructions so regression tests scripts detect problem.
2013-07-14 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sim/ucsim/stm8.src/stm8.cc: Change result code for invalid and
incomplete instructions so regression tests scripts detect problem.
2013-07-13 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCerr.c:
Change message text for warning on variables being dead at their definitions.
2013-07-11 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp:
Fix lospre forwarding.
2013-07-11 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCBBlock.c,
src/SDCClrange.c,
src/SDCClrange.h,
src/SDCCopt.c,
src/SDCCralloc.hpp,
src/*/ralloc.c:
Split non-connected live-ranges.
2013-07-05 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCset.h,
src/SDCCset.c:
Improve const use in sets.
* src/SDCCglobl.h,
src/SDCCBBlock.c,
src/SDCCopt.c:
Allow debug iCode dump after lospre.
2013-07-04 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCbitv.h,
src/SDCCbitv.c:
Improve const use in bit vectors.
2013-07-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.hpp:
Fix invalidation in lospre forwarding.
2013-07-01 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.cc:
Mark receive opcodes as invalidating for losrpe.
2013-06-30 Philipp Klaus Krause <pkk AT spth.de>
* sdccconf_in.h:
Regenerated to make --disable-stm8-port work.
2013-06-27 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.cc:
Disable safety in division for stm8.
2013-06-27 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCnaddr.hpp:
Add comment to reference the paper on bank selection.
2013-06-16 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Reorganize rules, disable rules depending on notUsed() or unimplemented
ref count.
* src/stm8/peep.c,
src/SDCCpeeph.c:
Fix const, handling of relative jumps, read from uninitialized pointer.
2013-06-16 Valentin Dudouyt <valentin dudouyt AT gmail.com>
* src/stm8/main.c,
* src/stm8/peep.c: implemented stm8canAssign and stm8notUsed,
fixed handling of label entities in stm8instructionSize,
added internal buffer in nextToken.
* src/stm8/peeph.def: uncommented a few peephole rules.
2013-06-16 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_mullonglong.c,
* sdas/as8051/i51adr.c,
* sdas/linksrc/lkbank.c,
* sdas/linksrc/lklibr.c,
* sdas/linksrc/lkrloc.c,
* sdas/linksrc/aslink.h,
* src/mcs51/main.c: cosmetic changes
* sdas/asxxsrc/asmain.c (main): default to 16 bit address width
* sdas/as8051/i51mch.c (minit): set address width to 24 bit
* sdas/as8xcxxx/ds8mch.c (machine): validate address width
* sdas/asxxsrc/asdata.c,
* sdas/asxxsrc/asxxxx.h: added a_bytes, a_mask, s_mask, v_mask and outradix
* sdas/asxxsrc/asexpr.c (exprmasks): set a_bytes and masks
* sdas/asxxsrc/aslist.c: use a_bytes
* sdas/asxxsrc/asout.c: use a_bytes,
(outradix, outgsd): added to output address width
* sdas/linksrc/lkarea.c,
* sdas/linksrc/lklist.c: small optimizations
* sdas/linksrc/lkrloc3.c (relr3): use a_bytes
* support/sdbinutils/bfd/asxxxx.c (asxxxx_is_rel): fixed get_eol
2013-06-10 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/linksrc/lkaomf51.c (GetName, SaveLinkedFilePath): small optimization
(OutputAOEMF51, CollectInfoFromCDB, ReadHexFile): fixed bug 2184
* sdas/linksrc/lkmain.c: cosmetics
* sdas/linksrc/lkout.c (ixx, iflush): fixed bug 1986
* sdas/linksrc/lksym.c: comments
2013-06-09 Maarten Brock <sourceforge.brock AT dse.nl>
* src/sdcc.vcxproj: removed boost library path
* src/stm8/stm8.vcxproj,
* src/stm8/stm8.vcxproj.filters: added peep.[ch]
* src/z80/z80.vcxproj: fixed message typo
* src/stm8/peep.c: fixed errors for MSVC (C89 compatible only):
only declarations at start of block
* support/packihx/packihx.c: whitespace
2013-06-08 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/peeph.def:
Prepare for replacing absolute jumps by relative jumps and inverting jump
conditions.
* src/stm8/peep.c,
src/SDCCpeeph.c:
Fix buffer overflows, improve error detection.
2013-06-08 Valentin Dudouyt <valentin dudouyt AT gmail.com>
* src/stm8/main.c,
* src/stm8/peep.h,
* src/stm8/peep.c:
Implemented stm8instructionSize.
2013-06-07 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.hpp:
Cleanup debugging code in lospre.
2013-06-06 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
tests/bug-2181.c:
Fix bug #2181.
2013-06-03 Maarten Brock <sourceforge.brock AT dse.nl>
* sdcc.sln,
* src/stm8/stm8.vcxproj,
* src/stm8/stm8.vcxproj.filters: added stm8 project
* src/hc08/hc08.vcxproj,
* src/z80/z80.vcxproj,
* src/sdcc.vcxproj: use boost 1.50, the last working installer from boostpro
* debugger/mcs51/symtab.h,
* src/ds390/gen.c,
* src/hc08/gen.c,
* src/mcs51/gen.c,
* src/pic14/gen.c,
* src/pic16/gen.c,
* src/pic16/glue.c,
* src/SDCCast.c,
* src/SDCCdwarf2.c,
* src/SDCCglue.c,
* src/SDCCsymt.h,
* src/z80/gen.c: fixed signed/unsigned comparison warnings
* src/stm8/gen.c: fixed errors for MSVC (C89 compatible only):
don't use snprintf but only SNPRINT,
only declarations at start of block,
don't use true/false but only TRUE/FALSE
* src/stm8/main.c (stm8_defaultRules): fixed init error
* src/stm8/ralloc2.cc (instruction_cost): fixed warning
* src/SDCCglue.c (glue): removed target dependent code
* support/regression/fwk/include/testfwk.h: removed ASSERT_FAILED,
added ASSERTFALSE
* support/regression/tests/gcc-torture-execute-20050826-1.c: use ASSERFALSE,
enabled test for mcs51
* support/regression/tests/gcc-torture-execute-920810-1.c: use ASSERTFALSE
2013-06-03 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
More efficient register-to-register assignment using ldw.
2013-06-02 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/stm8.src/inst.cc:
Fix handling of N and Z flags in addw, subw.
* support/regression/tests/gcc-torture-execute-20021120-1.c:
Disable failing test for stm8 (bug #2180).
* src/stm8/gen.c:
More efficient subtraction.
* support/regression/tests/gcc-torture-execute-pr47337.c:
Disable this very colatile test for stm8 for now. See bug #2172 for the
longer justification.
2013-06-01 Valentin Dudouyt <valentin dudouyt AT gmail.com>
* sim/ucsim/stm8.src/inst.cc:
Fixed subw y.
2013-05-31 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCcse.c,
src/SDCClospre.cc:
Fix bug #2167.
* src/stm8/main.c,
src/stm8/gen.c:
Implement jump tables.
2013-05-30 Raphael Neider <rneider AT web.de>
* doc/sdccman.lyx: remove --enable-new-pics, add
--no-extended-instructions, adjust section on adding devices
2013-05-30 Raphael Neider <rneider AT web.de>
* device/lib/pic16/configure.ac,
* device/non-free/lib/pic16/configure.ac: remove obsolete option
--enable-new-pics, use common device support detection from
supported-devices.ac and the generated processors.ac
* device/non-free/lib/pic16/supported-devices.ac: fragment from
configure.ac performing detection of devices supported by gputils;
device detection also performs linking step for robustness
* device/lib/pic16/libio/adc.ignore,
* device/lib/pic16/libio/i2c.ignore,
* device/lib/pic16/libio/usart.ignore: use full device id (18fxxxx)
* device/lib/pic16/libio/mkmk.sh,
* device/non-free/lib/pic16/libdev/mkmk.sh,
* device/non-free/lib/pic16/libdev/testall.sh:
derive device list from files in non-free/lib/pic16/libdev rather
than the manually maintained pics.all, enclose each device in
ENABLE_<DEVICE> conditionals
* device/non-free/lib/pic16/update.sh: script to update the build
system to be run whenever the set of devices supported by sdcc
changed; generates processor.ac and reconfigures all PIC16 libs
* support/scripts/cinc2h.pl: update instructions regarding adding
support for new devices
* device/lib/pic16/libio/Makefile.am: regenerated from mkmk.sh
* device/non-free/lib/pic16/libdev/Makefile.am:
regenerated from mkmk.sh
* device/non-free/lib/pic16/pics.all: removed (no longer used)
* device/non-free/lib/pic16/processors.ac: added, list of automake
conditionals for automatic detection of devices supported by
gputils, generated from update.sh
* device/lib/pic16/Makefile.in,
* device/lib/pic16/aclocal.m4,
* device/lib/pic16/configure,
* device/lib/pic16/debug/Makefile.in,
* device/lib/pic16/libc/Makefile.in,
* device/lib/pic16/libio/Makefile.in,
* device/lib/pic16/libm/Makefile.in,
* device/lib/pic16/libsdcc/Makefile.in,
* device/lib/pic16/startup/Makefile.in,
* device/non-free/lib/pic16/Makefile.in,
* device/non-free/lib/pic16/aclocal.m4,
* device/non-free/lib/pic16/configure,
* device/non-free/lib/pic16/libdev/Makefile.in: regenerated
2013-05-30 Raphael Neider <rneider AT web.de>
* device/lib/pic14/configure.in: remove now obsolete --enable-new-pics,
check support for enhanced cores and extended instruction set,
* device/lib/pic14/Makefile.am: build libsdcce.a iff enhanced cores
are supported, use special version avoiding extended instructions
if those are not supported by gputils
* device/lib/pic14/libm/Makefile.am: build libme.a iff enhanced cores
are supported, avoid extended instructions if not supported by
gputils (0.13.5-6)
* device/lib/pic14/libsdcc/enhanced-no-xinst/Makefile.am,
* device/lib/pic14/libsdcc/enhanced-no-xinst/Makefile.in,
* device/lib/pic14/libsdcc/enhanced-no-xinst/_gptrget1.S,
* device/lib/pic14/libsdcc/enhanced-no-xinst/_gptrget2.S,
* device/lib/pic14/libsdcc/enhanced-no-xinst/_gptrget3.S,
* device/lib/pic14/libsdcc/enhanced-no-xinst/_gptrget4.S,
* device/lib/pic14/libsdcc/enhanced-no-xinst/_gptrput1.S,
* device/lib/pic14/libsdcc/enhanced-no-xinst/_gptrput2.S,
* device/lib/pic14/libsdcc/enhanced-no-xinst/_gptrput3.S,
* device/lib/pic14/libsdcc/enhanced-no-xinst/_gptrput4.S,
* device/lib/pic14/libsdcc/enhanced-no-xinst/macros.inc:
special version of gptr* for enhanced cores without using extended
instructions
* device/non-free/lib/pic14/configure.in: remove now obsolete option
--enable-new-pics, improve gputils device support detection support
by also performing linking, export list of supported devices to
libdev/Makefile.in
* device/non-free/lib/pic14/libdev/Makefile.in: accept list of devices
to build from configure
* device/lib/pic14/Makefile.in,
* device/lib/pic14/aclocal.m4,
* device/lib/pic14/configure,
* device/lib/pic14/libm/Makefile.in,
* device/lib/pic14/libsdcc/enhanced/Makefile.in,
* device/lib/pic14/libsdcc/regular/Makefile.in,
* device/non-free/lib/pic14/configure:
regenerated
2013-05-30 Raphael Neider <rneider AT web.de>
* src/pic14/main.c, src/pic14/main.h: add option to avoid generating
instructions from the extended instruction set in order to work
around issues with gputils-0.13.6
* src/pic14/gen.c (inc_fsr): avoid generating ADDFSR if
--no-extended-instructions is specified
2013-05-30 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
support/regression/tests/bug-2175.c:
Fix bug #2175.
2013-05-29 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Fix ADDRESS_OF with result in y for variables at sp + 2, more efficient
assignment to stack using ldw.
2013-05-29 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/_divsint.c,
device/lib/_divslong.c,
device/lib/_modsint.c,
device/lib/_modslong.c:
Remove dependencies of signed division support functions on unsigned
division support functions.
* src/stm8/gen.c,
src/stm8/main.c:
Fix partial saving of Y in division and multiplication, implement unsigned
int division.
2013-05-29 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
src/stm8/ralloc.c,
support/regression/tests/gcc-torture-execute-20010129-1.c,
support/regression/tests/gcc-torture-execute-pr28982a.c,
support/regression/tests/gcc-torture-execute-930614-2.c,
support/regression/tests/gcc-torture-execute-20021120-1.c:
Support for calls to functions returning long from functions that use
extended stack.
2013-05-28 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc2.cc,
src/stm8/ralloc.c,
src/stm8/gen.h,
src/stm8/gen.c,
support/regression/tests/bp.c,
support/regression/tests/gcc-torture-execute-20071030-1.c,
support/regression/tests/gcc-torture-execute-990513-1.c,
support/regression/tests/gcc-torture-execute-pr47538.c,
support/regression/tests/gcc-torture-execute-980707-1.c,
support/regression/tests/bug2094505.c,
support/regression/tests/gcc-torture-execute-20031012-1.c,
support/regression/tests/gcc-torture-execute-20030916-1.c:
Support for extended stack on stm8, more efficient ADDRESS_OF.
2013-05-27 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
More efficient pointer access, more efficient loading of constants to
stack, fix handling of shift count deadness.
* sim/ucsim/stm8.src/inst.cc:
Fix ldw pointer write (bug #2174).
* support/regression/tests/gcc-torture-execute-pr47538.c:
Disable volatile test affected by bug #2171.
* src/stm8/ralloc2.cc:
Implement heuristic bias for register assignment.
2013-05-26 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
More efficient zeroing by pointer, more efficient unsigned cast,
preparations for more efficient pointer access.
* src/SDCCopt.c:
Allow offset in pointer read.
* sim/ucsim/stm8.src/inst.cc:
Fix handling of N and Z flag in ldw.
* src/stm8/main.c:
More efficient initialization.
2013-05-25 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
More efficient addition.
2013-05-25 Borut Razem <borut.razem AT gmail.com>
* src/SDCCopt.c: fixed bug #2165 - "Broken comparison" by disabling
optimization of comparison unsigned with 2^n literal since it is broken
* support/regression/test/compare_2_n.m4: added test for bug #2165
2013-05-25 Philipp Klaus Krause <pkk AT spth.de>
* Merged stm8 branch.
2013-05-25 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/float_single.c,
support/regression/tests/gcc-torture-execute-20030714-1.c,
support/regression/tests/gcc-torture-execute-20050826-1.c:
STM8: Disable failing tests.
2013-05-25 Borut Razem <borut.razem AT gmail.com>
* Makefile.in: applied patch #211 - "sdbinutils is installed twice",
thanks to Tijl Coosemans
2013-05-24 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-20010224-1.c:
STM8: Disable test that fails due to known CSE bug #1968.
* support/regression/ports/stm8/spec.mk:
STM8: Remove definition for __reentrant.
* src/stm8/gen.c:
STM8: Fix handling of out-of-range offsets.
2013-05-23 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix float negation, fix large stack-to-stack copy under high
register pressure, fix handling of immediate operands.
* support/regression/tests/gcc-torture-execute-20030408-1.c:
STM8: Disable test for known front-end bug.
* sim/ucsim/stm8.src/inst.cc:
STM8: Fix handling of V and H flags in cpw.
* sim/ucsim/stm8.src/inst.cc:
STM8: Silence some warnings.
* src/stm8/ralloc.c:
STM8: Fix missing include.
* support/regression/tests/gcc-torture-execute-20050613-1.c:
STM8: Disable regression test that fails due to front-end bug.
2013-05-22 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: More efficient xor, or, and. Fix overwriting of shift count in
shifts, fix comparison with upper byte in a, fix long comparison stacked
offset, fix unsigned long / unsigned long long comparison.
2013-05-22 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c:
STM8: Disable broken optimization of comparisons into and.
* src/stm8/gen.c:
STM8: Slightly more efficient shifts, fix long ifx, fix use of word
rotation in copy, fix handling of a in signed cast.
2013-05-21 Valentin Dudouyt <valentin dudouyt AT gmail.com>
* src/stm8/main.c,
* src/SDCCglue.c:
STM8: Fixed init code: some of GSINIT parts aren't executed under certain
linking conditions.
2013-05-20 Maarten Brock <sourceforge.brock AT dse.nl>
* support/scripts/sdcc.nsi: added RequestExecutionLevel admin
2013-05-20 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
More efficient cast from _Bool,
* src/z80/peep.c:
Fix recognition of xor as writing a in peepholes.
2013-05-20 Maarten Brock <sourceforge.brock AT dse.nl>
* Small Device C Compiler 3.3.0 released
* .version, doc/sdccman.lyx: changed sdcc version to 3.3.1
2013-05-19 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix long and long long comparison.
2013-05-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/gen.c:
STM8: Give up trying to fix big-endian bit-fields. Make bit-fields
little-endian.
2013-05-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* sim/ucsim/stm8.src/instcl.h,
sim/ucsim/stm8.src/inst.cc,
sim/ucsim/stm8.src/stm8mac.h,
sim/ucsim/stm8.src/glob.cc,
sim/ucsim/stm8.src/stm8.cc,
sdas/asstm8/stm8mch.c:
STM8: Patches by Valentin Dudouyt to fix simulator.
* src/stm8/gen.c:
STM8: Fix conditional jump, address generation for on-stack variables.
* device/lib/_mullong.c,
device/lib/_mulint.c,
device/lib/stm8/Makefile.in,
device/lib/_mulschar.c,
device/lib/_modschar.c,
device/lib/_divschar.c,
src/SDCCsymt.c,
src/stm8/main.c:
STM8: Multiplication and division fixes.
2013-05-18 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix offset in wide addition, fix handling of a in copy from
registers to global, fix stack adjustment for large variables, fix large
arithmetic signed right shift.
2013-05-18 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/INSTALL.txt: small update
* support/scripts/repack_release.sh: added windows x64 setup
2013-05-17 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix bit-field access.
* sim/ucsim/stm8.src/inst.cc:
STM8: Fix handling of carry bit in negation in simulator.
2013-05-16 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/main.c:
STM8: Fix endianness for initializers.
2013-05-15 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/ports/stm8/support.c:
STM8: Remove unneeded global variable that clashes with identifiers in
regression tests.
* support/regression/tests/malloc.c,
support/regression/tests/gcc-torture-execute-920810-1.c:
STM8: Disable regression tests for unimplemented malloc().
* src/stm8/gen.c:
STM8: Fix saving of a in early stack-to-stack copy, fix offset in stacked
register operand, fix handling of operand in wide register in pointer set,
fix endless loop in shifts.
2013-05-12 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/stm8.src/inst.cc:
STM8: Fix clr, partially by patch by Valentin Dudouyt.
* src/stm8/main.c:
STM8: Patch by Valentin Dudouyt to initialize global and static
variables to zero.
2013-05-12 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/stm8.src/inst.cc:
STM8: Patch by Valentin Dudouyt to fix ldw.
* src/stm8/main.c:
STM8: Patches by Valentin Dudouyt to fix handling of global variables and
startup.
2013-05-11 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/stm8.src/inst.cc,
sim/ucsim/stm8.src/instcl.h,
sim/ucsim/stm8.src/stm8.cc,
sim/ucsim/stm8.src/stm8mac.h,
support/regression/ports/stm8/support.c:
STM8: Patches by Valentin Dudouyt: The last bits to enable regression
testing, fix bug in wide addition.
* support/regression/tests/0fail.c,
support/regression/tests/0pass.c:
Removed dummy tests.
* src/stm8/gen.c:
STM8: Fix handling of large operands partially in x in comparison for
equality, be more careful in partial move for cast, fix signed cast.
* src/hc08/gen.c,
src/z80/gen.c:
More efficient cast from _Bool.
2013-05-11 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/include/pic14/pic14devices.txt,
device/include/pic14/pic16regs.h,
device/non-free/include/pic14/pic16f753.h,
device/non-free/include/pic14/pic16hv753.h,
device/non-free/lib/pic14/libdev/devices.txt,
device/non-free/lib/pic14/libdev/pic16f753.c,
device/non-free/lib/pic14/libdev/pic16hv753.c,
doc/sdccman.lyx:
New devices.
2013-05-10 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/doc/asmlnk.txt: updated for all steps towards ASxxxx v5
* sdas/doc/asxhtm.html: removed
* .version,
* doc/INSTALL.txt,
* doc/sdccman.lyx: version 3.3.0
2013-05-10 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix endianness in stack / stack copy.
2013-05-09 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix multibyte false Ifx.
2013-05-07 Borut Razem <borut.razem AT gmail.com>
* support/scripts/sdcc.nsi: removed dedication to Dennis M. Ritchie,
corrected ChangeLog path
2013-05-05 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix endianness in register / stack copy.
2013-05-04 Maarten Brock <sourceforge.brock AT dse.nl>
* .version,
* doc/INSTALL.txt,
* doc/sdccman.lyx: version 3.3.0 rc1
* sdcc.spec: version 3.3.0
* sdas/asxxsrc/asout.c: suppress warning
2013-05-04 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix stack variable offset.
2013-05-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c:
More accurately model behaviour of xor for peepholes.
* sdas/asstm8/stm8mch.c,
sdas/asxxsrc/asout.c:
Applied patch from Valentin Dudouyt to make range check stm8-specific.
2013-05-01 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def,
src/z80/peeph-r2k.def:
Fix generation of extra # in peephole.
2013-04-30 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix memory leak in conditional jump.
2013-04-30 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-20000314-3.c:
STM8: Removed regression test, since it tests for non-standard gcc behaviour.
* src/stm8/gen.c:
STM8: Fix saving of a on stack in binary complement.
2013-04-30 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
src/stm8/main.c,
src/stm8/ralloc2.cc:
STM8: Implement unsigned division.
2013-04-30 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bp.c,
support/regression/tests/bug2094505.c,
support/regression/tests/bug3475630.c,
support/regression/tests/gcc-torture-execute-20010129-1.c,
support/regression/tests/gcc-torture-execute-20021120-1.c,
support/regression/tests/gcc-torture-execute-20030916-1.c,
support/regression/tests/gcc-torture-execute-pr28982a.c,
support/regression/tests/gcc-torture-execute-20031012-1.c,
support/regression/tests/gcc-torture-execute-20071030-1.c,
support/regression/tests/gcc-torture-execute-930614-2.c,
support/regression/tests/gcc-torture-execute-930628-1.c,
support/regression/tests/gcc-torture-execute-980707-1.c,
support/regression/tests/gcc-torture-execute-990513-1.c:
STM8: Disable some regression tests that need support for extended stack
operands.
* src/stm8/gen.c:
STM8: Improve error reporting for unimplemented extended stack operands,
fix pointer write.
* device/lib/_divschar.c,
device/lib/_modschar.c,
device/lib/stm8/Makefile.in:
STM8: Support routines for signed char divide and modulo.
2013-04-29 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix stack handling in equality comparison, handle dead code, fix
shift to zero.
2013-04-29 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Implement DUMMY_READ_VOLATILE.
2013-04-29 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Implement read from signed bit-field.
2013-04-28 Philipp Klaus Krause <pkk AT spth.de>
* sdas/asxxsrc/asout.c,
src/stm8/main.c:
STM8: Applied patched from Valentin Dudouyt to improve error checking in
assembler, implement initialization of globals, __interrupt.
2013-04-28 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/main.c,
src/stm8/gen.c:
STM8: Implement multiplication.
2013-04-28 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix asmop freeing for GET_VALUE_AT_ADDRESS, do not share symbol
aops to fix double free, fix large comparison, implement bit-field writes.
2013-04-28 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix unsigned cast, implement read from unsigned bit-field.
* support/regression/tests/0fail.c,
support/regression/tests/0pass.c:
Dummy tests for debugging regression testing.
2013-04-26 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix in handling of result in a in addition, minor improvements.
2013-04-26 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix stack handling in signed cast, fix wide right shift, minor
refactoring.
2013-04-26 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix handling of a in addition, subtraction and negation, more
flexible copy, fix comparison.
2013-04-25 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Update TODO/todo comments to reflect known bug vs optimization
potential.
2013-04-24 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Various fixes.
2013-04-23 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Make lack of support for bit-fields explicit, implement binary
complement, minor improvements.
2013-04-23 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix large operands in equality comparison of register with literal
or stack op.
* src/stm8/ralloc2.cc:
STM8: Fix liveness of registers at parameter pushes.
2013-04-23 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix parameter stack offset, fix handling of a in GET_VALUE_AT_ADDRESS.
2013-04-22 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix returning 4-byte values, fix saving of x, y over call, fix
handling of registers in stack-to-stack copy.
2013-04-21 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/include/pic14/pic16regs.h:
New common header for the pic14 family.
2013-04-21 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/stm8/Makefile.in:
STM8: Add missing integer support functions.
* src/stm8/gen.c:
STM8: Enable inline asm.
2013-04-21 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/Makefile.in,
support/regression/ports/stm8/spec.mk,
support/regression/ports/stm8/support.c,
support/regression/ports/stm8/uCsim.cmd:
STM8: Basic infrastructure for regression tests, partially from a patch
by Valentin Dudouyt.
* src/stm8/gen.c:
STM8: Name mangling for address generation.
2013-04-21 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/Makefile.in:
STM8: Enable building standard library.
2013-04-21 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
src/stm8/main.c:
STM8: Applied patch from Valentin Dudouyt to implement __critical.
2013-04-19 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/stm8/Makefile.in:
STM8: Disable building some library files.
* src/stm8/gen.c:
STM8: Fix comparison.
* src/stm8/main.c:
STM8: Disable some annoying debug output.
2013-04-19 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/main.c,
sdas/asstm8/stm8mch.c:
STM8: Applied patch from Valentin Dudouyt to support addw sp, #byte.
* src/stm8/ralloc2.cc:
STM8: Enabled cost function for more iCodes.
* src/stm8/gen.c:
STM8: Fixes for logic ops, RETURN, '-', stack-to-stack copy, implement
more operands for comparison.
2013-04-18 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/main.c:
STM8: Disable generation of jump tables.
* src/stm8/gen.c:
STM8: Implement more comparison operands, fix for stack-to-stack
temporary assignment.
2013-04-18 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Endianness fixes, implement dummy pointer reads, implement '!',
implement more operands in logic ops, implement more return operands,
implement more operands for cast to _Bool, implement more operands for
subtraction.
2013-04-18 Borut Razem <borut.razem AT gmail.com>
* device/non-free/lib/pic14/libdev/mkall.sh,
device/examples/mcs51/simple/test,
device/examples/mcs51/simple/go,
device/examples/mcs51/simple2/go,
device/examples/mcs51/simple2/test,
sim/ucsim/conf:
use /bin/sh instead of /bin/bash to enable compilation on OpenBSD
2013-04-17 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix for cast to bool.
2013-04-17 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Implement more shifts, unary minus for float, implement large
return values, save regs over calls, coalescing.
2013-04-16 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix emission of rlwa, fix 16-bit increment with result in x,
operand not in x.
2013-04-15 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fixes for reading / writing through pointer, implement more IFX,
fix wide subtraction and compariosn.
2013-04-15 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Now that we know more about sp-manipulation, we can do it smarter.
2013-04-14 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl:
The overlapped block and instruction it is no longer a fatal error.
2013-04-14 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/main.c:
STM8: Applied patch from Valentin Dudouyt to set default code loc.
* src/stm8/gen.c:
STM8: Be more cautious about arithmetic on stack pointer.
2013-04-13 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCglobl.h,
src/SDCCglue.c,
src/SDCCmain.c,
src/pic16/glue.c,
src/z80/main.c,
doc/sdccman.lyx,
src/stm8/main.c:
Remove option --main-return, make the behaviour previously invoked by
--main-return the default.
2013-04-13 Philipp Klaus Krause <pkk AT spth.de>
* sdas/asstm8/stm8.h,
sdas/asstm8/stm8mch.c,
sdas/asstm8/stm8pst.c,
src/SDCCglue.c,
src/stm8/gen.c,
src/stm8/main.c:
STM8: Applied patches from Valentin Dudouyt containing various fixes.
2013-04-11 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
src/stm8/ralloc.c:
Fix handling of stack part of local variables.
2013-04-11 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Implement basic pointer writes, fix handling of 16-bit literals.
2013-04-10 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: END_FUNCTION stack adjustment fix, more efficient zeroing, addition
fix, return value use.
2013-04-09 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fix for GET_VALUE_AT_ADDRESS, fixes for shift by literal, implement
call by pointer, minor improvements.
2013-04-08 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Allow more operands in xor, and, or.
2013-04-08 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Implement integer unary minus, or fix.
2013-04-08 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Implement more comparisons, stack handling fix.
* src/SDCCsymt.c:
STM8: Allow returning long long (not implemented in code genration yet).
2013-04-08 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Stack adjustment fixes, signed cast fix, ifx fix,
GET_VALUE_AT_ADDRESS fix.
2013-04-08 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Implement cast to _Bool.
* device/include/sdcc-lib.h,
device/include/asm/stm8/features.h:
STM8: Port feature header.
* device/include/math.h,
device/include/stdarg.h:
STM8: Port feature configuration.
2013-04-07 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Allow more operand types in Ifx, implement more casts.
2013-04-06 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Fixes for stack pointer handling.
2013-04-06 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/literalop.c,
support/regression/tests/bitwise.c: Fix host regression failues on
64-bit PowerPC
* support/regression/tests/align.c: do not include stdalign.h on
hosts that do not support it
2013-04-06 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
STM8: Implement comparison for more operand types.
2013-04-02 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.lex,
src/SDCC.y,
src/SDCCerr.h,
src/SDCCerr.c,
src/SDCCsymt.h,
src/SDCCsymt.c,
src/SDCCicode.c,
src/SDCCval.h,
src/SDCCval.c,
src/port.h:
src/*/main.c:
doc/sdccman.lyx,
support/regression/tests/assert.c,
support/regression/tests/align.c:
Support for C11 _Static_assert static assertions and _Alignas alignment
specifiers.
2013-04-01 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c,
src/stm8/gen.c,
src/stm8/main.c:
STM8: Implement on-stack register passing, taking addresses of on-stack
variables, handling of on-stack parameter operands.
2013-03-31 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Update manual.
* src/SDCCmain.c:
Deprecation warning for --small-is-8bits.
* device/include/assert.h:
Prepare for static assertions.
* src/SDCCast.h:
Fix warning.
2013-03-30 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Update and reorganize manual.
* src/izt:
Kill i186 and tcls900h ports.
2013-03-29 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.lex,
src/SDCCast.c,
src/SDCCast.h,
src/SDCC.y,
device/include/stdalign.h,
device/include/stddef.h,
device/include/stdnoreturn.h,
support/regression/tests/align.c:
Support for C11 _Alignof operator.
2013-03-24 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Use mlt for multiplication by constant in z180 port.
* src/SDCCralloc.hpp:
Add comment to reference the paper on the register allocator.
2013-03-16 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix bug #2145.
2013-03-18 Borut Razem <borut.razem AT gmail.com>
* support/scripts/gen_known_bugs.pl: use http instead https since the
LWP::Protocol::https perl module seems not to be installed by default
2013-03-16 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/include/pic14/pic14devices.txt,
device/non-free/include/pic14/pic16f1788.h,
device/non-free/include/pic14/pic16f1789.h,
device/non-free/lib/pic14/libdev/Makefile.in,
device/non-free/lib/pic14/libdev/devices.txt,
device/non-free/lib/pic14/libdev/pic16f1788.c,
device/non-free/lib/pic14/libdev/pic16f1789.c,
doc/sdccman.lyx:
New devices: PIC16F1788, PIC16F1789
2013-03-15 Borut Razem <borut.razem AT gmail.com>
* support/scripts/gen_known_bugs.pl: adapted for Allura bug tracker
2013-03-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c:
Fix bug #2142 (ld is fixed, upper case still open).
2013-03-12 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl:
Filters the invalid instructions and code cleaning.
2013-03-12 Sourceforge
* Project upgrade: Bug and RFE numbers after this
Use a numbering system different from the one
used before (also some other changes).
2013-03-05 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/non-free/include/pic14/pic16f1784.h,
device/non-free/include/pic14/pic16f1786.h,
device/non-free/include/pic14/pic16f1787.h,
device/non-free/include/pic16/pic18f65j94.h,
device/non-free/include/pic16/pic18f66j60.h,
device/non-free/include/pic16/pic18f66j65.h,
device/non-free/include/pic16/pic18f66j94.h,
device/non-free/include/pic16/pic18f66j99.h,
device/non-free/include/pic16/pic18f67j60.h,
device/non-free/include/pic16/pic18f67j94.h,
device/non-free/include/pic16/pic18f85j94.h,
device/non-free/include/pic16/pic18f86j60.h,
device/non-free/include/pic16/pic18f86j65.h,
device/non-free/include/pic16/pic18f86j94.h,
device/non-free/include/pic16/pic18f86j99.h,
device/non-free/include/pic16/pic18f87j60.h,
device/non-free/include/pic16/pic18f87j94.h,
device/non-free/include/pic16/pic18f95j94.h,
device/non-free/include/pic16/pic18f96j60.h,
device/non-free/include/pic16/pic18f96j65.h,
device/non-free/include/pic16/pic18f96j94.h,
device/non-free/include/pic16/pic18f96j99.h,
device/non-free/include/pic16/pic18f97j60.h,
device/non-free/include/pic16/pic18f97j94.h,
support/scripts/cinc2h.pl:
Updated based on the gputils.
2013-03-03 Raphael Neider <rneider AT web.de>
* src/pic14/gen.c (popGet): improve debugging output,
(SetIrp): handle PO_IMMEDIATES correctly, restructure code,
(genUnpackBits): handle dummy reads w/o result correctly,
(genNearPointerGet): handle dummy reads w/o result efficiently,
together this fixes #3606703
* src/pic14/gen.c (genConstPointerGet):
read AOP_SIZE(result) bytes from source, fixes #3606709
2013-02-25 Raphael Neider <rneider AT web.de>
* src/pic14/ralloc.c (packRegsForOneuse):
prevent NULL ptr dereference (fixes bug #3605966)
2013-02-24 Raphael Neider <rneider AT web.de>
* device/lib/pic14/libsdcc/ulong2fs.c:
prefer 'while (COND) {}' over 'if (COND) do {} while (COND)'
* src/pic14/gen.c (genAnd):
fix for loop condition in ulong2fs.c (fixes #3605855)
* device/lib/pic14/libm/Makefile.am:
fix typo in CFLAGS for libme (fixes #3605860)
2013-02-17 Raphael Neider <rneider AT web.de>
* device/non-free/lib/pic14/configure.in,
device/non-free/lib/pic16/configure.ac:
Check and display devices missing in gputils before proceeding
and request updating gputils if any to-be-supported is missing
* device/non-free/lib/pic14/configure,
device/non-free/lib/pic16/configure:
regenerated
2013-02-13 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl:
Use default sfr and sbit names if no header file.
2013-02-11 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/gen.c:
Code generation fixes and refactoring, implement ^, CALL.
* src/SDCCopt.c:
Enable lospre for stm8.
* src/stm8/main.c:
Correctly announce lack of multiplication support.
2013-02-11 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/gen.c:
Basic code generation infrastructure for &, |, RETURN, <, >.
2013-02-10 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: Adds used count to sfr, sbit and bit lists.
2013-02-10 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/stm8/gen.c,
src/stm8/main.c:
Various code generation fixes, improvements, debug messages.
* device/lib/stm8/Makefile.in:
Fix some hc08 leftovers.
2013-02-08 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: bugfix
2013-02-03 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: Improved recognition of jump tables.
2013-02-03 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: Improved recognition of jump tables and
bugfix.
2013-02-03 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: Bugfix and count of references in the RAM.
2013-02-01 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: Small refinements.
2013-01-31 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: Use IRAM key in name-list file.
2013-01-29 Philipp Klaus Krause <philipp AT colecovision.eu>
* src/stm8/gen.c:
Use clr for more efficient zeroing.
2013-01-29 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: Use informations of the OSEG area from
map file.
2013-01-28 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: New command option: --name-list
2013-01-28 Philipp Klaus Krause <pkk AT spth.de>
* src/hc08/gen.c,
More efficient calls to _Noreturn functions.
2013-01-28 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: Improved finds of stack. Prints into
map the iRAM.
2013-01-27 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c,
src/z80/gen.c,
More efficient calls to _Noreturn functions.
2013-01-27 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: Prints the map of RAM, list of bits and
start of stack.
2013-01-27 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: Improved recognition of jump tables.
2013-01-26 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: New command option: --recognize-jump-tables
2013-01-24 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: New command option: --find-lost-labels
2013-01-23 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl:
New feature in "Public labels" section: (calls: ..., jumps: ...)
("number of calls" and "number of jumps")
2013-01-21 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: Bugfix and more proposal for use.
2013-01-20 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: Additional informations about direction
of the jumps.
2013-01-20 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: "Public variables" -> "Public labels"
2013-01-20 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: Improved handling of blocks and
lists of labels and variables.
2013-01-19 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: Expanded assembly mode and nicer tables.
2013-01-15 Raphael Neider <rneider AT web.de>
* device/lib/pic16/libsdcc/long/modulong.c:
return ~0UL instead of looping endlessly on divide-by-0,
addresses #3600983
2013-01-13 Raphael Neider <rneider AT web.de>
* src/pic14/gen.c (genDataPointerSet):
fix and simplify operand size detection, fixes #3600361
* src/pic14/main.c (keywords[]):
remove unsupported "pdata", fixes #3600724
2013-01-13 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/cinc2h.pl: Canceled the command option: --create-sfr16
* device/non-free/include/pic16/pic18*.h,
device/non-free/lib/pic16/libdev/pic18*.c: Canceled the __sfr16 type.
2013-01-13 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: New command option: --assembly-source
2013-01-13 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/cinc2h.pl: New command option: --create-sfr16
(This option is for the time being operates only at the pic16 series.)
* device/non-free/include/pic16/pic18*.h,
device/non-free/lib/pic16/libdev/pic18*.c: Implementation of the __sfr16
type.
2013-01-12 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: New command option: --no-explanations
2013-01-12 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: New command option: --hex-constant
2013-01-12 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: Faster the decoding of instructions.
2013-01-11 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: More control characters are recognized.
Refinement the align of explanations.
2013-01-11 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/main.c: Nearly exact instruction sizes for peephole
branch optimizations.
2013-01-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c (genSend): "fix" for bug #3600343
2013-01-10 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: Simplified the code.
2013-01-10 Molnar Karoly <molnarkaroly AT users.sf.net>
* doc/sdccman.lyx: Expanded the 6.2 (Tools) table.
2013-01-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/ralloc.c (packRegisters),
* src/hc08/gen.c (aopForRemat): allow more rematerializations of
cast pointers
* src/hc08/ralloc2.cc (operand_is_ax): fixed bug that misidentified
some register assignments as the register pair AX
2013-01-09 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCC.y,
* src/SDCCast.h,
* src/SDCCast.c: Move the test condition of a for-loop to the end of
the loop if it is always true for the first iteration of the loop
and has no side-effects.
2013-01-09 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: Internal restructuring an bug fixes.
2013-01-08 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm.pl: Prints in table the embedded constants.
2013-01-07 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm: Renamed to mcs51-disasm.pl
2013-01-07 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c,
* src/hc08/ralloc2.cc: Support more register combinations
with pointer get/set and ifx iCodes. Allow rmw instructions to
use X as a scratch register.
* sim/ucsim/hc08.src/inst.cc: Fixed bug with cbeq using stack operand
modifying hx
2012-01-07 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Infrastructure for the stm8 port.
2012-01-06 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c:
Infrastructure for the stm8 port.
2013-01-06 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc.c:
Minor code cleanup.
2013-01-06 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm:
Changes in the commandline options:
Renamed --code-size to --rom-size.
Removed: --debug
New: --verbose, --const-area
Extracts more informations from map file.
2012-01-06 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc.c,
src/stm8/gen.c:
Infrastructure for the stm8 port.
2013-01-06 Borut Razem <borut.razem AT gmail.com>
* src/SDCCasm.c, src/SDCCasm.h: excluded unused asm mappings
2012-01-06 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc.c,
src/stm8/ralloc2.cc:
Register allocation infrastructure for the stm8 port.
* src/stm8/gen.c:
Code generation infrastructure for the stm8 port.
2013-01-05 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm: More informations from map file.
2013-01-05 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm: The required perl version: 5.12.0
One repair: The unknown instruction is actually simple embedded
data in the code.
2013-01-05 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm: New commandline option: --map-file
More detailed comments of instructions.
2013-01-05 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/ralloc.h,
* src/hc08/ralloc.c,
* src/hc08/gen.h,
* src/hc08/gen.c: Removed some unused fields of the asmop
struct. Made checking asmops for registers more efficient.
2013-01-04 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm: New commandline option: --code-size
In addition, limited tracking of some register (Rx, DPTR).
2013-01-04 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/ralloc.c: Removed old code from the original fork
from mcs51 that was not being used. Brought the old register
allocator up to date with the current code generator.
* src/hc08/gen.c: Support ldhx/sthx with stack operands on s08.
Avoid using hx to assign literals to stack operands on hc08.
2013-01-04 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (genAssignLit): fixed bug on systems that default
to signed char.
2013-01-03 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: Fixed code size regression on s08 from overuse
of indexed addressing mode. Clean out some old, unused source.
Initialize hc08_aop_pass[] only once. Correct costs in
accopWithAop() for 2 byte instructions. Small improvements
to addition and subtraction.
2013-01-02 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/non-free/include/pic14/pic16f720.h,
device/non-free/include/pic14/pic16f721.h,
device/non-free/include/pic14/pic16lf1902.h,
device/non-free/include/pic14/pic16lf1903.h,
device/non-free/include/pic16/pic18f65j94.h,
device/non-free/include/pic16/pic18f66j60.h,
device/non-free/include/pic16/pic18f66j65.h,
device/non-free/include/pic16/pic18f66j94.h,
device/non-free/include/pic16/pic18f66j99.h,
device/non-free/include/pic16/pic18f67j60.h,
device/non-free/include/pic16/pic18f67j94.h,
device/non-free/include/pic16/pic18f85j94.h,
device/non-free/include/pic16/pic18f86j60.h,
device/non-free/include/pic16/pic18f86j65.h,
device/non-free/include/pic16/pic18f86j94.h,
device/non-free/include/pic16/pic18f86j99.h,
device/non-free/include/pic16/pic18f87j60.h,
device/non-free/include/pic16/pic18f87j94.h,
device/non-free/include/pic16/pic18f95j94.h,
device/non-free/include/pic16/pic18f96j60.h,
device/non-free/include/pic16/pic18f96j65.h,
device/non-free/include/pic16/pic18f96j94.h,
device/non-free/include/pic16/pic18f96j99.h,
device/non-free/include/pic16/pic18f97j60.h,
device/non-free/include/pic16/pic18f97j94.h,
device/non-free/lib/pic14/libdev/pic16f720.c,
device/non-free/lib/pic14/libdev/pic16f721.c,
device/non-free/lib/pic14/libdev/pic16lf1902.c,
device/non-free/lib/pic14/libdev/pic16lf1903.c:
Updated based on the gputils.
2013-01-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.h,
* src/hc08/gen.c: More optimization of literal constant assignments.
Use indexed addressing mode in place of extended in some contexts.
2013-01-01 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/mcs51-disasm: Disassembler for the mcs51 family.
2013-01-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/peeph.def: Removed peephole rule #8 since it is handled
in code generator now. Added rules for dbnz.
* src/hc08/gen.c: Rewrote genDbnz(). Minor improvements to genCmp()
and asmopToBool(). Removed some totally wrong code from genIfx().
2012-12-31 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/ralloc.h,
* src/hc08/ralloc.c,
* src/hc08/gen.c: optimization of literal constant loads/transfers
2012-12-31 Raphael Neider <rneider AT web.de>
* src/pic14/genarith.c (genAddLit): fixed coding style,
fixed #3599010 by adding implementation of (int + X)
for X in [0x0102; 0x01FE]
2012-12-29 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
src/stm8/ralloc2.cc:
Infrastructure for STM8 port.
2012-12-29 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCbtree.cc:
Fix bug #3598841.
2012-12-29 Maarten Brock <sourceforge.brock AT dse.nl>
* sdcc_vc.h.in: converted TABs to spaces
* src/SDCCast.c(expandInlineFuncs): even MSVC 2012 still does not support
C99 randomly placed declarations, please place all declarations at the
start of a block
* src/sdcc.vcxproj,
* src/sdcc.vcxproj.filters: added SDCCbtree.cc and SDCCbtree.h
* src/SDCCbtree.cc: fixed STX usage
2012-12-29 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc2.cc,
src/stm8/gen.c,
src/stm8/ralloc.c:
Infrastructure for STM8 port.
2012-12-28 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc2.cc,
src/stm8/gen.c,
src/stm8/gen.h:
Infrastructure for STM8 port.
2012-12-28 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-20011126-1.c,
support/regression/tests/gcc-torture-execute-20000717-2.c,
support/regression/tests/gcc-torture-execute-921202-2.c,
support/regression/tests/gcc-torture-execute-20050104-1.c:
Enable some long long regression tests, that now seem to work even on
32-bit systems.
2012-12-28 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/sdccman.lyx: small update about sdas390
* sdas/asgb/gbpst.c: enable macros
* sdas/asxxsrc/aslex.c (nxtline): also fix macro case
* sdas/asxxsrc/asmcro.c,
* sdas/asxxsrc/asout.c,
* sdas/asxxsrc/asxxxx.h: small step to ASxxxx v5
* src/mcs51/gen.c(genJumpTab): use optimize.codeSpeed and options.acall_ajmp
* src/SDCCast.c(createFunction): fixed warning
* src/SDCCpeeph.c: cosmetics
* support/regression/tests/bug3467508.c: suppress warnings
* support/regression/tests/gcc-torture-execute-20050125-1.c: fixed warning
* support/regression/tests/gcc-torture-execute-20050224-1.c: shortened test,
always perform ASSERT for correct statistics
* support/regression/tests/gcc-torture-execute-20051104-1.c: added comments
* support/regression/tests/gcc-torture-execute-doloop-2.c: always ASSERT
* support/regression/tests/key.c,
* support/regression/tests/long_asm_line.c,
* support/regression/tests/macro.c: use at least one ASSERT
2012-12-28 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/ralloc2.cc,
src/stm8/gen.h,
src/stm8/main.c,
src/stm8/gen.c,
src/stm8/ralloc.h,
src/stm8/ralloc.c:
Infrastructure for STM8 port.
2012-12-27 Philipp Klaus Krause <pkk AT spth.de>
* Merged blocktree branch.
2012-12-27 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCglue.c:
Handle emission of long long constants.
Emit error message for unknown sizes instead of failing silently.
2012-12-27 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCval.c,
* sdcc_vc.h.in: moved strto(u)ll macros and fixed warnings
2012-12-27 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCglue.c (emitOverlay): fixed bug #3596899
* support/regression/tests/gcc-tortue-execute-20021118-2.c:
re-enabled test (fixed by my 2012-12-26 commit)
2012-12-26 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCval.c: inserted macros for strtoll and strtoull
2012-12-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCC.y,
* src/SDCCsymt.c,
* src/SDCCsymt.h,
* src/SDCCast.c,
* src/SDCCast.h: Fixed some scope related bugs including
#3190029 (improved previous fix), #3513308, and #3511513
* support/regression/tests/gcc-torture-execute-960116-1.c:
re-enabled test
2012-12-26 Borut Razem <borut.razem AT gmail.com>
* support/sdbinutils/binutils/configure.in,
support/sdbinutils/binutils/configure:
fixed bug #3527589 - "Build fails on archlinux ppc"
2012-12-25 Borut Razem <borut.razem AT gmail.com>
* src/pic14/gen.c, src/pic14/main.c:
applied patch #3193179 - "pic14 naked ISR handler"
implementing RFE #1432077 - "naked for pic14",
thanks to Wolfgang Jung
2012-12-23 Vaclav Peroutka <vaclavpe AT seznam.cz>
* sim/ucsim/configure
sim/ucsim/configure.in
sim/ucsim/main_in.mk
sim/ucsim/packages_in.mk
sim/ucsim/stypes.h
sim/ucsim/st7.src/(c).1
sim/ucsim/st7.src/Makefile.in
sim/ucsim/st7.src/clean.mk
sim/ucsim/st7.src/conf.mk
sim/ucsim/st7.src/glob.cc
sim/ucsim/st7.src/glob.h
sim/ucsim/st7.src/inst.cc
sim/ucsim/st7.src/instcl.h
sim/ucsim/st7.src/regsst7.h
sim/ucsim/st7.src/simst7.cc
sim/ucsim/st7.src/simst7cl.h
sim/ucsim/st7.src/sst7.cc
sim/ucsim/st7.src/st7.cc
sim/ucsim/st7.src/st7cl.h
sim/ucsim/st7.src/st7mac.h
sim/ucsim/stm8.src/inst.cc
sim/ucsim/stm8.src/instcl.h
sim/ucsim/stm8.src/stm8.cc
sim/ucsim/stm8.src/stm8mac.h
2012-12-23 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/gen.c,
src/stm8/ralloc.h,
src/stm8/ralloc2.cc,
src/stm8/ralloc.c:
Infrastructure for STM8 port.
2012-12-22 Philipp Klaus Krause <pkk AT spth.de>
* src/stm8/main.c,
src/stm8/gen.c,
src/stm8/gen.h,
src/stm8/ralloc.h,
src/port.h,
src/SDCCmain.c,
src/stm8/ralloc.c:
Basic infrastructure for STM8 port.
2012-12-21 Philipp Klaus Krause <pkk AT spth.de>
* Makefile.common.in,
Makefile.in,
configure.in,
sim/ucsim/aclocal.m4,
sim/ucsim/configure,
configure,
debugger/mcs51/aclocal.m4,
src/port.h,
src/stm8,
src/stm8/Makefile.in,
src/stm8/main.c,
src/stm8/peeph.def,
device/lib/stm8,
device/lib/stm8/Makefile.in,
src/stm8/ralloc.h:
Basic build infrastructure for STM8 port.
2012-12-20 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCbtree.cc:
BTREE_DEBUG macro for enabling debub messages in blocktree-based allocator.
2012-12-20 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/frexpf.c:
Test for frexpf().
* src/z80/gen.c:
Do not attempt to restore pair using dec, when it has been pushed.
2012-12-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCval.c (constVal),
* sdas/asxxsrc/aslex.c (nxtline): fixed warnings
2012-12-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCbtree.cc:
Special handling for parameters in btree-based stack allocation.
2012-12-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCralloc.hpp:
Send error message about invalid root to cerr instead of cout.
2012-12-19 Borut Razem <borut.razem AT gmail.com>
* src/SDCCmain.c, src/SDCCglobl.h, support/cpp/sdcpp.opt,
support/cpp/libcpp/init.c, support/cpp/sdcpp-opts.c
fixed bug 3572584 - "Trigraphs don't work", 2nd try:
trigraphs are enabled by default in sdcpp
2012-12-16 Borut Razem <borut.razem AT gmail.com>
* src/SDCCglobl.h, src/SDCCmain.c:
fixed bug 3572584 - "Trigraphs don't work"
2012-12-14 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCbtree.cc,
src/SDCCast.c:
Fixes for block-based stack allocation.
2012-12-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCC.y
src/SDCCbtree.h,
src/SDCCbtree.cc,
src/SDCCast.c,
src/SDCCmem.c:
Fixes for block-based stack allocation.
2012-12-13 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCC.y
src/SDCCbtree.h,
src/SDCCbtree.cc,
src/SDCCmem.c:
Infrastructure for block-based stack allocation.
2012-12-09 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Do not generate redundant loads when fetching pair from regs.
2012-12-02 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/cinc2h.pl,
support/scripts/pic14-header-parser.pl,
support/scripts/pic16-header-parser.pl: I changed the copyright.
2012-12-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCC.y (labeled_statement): fixed bug #3590884
2012-11-27 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcse.c (algebraicOpts),
* src/SDCCicode.c (operandOperation),
* src/SDCCsymt.c (bitsForType),
* src/SDCCval.h,
* src/SDCCval.c: working towards long long constant support
2012-11-25 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/non-free/include/pic16/pic18f6390.h,
device/non-free/lib/pic16/libdev/pic18f6390.c:
Repaired wrong address of RCREG, 0x0FA0 --> 0x0FAE.
2012-11-25 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/non-free/include/pic16/pic18f63j11.h,
device/non-free/lib/pic16/libdev/pic18f63j11.c:
Repaired wrong address of RCREG, 0x0FD0 --> 0x0FAE.
2012-11-24 Borut Razem <borut.razem AT gmail.com>
* doc/sdccman.lyx: LyX format update to lyxformat 413, LyX 2.x.x
2012-11-22 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCtree_dec.hpp:
Ensure we have an empty bag at the root in nice tree decompositions.
* support/regression/tests/gcc-torture-execute-20060110-1.c:
Disable test which fails on arm for gbz80 due to unimplemented long long constants.
2012-11-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* doc/sdccman.lyx: removed duplicate commands my lyx edit added
2012-11-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* doc/sdccman.lyx: document --no-ret-without-call and fix some typos
2012-11-18 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (emitDummyCall): use temporary label,
(genPcall): use temporary label call instead of pushes,
(genJumpTab): optimized thresholds and always use jmp @a+dptr
* src/mcs51/peep.c (scan4op): detect lcall temporary label
* src/mcs51/ralloc.c: cosmetics
2012-11-18 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/pic16-header-parser.pl:
New capability: Handling of I/O pins of the peripheral.
The program creates six files in the actual directory:
adc.tables, ccp.tables, pwm.tables, i2c.tables,
spi.tables, usart.tables
2012-11-17 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCglobl.h,
* src/mcs51/main.c
* src/mcs51/gen.c (emitDummyCall,genJumpTab, genPcall):
added --no-ret-without-call option for compatibility with
Infineon's Memory Extension Stack
2012-11-15 Maarten Brock <sourceforge.brock AT dse.nl>
* sdcc.sln,
* support/scripts/sdcc.nsi: added sdas390
2012-11-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (decorateType): fixed bug #3577669
* support/regression/tests/gcc-torture-execute-20021010-1.c: reenabled
2012-11-13 Maarten Brock <sourceforge.brock AT dse.nl>
* configure: added as8xcxxx to CONFIG_FILES
2012-11-13 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/mappings.i:
Fix use of and macro for z80asm assembler.
2012-11-12 Maarten Brock <sourceforge.brock AT dse.nl>
* configure,
* configure.in,
* Makefile.in: added as8xcxxx
* Makefile.common.in: fixed OPT_DISABLE_DS390
* sdas/as8051/i51mch.c,
* sdas/as8051/i51pst.c: removed flat24
* sdas/as8xcxxx/,
* sdas/as8xcxxx/clean.mk,
* sdas/as8xcxxx/ds8.h,
* sdas/as8xcxxx/ds8adr.c,
* sdas/as8xcxxx/ds8mch.c,
* sdas/as8xcxxx/ds8pst.c,
* sdas/as8xcxxx/Makefile.in,
* sdas/as8xcxxx/sdas390.vcxproj,
* sdas/as8xcxxx/sdas390.vcxproj.filters: new, added sdas390
* sdas/asxxsrc/asdata.c: removed flat24Mode
* sdas/asxxsrc/asexpr.c: added exprmasks()
* sdas/asxxsrc/asmain.c: removed S_FLAT24 case
* sdas/asxxsrc/asout.c: outr*() synced with ASxxxx v5
* sdas/asxxsrc/asxxxx.h: next step to ASxxxx v5
* sdas/asxxsrc/sdas.c,
* sdas/asxxsrc/sdas.h: added TARGET_ID_DS390
* src/ds390/gen.c: replaced ACC.x with ACC[x]
* src/ds390/main.c: issue .DS80C390 and .amode instead of .flat24,
and use sdas390
2012-11-11 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/ports/ucr2k/spec.mk:
Make ucr2k timeout the same as ucr3ka.
* support/regression/tests/gcc-torture-execute-20111208-1.c:
Disable test for gcc older than 5.0.
2012-11-10 Borut Razem <borut.razem AT gmail.com>
* support/regression/ports/ds390/spec.mk:
doubled timeout since the gcc-torture-execute-20050224-1
regression test stil fails with timeout on i586-mingw32msvc
2012-11-09 Borut Razem <borut.razem AT gmail.com>
* support/regression/fwk/lib/testfwk.c:
"code" substituted with "__code"
2012-11-08 Borut Razem <borut.razem AT gmail.com>
* support/sdbinutils/bfd/Makefile.am,
support/sdbinutils/bfd/Makefile.in,
support/sdbinutils/include/opcode,
support/sdbinutils/include/opcode/ia64.h,
support/sdbinutils/include/opcode/sparc.h,
support/sdbinutils/include/mach-o/x86-64.h,
support/sdbinutils/bfd/verilog.c,
support/sdbinutils/bfd/tekhex.c,
support/sdbinutils/bfd/cpu-ia64-opc.c,
support/sdbinutils/bfd/coff-ia64.c,
support/sdbinutils/bfd/peXXigen.c,
support/sdbinutils/bfd/elfnn-ia64.c,
support/sdbinutils/bfd/bdfwin.c,
support/sdbinutils/opcodes,
support/sdbinutils/opcodes/ia64-opc.h:
removed unused files
* Makefile.in, support/scripts/sdcc.nsi, doc/sdccman.lyx,
support/sdbinutils/binutils/Makefile.am,
support/sdbinutils/binutils/Makefile.in,
support/sdbinutils/bfd/targets.c,
support/sdbinutils/binutils/ieee.c,
support/sdbinutils/binutils/rddbg.c,
support/sdbinutils/binutils/not-strip.c,
support/sdbinutils/binutils/objcopy.c,
support/sdbinutils/binutils/budbg.h,
support/sdbinutils/binutils/rdcoff.c,
support/sdbinutils/binutils/wrstabs.c,
support/sdbinutils/binutils/debug.c,
support/sdbinutils/binutils/debug.h,
support/sdbinutils/binutils/stabs.c,
support/sdbinutils/include/ieee.h:
added binary target support, added sdobjcopy utility
* support/regression/ports/ds390/spec.mk,
support/regression/ports/mcs51-common/spec.mk,
support/regression/ports/ucr3ka/spec.mk:
increased timeouts due to the gcc-torture-execute-20050224-1
regression test timeout failures
2012-11-07 Borut Razem <borut.razem AT gmail.com>
* support/sdbinutils/bfd/Makefile.am,
support/sdbinutils/bfd/*.c:
removed unused machine an backend files
2012-11-06 Borut Razem <borut.razem AT gmail.com>
* support/sdbinutils/bfd/targets.c:
removed unneeded vectors and flavours
* support/sdbinutils/bfd/targets.c,
support/sdbinutils/bfd/config.bfd:
support/sdbinutils/binutils/configure.in,
support/sdbinutils/binutils/configure,
removed all unused vectors; hardcode default target to asxxxx
* support/sdbinutils/bfd/configure.in,
support/sdbinutils/bfd/configure,
support/sdbinutils/bfd/Makefile.in,
support/sdbinutils/bfd/archures.c,
support/sdbinutils/bfd/Makefile.am,
support/sdbinutils/bfd/config.bfd:
removed all unused architectures
2012-11-06 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/sdbinutils/bfd/targets.c: reenable asxxxx
2012-11-05 Borut Razem <borut.razem AT gmail.com>
* support/sdbinutils/*:
sdbinutils synced with binutils-2.23
2012-11-05 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/peeph-z80.def,
src/z80/peeph-r2k.def:
Fix condition on bc in peephole rule.
2012-11-02 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/gcc-torture-execute-20040313-1.c:
Disabled test, since it fails on 32-bit Linux.
2012-11-02 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/lib/pic16/startup/crt0i.c,
device/lib/pic16/startup/crt0iz.c: Was reduced size of the code.
2012-11-02 Molnar Karoly <molnarkaroly AT users.sf.net>
* doc/sdccman.lyx: Added new pic18f97j94 family.
2012-11-02 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/cinc2h.pl,
support/scripts/pic14-header-parser.pl,
support/scripts/pic16-header-parser.pl: Toggle execution flag.
2012-11-02 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fixed bug in assignment from register pair iy to extended stack, fix #3582658.
2012-11-02 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/cinc2h.pl: Changed option "-c" onto "-o".
* support/scripts/pic14-header-parser.pl,
support/scripts/pic16-header-parser.pl,
support/scripts/pic16fam-h-gen.pl: Updated my email address.
2012-11-02 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/include/pic16/pic16devices.txt,
device/include/pic16/pic18fregs.h,
device/lib/pic16/libio/Makefile.am,
device/lib/pic16/libio/Makefile.in,
device/lib/pic16/libio/adc.ignore,
device/lib/pic16/libio/i2c.ignore,
device/lib/pic16/libio/usart.ignore,
device/non-free/include/pic16/pic18f65j94.h,
device/non-free/include/pic16/pic18f66j94.h,
device/non-free/include/pic16/pic18f66j99.h,
device/non-free/include/pic16/pic18f67j94.h,
device/non-free/include/pic16/pic18f85j94.h,
device/non-free/include/pic16/pic18f86j94.h,
device/non-free/include/pic16/pic18f86j99.h,
device/non-free/include/pic16/pic18f87j94.h,
device/non-free/include/pic16/pic18f95j94.h,
device/non-free/include/pic16/pic18f96j94.h,
device/non-free/include/pic16/pic18f96j99.h,
device/non-free/include/pic16/pic18f97j94.h,
device/non-free/lib/pic16/libdev/Makefile.am,
device/non-free/lib/pic16/libdev/Makefile.in,
device/non-free/lib/pic16/libdev/pic18f65j94.c,
device/non-free/lib/pic16/libdev/pic18f66j94.c,
device/non-free/lib/pic16/libdev/pic18f66j99.c,
device/non-free/lib/pic16/libdev/pic18f67j94.c,
device/non-free/lib/pic16/libdev/pic18f85j94.c,
device/non-free/lib/pic16/libdev/pic18f86j94.c,
device/non-free/lib/pic16/libdev/pic18f86j99.c,
device/non-free/lib/pic16/libdev/pic18f87j94.c,
device/non-free/lib/pic16/libdev/pic18f95j94.c,
device/non-free/lib/pic16/libdev/pic18f96j94.c,
device/non-free/lib/pic16/libdev/pic18f96j99.c,
device/non-free/lib/pic16/libdev/pic18f97j94.c,
device/non-free/lib/pic16/pics.all: Support for new devices.
2012-11-01 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc:
Fix non-destructive bitwise and with single-bit literal for extended stack operands.
* src/z80/gen.c:
Fix built-in memset() for argument c in register pair hl.
2012-11-01 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/non-free/include/pic14/pic1*.h,
device/non-free/include/pic16/pic1*.h,
device/non-free/lib/pic14/pic1*.c,
device/non-free/lib/pic16/pic1*.c: recreated
* support/scripts/cinc2h.pl: Updated my email address.
2012-11-01 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fix long shifts for result in a permutation of operand registers.
2012-10-31 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/asxxxsrc/asout.c (outdp): oops, forgot to commit this
2012-10-30 Erik Petrich <epetrich AT ivorytower.norman.ok.s>
* sdas/asxxxsrc/asout.c (outdp): fix to match prototype
2012-10-29 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/as6808/as_hc08.vcxproj,
* sdas/as6808/as_hc08.vcxproj.filters,
* sdas/as8051/asx8051.vcxproj,
* sdas/as8051/asx8051.vcxproj.filters,
* sdas/asgb/asgb.vcxproj,
* sdas/asgb/asgb.vcxproj.filters,
* sdas/asrab/asrab.vcxproj,
* sdas/asrab/asrab.vcxproj.filters,
* sdas/asz80/as_z80.vcxproj,
* sdas/asz80/as_z80.vcxproj.filters: added asmcro.c
* sdas/as6808/m08mch.c,
* sdas/as6808/m6808.h,
* sdas/asxxsrc/asxxxx.h: outdp, chkindx synced with ASxxxx v5
* device/lib/_gptrput.c: lock up on code write
2012-10-29 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/ports/ds390/spec.mk,
support/regression/ports/mcs51-common/spec.mk:
Slightly increase timeouts.
* support/regression/tests/gcc-torture-execute-20051104-1.c,
support/regression/tests/gcc-torture-execute-950426-1.c,
support/regression/tests/gcc-torture-execute-20021204-1.c:
Disable warning on assigning string literal to non-const pointer.
2012-10-24 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-20070724-1.c:
Disabled test on gcc older than 5.0.
2012-10-22 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/gcc-torture-execute-20050613-1.c:
Disable a test for mcs51, where it fails for stack-auto.
2012-10-19 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-20060929-1.c,
support/regression/tests/gcc-torture-execute-20070201-1.c:
Disable tests on gcc older than 5.0.
2012-10-17 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
support/regression/tests/gcc-torture-execute-20060930-2.c:
Fixed bug #3577673.
* support/regression/tests/gcc-torture-execute-20060127-1.c,
support/regression/tests/gcc-torture-execute-20060110-2.c:
Note that these are affected by lack of support for long long literals.
2012-10-17 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/gcc-torture-execute-20041210-1.c,
support/regression/tests/gcc-torture-execute-20050218-1.c,
support/regression/tests/gcc-torture-execute-20051110-1.c,
support/regression/tests/gcc-torture-execute-20041112-1.c,
support/regression/tests/gcc-torture-execute-20040820-1.c,
support/regression/tests/gcc-torture-execute-20040704-1.c,
support/regression/tests/gcc-torture-execute-20050826-1.c,
support/regression/tests/gcc-torture-execute-20040311-1.c,
support/regression/tests/gcc-torture-execute-20040319-1.c,
support/regression/tests/gcc-torture-execute-20051110-2.c,
support/regression/tests/gcc-torture-execute-20071213-1.c,
support/regression/tests/gcc-torture-execute-20040409-1.c,
support/regression/tests/gcc-torture-execute-20070724-1.c,
support/regression/tests/gcc-torture-execute-20050826-2.c,
support/regression/tests/gcc-torture-execute-20051021-1.c,
support/regression/tests/gcc-torture-execute-20050613-1.c,
support/regression/tests/gcc-torture-execute-20041113-1.c,
support/regression/tests/gcc-torture-execute-20050104-1.c,
support/regression/tests/gcc-torture-execute-20040409-2.c,
support/regression/tests/gcc-torture-execute-20071205-1.c,
support/regression/tests/gcc-torture-execute-20041212-1.c,
support/regression/tests/gcc-torture-execute-20040409-3.c,
support/regression/tests/gcc-torture-execute-20050131-1.c,
support/regression/tests/gcc-torture-execute-20040411-1.c,
support/regression/tests/gcc-torture-execute-20041114-1.c,
support/regression/tests/gcc-torture-execute-20040706-1.c,
support/regression/tests/gcc-torture-execute-20040313-1.c,
support/regression/tests/gcc-torture-execute-20040831-1.c,
support/regression/tests/gcc-torture-execute-20050713-1.c,
support/regression/tests/gcc-torture-execute-20111208-1.c,
support/regression/tests/gcc-torture-execute-20050410-1.c,
support/regression/tests/gcc-torture-execute-20040331-1.c,
support/regression/tests/gcc-torture-execute-20051104-1.c,
support/regression/tests/gcc-torture-execute-20071108-1.c,
support/regression/tests/gcc-torture-execute-20050106-1.c,
support/regression/tests/gcc-torture-execute-20041213-2.c,
support/regression/tests/gcc-torture-execute-20040823-1.c,
support/regression/tests/gcc-torture-execute-20040707-1.c,
support/regression/tests/gcc-torture-execute-20070201-1.c,
support/regression/tests/gcc-torture-execute-20071011-1.c,
support/regression/tests/gcc-torture-execute-20050124-1.c,
support/regression/tests/gcc-torture-execute-20071216-1.c,
support/regression/tests/gcc-torture-execute-20050125-1.c,
support/regression/tests/gcc-torture-execute-20040208-1.c,
support/regression/tests/gcc-torture-execute-20050929-1.c,
support/regression/tests/gcc-torture-execute-20071030-1.c,
support/regression/tests/gcc-torture-execute-20050502-1.c,
support/regression/tests/gcc-torture-execute-20040423-1.c,
support/regression/tests/gcc-torture-execute-20050224-1.c,
support/regression/tests/gcc-torture-execute-20041126-1.c,
support/regression/tests/gcc-torture-execute-20041011-1.c,
support/regression/tests/gcc-torture-execute-20071210-1.c,
support/regression/tests/gcc-torture-execute-20050502-2.c,
support/regression/tests/gcc-torture-execute-20041019-1.c,
support/regression/tests/gcc-torture-execute-20070212-1.c,
support/regression/tests/gcc-torture-execute-20040218-1.c,
support/regression/tests/gcc-torture-execute-20070623-1.c,
support/regression/tests/gcc-torture-execute-20071202-1.c,
support/regression/tests/gcc-torture-execute-20070212-2.c,
support/regression/tests/gcc-torture-execute-20051215-1.c,
support/regression/tests/gcc-torture-execute-20071219-1.c,
support/regression/tests/gcc-torture-execute-20070212-3.c,
support/regression/tests/gcc-torture-execute-20040309-1.c,
support/regression/tests/gcc-torture-execute-20050111-1.c,
support/regression/tests/gcc-torture-execute-20070517-1.c,
support/regression/tests/gcc-torture-execute-20040917-1.c:
Added remaining parts (excluding tests for builtin functions and
IEEE-compliane for floating-point) of the execute part
of the gcc torture stest uite to regression tests.
2012-10-16 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/lib/pic16/libio/i2c/i2copen.c:
Bugfix: TRISCbits.TRISC2 --> TRISCbits.TRISC4
2012-10-16 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/include/pic16/usart.h: Supplement to "USART styles".
* device/lib/pic16/libio/usart/uopen.c:
Use the (__SDCC_USART_STYLE == 1865850) condition.
* doc/README.txt:
New line at the end of the "Authors and interested persons" section.
2012-10-16 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/gcc-torture-execute-20020213-1.c,
support/regression/tests/gcc-torture-execute-20020615-1.c,
support/regression/tests/gcc-torture-execute-20020508-1.c,
support/regression/tests/gcc-torture-execute-20020911-1.c,
support/regression/tests/gcc-torture-execute-20020321-1.c,
support/regression/tests/gcc-torture-execute-20020402-1.c,
support/regression/tests/gcc-torture-execute-20021015-1.c,
support/regression/tests/gcc-torture-execute-20020920-1.c,
support/regression/tests/gcc-torture-execute-20020508-2.c,
support/regression/tests/gcc-torture-execute-20020402-2.c,
support/regression/tests/gcc-torture-execute-20020508-3.c,
support/regression/tests/gcc-torture-execute-20020510-1.c,
support/regression/tests/gcc-torture-execute-20021204-1.c,
support/regression/tests/gcc-torture-execute-20020206-1.c,
support/regression/tests/gcc-torture-execute-20020402-3.c,
support/regression/tests/gcc-torture-execute-20020805-1.c,
support/regression/tests/gcc-torture-execute-20020215-1.c,
support/regression/tests/gcc-torture-execute-20020904-1.c,
support/regression/tests/gcc-torture-execute-20020716-1.c,
support/regression/tests/gcc-torture-execute-20020413-1.c,
support/regression/tests/gcc-torture-execute-20020216-1.c,
support/regression/tests/gcc-torture-execute-20020503-1.c,
support/regression/tests/gcc-torture-execute-20020225-1.c,
support/regression/tests/gcc-torture-execute-20020118-1.c,
support/regression/tests/gcc-torture-execute-20021010-1.c,
support/regression/tests/gcc-torture-execute-20020127-1.c,
support/regression/tests/gcc-torture-execute-20020225-2.c,
support/regression/tests/gcc-torture-execute-20020529-1.c,
support/regression/tests/gcc-torture-execute-20020611-1.c,
support/regression/tests/gcc-torture-execute-20020619-1.c,
support/regression/tests/gcc-torture-execute-20021010-2.c,
support/regression/tests/gcc-torture-execute-20020423-1.c,
support/regression/tests/gcc-torture-execute-20020307-1.c,
support/regression/tests/gcc-torture-execute-20020226-1.c,
support/regression/tests/gcc-torture-execute-20021011-1.c,
support/regression/tests/gcc-torture-execute-20020201-1.c,
support/regression/tests/gcc-torture-execute-20020103-1.c,
support/regression/tests/gcc-torture-execute-20021118-1.c,
support/regression/tests/gcc-torture-execute-20020916-1.c,
support/regression/tests/gcc-torture-execute-20020720-1.c,
support/regression/tests/gcc-torture-execute-20020129-1.c,
support/regression/tests/gcc-torture-execute-20021118-2.c,
support/regression/tests/gcc-torture-execute-20020810-1.c,
support/regression/tests/gcc-torture-execute-20020219-1.c,
support/regression/tests/gcc-torture-execute-20021111-1.c,
support/regression/tests/gcc-torture-execute-20020506-1.c,
support/regression/tests/gcc-torture-execute-20021119-1.c,
support/regression/tests/gcc-torture-execute-20021118-3.c,
support/regression/tests/gcc-torture-execute-20021120-1.c,
support/regression/tests/gcc-torture-execute-20021120-2.c,
support/regression/tests/gcc-torture-execute-20020614-1.c,
support/regression/tests/gcc-torture-execute-20020819-1.c,
support/regression/tests/gcc-torture-execute-20021120-3.c,
support/regression/tests/gcc-torture-execute-20021219-1.c,
support/regression/tests/gcc-torture-execute-20020328-1.c,
support/regression/tests/gcc-torture-execute-20060929-1.c,
support/regression/tests/gcc-torture-execute-20060412-1.c,
support/regression/tests/gcc-torture-execute-20060930-1.c,
support/regression/tests/gcc-torture-execute-20060930-2.c,
support/regression/tests/gcc-torture-execute-20060905-1.c,
upport/regression/tests/gcc-torture-execute-20060110-1.c,
support/regression/tests/gcc-torture-execute-20060127-1.c,
support/regression/tests/gcc-torture-execute-20060110-2.c,
support/regression/tests/gcc-torture-execute-20060102-1.c,
support/regression/tests/gcc-torture-execute-20061101-2.c,
support/regression/tests/gcc-torture-execute-20060910-1.c:
More tests from gcc.
2012-10-16 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/cinc2h.pl: Comfortable version.
Writes to the separate directory (device and header) the *.C and
*.H files. Removed the --create-pseudo-registers option.
2012-10-16 Molnar Karoly <molnarkaroly AT users.sf.net>
* device/include/pic16/usart.h:
Simplification the definition of __SDCC_NO_SPBRGH.
Thanks to Diego Herranz.
2012-10-16 Molnar Karoly <molnarkaroly AT users.sf.net>
* support/scripts/pic18fam-h-gen.pl,
device/non-free/include/pic16/pic18fam.h:
Repaired the wrong classification of "__SDCC_PIC16_FAMILY 1865850"
in the (E)USART style.
2012-10-16 Molnar Karoly <molnarkaroly AT users.sf.net>
* doc/sdccman.lyx: Added the new pic processors.
2012-10-15 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCmain.c:
Fixed typo in --std-c89 option description.
2012-10-16 Borut Razem <borut.razem AT gmail.com>
* support/sdbinutils/opcodes/ia64-opc.h:
fixed bug #3577586 - missing binutils headers on ia64
2012-10-15 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* device/include/mcs51/lint.h:
Fixed bug #3577318.
2012-10-13 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/as6808/m08mch.c,
* sdas/as6808/m08pst.c,
* sdas/as6808/m6808.h,
* sdas/as6808/Makefile.in,
* sdas/as8051/i51mch.c,
* sdas/as8051/i51pst.c,
* sdas/as8051/Makefile.in,
* sdas/asgb/gb.h,
* sdas/asgb/gbadr.c,
* sdas/asgb/gbmch.c,
* sdas/asgb/Makefile.in,
* sdas/asrab/Makefile.in,
* sdas/asrab/rab.h,
* sdas/asrab/rabadr.c,
* sdas/asrab/rabmch.c,
* sdas/asrab/rabpst.c,
* sdas/asxxsrc/asdata.c,
* sdas/asxxsrc/asexpr.c,
* sdas/asxxsrc/aslex.c,
* sdas/asxxsrc/aslist.c,
* sdas/asxxsrc/asmain.c,
* sdas/asxxsrc/asxxxx.h,
* sdas/asxxsrc/asmcro.c,
* sdas/asz80/Makefile.in,
* sdas/asz80/z80.h,
* sdas/asz80/z80adr.c,
* sdas/asz80/z80mch.c,
* sdas/asz80/z80pst.c: added ASxxxx v5 macro support
2012-10-13 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCtree_dec.hpp,
src/SDCCralloc.hpp:
Fixed bug #3566360.
2012-10-08 Borut Razem <borut.razem AT gmail.com>
* support/sdbinutils/include/opcode/ia64.h: added since build
on IA64 fails with elf64-ia64.c:27:25: error: opcode/ia64.h:
No such file or directory
2012-10-08 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c (genPagedPointerGet): fixed bug #3527222
* support/regression/tests/gcc-torture-execute-921013-1.c: reenabled
* src/mcs51/gen.c (genCast),
* src/ds390/gen.c (genCast): fixed bug3467508 regression test failures
* support/regression/tests/bug3467508.c: reenabled for mcs51 and ds390
2012-10-08 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/asgb/asgb.vcxproj,
* sdas/asgb/asgb.vcxproj.filters,
* sdas/asgb/Makefile.in,
* sdas/asgb/gbext.c: removed gbext.c
* sdas/as8051/i51mch.c,
* sdas/as8051/i8051.h,
* sdas/asgb/gbadr.c,
* sdas/asgb/gbmch.c,
* sdas/asrab/rabadr.c,
* sdas/asz80/z80adr.c,
* sdas/asxxsrc/asdata.c,
* sdas/asxxsrc/aslist.c,
* sdas/asxxsrc/asout.c,
* sdas/asxxsrc/asxxxx.h: and yet another step towards ASxxxx v5
2012-10-06 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/as6808/m08pst.c,
* sdas/as8051/i51pst.c,
* sdas/asgb/gbpst.c,
* sdas/asrab/rabpst.c,
* sdas/asz80/z80pst.c,
* sdas/asxxsrc/asdata.c,
* sdas/asxxsrc/asdbg.c,
* sdas/asxxsrc/aslex.c,
* sdas/asxxsrc/aslist.c,
* sdas/asxxsrc/asmain.c,
* sdas/asxxsrc/assubr.c,
* sdas/asxxsrc/asxxxx.h: use ASxxxx v5 file structs
2012-10-06 Borut Razem <borut.razem AT gmail.com>
* support/scripts/optimize_pic16devices.pl:
updated with the latest version from Molnar Karoly
* support/scripts/pic14-header-parser.pl,
support/scripts/pic16-header-parser.pl: applied patch #3567006 -
New support/scripts/pic1[46]-header-parser.pl,
thanks to Molnar Karoly
2012-10-05 Borut Razem <borut.razem AT gmail.com>
* support/scripts/zip-pic16devices.pl,
device/include/pic16/pic16devices.txt:
applied patch #3574556 - Compressed pic16devices.txt file,
thanks to Molnar Karoly
* support/scripts/optimize_pic16devices.pl:
renamed from zip-pic16devices.pl
* support/scripts/inc2h-pic16.pl, support/scripts/inc2h.pl:
removed, functionaly replaced by cinc2h.pl
2012-10-03 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/asxxsrc/asdata.c,
* sdas/asxxsrc/asdbg.c,
* sdas/asxxsrc/asexpr.c,
* sdas/asxxsrc/aslex.c,
* sdas/asxxsrc/aslist.c,
* sdas/asxxsrc/asmain.c,
* sdas/asxxsrc/asout.c,
* sdas/asxxsrc/asxxxx.h: another step to ASxxxx v5
2012-10-03 Borut Razem <borut.razem AT gmail.com>
* device/non-free/lib/pic16/libdev/mkmk.sh:
applied patch #3574102 - Modification of device/non-free/lib/pic16/libdev/mkmk.sh
2012-10-02 Borut Razem <borut.razem AT gmail.com>
* device/include/pic16/pic18fregs.h,
device/include/pic16/pic16devices.txt,
device/lib/pic16/libio/Makefile.am,
device/lib/pic16/libio/adc.ignore,
device/lib/pic16/libio/i2c.ignore,
device/lib/pic16/libio/usart.ignore,
device/lib/pic16/libio/Makefile.in,
device/non-free/lib/pic16/libdev/Makefile.in,
device/non-free/lib/pic16/libdev/Makefile.am,
device/non-free/lib/pic16/pics.all,
device/non-free/include/pic16pic18f13k22.h,
device/non-free/lib/pic16/libdev/pic18f13k22.c,
device/non-free/include/pic16pic18f14k22.h,
device/non-free/lib/pic16/libdev/pic18f14k22.c,
device/non-free/include/pic16pic18f24j11.h,
device/non-free/lib/pic16/libdev/pic18f24j11.c,
device/non-free/include/pic16pic18f24k50.h,
device/non-free/lib/pic16/libdev/pic18f24k50.c,
device/non-free/include/pic16pic18f25j11.h,
device/non-free/lib/pic16/libdev/pic18f25j11.c,
device/non-free/include/pic16pic18f25k50.h,
device/non-free/lib/pic16/libdev/pic18f25k50.c,
device/non-free/include/pic16pic18f25k80.h,
device/non-free/lib/pic16/libdev/pic18f25k80.c,
device/non-free/include/pic16pic18f26j11.h,
device/non-free/lib/pic16/libdev/pic18f26j11.c,
device/non-free/include/pic16pic18f26j13.h,
device/non-free/lib/pic16/libdev/pic18f26j13.c,
device/non-free/include/pic16pic18f26j53.h,
device/non-free/lib/pic16/libdev/pic18f26j53.c,
device/non-free/include/pic16pic18f26k80.h,
device/non-free/lib/pic16/libdev/pic18f26k80.c,
device/non-free/include/pic16pic18f27j13.h,
device/non-free/lib/pic16/libdev/pic18f27j13.c,
device/non-free/include/pic16pic18f27j53.h,
device/non-free/lib/pic16/libdev/pic18f27j53.c,
device/non-free/include/pic16pic18f44j11.h,
device/non-free/lib/pic16/libdev/pic18f44j11.c,
device/non-free/include/pic16pic18f45j11.h,
device/non-free/lib/pic16/libdev/pic18f45j11.c,
device/non-free/include/pic16pic18f45k50.h,
device/non-free/lib/pic16/libdev/pic18f45k50.c,
device/non-free/include/pic16pic18f45k80.h,
device/non-free/lib/pic16/libdev/pic18f45k80.c,
device/non-free/include/pic16pic18f46j11.h,
device/non-free/lib/pic16/libdev/pic18f46j11.c,
device/non-free/include/pic16pic18f46j13.h,
device/non-free/lib/pic16/libdev/pic18f46j13.c,
device/non-free/include/pic16pic18f46j53.h,
device/non-free/lib/pic16/libdev/pic18f46j53.c,
device/non-free/include/pic16pic18f46k80.h,
device/non-free/lib/pic16/libdev/pic18f46k80.c,
device/non-free/include/pic16pic18f47j13.h,
device/non-free/lib/pic16/libdev/pic18f47j13.c,
device/non-free/include/pic16pic18f47j53.h,
device/non-free/lib/pic16/libdev/pic18f47j53.c,
device/non-free/include/pic16pic18f63j11.h,
device/non-free/lib/pic16/libdev/pic18f63j11.c,
device/non-free/include/pic16pic18f63j90.h,
device/non-free/lib/pic16/libdev/pic18f63j90.c,
device/non-free/include/pic16pic18f64j11.h,
device/non-free/lib/pic16/libdev/pic18f64j11.c,
device/non-free/include/pic16pic18f64j90.h,
device/non-free/lib/pic16/libdev/pic18f64j90.c,
device/non-free/include/pic16pic18f65j10.h,
device/non-free/lib/pic16/libdev/pic18f65j10.c,
device/non-free/include/pic16pic18f65j11.h,
device/non-free/lib/pic16/libdev/pic18f65j11.c,
device/non-free/include/pic16pic18f65j15.h,
device/non-free/lib/pic16/libdev/pic18f65j15.c,
device/non-free/include/pic16pic18f65j90.h,
device/non-free/lib/pic16/libdev/pic18f65j90.c,
device/non-free/include/pic16pic18f65k22.h,
device/non-free/lib/pic16/libdev/pic18f65k22.c,
device/non-free/include/pic16pic18f65k80.h,
device/non-free/lib/pic16/libdev/pic18f65k80.c,
device/non-free/include/pic16pic18f65k90.h,
device/non-free/lib/pic16/libdev/pic18f65k90.c,
device/non-free/include/pic16pic18f66j10.h,
device/non-free/lib/pic16/libdev/pic18f66j10.c,
device/non-free/include/pic16pic18f66j11.h,
device/non-free/lib/pic16/libdev/pic18f66j11.c,
device/non-free/include/pic16pic18f66j15.h,
device/non-free/lib/pic16/libdev/pic18f66j15.c,
device/non-free/include/pic16pic18f66j16.h,
device/non-free/lib/pic16/libdev/pic18f66j16.c,
device/non-free/include/pic16pic18f66j90.h,
device/non-free/lib/pic16/libdev/pic18f66j90.c,
device/non-free/include/pic16pic18f66j93.h,
device/non-free/lib/pic16/libdev/pic18f66j93.c,
device/non-free/include/pic16pic18f66k22.h,
device/non-free/lib/pic16/libdev/pic18f66k22.c,
device/non-free/include/pic16pic18f66k80.h,
device/non-free/lib/pic16/libdev/pic18f66k80.c,
device/non-free/include/pic16pic18f66k90.h,
device/non-free/lib/pic16/libdev/pic18f66k90.c,
device/non-free/include/pic16pic18f67j10.h,
device/non-free/lib/pic16/libdev/pic18f67j10.c,
device/non-free/include/pic16pic18f67j11.h,
device/non-free/lib/pic16/libdev/pic18f67j11.c,
device/non-free/include/pic16pic18f67j90.h,
device/non-free/lib/pic16/libdev/pic18f67j90.c,
device/non-free/include/pic16pic18f67j93.h,
device/non-free/lib/pic16/libdev/pic18f67j93.c,
device/non-free/include/pic16pic18f67k22.h,
device/non-free/lib/pic16/libdev/pic18f67k22.c,
device/non-free/include/pic16pic18f67k90.h,
device/non-free/lib/pic16/libdev/pic18f67k90.c,
device/non-free/include/pic16pic18f83j11.h,
device/non-free/lib/pic16/libdev/pic18f83j11.c,
device/non-free/include/pic16pic18f83j90.h,
device/non-free/lib/pic16/libdev/pic18f83j90.c,
device/non-free/include/pic16pic18f84j11.h,
device/non-free/lib/pic16/libdev/pic18f84j11.c,
device/non-free/include/pic16pic18f84j90.h,
device/non-free/lib/pic16/libdev/pic18f84j90.c,
device/non-free/include/pic16pic18f85j10.h,
device/non-free/lib/pic16/libdev/pic18f85j10.c,
device/non-free/include/pic16pic18f85j11.h,
device/non-free/lib/pic16/libdev/pic18f85j11.c,
device/non-free/include/pic16pic18f85j15.h,
device/non-free/lib/pic16/libdev/pic18f85j15.c,
device/non-free/include/pic16pic18f85j90.h,
device/non-free/lib/pic16/libdev/pic18f85j90.c,
device/non-free/include/pic16pic18f85k22.h,
device/non-free/lib/pic16/libdev/pic18f85k22.c,
device/non-free/include/pic16pic18f85k90.h,
device/non-free/lib/pic16/libdev/pic18f85k90.c,
device/non-free/include/pic16pic18f86j10.h,
device/non-free/lib/pic16/libdev/pic18f86j10.c,
device/non-free/include/pic16pic18f86j11.h,
device/non-free/lib/pic16/libdev/pic18f86j11.c,
device/non-free/include/pic16pic18f86j15.h,
device/non-free/lib/pic16/libdev/pic18f86j15.c,
device/non-free/include/pic16pic18f86j16.h,
device/non-free/lib/pic16/libdev/pic18f86j16.c,
device/non-free/include/pic16pic18f86j72.h,
device/non-free/lib/pic16/libdev/pic18f86j72.c,
device/non-free/include/pic16pic18f86j90.h,
device/non-free/lib/pic16/libdev/pic18f86j90.c,
device/non-free/include/pic16pic18f86j93.h,
device/non-free/lib/pic16/libdev/pic18f86j93.c,
device/non-free/include/pic16pic18f86k22.h,
device/non-free/lib/pic16/libdev/pic18f86k22.c,
device/non-free/include/pic16pic18f86k90.h,
device/non-free/lib/pic16/libdev/pic18f86k90.c,
device/non-free/include/pic16pic18f87j10.h,
device/non-free/lib/pic16/libdev/pic18f87j10.c,
device/non-free/include/pic16pic18f87j11.h,
device/non-free/lib/pic16/libdev/pic18f87j11.c,
device/non-free/include/pic16pic18f87j72.h,
device/non-free/lib/pic16/libdev/pic18f87j72.c,
device/non-free/include/pic16pic18f87j90.h,
device/non-free/lib/pic16/libdev/pic18f87j90.c,
device/non-free/include/pic16pic18f87j93.h,
device/non-free/lib/pic16/libdev/pic18f87j93.c,
device/non-free/include/pic16pic18f87k22.h,
device/non-free/lib/pic16/libdev/pic18f87k22.c,
device/non-free/include/pic16pic18f87k90.h,
device/non-free/lib/pic16/libdev/pic18f87k90.c,
device/non-free/include/pic16pic18f2439.h,
device/non-free/lib/pic16/libdev/pic18f2439.c,
device/non-free/include/pic16pic18f2458.h,
device/non-free/lib/pic16/libdev/pic18f2458.c,
device/non-free/include/pic16pic18f2539.h,
device/non-free/lib/pic16/libdev/pic18f2539.c,
device/non-free/include/pic16pic18f2553.h,
device/non-free/lib/pic16/libdev/pic18f2553.c,
device/non-free/include/pic16pic18f4439.h,
device/non-free/lib/pic16/libdev/pic18f4439.c,
device/non-free/include/pic16pic18f4458.h,
device/non-free/lib/pic16/libdev/pic18f4458.c,
device/non-free/include/pic16pic18f4539.h,
device/non-free/lib/pic16/libdev/pic18f4539.c,
device/non-free/include/pic16pic18f4553.h,
device/non-free/lib/pic16/libdev/pic18f4553.c,
device/non-free/include/pic16pic18f6310.h,
device/non-free/lib/pic16/libdev/pic18f6310.c,
device/non-free/include/pic16pic18f6390.h,
device/non-free/lib/pic16/libdev/pic18f6390.c,
device/non-free/include/pic16pic18f6393.h,
device/non-free/lib/pic16/libdev/pic18f6393.c,
device/non-free/include/pic16pic18f6410.h,
device/non-free/lib/pic16/libdev/pic18f6410.c,
device/non-free/include/pic16pic18f6490.h,
device/non-free/lib/pic16/libdev/pic18f6490.c,
device/non-free/include/pic16pic18f6493.h,
device/non-free/lib/pic16/libdev/pic18f6493.c,
device/non-free/include/pic16pic18f6525.h,
device/non-free/lib/pic16/libdev/pic18f6525.c,
device/non-free/include/pic16pic18f6621.h,
device/non-free/lib/pic16/libdev/pic18f6621.c,
device/non-free/include/pic16pic18f6628.h,
device/non-free/lib/pic16/libdev/pic18f6628.c,
device/non-free/include/pic16pic18f6723.h,
device/non-free/lib/pic16/libdev/pic18f6723.c,
device/non-free/include/pic16pic18f8310.h,
device/non-free/lib/pic16/libdev/pic18f8310.c,
device/non-free/include/pic16pic18f8390.h,
device/non-free/lib/pic16/libdev/pic18f8390.c,
device/non-free/include/pic16pic18f8393.h,
device/non-free/lib/pic16/libdev/pic18f8393.c,
device/non-free/include/pic16pic18f8410.h,
device/non-free/lib/pic16/libdev/pic18f8410.c,
device/non-free/include/pic16pic18f8490.h,
device/non-free/lib/pic16/libdev/pic18f8490.c,
device/non-free/include/pic16pic18f8493.h,
device/non-free/lib/pic16/libdev/pic18f8493.c,
device/non-free/include/pic16pic18f8525.h,
device/non-free/lib/pic16/libdev/pic18f8525.c,
device/non-free/include/pic16pic18f8621.h,
device/non-free/lib/pic16/libdev/pic18f8621.c,
device/non-free/include/pic16pic18f8628.h,
device/non-free/lib/pic16/libdev/pic18f8628.c,
device/non-free/include/pic16pic18f8723.h,
device/non-free/lib/pic16/libdev/pic18f8723.c:
applied patch #3573506 - Support of new PIC18Fxxx devices
thanks to Molnar Karoly
* device/include/pic16/pic18fregs.h:
applied patch #3573796 - Correction the bug of pic18fregs.h
thanks to Molnar Karoly
2012-09-30 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/main.c,
src/ds390/main.c,
src/z80/main.c,
src/mcs51/main.c,
src/pic14/main.c,
src/pic16/main.c:
A bit of consistency in port structure style.
2012-10-01 Borut Razem <borut.razem AT gmail.com>
* support/scripts/cinc2h.pl:
applied patch #3572693: Correction of cinc2h.pl
thanks to Molnar Karoly
* device/non-free/include/pic14/*.h,
device/non-free/lib/pic14/libdev/*.c,
device/non-free/include/pic16/*.h,
device/non-free/lib/pic16/libdev/*.c,
device/lib/pic16/libio/usart/uopen.c: applied patch #3571327 -
Regenerate the DEVICE.[ch] files with the cinc2h.pl program.
thanks to Molnar Karoly
2012-09-30 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* device/lib/r2k/crt0.s,
device/lib/z180/crt0.s,
device/lib/r3ka/crt0.s,
device/lib/z80/crt0.s,
device/lib/z80/crtcall.s,
src/SDCCglue.c,
src/port.h,
src/SDCCmem.c,
src/SDCCmem.h,
src/hc08/main.c,
src/ds390/main.c,
src/z80/main.c,
src/mcs51/main.c,
src/pic14/main.c,
src/pic16/main.c:
Most of RFE #3565759.
* device/lib/r2k/Makefile.in,
device/lib/z180/Makefile.in,
device/lib/r3ka/Makefile.in,
device/lib/z80/Makefile.in:
Removed obsolete RLE initialization support.
2012-09-25 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/as6808/m08pst.c,
* sdas/as8051/i51pst.c,
* sdas/asgb/gbpst.c,
* sdas/asrab/rabpst.c,
* sdas/asz80/z80pst.c,
* sdas/asxxsrc/asdata.c,
* sdas/asxxsrc/asmain.c,
* sdas/asxxsrc/asxxxx.h: next step to ASxxxx v5
2012-09-27 Borut Razem <borut.razem AT gmail.com>
* support/scripts/inc2h.pl, support/scripts/cinc2h.pl,
support/scripts/inc2h-pic16.pl: fixed typo tbut
2012-09-27 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/bug3467508.c:
Regression test for bug #3467508.
2012-09-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (decorateType): fixed bug #3467508
2012-09-26 Borut Razem <borut.razem AT gmail.com>
* support/scripts/cinc2h.pl: added,
thanks to Molnar Karoly
2012-09-25 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/asrab/rabbitext.c: removed
* sdas/asrab/rabbit.h, sdas/asrab/rab.h,
* sdas/asrab/rabbitadr.c, sdas/asrab/rabadr.c,
* sdas/asrab/rabbitmch.c, sdas/asrab/rabmch.c,
* sdas/asrab/rabbitpst.c, sdas/asrab/rabpst.c: renamed
* sdas/asrab/asrab.vcxproj,
* sdas/asrab/asrab.vcxproj.filters,
* sdas/asrab/Makefile.in: updated
* sdas/as6808/m08pst.c,
* sdas/as8051/i51pst.c,
* sdas/asgb/gbpst.c,
* sdas/asrab/rabpst.c,
* sdas/asz80/z80pst.c,
* sdas/asxxsrc/asmain.c,
* sdas/asxxsrc/asxxxx.h: next small steps towards ASxxxx v5
2012-09-24 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c (geniCodePostInc/Dec, geniCodePreInc/Dec):
fixed bug #3511511
* support/regression/tests/gcc-tortute-execute-950426-1.c:
re-enabled
2012-09-23 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/asxxsrc/asdata.c,
* sdas/asxxsrc/asdbg.c,
* sdas/asxxsrc/aslist.c,
* sdas/asxxsrc/asmain.c,
* sdas/asxxsrc/assym.c,
* sdas/asxxsrc/aslex.c,
* sdas/asxxsrc/assubr.c,
* sdas/asxxsrc/asxxxx.h: next small steps towards ASxxxx v5
2012-09-19 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/asz80/Makefile.in,
* sdas/asz80/as_z80.vcxproj,
* sdas/asz80/as_z80.vcxproj.filters,
* sdas/asz80/z80ext.c: removed z80ext.c
* sdas/as8051/i51mch.c,
* sdas/asxxsrc/asmain.c,
* sdas/asz80/z80.h,
* sdas/asz80/z80mch.c: small step towards ASxxxx v5
2012-09-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/pic16/glue.c (pic16_initPointer): fixed pointer initialization
from address of struct/union
2012-09-17 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/asxxsrc/asdata.c,
* sdas/asxxsrc/asexpr.c,
* sdas/asxxsrc/aslist.c,
* sdas/asxxsrc/asmain.c,
* sdas/asxxsrc/asxxxx.h,
* sdas/linksrc/aslink.h,
* sdas/linksrc/lklist.c,
* src/hc08/main.c,
* src/mcs51/main.c,
* src/z80/main.c: again a small step towards ASxxxx v5
2012-09-17 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/ralloc2.cc (inst_sane): fixed bug #3558402
2012-09-17 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/bug3564649.c:
Disable test for host, since we cannot assume C11 support yet.
2012-09-16 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/gcc-torture-execute-20030209-1.c:
Reduced array size, reenabled test.
* support/regression/tests/gcc-torture-execute-991016-1.c:
Enabled test for targets that support long long, since returning long long was implemented some time ago.
2012-09-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCglue.c (emitRegularMap, printIvalType, printIvalBitFields),
* src/SDCCast.c (constExprValue): fixed bug #3560781 and related
* support/regression/tests/bug3564649.c: ensure noreturn function
does not return
2012-09-16 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
More efficient stack pointer restoration.
* support/regression/tests/bug3564649.c:
Regression test for bug #3564649.
2012-09-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/valdiag/tests/tentdecl.c,
* support/valdiag/tests/primtypes.c,
* support/valdiag/tests/constantRange.c,
* support/valdiag/tests/funcdec.c,
* support/valdiag/tests/overflow.c,
* support/valdiag/Makefile.in,
* support/valdiag/valdiag.py: update to work with current SDCC version
2012-09-14 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCBBlock.c (iCode2eBBlock),
* src/SDCCcflow.c (eBBSuccessors): fixed bug #3564649
2012-09-14 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/as8051/i51mch.c,
* sdas/as8051/i8051.h,
* sdas/asxxsrc/asdata.c,
* sdas/asxxsrc/asxxxx.h: another small step towards ASxxxx v5
2012-09-12 Leland Morrison <enigmalee AT sourceforge.net>
* sdas/asz80/z80.h, sdas/asz80/z80pst.c, sdas/asz80/z80mch.c,
* sdas/asz80/z80adr.c: added support for undocument z80 instructions
2012-09-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.h,
* src/SDCCicode.c (isOperandInBitSpace): new function
* src/mcs51/ralloc.c (packRegsForOneuse): fixed bug #3564969
2012-09-11 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.c (computeType): fixed bug #3564104
* support/regression/tests/bug3564104.c: reenabled test
2012-09-10 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fixed bug #3566191 by disabling register tracking for iy.
* src/z80/z80.h,
src/z80/ralloc.c:
Enabled rematerialization by register allocation for gbz80.
2012-09-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/inline.c: added test for bug #3564755
* support/regression/tests/bug3565757.c: temporarily disabled bool
in struct
* src/SDCCast.c: fixed bugs #3566114 and #3539508
2012-09-09 Borut Razem <borut.razem AT gmail.com>
* configure.in, configure, sdccconf_in.h:
removed (commented out) avr and xa51 configuration options
2012-09-09 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/as8051/Makefile.in,
* sdas/as8051/asx8051.vcxproj,
* sdas/as8051/asx8051.vcxproj.filters,
* sdas/as8051/i51ext.c: removed i51ext.c
* sdas/as6808/m08mch.c, sdas/as6808/m08pst.c,
* sdas/as8051/i51mch.c, sdas/as8051/i51pst.c,
* sdas/asgb/gbmch.c, sdas/asgb/gbpst.c,
* sdas/asrab/rabbitmch.c, sdas/asrab/rabbitpst.c,
* sdas/asz80/z80mch.c, sdas/asz80/z80pst.c,
* sdas/asxxsrc/asdata.c, sdas/asxxsrc/asexpr.c,
* sdas/asxxsrc/aslist.c, sdas/asxxsrc/asmain.c,
* sdas/asxxsrc/asout.c, sdas/asxxsrc/asxxxx.h: small step towards ASxxxx v5
* src/mcs51/gen.c(freeAsmop): fix for MSVC
* src/SDCCsymt.c(typeFromStr): added 'C' for const
* src/z80/main.c(_z80_builtins): use 'C' to fix warnings
2012-09-09 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
support/regression/tests/bug3565757.c:
Fixed bug #3565757.
2012-09-09 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
support/regression/tests/bug3559997.c:
Fixed bug #3559997.
2012-09-09 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.c (checkSClass),
* src/SDCCast.c (expandInlineFuncs): fixed bug #3564755
2012-09-08 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCval.c (cheapestVal): fixed bug #3563977
* support/regression/tests/enum.c: tests added for bug #3563977
2012-09-07 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c (operandOperation): fixed bug #3537139
2012-09-06 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sdas/linksrc/aslink.h,
* sdas/linksrc/lkarea.c,
* sdas/linksrc/lkelf.c,
* src/hc08/gen.c: Fixed bug #3536431
2012-09-02 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp:
More verbose lospre debug output.
* support/regression/tests/bug3564104.c:
Regression test for #3564104.
2012-08-28 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc,
src/z80/gen.c:
Fix for handling of parameters in the z80-related ports.
2012-08-27 Borut Razem <borut.razem AT gmail.com>
* src/ds390/gen.c:
fixed muldiv regression test failures on ARM architecture
2012-08-25 Borut Razem <borut.razem AT gmail.com>
* src/mcs51/gen.c:
fixed muldiv regression test failures on ARM architecture
2012-08-24 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
support/regression/tests/bug3561215.c:
Fixed bug #3561215.
2012-08-22 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c: Reinserted break in proper context
2012-08-21 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/mcs51/gen.c:
Remove out-of-context break.
2012-08-20 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (aopPtrForSym): added warning for memory space overflow,
see bug 3509704
(freeForBranchAsmop, freeForBranchAsmops): need extra ic parameter
(aopPut, genFarPointerSet): partial fix for bug 3534523
2012-08-17 Borut Razem <borut.razem AT gmail.com>
* src/SDCCasm.c, SDCCsymt.h: fixed failing regression tests if
sdcc compiled on ARM architecture where default "char" is "unsigned char"
2012-08-13 Borut Razem <borut.razem AT gmail.com>
* support/regression/tests/bitvars.c,
support/regression/tests/funsigned-char.c:
fixed for gcc hosts with unsigned char (ARM architecture)
2012-08-10 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Improve code generation for and with result in register and bit complement operand.
2012-08-04 Borut Razem <borut.razem AT gmail.com>
* device/include/pic14/pic14devices.txt:
applied patch minor-pic12lf1552-error.diff from
#3553952 - "New devices to pic14 series and pic16fam-h-gen.pl update II."
thanks to Molnar Karoly
2012-08-03 Borut Razem <borut.razem AT gmail.com>
* support/scripts/pic16fam-h-gen.pl,
device/include/pic14/pic14devices.txt,
device/non-free/lib/pic14/libdev/devices.txt,
device/non-free/lib/pic14/libdev/Makefile.in,
device/non-free/include/pic14/pic16fam.h,
doc/sdccman.lyx: updated,
device/non-free/include/pic14/pic16f723a.h,
device/non-free/include/pic14/pic16f1512.h,
device/non-free/include/pic14/pic16f723.h,
device/non-free/include/pic14/pic16f727.h,
device/non-free/include/pic14/pic12f617.h,
device/non-free/include/pic14/pic16f1513.h,
device/non-free/include/pic14/pic12f609.h,
device/non-free/include/pic14/pic16f724.h,
device/non-free/include/pic14/pic16f707.h,
device/non-free/include/pic14/pic12lf1552.h,
device/non-free/include/pic14/pic16f610.h,
device/non-free/include/pic14/pic16f631.h,
device/non-free/include/pic14/pic16f677.h,
device/non-free/include/pic14/pic16f722a.h,
device/non-free/include/pic14/pic12f615.h,
device/non-free/include/pic14/pic16f722.h,
device/non-free/include/pic14/pic16f726.h,
device/non-free/lib/pic14/libdev/pic16f723.c,
device/non-free/lib/pic14/libdev/pic16f727.c,
device/non-free/lib/pic14/libdev/pic12f617.c,
device/non-free/lib/pic14/libdev/pic16f1513.c,
device/non-free/lib/pic14/libdev/pic12f609.c,
device/non-free/lib/pic14/libdev/pic16f724.c,
device/non-free/lib/pic14/libdev/pic16f707.c,
device/non-free/lib/pic14/libdev/pic12lf1552.c,
device/non-free/lib/pic14/libdev/pic16f610.c,
device/non-free/lib/pic14/libdev/pic16f631.c,
device/non-free/lib/pic14/libdev/pic16f677.c,
device/non-free/lib/pic14/libdev/pic16f722a.c,
device/non-free/lib/pic14/libdev/pic12f615.c,
device/non-free/lib/pic14/libdev/pic16f722.c,
device/non-free/lib/pic14/libdev/pic16f726.c,
device/non-free/lib/pic14/libdev/pic16f723a.c,
device/non-free/lib/pic14/libdev/pic16f1512.c: added,
applied patch #3553952 - "New devices to pic14 series and pic16fam-h-gen.pl update II."
thanks to Molnar Karoly
* device/non-free/include/pic14/pic16f1516.h,
device/non-free/include/pic14/pic16f1517.h,
device/non-free/include/pic14/pic16f1518.h,
device/non-free/include/pic14/pic16f1519.h:
applied patch #3553938 - "pic16f151[6-9].h unnecessary ANSC[01] bits"
thanks to Molnar Karoly
2012-08-01 Borut Razem <borut.razem AT gmail.com>
* device/non-free/include/pic14/pic12f752.h,
device/non-free/include/pic14/pic16f1784.h,
device/non-free/include/pic14/pic10f322.h,
device/non-free/include/pic14/pic16f1454.h,
device/non-free/include/pic14/pic16f1786.h,
device/non-free/include/pic14/pic12f1501.h,
device/non-free/include/pic14/pic10f320.h,
device/non-free/include/pic14/pic16f1787.h,
device/non-free/lib/pic14/libdev/pic16f1787.c,
device/non-free/lib/pic14/libdev/pic10f320.c,
device/non-free/lib/pic14/libdev/pic16f1784.c,
device/non-free/lib/pic14/libdev/pic12f752.c,
device/non-free/lib/pic14/libdev/pic16f1454.c,
device/non-free/lib/pic14/libdev/pic10f322.c,
device/non-free/lib/pic14/libdev/pic16f1786.c,
device/non-free/lib/pic14/libdev/pic12f1501.c,
support/scripts/pic16fam-h-gen.pl,
device/include/pic14/pic14devices.txt,
device/non-free/include/pic14/pic16fam.h,
device/non-free/lib/pic14/libdev/devices.txt,
device/non-free/lib/pic14/libdev/Makefile.in,
doc/sdccman.lyx:
applied patch #3553108 - "New devices to pic14 series and pic16fam-h-gen.pl update",
thanks to Molnar Karoly
2012-08-01 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/z80.h,
src/z80/ralloc2.cc,
src/z80/main.c:
Provide --fno-omit-frame-pointer option for not omitting frame pointer.
2012-07-23 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c (geniCodeAdd): made fix for bug 3537338 endian
agnostic
2012-07-21 Borut Razem <borut.razem AT gmail.com>
* src/pic14/main.c: fixed bug
#3546732 - "pic16f1507lib: No such file or directory"
2012-07-21 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCmem.c (allocGlobal, allocLocal): added check if bit space exists
* src/SDCCsymt.c (computeType): fixed bug 3531687
* src/SDCCast.c,
* src/SDCCicode.c,
* src/SDCCsymt.h: renamed RESULT_TYPE_BIT to RESULT_TYPE_BOOL
* support/regression/tests/bug3531687.c: reinserted char > bool test
* support/regression/tests/bug3537338.c: use _STATMEM for more coverage
* support/regression/tests/gcc-torture-execute-930513-1.c: modified to
accept "<NO FLOAT>" and prevent buffer overrun
2012-07-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCClospre.hpp (implement_lospre_assignment): explicitly ignore
vertices created from newly split edges
* src/SDCCopt.c (eBBlockFromiCode): reenable lospre
2012-07-19 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCicode.c (geniCodeAdd): fixed bug 3537338
* src/ds390/gen.c (genMultOneByte): handle long result for pointer offsets
* src/mcs51/gen.c (genLeftShiftLiteral, genRightShiftLiteral),
* src/z80/gen.c (genLeftShiftLiteral): added wassert
* support/regression/tests/bug3537338.c: new, added
2012-07-17 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCopt.c: temporarily disable lospre until I can figure out
why it's failing on some hosts.
2012-07-15 Maarten Brock <sourceforge.brock AT dse.nl>
* sdcc.sln: sdcdb depends on config
* all.vcxproj: excluded copy to bin\ from debug build as it seems to mess up
the dependencies
* all.vcxproj.filters: added sdasrab.exe
* src/sdcc.vcxproj.filters,
* src/sdcc.vcxproj: removed SDCC.y dependency from lexing
added version.h to Header Files
added SDCClospre.cc and SDCClospre.hpp
* config.vcxproj,
* src/yacc.vcxproj: updated all custom build commands and dependencies
* src/SDCCast.c (decorateType, '='): fixed lost linenumber in bug 3540054
* src/SDCCsymt.c (dbuf_printTypeChain): removed 'd'
* sdas/asrab/rabbitmch.c (machine): removed const to fix prototype conflict
* src/SDCClospre.cc (lospre): fixed warning
* src/SDCCutil.h,
* src/SDCCutil.c (processStrSet): fix warning by using explicit function ptr
2012-07-15 Borut Razem <borut.razem AT gmail.com>
* src/SDCCmain.c, src/SDCCutil.c, src/SDCCutil.h, src/SDCCsystem.c,
src/mcs51/main.c, src/ds390/main.c, src/z80/main.c, src/hc08/main.c,
src/pic14/main.c, src/pic16/main.c, src/avr/main.c, src/xa51/main.c:
properly quoted file names when transferred to preprocessor,
assembler and linker
* support/scripts/repack_release.sh: added -pr to usage
2012-07-12 Borut Razem <borut.razem AT gmail.com>
* src/SDCCerr.c, src/SDCCerr.h, src/pic16/main.c, src/pic16/main.h,
src/pic16/glue.c, src/pic16/device.h, src/SDCCast.c, src/SDCCast.h,
doc/sdccman.lyx: properly fixed bug
#3539804 - pragma config and certain string constants
2012-07-11 Borut Razem <borut.razem AT gmail.com>
* support/scripts/repack_release.sh: implemented feature request
#3472159 - sdcc-3.1.0.tar.bz2 will untar with name sdcc;
the result will be seen at the next sdcc release 3.3.0
2012-07-11 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Fixed comment.
2012-07-10 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* Merged the lospre branch.
2012-07-10 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
src/hc08/gen.c:
Disable cost function debugging output.
2012-07-09 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* Merged the smallopts branch.
2012-07-09 Borut Razem <borut.razem AT gmail.com>
* Small Device C Compiler 3.2.0 released
* .version, doc/sdccman.lyx: changed sdcc version to 3.2.1
2012-07-09 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCopt.c:
Disable lospre for ports unrelated to z80 or hc08.
2012-07-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve code generation for multiplication by literal.
2012-07-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix bug in built-in strchr().
* device/lib/Makefile.in:
Fix building of strcpy() for mcs51.
2012-07-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix bug in stack restoration for built-in functions.
* device/lib/_strchr.c,
device/lib/_strncpy.c:
Fix conflict between built-in and non built-in functions.
2012-07-07 Borut Razem <borut.razem AT gmail.com>
* support/scripts/repack_release.sh:
updated, added -dl, -r and -ul command line options
2012-07-07 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmain.c,
src/SDCClospre.cc,
src/SDCCglobl.h:
Provide option to allow unsafe reads in lospre.
2012-07-07 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.hpp,
src/SDCClospre.cc:
Safety in lospre.
2012-07-06 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.hpp,
src/SDCClospre.cc:
Preparations for safety in lospre.
2012-07-06 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp,
src/SDCClospre.cc:
Preparations for safety.
2012-07-06 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp:
Fix for out-of-memory handling in lospre.
2012-07-06 Borut Razem <borut.razem AT gmail.com>
* src/pic16/main.c: bug patched with sdcc-3.2.0-config_fix.diff
#3539804 - #pragma config and certain string constants,
thanks to Herbert Potzl
2012-07-05 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.cc:
Preparations for safety in lospre.
2012-06-30 Borut Razem <borut.razem AT gmail.com>
* support/scripts/sdcc.nsi:
fixed 'Installer suggest "C:\Program Files\SDCC" instead of
"C:\Program Files (x86)\SDCC"' problem
2012-07-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix for operand handling in built-in memset().
* src/SDCCopt.c:
Convert zero-length built-in memcpy(), strncpy(), memset()
back to ensure any volatiles are read. Fixes #3538725.
2012-06-30 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/gen.c:
Fix stack adjustment after call and omission of frame pointer for --reserve-regs-iy.
2012-06-28 Maarten Brock <sourceforge.brock AT dse.nl>
* sdcc.sln,
* sdas/asrab/asrab.vcxproj: renamed output to sdasrab
* all.vcxproj: added sdasrab.exe and sdldrab.exe
* src/sdcc.vcxproj: removed parsing SDCC.y
* src/yacc.vcxproj: cosmetics
* sdas/as6808/m6808.h,
* sdas/as8051/i8051.h,
* sdas/asgb/gb.h,
* sdas/asrab/rabbit.h,
* sdas/asz80/z80.h: removed (conflicting) prototypes for machine and minit
* src/hc08/ralloc.c (packRegisters): fixed bug indicated by a warning
* src/pic14/gen.c (genDataPointerGet, genConstPointerGet),
* src/pic14/genarith.c (genAddLit),
* src/pic14/glue.c (pic14_constructAbsMap, emitInitVal)
* src/pic16/device.h (PIC16_device),
* src/pic16/gen.c (pic16_storeForReturn, genAnd, genXor, genAssign),
* src/pic16/glue.c (pic16_printIvalType, pic16_printIvalChar,
pic16_printIvalBitFields, pic16_printIvalUnion),
* src/z80/ralloc2.cc (iy_reserved, Ainst_ok, omit_frame_ptr): fixed warnings
2012-06-28 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCopt.c,
src/z80/gen.c,
src/z80/main.c,
device/include/string.h:
Built-in strncpy().
2012-06-28 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCralloc.hpp,
src/z80/ralloc2.cc,
src/z80/gen.c,
src/hc08/ralloc2.cc,
device/include/string.h:
Built-in strchr().
* src/z80/peep.c:
Fix out-of-array read.
2012-06-27 Borut Razem <borut.razem AT gmail.com>
* src/SDCC.lex:
unescape file names from preprocessor, 3rd try
* device/non-free/lib/pic16/libdev/Makefile.am,
device/non-free/lib/pic16/libdev/Makefile.in,
device/non-free/lib/pic14/libdev/Makefile.in:
gputils supports all devices supported by SDCC
2012-06-27 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/main.c,
src/z80/gen.c:
Built-in strcpy().
2012-06-27 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* device/lib/z180/Makefile.in,
device/lib/incl.mk,
device/lib/r3ka/Makefile.in,
device/lib/gbz80/Makefile.in,
device/lib/s08/Makefile.in,
device/lib/r2k/Makefile.in,
device/lib/hc08/Makefile.in,
device/lib/z180/strcpy.s
device/lib/r3ka/strcpy.s
device/lib/z80/strcpy.s
device/lib/r2k/strcpy.s:
Use ldi for strcpy().
2012-06-27 Borut Razem <borut.razem AT gmail.com>
* src/SDCC.lex:
unescape file names from preprocessor, 2nd try
2012-06-26 Borut Razem <borut.razem AT gmail.com>
* src/SDCC.lex, src/SDCCerr.c, src/SDCCerr.h:
unescape file names from preprocessor
2012-06-26 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Use xor to zero the accumulator in a few more places.
2012-06-26 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Improve memset() for small sizes, RFE #3537534.
2012-06-26 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc:
Improve handling of hl in additions with on-stack param operands.
2012-06-25 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* device/lib/z180/shift.s,
device/lib/r3ka/shift.s,
device/lib/z80/shift.s,
device/lib/gbz80/shift.s,
device/lib/r2k/shift.s,
src/port.h,
src/z80/gen.c,
src/z80/main.c,
device/lib/z180/Makefile.in,
device/lib/z180/stubs.s,
device/lib/r3ka/Makefile.in,
device/lib/r3ka/stubs.s,
device/lib/z80/Makefile.in,
device/lib/z80/stubs.s,
device/lib/gbz80/stubs.s,
device/lib/gbz80/Makefile.in,
device/lib/r2k/Makefile.in,
device/lib/r2k/stubs.s:
Code generation instead of support calls for all shifts.
2012-06-25 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Better cost estimation for loading parameters into pairs,
more efficient loading from stack into iy for Rabbits.
2012-06-25 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Use dec r and inc a in comparison for equality.
2012-06-25 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
Use 16-bit sbc in subtraction and comparison.
2012-06-25 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Improve handling of pointers to long and long long.
2012-06-25 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Minor addition improvement,
refactoring of pair test code.
2012-06-25 Borut Razem <borut.razem AT gmail.com>
* src/regression/Makefile:
applied patch #3537593 - pic16 regression patch,
thanks to Don Wooton
2012-06-24 Borut Razem <borut.razem AT gmail.com>
* support/scripts/repack_release.sh: updated
2012-06-24 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genLeftShiftLiteral): commented out wassert to work
around bug 3537338
2012-06-21 Borut Razem <borut.razem AT gmail.com>
* device/non-free/lib/pic14/libdev/devices.txt,
device/non-free/lib/pic14/libdev/Makefile.in,
device/non-free/lib/pic14/libdev/pic16c782.c,
device/non-free/lib/pic14/libdev/pic16f676.c,
device/non-free/lib/pic14/libdev/pic16f1782.c,
device/non-free/lib/pic14/libdev/pic16c770.c,
device/non-free/lib/pic14/libdev/pic16f716.c,
device/non-free/lib/pic14/libdev/pic16f1503.c,
device/non-free/lib/pic14/libdev/pic16f1507.c,
device/non-free/lib/pic14/libdev/pic16f1783.c,
device/non-free/lib/pic14/libdev/pic16c771.c,
device/non-free/lib/pic14/libdev/pic16c925.c,
device/non-free/lib/pic14/libdev/pic16f1508.c,
device/non-free/lib/pic14/libdev/pic16f1823.c,
device/non-free/lib/pic14/libdev/pic16c432.c,
device/non-free/lib/pic14/libdev/pic16c717.c,
device/non-free/lib/pic14/libdev/pic16c781.c,
device/non-free/lib/pic14/libdev/pic12f675.c,
device/non-free/lib/pic14/libdev/pic16c926.c,
device/non-free/lib/pic14/libdev/pic16f1509.c,
device/non-free/lib/pic14/libdev/pic12f629.c,
device/non-free/lib/pic14/libdev/pic16f684.c,
device/non-free/lib/pic14/libdev/pic16f688.c,
device/non-free/lib/pic14/libdev/pic16f630.c,
device/non-free/lib/pic14/libdev/pic16f747.c,
device/non-free/lib/pic14/libdev/pic16c946.c,
device/non-free/include/pic14/pic16c782.h,
device/non-free/include/pic14/pic16f676.h,
device/non-free/include/pic14/pic16f1509.h,
device/non-free/include/pic14/pic16c770.h,
device/non-free/include/pic14/pic16f716.h,
device/non-free/include/pic14/pic16f1782.h,
device/non-free/include/pic14/pic16c771.h,
device/non-free/include/pic14/pic16c925.h,
device/non-free/include/pic14/pic16f1503.h,
device/non-free/include/pic14/pic16f1507.h,
device/non-free/include/pic14/pic16f1783.h,
device/non-free/include/pic14/pic16c432.h,
device/non-free/include/pic14/pic16c717.h,
device/non-free/include/pic14/pic16c781.h,
device/non-free/include/pic14/pic12f675.h,
device/non-free/include/pic14/pic16c926.h,
device/non-free/include/pic14/pic16f1508.h,
device/non-free/include/pic14/pic16f1823.h,
device/non-free/include/pic14/pic12f629.h,
device/non-free/include/pic14/pic16f684.h,
device/non-free/include/pic14/pic16f688.h,
device/non-free/include/pic14/pic16f630.h:
device/non-free/include/pic14/pic16f747.h:
device/non-free/include/pic14/pic16c946.h:
applied modified patch
#3536909 - "Pic14 device and header upgrade.",
thanks to Molnar Karoly
* support/scripts/inc2h.pl: applied modified patch
#3536022 - "Error in the inc2h.pl program.",
thanks to Molnar Karoly
* device/non-free/include/pic14/recreate.sh:
generate NO_LEGACY_NAMES block if exists in the old version
* src/pic14/genarith.c: applied patch
#3521376 - "pic14 incorrect asm op code",
thanks to Raphael Neider
2012-06-21 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp,
src/port.h,
src/xa51/main.c,
src/mcs51/main.c,
src/ds390/main.c,
src/pic14/main.c,
src/pic16/main.c,
src/z80/main.c,
src/z80/ralloc2.cc,
src/hc08/main.c,
src/hc08/ralloc2.cc:
Nice fix for bug #3536902.
* src/z80/gen.c:
More efficient built-in memcpy() for small copies.
2012-06-21 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp,
src/z80/ralloc2.c,
src/z80/ralloc.h:
Ugly hack to fix bug #3536902.
2012-06-21 Leland Morrison <enigmalee AT sourceforge.net>
* sim/ucsim/z80.src/inst_r2k.cc:
Fix flags for rl de, rr d, rr hl (merged by Philipp Klaus Krause from smallopts branch).
2012-06-21 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix spilling of comitted pair after ex (sp), dd.
2012-06-21 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/cc2530.h: renamed TR0 to TESTREG0
2012-06-21 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Use destructive increment in comparison for equality with #0xff,
more efficient assignment of 16-byte values,
fix spilling of comitted pair after ex (sp), dd.
2012-06-21 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Enable use of rl de in destructive and.
2012-06-20 Leland Morrison <enigmalee AT sourceforge.net>
* sim/ucsim/z80.src/inst_r2k.cc:
Fix flags for rl de, rr d, rr hl.
2012-06-20 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve destructive and.
2012-06-19 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def,
src/z80/peeph-r2k.def:
Minor peephole fix.
2012-06-19 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
More efficient assignment for global variables.
2012-06-19 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix bug in & 0x8000 with ifx for unsigned int.
2012-06-19 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Refactor code for setup for built-in memcpy(),
use ex de, hl in register move,
use cp instead of xor for clearing the carry flag.
2012-06-18 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c,
src/hc08/ralloc.c:
Document relation between offsetFold() and packPointerOp().
2012-06-18 Borut Razem <borut.razem AT gmail.com>
* doc/sdccman.lyx, device/include/pic14/pic14devices.txt,
device/non-free/lib/pic14/libdev/devices.txt,
device/non-free/lib/pic14/libdev/Makefile.in,
device/non-free/include/pic14/pic16f883.h,
device/non-free/include/pic14/pic16f884.h,
device/non-free/include/pic14/pic16f882.h,
device/non-free/lib/pic14/libdev/pic16f884.c,
device/non-free/lib/pic14/libdev/pic16f882.c,
device/non-free/lib/pic14/libdev/pic16f883.c:
applied patch #3531530 - new CPU support (pic16f882, 883, 884),
thanks to Molnar Karoly
2012-06-18 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def,
src/z80/peeph-r2k.def:
Some more peepholes that help when framepointer is omitted.
* src/z80/peep.c:
Handle cpl, ldir, di, ei, out, in, mul and bool in read analysis.
2012-06-18 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
Improve shifts by non-literal.
2012-06-17 Borut Razem <borut.razem AT gmail.com>
* support/scripts/sdcc.nsi:
added removal of include\asm\r3ka\*.h
* device/non-free/include/pic14/pic16fam.h,
support/scripts/pic16fam-h-gen.pl:
applied patch #3531531 - The pic16fam-h-gen correction,
thanks to Molnar Karoly
* support/scripts/repack_release.sh:
remove unneeded directories produced by sdbinutils
2012-06-17 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCerr.h,
src/SDCCerr.c,
src/SDCCval.c:
Warn when encountering long long literals.
2012-06-17 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve destructive and.
2012-06-16 Leland Morrison <enigmalee AT sourceforge.net>
* sdas/asz80/z80mch.c: Change to report error for invalid operands
to z180 tst instruction.
2012-06-09 Borut Razem <borut.razem AT gmail.com>
* .version, sdcc.spec, doc/sdccman.lyx:
changed sdcc version to 3.2.0
2012-06-16 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Implement #3512989.
2012-06-15 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/ports/pic14/support.c:
Fix for renamed __asm.
* support/regression/tests/gcc-torture-execute-pr31169.c,
support/regression/tests/bitfields.c,
support/regression/tests/gcc-torture-execute-20100316-1.c,
support/regression/tests/gcc-torture-execute-pr38422.c,
support/regression/tests/gcc-torture-execute-921016-1.c:
Disable tests that use bitfields of size greater than 8 bits, which is not yet supported by the pic16 port.
2012-06-15 Leland Morrison <enigmalee AT sourceforge.net>
* sim/ucsim/z80.src/z80cl.h, z80.cc, inst_ed.cc:
Added in0, out0, and tst instructions for z180 support.
2012-06-15 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp:
Fix lospre nonforward-substitution of POINTER_SET.
* src/SDCClospre.cc:
Improve handling of invalidation at POINTER_SET.
2012-06-15 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/and_survive.c:
Test non-destructive and, regression test for #3534833.
* support/regression/tests/gcc-torture-execute-980707-1.c:
Adapted and enabled test for mcs51.
2012-06-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/gen.c:
Fix cost calculation for branches.
2012-06-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/gen.c:
Improve storing of hx in assignment.
2012-06-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fix for 16-bit addition to avoid generating invalid add hl, iy.
2012-06-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Improve multiplication for Rabbits.
2012-06-13 Leland Morrison <enigmalee AT sourceforge.net>
* sdas/asz80/z80mch.c: Allow the tst instruction for z180/.hd64 to
use the two operand form (tst a,X) (fixes bug #3534833)
2012-06-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Improve one-byte shifts, use fix of #3534833 in non-destructive and.
2012-06-13 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Improve right shift.
2012-06-13 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Improve 16-bit addition with operand in hl and result in iy.
2012-06-13 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc,
src/z80/gen.c:
Improvements to left shift by literal.
2012-06-13 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc,
src/z80/gen.c,
src/z80/peep.c:
Improvements to non-destructive and, including #3526286.
2012-06-12 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCmain.c,
src/SDCCopt.c,
src/SDCCglobl.h:
Implement --nolospre option for disabling lospre.
2012-06-12 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCicode.c:
Fix debug output for GET_VALUE_AT_ADDRESS right operand.
2012-06-11 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp:
Fix handling of IFX in forward substitution.
2012-06-11 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.cc:
Disable lospre of assignments with iTemp source.
2012-06-11 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp,
src/SDCClospre.cc:
Reorganize forward substitution code, lospre for GET_VALUE_AT_ADDRESS.
2012-06-10 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (decorateType, &/|/^): optimize bool with literal,
(optimizeGetAbit): prevent memory leak
* src/SDCCcse.c (algebraicOpts): optimize bool XOR literal
* src/SDCCsymt.c (computeType): also remove const from result,
fixed bug 3531687 by removing wrong CHAR = ? 1 : 0 optimization to BOOL
* src/SDCCval.h,
* src/SDCCval.c (constBoolVal): new function
(cheapestVal): added BOOL for 0 or 1,
* support/regression/tests/bug3531687.c: enabled test, removed unrelated
and already covered test
* support/regression/tests/getbyte.c: new, added
2012-06-09 Borut Razem <borut.razem AT gmail.com>
* support/regression/ports/pic14/spec.mk,
support/regression/ports/pic16/spec.mk:
fixed pic -> pic14, --non-free -> --use-non-free
2012-06-09 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc:
Disallow source operand in h or l for >= 16-bit addition that also has a
source operand on extended stack. Final part of fix for bug #3531660.
* support/regression/tests/bug3531687.c:
Regression test for bug #3531687.
2012-06-09 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCopt.c: fixed several missing def/use problems including
bug #3511517
* src/SDCCBBlock.c (addiCodeToeBBlock): fixed bug #3511516
* src/hc08/ralloc.c (packRegisters): fixed bug #3531045
* support/regression/tests/gcc-torture-execute-980604-1.c: reenabled
* support/regression/tests/gcc-torture-execute-980205.c: reenabled
2012-06-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/main.c:
Fix handling of --fomit-frame-pointer for z180, r2k and r3ka port.
2012-06-07 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (genAssign): no assignment for ruonly to ruonly
* src/SDCC.y,
* src/SDCCerr.c: W_COMP_RANGE, W_EMPTY_SOURCE_FILE & W_CONTROL_FLOW are pedantic
* src/SDCCast.c (processParms): no cast for signedness only,
(resultTypePropagate): propagate for GETHBIT, GETABIT, GETBYTE & GETWORD,
(decorateType: BITWISEAND): rearrange first,
(decorateType: RETURN): no cast for signedness only,
(optimizeGetHbit, optimizeGetAbit): use bitsForType instead of getSize and
propagate resultType,
(optimizeGetByte, optimizeGetWord): handle offset 0
* src/SDCClabel.c (deleteIfx),
* src/SDCCcse.c (ifxOptimize): W_CONTROL_FLOW is pedantic,
(algebraicOpts: BITWISEAND, OR): use bitsForType instead of getSize
* src/SDCCicode.c (geniCodeLogic): W_COMP_RANGE is pedantic,
(geniCodeUnary, geniCodeBinary): added param resType,
(checkTypes): no cast for signedness only,
(ast2iCode): propagate tree->ftype
* src/SDCCopt.c (optimizeCastCast): use bitsForType instead of getSize
* src/SDCCsymt.c (comparePtrType): only cast signedness if necessary
* src/SDCCsymt.h,
* src/SDCCicode.h: cosmetics
2012-06-06 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: fixed bugs #3531546 and #3531545
2012-06-06 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fix 16-Bit addition for interleaved pairs. Partial fix for bug #3531660.
2012-06-06 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fix POINTER_SET with surviving result partially in hl. Partial fix for bug #3531660.
2012-06-06 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_autobaud.c: cosmetics
* device/lib/printfl.c: fixed bug 3513300
2012-06-06 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: Fixed bug #3531544. Fixed cast from h to hx.
2012-06-05 Borut Razem <borut.razem AT gmail.com>
* support/sdbinutils/libiberty/makefile.in:
excluded pex*.c files from build since pex-unix.c doesn't
compile on cygwim mingw and they are not needed by sdbinutils
* doc/sdccman.lyx: compiler macro definitions not starting with
double underscore characters are deprecated if --std-cXX
command line option is defined;
new compiler macros for processor definition were introduced
for pic14 and pic16 targets
2012-06-05 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc:
Disallow surviving hl in addition with extended stack operands. Partial fix for bug #3531660.
2012-06-05 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/ralloc.c (packForPush),
* src/ds390/ralloc.c (packForPush),
* src/hc08/ralloc.c (packForPush),
* src/pic14/ralloc.c (packForPush),
* src/pic16/ralloc.c (packForPush): fixed bug #3527285
2012-06-04 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fix corner case in addition with extended stack right operand and low result byte in hl. Partial fix for bug #3531660.
2012-06-04 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc:
Disallow use of hl over comparison when there is an extended stack operand. Partial fix for bug #3531660.
* src/z80/gen.c:
Save a during GET_VALUE_AT_ADDRESS when storing to extended stack operand. Partial fix for bug #3531660.
2012-06-04 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (loadRegIndex, storeRegIndexed): added missing
rematOfs
2012-06-03 Borut Razem <borut.razem AT gmail.com>
* src/pic14/main.c, src/pic16/main.c: re-enabled deprecated
macros not starting with double underscore characters in
combination with --std-cXX
* device/include/pic16/pic18fregs.h: modified for __SDCC_PICXXX
2012-06-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix handling of extended stack operands in 16-bit unary minus and signed comparison. Partial fix for bug #3531660.
2012-06-03 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCopt.c,
* src/hc08/ralloc.c: RFE 3526269 and 3526268
2012-06-02 Philipp Klaus Krause <pkk AT spth.de>
* src/port.h:
Fixed bug #3531540.
2012-06-02 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCerr.c, src/SDCCerr.h: added W_STRING_CANNOT_BE_TERMINATED
src/SDCCast.c (createIvalCharPtr): fixed #3007799: generate different warning
for initializer strings that fit in buffer without terminating '\0'. According
C99 $6.7.8:14 this is allowed. With --less-pedantic no warning is generated.
Modified version of patch by Jan Waclawek.
2012-06-02 Borut Razem <borut.razem AT gmail.com>
* src/SDCCmain.c, src/pic14/main.c, src/pic16/main.c,
support/scripts/pic14fam-h-gen.pl,
applied modified patch
#3531337 - The pic14 port, automatically creates the -DpicXXX,
thanks to Molnar Karoly
* support/scripts/pic16fam-h-gen.pl: modified for __SDCC_PICXXX
* device/non-free/include/pic14/pic14fam.h,
device/non-free/include/pic16/pic16fam.h: (re)generated
2012-06-01 Borut Razem <borut.razem AT gmail.com>
* doc/README.txt, doc/INSTALL.txt: updated for SDCC 3.2.0 release
2012-06-01 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def,
src/z80/peeph-r2k.def:
Shift optimization.
2012-06-01 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.cc,
src/SDCCsymt.h,
src/SDCCsymt.c,
src/SDCClospre.hpp:
Relax lospre type checking.
2012-06-01 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.cc:
Disable lospre for literla assignments (can be reenabled once ports can rematerialize this).
* src/SDCClospre.hpp:
Improve handling of volatile.
2012-06-01 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Always use 16-bit addition when an operand and the result are in hl.
2012-06-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: Preparations for further pointer offset
optimizations. Bug fixes for certain register assignment cases
in complement, unary minus, bitwise operators, and bitfield
unpacking.
2012-05-31 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fix handling of a in casts, bug #3531118.
2012-05-31 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* doc/sdccman.lyx:
Updated manual (mostly r3ka and s08 port).
2012-05-31 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp:
Fix handling of invalidating iCodes in lospre.
* src/SDCClospre.cc:
Fix multiround-lospre.
2012-05-31 Borut Razem <borut.razem AT gmail.com>
* debugger/mcs51/cmd.c: fixed bug #3530998 - source code bug..
2012-05-31 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.h: handle up to 8 registers per symbol for long long
support
2012-05-30 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc.h,
src/z80/gen.c,
src/z80/ralloc2.cc:
More flexible handling of a during pointer access in z80-related ports.
2012-05-30 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/peeph-r2k.def:
Fix invalid stack-relative increment.
* src/z80/gen.c:
More efficient handling of 16-bit stores to stack.
2012-05-30 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* sim/ucsim/z80.src/inst_r2k.cc:
Fix handling of carry in 16-bit shift rotate instructions.
* src/z80/gen.c:
Better 16 bit signed comparison for z80 related (except gbz80).
2012-05-30 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Allow result of GET_VALUE_AT_ADDRESS in A for z80-related ports.
2012-05-30 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Improve storing of literals to stack for Rabbits.
2012-05-30 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fix multibyte global to global assignment on gbz80 with de alive.
2012-05-30 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/ralloc2.cc (operand_sane): fixed erroneous rejection of
single byte operand register assignment due to out of bounds
dereference
2012-05-29 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fix for surviving pair in bitfield write.
2012-05-29 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp:
Fix for handling global variables over calls in lospre.
2012-05-29 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
src/hc08/gen.c:
Added assertions to debug rematerialization issues.
2012-05-29 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/ralloc.c (moveSendToCall, packRegisters): move SEND iCodes
to immediately precede their CALL/PCALL for better live range info.
* src/hc08/gen.c (genSend): fixed bug swapping SEND iCode order.
2012-05-29 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp:
Fix invalid memory access bug.
2012-05-29 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp,
src/z80/gen.c:
Fix handling of ADDRESS_OF in lospre forward assignment.
2012-05-29 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fixed bug #3530276.
2012-05-29 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCbitv.c (bitVectSetBit, bitVectUnSetBit),
* src/hc08/ralloc2.cc (set_surviving_regs),
* src/z80/ralloc2.cc (set_surviving_regs): Prohibit negative bit
position in bit vectors to avoid memory corruption
* device/lib/clean.mk: add s08 and r3ka ports to cleaning
2012-05-28 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Use Rabbit's cast to bool instruction for zeroing h,
more efficient loading of pairs in shifts.
* src/z80/peep.c:
Handle bool in instruction size calculations.
2012-05-28 Borut Razem <borut.razem AT gmail.com>
* src/pic16/main.c: allow underscore characters in #pragma config
2012-05-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.hpp,
src/SDCClospre.cc:
Improve handling of results of substituted instructions in lospre.
2012-05-27 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCClospre.hpp,
src/SDCClospre.cc:
Fix handling of --max-allocs-per-node in lospre.
2012-05-26 Borut Razem <borut.razem AT gmail.com>
* src/pic16/main.c: allow space characters in #pragma config
2012-05-25 Borut Razem <borut.razem AT gmail.com>
* doc/sdccman.lyx: corrected #pragma configure to #pragma config
2012-05-25 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp:
Improve handling of --max-allocs-per-node in lospre.
2012-05-25 Maarten Brock <sourceforge.brock AT dse.nl>
* src/hc08/gen.c (genPointerSet): fixed warning
2012-05-25 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCicode.h,
src/SDCCicode.c,
src/SDCClospre.hpp,
src/SDCClospre.cc:
Fixes for handling of globals and volatile in lospre.
2012-05-25 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/scripts/sdcc.nsi: fix my typo in r3ka path
2012-05-24 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp,
src/SDCClospre.cc:
lospre.
2012-05-24 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/peeph-r2k.def,
src/z80/peeph-z80.def,
src/z80/peeph-gbz80.def:
Jump optimization.
2012-05-24 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc,
src/z80/gen.c:
Non-destructive & with bit literal.
2012-05-24 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp,
src/SDCClospre.cc:
Preparations for lospre.
2012-05-24 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/peeph.def:
Improve elimination of branches.
2012-05-24 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp,
src/SDCClospre.cc:
Preparations for lospre.
* src/z80/gen.c:
More verbose debugging for variables that are not in registers, but should be.
2012-05-24 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/scripts/sdcc.nsi: added r3ka and s08 to installer
* support/sdbinutils/binutils/configure.in,
* support/sdbinutils/binutils/configure: fix bug #3527589
* src/SDCCcse.c (newCseDef): fix bug #3528899
2012-05-23 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp,
src/SDCClospre.cc:
Preparations for lospre.
2012-05-23 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: Preparations for further pointer offset
optimizations
2012-05-22 Philipp Klaus Krause <pkk AT spth.de>
* src/hc08/peeph.def:
Allow disabling of tail-call and jump to return optimization.
2012-05-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: Fixed inconsistent offsets for 16-bit register
accesses. Removed broken and unused AOP_STR type. Prohibit loading
h via hx from volatile operands.
2012-05-21 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/memory.c,
src/z80/gen.c,
src/port.h,
src/SDCCglue.c,
src/z80/main.c,
src/z80/peep.c:
Use lsidr for built-in memset() for r3ka.
* src/hc08/gen.c:
Use ldhx, sthx for memory-to-memory assignment and cast.
* src/hc08/peeph.def:
Basic tail call optimization.
2012-05-21 Philipp Klaus Krause <pkk AT spth.de>
* src/hc08/gen.c:
More efficient loading of H and HX for hc08 and s08.
2012-05-21 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/setjmp.c:
Enable test for r3ka.
* support/regression/tests/gcc-torture-execute-pr28982a.c,
support/regression/tests/gcc-torture-execute-20010224-1.c,
support/regression/tests/gcc-torture-execute-20030408-1.c:
Disable tests for r3ka.
* support/regression/Makefile.in:
Add ucr3ka target to z80 target.
2012-05-21 Leland Morrison <enigmalee AT sourceforge.net>
* SDCCpeeph.c, peep.c: Fixed so that R2K instructions are
recognized for -mr3ka target by the peephole optimizer.
2012-05-20 Leland Morrison <enigmalee AT sourceforge.net>
* support/regression/Makefile.in, support/regression/ports/ucr3ka/*,
support/regression/fwk/include/testfwk.h: added test-ucr3ka to
run regression tests on the rabbit 3000A port
2012-05-20 Leland Morrison <enigmalee AT sourceforge.net>
* device/include/sdcc-lib.h, device/include/math.h: Added conditional
for rabbit 3000
* devince/include/asm/r3ka/features.h: Added to allow customizations
for -mr3ka
2012-05-20 Leland Morrison <enigmalee AT sourceforge.net>
* src/sdas/asrab/rabbitpst.c: Added mnemonics for rabbit 3000A
* src/sdas/asrab/rabbitmch.c: Added .r3k flag and rabbit 3000A
instructions, changed much of the indentation to make gnu style,
and update two functions declarations from K&R style
* src/sdas/asrab/rabbit.h: Added constants for rabbit 3000 support
2012-05-20 Philipp Klaus Krause <pkk AT spth.de>
* src/hc08/gen.c:
Emit cost information only when --fverbose-asm is used.
2012-05-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: Fixed yet more problems with registers possibly
clobbered in division/modulus. Optimized GET_VALUE_AT_ADDRESS
including handling non-zero right operand.
* src/hc08/ralloc.c: Allow packRegsForSupport() to optimize
conditions computed for IFX. Handle non-zero right operand
for GET_VALUE_AT_ADDRESS when generating pseudo symbol.
* src/SDCCopt.c: Let GET_VALUE_AT_ADDRESS have non-zero right
operand for HC08-like ports. Fix def/use info on operands
converted to integer support function calls.
2012-05-20 Philipp Klaus Krause <pkk AT spth.de>
* sdccconf_in.h:
Regenerated, so building with r3ka port disabled works now.
2012-05-20 Philipp Klaus Krause <pkk AT spth.de>
* src/hc08/gen.c:
Improved code for PCALL.
2012-05-20 Philipp Klaus Krause <pkk AT spth.de>
* src/hc08/gen.c,
src/hc08/ralloc2.cc:
Improved code for GET_VALUE_AT_ADDRESS.
2012-05-19 Philipp Klaus Krause <pkk AT spth.de>
* src/hc08/gen.c:
Improve addition for hc08 and s08.
* src/z80/main.c:
Fix name of r3ka library.
* src/hc08/main.c:
Fix name of s08 library.
2012-05-19 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/hc08.src/hc08.cc:
Fix sthx with ext operand on s08.
* src/hc08/gen.c:
Use ldhx, cphx and sthx with ext operands for s08 in places where we use them for hc08 with imm operands.
2012-05-19 Philipp Klaus Krause <pkk AT spth.de>
* sdas/as6808/m08mch.c,
sdas/as6808/m6808.h,
sdas/as6808/m08pst.c,
src/SDCCralloc.hpp,
src/SDCCglue.c,
src/hc08/main.c,
src/hc08/ralloc2.cc:
Asm for s08.
2012-05-19 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug3223041.c:
Do not handle hc08 as special case.
2012-05-18 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/r3ka/Makefile.in:
Fix building of r3ka lib.
* device/lib/s08/Makefile.in:
Fix building of s08 lib.
* support/regression/Makefile.in,
support/regression/ports/s08,
support/regression/fwk/include/testfwk.h,
support/regression/tests/gcc-torture-execute-func-ptr-1.c,
support/regression/tests/gcc-torture-execute-991112-1.c,
support/regression/tests/gcc-torture-execute-921208-1.c,
support/regression/tests/bug3379723.c,
support/regression/tests/gcc-torture-execute-930702-1.c,
support/regression/tests/float_single.c,
support/regression/tests/gcc-torture-execute-20000412-2.c,
support/regression/tests/gcc-torture-execute-20080529-1.c,
support/regression/tests/gcc-torture-execute-20030209-1.c,
support/regression/tests/gcc-torture-execute-950915-1.c,
support/regression/tests/bug1723128.c,
support/regression/tests/gcc-torture-execute-20001221-1.c,
support/regression/tests/gcc-torture-execute-20030307-1.c,
support/regression/tests/gcc-torture-execute-950612-1.c,
support/regression/tests/gcc-torture-execute-20001108-1.c,
support/regression/tests/cse.c:
Regression testing for s08 port.
* device/include/stdarg.h:
Fix variable arguments for s08.
* device/lib/_mullong.c:
Fix long multiplication for s08.
2012-05-18 Philipp Klaus Krause <pkk AT spth.de>
* configure.in,
src/SDCCicode.c,
src/SDCCsymt.c,
src/SDCCmain.c,
src/port.h,
src/SDCCglue.c,
src/hc08/main.c,
src/SDCCpeeph.c,
src/hc08/hc08.h,
device/lib/Makefile.in,
device/lib/s08:
Dummy (behaves as HC08) S08 port.
2012-05-18 Philipp Klaus Krause <pkk AT spth.de>
* device/include/stdarg.h,
device/include/string.h,
device/include/setjmp.h,
device/lib/Makefile.in,
configure.in,
src/SDCCopt.c,
src/z80/gen.c,
src/z80/main.c,
src/z80/z80.h,
src/SDCCmain.c,
src/port.h,
sim/ucsim/aclocal.m4,
sim/ucsim/configure,
device/lib/r3ka:
Dummy (behaves as Rabbit 2000/3000) Rabbit 3000A port.
2012-05-17 Leland Morrison <enigmalee AT sourceforge.net>
* sim/ucsim/hc08/hc08.cc: Fix for opcodes 0xAE, 0xBE, and 0xCE op-decode
2012-05-17 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug3521024.c:
Regression test for bug #3521024.
2012-05-17 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: Use non-destructive bit tests when possible
(rfe #3526285). Fixed loss of association between generated
assembly and iCodes.
* src/hc08/peeph.def: Additional rules for conditional branches and
to remove unused labels.
2012-05-16 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/Makefile.in: renamed test-z80 and test-gbz80 to test-rr...
* support/regression/ports/gbz80,
* support/regression/ports/rrgbz80: renamed to rrgbz80
* support/regression/ports/z80,
* support/regression/ports/rrz80: renamed to rrz80
* support/regression/tests/gcc-torture-execute-921013-1.c: disabled for xstack
2012-05-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (genAnd): added forgotten ifx->generated = TRUE
2012-05-15 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/gcc-torture-execute-961017-2.c: use less loops to
reduce test time
2012-05-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sim/ucsim/hc08.src/hc08.cc,
* sim/ucsim/hc08.src/inst.cc: Fixed simulation of brset/brclr. Keep
track of instruction cycle times.
* src/hc08/gen.c (genAnd): Use brset/brclr where possible
2012-05-14 Leland Morrison <enigmalee AT sourceforge.net>
* sim/ucsim/stypes.h,
* sim/ucsim/globals.cc: add R3KA (rabbit 3000A) processor type
* sim/ucsim/z80.src/r2k.cc,
* sim/ucsim/z80.src/simz80.cc: added initialization code for R3KA support
* sim/ucsim/z80.src/r2kcl.h,
* sim/ucsim/z80.src/inst_ed_r2k.cc: support for r3ka instructions
* sim/ucsim/z80.src/inst_ed.cc: change to allow overloading of inst_ed_
2012-05-16 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp,
src/SDCClospre.cc:
Early preparations for lospre.
2012-05-15 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp:
Early preparations for lospre.
2012-05-14 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: correct some dry run costs, update genDivOneByte()
and genModOneByte() to handle all register operand posibilities
2012-05-13 Maarten Brock <sourceforge.brock AT dse.nl>
* sim/ucsim/pobj.cc,
* sim/ucsim/pobjcl.h: made cl_list::at inline
* sim/ucsim/s51.src/regs51.h: added AP
* sim/ucsim/s51.src/uc390.cc (inst_inc_dptr): fixed sel bug,
(disass): show inc/dec dptr,
(print_regs): show DPTR0, DPTR1 and AP
* src/ds390/gen.c (genGenPointerGet, genGenPointerSet): fixed bug 3509705
* support/regression/compact-results.py: align results
* support/regression/tests/gcc-torture-execute-921013-1.c: enabled tests
2012-05-12 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp,
src/SDCClospre.cc:
Early preparations for lospre.
2012-05-11 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCopt.c,
src/SDCCopt.c,
src/SDCClospre.cc,
Preparations for finding lospre optimization candidates.
2012-05-11 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc,
src/hc08/ralloc2.c:
Bypass dry run for generated ic.
2012-05-10 Maarten Brock <sourceforge.brock AT dse.nl>
* src/hc08/gen.h,
* src/hc08/gen.c (aopName): compile conditionally,
(assignResultValue): MSVC has no true/false,
(hasInchc08): fixed warning,
(genReceive): declarations first
* src/hc08/ralloc.c: include dbuf_string.h,
(createStackSpil): removed unused slocBuffer
* src/hc08/hc08.vcxproj.filters,
* src/hc08/hc08.vcxproj: added ralloc2.cc and boost include dir
* src/z80/gen.c (genCmp): fixed uninitialised warning
* src/SDCCicode.h: cosmetics
2012-05-09 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp,
src/hc08/ralloc2.cc:
Added some debug info code.
2012-05-11 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClospre.hpp,
src/SDCCralloc.hpp,
src/SDCCnaddr.cc,
src/SDCCnaddr.hpp,
src/SDCClospre.cc:
Declare some data types for lospre.
2012-05-09 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/gen.c,
src/hc08/ralloc.c:
Remove some unused variables.
2012-05-09 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (aopOp): Handle spill location correctly even
though it is not actually allocated during dry run
2012-05-07 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/ports/ds390/spec.mk:
Increase timeout from 40 to 60, since ds390 simulation on NetBSD is slow.
2012-05-06 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (aopAdrStr): handle incompletely initialized
spill location symbols during dry run
2012-05-06 Borut Razem <borut.razem AT gmail.com>
* .version, doc/sdccman.lyx: bumped version to 3.1.5
* ChangeLog: removed unicode BOM
* support/sdbinutils/binutils/Makefile.am,
support/sdbinutils/binutils/Makefile.in:
fixed the first part of bug #3518739 - Build weird behaviour...
2012-05-05 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/gcc-torture-execute-pr44555.c: test was not
disabled for gcc 4.4.3, now it is for all 4.x.x < 4.6.0
2012-05-05 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.c,
* src/SDCCicode.h,
* src/SDCCralloc.hpp,
* src/SDCCset.c,
* src/SDCCsymt.c,
* src/hc08/gen.c,
* src/hc08/gen.h,
* src/hc08/main.c,
* src/hc08/ralloc.c,
* src/hc08/ralloc.h,
* src/hc08/ralloc2.cc,
* src/yacc.vcxproj,
* src/z80/gen.c,
* src/z80/ralloc.c,
* src/z80/ralloc2.cc: Merged optralloc-hc08 branch
2012-05-05 Maarten Brock <sourceforge.brock AT dse.nl>
* config.vcxproj,
* configure_vc.awk,
* doc/sdccman.lyx,
* sdcc_vc.h.in, sdcc_vc_in.h: renamed sdcc_vc_in.h to sdcc_vc.h.in
* src/SDCCval.c (byteOfVal),
* src/z80/gen.c (genLeftShiftLiteral, genPointerGet),
* src/mcs51/gen.c (genLeftShiftLiteral): fixed warnings
* src/SDCCnaddr.hpp: renamed cfg_node to cfg_naddr_node
* src/SDCCralloc.hpp: default_constructor_of_cfg_node_called and
cfg_node constructor disabled to fix bug 3521407
* src/SDCCtree_dec.hpp: set svn properties
* support/regression/ports/mcs51-common/spec.mk: fixed SIM_TIMEOUT bug
* support/regression/tests/bug-3495411.c: enabled for mcs51
* support/regression/tests/gcc-torture-execute-20000622-1.c,
* support/regression/tests/gcc-torture-execute-20010924-1.c,
* support/regression/tests/gcc-torture-execute-961004-1.c,
* support/regression/tests/gcc-torture-execute-961125-1.c,
* support/regression/tests/gcc-torture-execute-990404-1.c: suppressed warnings
2012-05-05 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-20080529-1.c:
Disable test for gcc older than 5.0.
2012-05-05 Borut Razem <borut.razem AT gmail.com>
* support/regression/ports/ds390/spec.mk,
support/regression/ports/hc08/spec.mk,
support/regression/ports/mcs51-common/spec.mk,
support/regression/ports/pic14/spec.mk,
support/regression/ports/pic16/spec.mk,
support/regression/ports/ucgbz80/spec.mk,
support/regression/ports/ucr2k/spec.mk,
support/regression/ports/ucz180/spec.mk,
support/regression/ports/ucz80/spec.mk: use SIM_TIMEOUT
2012-05-04 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/ports/ucgbz80/spec.mk:
Increase timeout from 20s to the 30s other ports use to get rid of NetBSD/sparc64 regression failure.
2012-05-03 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/main.c,
src/hc08/ralloc.c:
Revive old register allocator for --oldralloc.
2012-05-03 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCmain.c,
src/z80/gen.c,
src/z80/ralloc.c,
src/z80/main.c,
src/z80/z80.h,
src/SDCCglobl.h:
Made --oldralloc less port-specific.
2012-05-03 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/gen.c (aopPut3): added missing declarations
2012-05-02 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/gen.c:
Remove obsolete genPointerGetSetOfs().
2012-05-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* configure: regenerated from new configure.in
2012-05-02 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
More efficent storing of registers pairs to top of stack.
2012-05-02 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/gcc-torture-execute-20101013-1.c:
Disable test until nonzero integer constants work.
2012-05-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCval.h,
* src/SDCCval.c (byteOfVal): new function
* src/z80/gen.c (aopGet, gencjneshort),
* src/SCCglue.c (aopLiteralLong): use byteOfVal() to access value
* configure.in,
* sdcc_vc_in.h,
* sdccconf_in.h: find/define appropriate 64-bit integer
* src/SDCCsymt.h: start of support for 64-bit literal
2012-04-30 Leland Morrison <enigmalee AT sourceforge.net>
* sim/ucsim/app.cc: reduced the frequency of checks for user input
2012-04-26 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Improve code generation for comparison to zero.
2012-04-26 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/librarian/sdcclib.c:
Do not depend on PATH_MAX, fix #3521650.
* sdas/asxxsrc/asxxxx.h:
Use FILENAME_MAX if PATH_MAX is not defined.
2012-04-28 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: Optimize access to h/hx on top of stack. Compute
cost of SEND.
* src/hc08/ralloc2.cc: Compute cost of SEND. Support xa and ax
with GETBYTE and GETWORD.
2012-04-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: Rewrite genSend to fix problem with register
clobbering. Allow use of tsx with function return values.
* src/hc08/ralloc.c: Removed unneed constraint on stack operands
2012-04-25 Borut Razem <borut.razem AT gmail.com>
* src/common.h, src/ds390/main.c: include SDCCsystem.h in common.h
* src/SDCCmain.c: added newline at end of file
* src/SDCCicode.c: use TRUE instead of undefined true
* src/SDCCicode.h: fixed declaration of isOperandLiteral()
2012-04-25 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/peeph-gbz80.def:
Removed peephole that resulted in invalid or operand on gbz80.
2012-04-24 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fix #3521024.
2012-04-25 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: Fixed bug with cpx use. Optimize stack adjustments
of +/-1. Use mov #0 instead of clr with volatile operands to avoid
read side effect. Avoid using x as stack frame base unless it saves
clock cycles.
2012-04-24 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCicode.c,
src/SDCCopt.c,
src/z80/gen.c:
GET_VALUE_AT_ADDRESS with offset for z80, z180 and r2k.
2012-04-24 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: Index stack frame via x instead of sp when convenient
2012-04-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: Use msb to lsb order in assignment for compatibility
with hardware hardware registers. Expanded use of cpx and ldhx
instructions. Removed some old unused code. Fixed a stack bug in
genPlusIncr.
2012-04-23 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCicode.c:
Enable replacing division by power of two by conditional addition and shift (for hc08, z80, z180, gbz80 and r2k).
* src/z80/gen.c,
src/mcs51/gen.c:
Fortify a "/* I assume that [...]" comment by an assertion that would have saved me some time.
2012-04-20 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/main.c:
Enable CSE for an approx. 0.1-0.2% code size reduction.
2012-04-22 Raphael Neider <rneider AT web.de>
* device/lib/pic16/libsdcc/gptr/eeprom{8,16}_gptrput[1234].c:
fix accessing EECON1.WREN
2012-04-22 Raphael Neider <rneider AT web.de>
* device/non-free/lib/pic14/libdev/Makefile.in:
build 16f72[01] only if --enable-new-pics is given, as the
devices are not supported in the current gputils release 0.14.1
2012-04-21 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/main.c: undo removed include to fix implicit declaration
2012-04-21 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.c:
Preparations for replacing division by power of two by conditional addition and shift.
* support/regression/tests/longlong.c,
support/regression/tests/gcc-torture-execute-pr42269-2.c,
support/regression/tests/gcc-torture-execute-20080529-1.c,
support/regression/tests/gcc-torture-execute-950503-1.c,
support/regression/tests/float_single.c:
Enable more tests for hc08.
2012-04-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: fix bugs in genRLC, genRRC, and genJumpTab; support large stack
offsets in rmwWithAop; optimized asmopToBool
* src/hc08/ralloc.c: fix bug in findAssignToSym
2012-04-20 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/ralloc2.cc,
src/hc08/gen.c:
Allow some use of ax.
2012-04-20 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/ralloc2.cc,
src/hc08/gen.c:
Remove accuse.
2012-04-19 Raphael Neider <rneider AT web.de>
* device/lib/pic16/libc/stdio/strmmssp.c:
fixed use of access bank vs. BSR
* device/lib/pic16/libsdcc/gptr/eeprom{8,16}_gptr{get,put}[1234].c,
device/lib/pic16/libsdcc/gptr/eeprom{8,16}_write.c:
implement EEPROM read/write access
* device/lib/pic16/libsdcc/gptr/gptr{get,put}[1234].c:
call EEPROM dispatchers on EEPROM accesses
* device/lib/pic16/libsdcc/Makefile.am:
add gptr EEPROM accessors
* device/non-free/lib/pic16/libdev/gptr/*:
dispatch EEPROM accesses to the appropriate implementations
based on device capabilities (no eeprom, 8 or 16 bit EEPROM
address space)
* device/non-free/lib/pic16/libdev/mkmk.sh,
device/non-free/lib/pic16/libdev/newdevices.txt:
improved to automatically add SSPBUF workaround
plus EEPROM dispatchers as required by the devices
* device/non-free/lib/pic16/libdev/pic18f1330.c,
device/non-free/lib/pic16/libdev/pic18f1220.c,
device/non-free/lib/pic16/libdev/pic18f4450.c:
removed manual SSPBUF workaround
* device/non-free/lib/pic16/libdev/fake_sspbuf.c:
provide automatic SSPBUF workaround
* device/lib/pic16/libsdcc/Makefile.in,
device/non-free/lib/pic16/libdev/Makefile.am,
device/non-free/lib/pic16/libdev/Makefile.in:
regenerated
2012-04-20 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/ralloc2.cc,
src/hc08/gen.c:
Made hc08 code generation more robust wrt. surviving registers and register operands.
2012-04-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: rewrite genCast for register source/results
2012-04-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/ralloc2.cc,
src/hc08/gen.c:
Fixes for the cost function (reducing code size and exposing code generation issues).
2012-04-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/ralloc2.cc,
src/hc08/gen.c:
Made hc08 code generation more robust wrt. surviving registers and register operands.
2012-04-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/gen.c:
Preparations for removing accuse.
2012-04-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/ralloc2.cc,
src/hc08/gen.c:
Fix xa to hx assignment.
2012-04-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/ralloc2.cc:
Fix assignment of nRegs and regs for accuse symbols.
2012-04-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: fixed div/mod sign ext. to work with register result
2012-04-18 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/ralloc2.cc,
src/hc08/gen.c:
Made hc08 code generation more robust wrt. surviving registers and register operands.
2012-04-17 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/ralloc2.cc,
src/hc08/gen.c:
Made hc08 code generation more robust wrt. surviving registers and register operands.
2012-04-16 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/ralloc2.cc,
src/hc08/gen.c:
Handling of pointer access in new allocator.
2012-04-16 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCralloc.hpp,
src/SDCCicode.c,
src/SDCCicode.h,
src/z80/ralloc2.cc,
src/hc08/gen.h,
src/hc08/ralloc2.cc,
src/hc08/gen.c:
Improve hc08 cost function.
2012-04-16 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/ralloc2.cc,
src/hc08/gen.c:
Made hc08 code generation more robust wrt. surviving registers and register operands.
2012-04-14 Raphael Neider <rneider AT web.de>
* src/pic16/genarith.c (pic16_genMult8XLit_n,pic16_genMult8X8_n):
work around early clobbering of input operands, fixes #3515677;
clean up, eliminate dead code
2012-04-14 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: fix isDead status for register H
2012-04-13 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCralloc.hpp,
src/hc08/ralloc2.cc,
src/hc08/gen.c:
Made hc08 code generation more robust wrt. surviving registers and register operands.
2012-04-13 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/ralloc.h,
src/hc08/ralloc2.cc,
src/hc08/gen.c,
src/z80/ralloc2.cc:
Introduce isDead for hc08 registers.
2012-04-13 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (asmOp): always keep pointer to operand in asmop
* src/hc08/ralloc2.cc (instruction_cost): reenable !, IFX, and CAST
2012-04-13 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.c (newBoolLink): return bool instead of bit if no
bit memory.
* src/hc08/gen.c: Fixed no register assigned to iTemp for IFX.
Guarded more instances of emitLabel for dry run
2012-04-12 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/gen.c:
Fix genPointerGet with postincrement and result in h.
2012-04-12 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/gcc-torture-execute-920428-1.c:
Reformatted test.
2012-04-12 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/gen.c:
Fix handling of isFree for register operands.
2012-04-12 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/gen.c:
More flexible use of A in cast.
2012-04-12 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/ralloc2.cc:
Fix checking of XA and reenable use of assignment.
* src/hc08/gen.c:
Additional debugging output.
2012-04-12 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCset.c:
Additional assertion.
* src/hc08/ralloc.c:
Avoid buffer overflow.
* src/hc08/ralloc2.cc:
Do not use assignment for now.
2012-04-12 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCicode.h,
src/SDCCicode.c:
Made isOperandLiteral() work on const operand *.
2012-04-12 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/hc08/ralloc.c:
Cleanup.
* src/hc08/gen.c:
Made genDjnz() more flexible.
* src/hc08/ralloc2.cc:
Disallow X, A for now.
2012-04-12 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCralloc.hpp,
src/z80/ralloc2.cc,
src/hc08/ralloc2.cc:
Make optimal register allocator less port-specific.
2012-04-11 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCralloc.hpp,
src/z80/gen.c,
src/hc08/ralloc2.cc,
src/hc08/gen.c,
src/hc08/ralloc.c,
src/SDCCicode.c:
Optimal register allocator for hc08 working partially.
2012-04-11 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcse.c (ifOperandsHave): fixed bug #3516746
2012-04-11 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/string.c:
Added test for strrchr().
* src/z80/gen.c,
src/SDCCpeeph.c:
Fixed memory leaks.
2012-04-10 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCralloc.hpp,
src/z80/ralloc.c,
src/hc08/ralloc.c,
src/hc08/gen.c:
Enable new allocator as dummy, spilling everything.
2012-04-10 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc.c,
src/hc08/ralloc2.cc,
src/hc08/ralloc.c:
Preparations for optimal register allocation for hc08.
2012-04-09 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/Makefile.in,
support/regression/collate-results.py : another fix for bug #3477347
* support/regression/ports/hc08/spec.mk: increase timeout to 30 seconds
2012-04-08 Borut Razem <borut.razem AT gmail.com>
* src/SDCCgen.c:
don't emit leading whitespaces in inline asm, 2nd try
fixed bug #3515390 - asm with leading whitespace passed to backends
* src/z80/peep.c: made z80instructionSize() function more
robust: accept arbitrary number of arbitrary space characters
between mnemonic and the first operand
2012-04-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc:
Fix invalid reads.
* src/z80/gen.c:
Fix a memory leak.
2012-04-07 Borut Razem <borut.razem AT gmail.com>
* src/common.h, SDCCglobal.h: fixed mingw32 build on derna:
macros min and max should not be defined when compiled with C++
* src/pic16/device.c, src/pic16/genarith.c, src/pic16/gen.c,
src/pic16/pcode.c, src/pic16/glue.c:
applied patch #3515647 - Correction patch on the PIC16's branch,
thanks to Molnar Karoly
2012-04-07 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp:
Additional assertion to track down #3475617 and #3506333.
2012-04-06 Borut Razem <borut.razem AT gmail.com>
* src/SDCCgen.c, src/SDCCgen.h, src/SDCCralloc.hpp, src/common.h,
src/mcs51/gen.c, src/pic14/gen.c, src/z80/gen.c,
src/pic16/gen.c, src/ds390/gen.c, src/hc08/gen.c:
fixed NetBSD sparc64 build, code beautification,
additional unification of target code generation
* support/cpp/configure.in, support/cpp/configure,
support/cpp/system.h: fixed sdcc configure include paths
* src/SDCCgen.c: don't emit leading whitespaces in inline asm;
fixed bug #3515390 - asm with leading whitespace passed to backends
2012-04-05 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-20080529-1.c:
Disable test for gcc older than 5.0.
* src/z80/ralloc2.cc,
src/SDCCralloc.hpp,
src/z80/gen.h,
src/z80/gen.c:
Made optimal allocator less z80-specific.
2012-04-04 Borut Razem <borut.razem AT gmail.com>
* support/cpp/system.h, support/cpp/libiberty/filenames.h,
support/cpp/libiberty/md5.c, support/cpp/libiberty/obstack.h:
sdcpp partially synchronized with GCC CPP release version 4.7.0
* support/cpp/sdcpp.vcxproj: enhancements, added custom build messages
2012-04-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp:
Additional assertions to track down #3475617 and #3506333.
2012-04-02 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c
src/z80/main.c
src/hc08/main.c
src/hc08/gen.c
src/hc08/ralloc.c
device/include/stdint.h
device/lib/_rlslonglong.c
device/lib/_divslonglong.c
device/lib/z180/Makefile.in
device/lib/z180/stubs.s
device/lib/_mullonglong.c
device/lib/_rrslonglong.c
device/lib/z80/Makefile.in
device/lib/z80/stubs.s
device/lib/gbz80/stubs.s
device/lib/gbz80/Makefile.in
device/lib/_rlulonglong.c
device/lib/Makefile.in
device/lib/_divulonglong.c
device/lib/_divslonglong_rrx_s.c
device/lib/_rrslonglong_rrx_s.c
device/lib/_divulonglong_rrx_s.c
device/lib/_rrulonglong_rrx_s.c
device/lib/_rrulonglong.c
device/lib/_rlslonglong_rrx_s.c
device/lib/r2k/Makefile.in
device/lib/r2k/stubs.s
device/lib/_rlulonglong_rrx_s.c
device/lib/hc08/Makefile.in
device/lib/hc08/_ret.c
support/regression/tests/gcc-torture-execute-991216-1.c
support/regression/tests/gcc-torture-execute-pr47337.c
support/regression/tests/gcc-torture-execute-991216-2.c
support/regression/tests/gcc-torture-execute-pr20187-1.c
support/regression/tests/gcc-torture-execute-20000121-1.c
support/regression/tests/gcc-torture-execute-960801-1.c
support/regression/tests/gcc-torture-execute-930111-1.c
support/regression/tests/gcc-torture-execute-20001112-1.c
support/regression/tests/gcc-torture-execute-20101013-1.c:
long long for hc08.
* src/z80/gen.c,
support/regression/tests/gcc-torture-execute-pr47337.c,
support/regression/tests/gcc-torture-execute-961213-1.c:
Fixed bug #3513892.
* src/SDCCralloc.hpp:
Additional assertions to track down #3475617.
* src/z80/ralloc.c:
Assertion for local variables outside of functions.
2012-04-01 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/Makefile.in,
device/lib/*/Makefile.in,
device/lib/*/stubs.s,
device/lib/_divslonglong_rrx_s.c,
device/lib/_rrslonglong_rrx_s.c,
support/regression/tests/gcc-torture-execute-20101013-1.c,
support/regression/tests/gcc-torture-execute-950512-1.c:
long long division.
* support/regression/tests/gcc-torture-execute-920612-1.c,
support/regression/tests/gcc-torture-execute-920711-1.c:
Disable tests for gcc older than 5.0.
* support/regression/tests/longlong.c,
support/regression/tests/gcc-torture-execute-960801-1.c,
support/regression/tests/longlong.c:
Disable long long tests since they fail on 32-bit systems.
2012-03-31 Borut Razem <borut.razem AT gmail.com>
* src/SDCCgen.c, src/SDCCgen.h, src/ds390/gen.c,
src/ds390/main.c, src/hc08/gen.c, src/hc08/main.c,
src/mcs51/gen.c, src/pic14/gen.c, src/pic16/gen.c,
src/z80/gen.c, src/z80/gen.h:
introduced labelKey2num label handling macro
2012-03-30 Borut Razem <borut.razem AT gmail.com>
* src/common.h, src/Makefile.in, src/SDCCgen.c, src/SDCCgen.h,
src/SDCCasm.c, src/SDCCasm.h, src/SDCCdebug.c,
src/SDCCdebug.h, src/SDCCpeeph.c, src/SDCCpeeph.h,
src/avr/gen.c, src/ds390/gen.c, src/ds390/gen.h,
src/ds390/main.c, src/ds390/main.h, src/hc08/gen.c,
src/mcs51/gen.c, src/mcs51/main.c, src/mcs51/main.h,
src/pic14/gen.c, src/pic16/gen.c, src/z80/gen.c,
sdcc_vc_in.h, src/sdcc.vcxproj, src/sdcc.vcxproj.filters:
unification of target code generation
2012-03-30 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/z180/stubs.s,
device/lib/z80/stubs.s,
device/lib/gbz80/stubs.s,
support/regression/tests/longlong.c,
support/regression/tests/gcc-torture-execute-*.c:
Made TODO comments more specific wrt. to what sdcc functionality is required for enabling the test, enabled more long long tests.
2012-03-30 Borut Razem <borut.razem AT gmail.com>
* configure.in, configure, sdccconf_in.h:
added check if c supports tags in unnamed struct,
fixed IS_VALID_OPTION
* sim/ucsim/configure.in, sim/ucsim/configure:
fixed IS_VALID_OPTION
* sim/ucsim/aclocal.m4: regenerated
* src/pic14/Makefile.in: removed unneeded PORT
2012-03-30 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix for returning long long, fixes #3512403.
* device/lib/z180/stubs.s,
device/lib/z80/stubs.s,
device/lib/gbz80/stubs.s,
support/regression/tests/longlong.c:
More tests for long long.
* support/regression/tests/gcc-torture-execute-*.c:
Made TODO comments more specific wrt. to what sdcc functionality is required for enabling the test.
* device/lib/_rrslonglong_rrx_s.c,
device/lib/_rrulonglong_rrx_s.c,
device/lib/_rlulonglong_rrx_s.c:
Fixes for long long shift.
2012-03-29 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCsymt.c (initCSupport),
device/lib/_rrslonglong_rrx_s.c,
device/lib/_rrulonglong_rrx_s.c:
Fixed declarations for shift support functions.
* device/lib/*z*/Makefile.in,
device/lib/Makefile.in,
device/lib/_r??longlong_rrx_s.c,
device/lib/_mullonglong.c:
Shift and multiplication support for long long.
2012-03-29 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
More flexible use of de for gbz80.
2012-03-29 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.c (initCSupport): fixed declarations for shift support functions
* src/SDCCsymt.c (initBuiltIns),
src/SDCCast.c (funcOfTypeVarg),
src/SDCCast.h: added some const qualifiers
2012-03-29 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc2.cc:
More flexible use of de for gbz80.
2012-03-28 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc:
Allow some use of de on gbz80.
* src/z80/gen.c:
gbz80 >> fix.
* device/lib/_rrslonglong_rrx_s.c,
device/lib/_rrulonglong_rrx_s.c:
Support functions for shifting long long.
2012-03-28 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc,
src/z80/ralloc.c,
src/z80/z80.h:
Remove support for using the old allocator for A, while using the new allocator for other registers.
2012-03-28 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/z80.h:
Enabled exact cost function for gbz80.
* src/z80/gen.c:
Fixed a gbz80 comparison bug.
2012-03-28 Borut Razem <borut.razem AT gmail.com>
* src/SDCCval.c, src/SDCCval.h, src/SDCCicode.c:
double2ul converted from macro to a function
2012-03-28 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Better support for returning long long, now works for gbz80, too.
2012-03-28 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Better assignment for large variables.
* src/z80/peep.c:
Fix code size calculation bug.
2012-03-28 Borut Razem <borut.razem AT gmail.com>
* configure.in, configure, sdccconf_in.h,
sim/ucsim/configure.in, sim/ucsim/configure,
sim/ucsim/ddconfig_in.h:
use AC_C_BIGENDIAN instead of SDCC_BUILD_BIGENDIAN
* support/cpp/config.in: regenerated
* custom_in.h, sim/ucsim/custom_in.h: removed
2012-03-28 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* device/include/stdint.h:
Use long long for intmax_t where available.
2012-03-28 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/gcc-torture-execute-981001-1.c: Revert my
previous edit since it was not needed
2012-03-28 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
support/regression/tests/longlong.c:
Fixed returning long long, and reenabled test.
2012-03-28 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/gcc-torture-execute-981001-1.c: Only use
__reentrant for SDCC and not for test-host
* support/regression/tests/gcc-torture-execute-930106-1.c: Reenabled
2012-03-28 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-981001-1.c:
Fixed #3511512 / #3511513.
2012-03-27 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c,
src/z80/gen.c,
support/regression/tests/gcc-torture-execute-960801-1.c,
support/regression/tests/longlong.c:
Support for returning long long and unsigned long long in z80, z180 and r2k port.
2012-03-26 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fixed stack unbalance bug.
2012-03-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCasm.c (FileBaseName): fixed bug 3511092
2012-03-26 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/gcc-torture-execute-9*.c:
Added some more tests from the execute part of the gcc torture regression test suite.
2012-03-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/ralloc.c (packForPush),
src/ds390/ralloc.c (packForPush),
src/hc08/ralloc.c (packForPush): fixed bug #3502628
* support/regression/tests/gcc-torture-execute-20010403-1.c: reenabled
* src/hc08/ralloc.c (packRegisters, packForPush): use packForPush
for SEND iCodes too.
2012-03-25 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/ralloc.c (packForPush): fixed bug 3502621
* support/regression/tests/gcc-torture-execute-20030117-1.c: enabled test
2012-03-25 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (isConformingBody): fixed bug #3509715
* support/regression/tests/gcc-torture-execute-930513-2.c: reenabled
* src/SDCCast.c (decorateType): fixed bug #3509713
* support/regression/tests/gcc-torture-execute-930429-1.c: reenabled
* src/SDCCicode.c (geniCodeAssign): fixed bug #3509712
* support/regression/tests/gcc-torture-execute-921016-1.c: reenabled
* src/SDCCopt.c (optimizeCastCast): fixed bug #3509711
* support/regression/tests/gcc-torture-execute-921218-1.c: reenabled
2012-03-24 Borut Razem <borut.razem AT gmail.com>
* support/makebin/makebin.c: applied modified patch
#3510671 - [makebin / gbz80] add nintendo logo info in ROM header,
thanks to Noel Lemouel
2012-03-24 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/Makefile.in,
support/regression/ports/ds390/spec.mk,
support/regression/ports/hc08/spec.mk,
support/regression/ports/mcs51-common/spec.mk,
support/regression/ports/pic14/spec.mk,
support/regression/ports/pic16/spec.mk,
support/regression/ports/ucgbz80/spec.mk,
support/regression/ports/ucr2k/spec.mk,
support/regression/ports/ucz180/spec.mk,
support/regression/ports/ucz80/spec.mk,
support/regression/ports/xa51/spec.mk: attempt to fix bug #3477347
2012-03-24 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcse.h,
src/SDCCcse.c: handle possible pointer aliasing more conservatively
* src/z80/gen.c (genFunction): reset stack.pushed at function start too
2012-03-22 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-941021-1.c:
Disable test for gcc older than 5.0.
2012-03-22 Borut Razem <borut.razem AT gmail.com>
* doc/sdccman.lyx: double underlined keywords,
fixed bug #3510011 - Wrong keyword
* src/sdcc.vcxproj, src/sdcc.vcxproj.filters:
added some missing header files
2012-03-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.h,
src/SDCCsymt.c (initCSupport, typeFromStr, printTypeChainRaw),
src/SDCCopt.c (cnvToFloatCast, cnvToFixed16x16Cast, cnvFromFloatCast,
cnvFromFixed16x16Cast, convilong): ongoing upgrades for long long type
2012-03-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (transferAopAop): fixed bug 3509707
* support/regression/tests/gcc-torture-execute-930603-1.c: reenabled
2012-03-21 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/gcc-torture-execute-92*,
support/regression/tests/gcc-torture-execute-93*,
support/regression/tests/gcc-torture-execute-94*:
Added some more tests from the execute part of the gcc torture regression test suite.
2012-03-20 Borut Razem <borut.razem AT gmail.com>
* src/mcs51/gen.c, src/SDCCasm.c, src/SDCCasm.h, src/z80/gen.c,
src/SDCCutil.c, src/ds390/gen.c, src/hc08/gen.c:
code cleaning, optimization, ...
2012-03-20 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* device/include/stdint.h,
device/include/string.h,
device/include/stddef.h,
device/include/stdlib.h,
device/include/stdio.h,
device/include/time.h,
device/include/errno.h:
rsize_t, errno_t, constraint_handler_t, RSIZE_MAX from annex K (bounds-checking) of the C11 standard.
2012-03-19 Borut Razem <borut.razem AT gmail.com>
* src/SDCC.lex, doc/sdccman.lyx: removed asm() pseudo function
since it is not standard-compliant
2012-03-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCpeeph.c:
Handle gbz80 (hl+) and (hl-).
2012-03-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/Makefile.in,
support/regression/collate-results.py: Summarize any failures in a
nicer format instead of all run together on one line
* src/ds390/gen.c (genPlusIncr): fix problem with dereferencing a
generic pointer via a struct losing pointer type byte
2012-03-18 Borut Razem <borut.razem AT gmail.com>
* doc/sdccman.lyx,src/avr/gen.c, src/ds390/gen.c,
src/hc08/gen.c, src/mcs51/gen.c, src/pic14/gen.c,
src/pic16/device.c, src/pic16/gen.c, src/pic16/glue.c,
src/pic16/pcode.c, src/SDCC.lex, src/SDCC.y, src/SDCCast.c,
src/SDCCglue.c, src/SDCCsymt.h, src/SDCCutil.c,
src/SDCCutil.h, src/SDCCval.c:
implemented feature request #2815320 - please add asm()
pseudo function as alternate
* sdcc.sln, src/sdcc.vcxproj, src/sdcc.vcxproj.filters,
src/yacc.vcxproj:
re-itroduced yacc project
* .version, doc/sdccman.lyx: bumped version to 3.1.4
* config.vcxproj, src/ds390/ds390.vcxproj,
src/hc08/hc08.vcxproj, src/mcs51/mcs51.vcxproj,
src/pic14/pic14.vcxproj, src/pic16/pic16.vcxproj,
src/sdcc.vcxproj, src/yacc.vcxproj, src/z80/z80.vcxproj,
all.vcxproj, all.vcxproj.filters:
VS project enhancements
* src/SDCC.y, src/SDCCsymt.h, src/SDCCutil.c, src/SDCCutil.h,
src/SDCCval.c: fixed flaws in previous commit
* src/SDCCsymt.c, src/pic14/glue.c, src/cdbFile.c:
fixed printing size_t type numbers
2012-03-18 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (aopGet, aopPut),
* src/mcs51/gen.c (aopGet, aopPut): fixed bug 3496842
* support/regression/tests/sfr16.c: enabled test and fixed for ds390
2012-03-17 Borut Razem <borut.razem AT gmail.com>
* support/regression/tests/strstr.c,
support/regression/tests/strcpy.c,
support/regression/tests/strcmp.c,
support/regression/tests/strtok.c,
support/regression/tests/strncmp.c,
support/regression/tests/strspn.c,
support/regression/tests/strpbrk.c,
support/regression/tests/string.c:
merged strstr.c, strcpy.c, strcmp.c, strtok.c, strncmp.c,
strspn.c, and strpbrk.c to string.c, added test for
bug #3506236
2012-03-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sdas/linksrc/lkarea.c (lnksect2): applied fix from Tim Schuerewegen
(bug 3495316)
2012-03-16 Borut Razem <borut.razem AT gmail.com>
* sdcc.sln, src/sdcc.vcxproj, src/sdcc.vcxproj.filters,
src/yacc.vcxproj:
project src renamed to sdcc, removed project yacc
* doc/sdccman.lyx, src/SDCCasm.c, src/SDCCicode.h,
src/SDCCast.c, src/SDCCast.h, src/pic16/main.c:
implemeted pragma config for pic16 target, solution
of bug #3486890 - pic16 port config directive warning
* src/Makefile.in, src/sdcc.vcxproj:
fixed bug #3506236: sdcc.exe unicode problem? by generating
8-bit scanner
2012-03-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sdas/linksrc/lkarea.c (allocate_space,find_empty_space): fixed bound
checking errors on allocation bitmap (possbile fix for bug #3502626)
2012-03-16 Raphael Neider <rneider AT web.de>
* device/non-free/lib/pic16/libdev/pic18f1330.c:
add dummy SSPBUF symbol as required by __stream_putchar/printf
* device/non-free/lib/pic16/libdev/testall.sh:
test using printf_tiny() for greater confidence
2012-03-14 Borut Razem <borut.razem AT gmail.com>
* debugger/mcs51/sdcdb.c, src/mcs51/gen.c, src/SDCCopt.c,
src/hc08/gen.c, src/hc08/ralloc.c, src/ds390/gen.c,
src/ds390/ralloc.c, sim/ucsim/cmd.src/cmdset.cc,
sim/ucsim/cmd.src/cmdstat.cc, sim/ucsim/cmd.src/cmdgui.cc,
sim/ucsim/z80.src/inst.cci, sdas/asxxsrc/asout.c:
fixed gcc 4.6.1 warnimgs, mainly warning: 'xxx' may be used
uninitialized in this function [-Wuninitialized]
2012-03-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.c,
support/regression/tests/bug3502965.c:
Fixed bug #3502965.
* support/regression/tests/gcc-torture-execute-20030209-1.c,
support/regression/tests/gcc-torture-execute-20031012-1.c:
Added explanation for why tests don't work on gbz80.
* src/SDCCmain.c:
Reenable non-compliant SDCC macros (but not for --std-c89, --std-c99, --std-c11).
* src/z80/ralloc2.cc:
More flexible handling of accumulator in multiplication and return.
2012-03-14 Borut Razem <borut.razem AT gmail.com>
* device/non-free/include/*, device/non-free/lib/*:
added info about "The header files should state that they are
only to be used with authentic Microchip devices" Microchip
requirement and GPL incompatibility
2012-03-13 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/gcc-torture-execute-20010224-1.c,
support/regression/tests/gcc-torture-execute-20030714-1.c:
Disable tests for gcc older than 5.0.
2012-03-13 Borut Razem <borut.razem AT gmail.com>
* device/include/*, device/lib/*: corrected GPL license version
from 2.1 to 2: GPLv2.1 does not exist
2012-03-12 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/gcc-torture-execute-2001*.c,
support/regression/tests/gcc-torture-execute-2003*.c:
Added some more tests from the execute part of the gcc torture regression test suite.
2012-03-12 Borut Razem <borut.razem AT gmail.com>
* doc/TININative.txt: removed, available at
http://sourceforge.net/apps/trac/sdcc/wiki/Using%20SDCC%20to%20develop%20Native%20Java%20functions
* doc/Makefile.in:
don't generate unusable html and txt versions of sdccman
2012-03-11 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c,
src/z80/peeph-r2k.def,
src/z80/peeph-z80.def,
support/regression/tests/bug3501942.c:
Fixed bug #3501942.
2012-03-11 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed bug that made copying from hl to iy ineffcient on r2k,
fix another check in commitPair(), improved stack adjustment
after function call.
2012-03-11 Raphael Neider <rneider AT web.de>
* device/lib/pic16/libio/usart/uopen.c:
properly setup BAUDCONbits.BRG16, closes #3495815
* device/non-free/include/pic16/pic18f1220.h:
added BAUDCON alias and structure definition for BAUDCTL
2012-03-10 Borut Razem <borut.razem AT gmail.com>
* doc/sdccman.lyx:
documented support for 18f1230/18f1330 device family
2012-03-10 Raphael Neider <rneider AT web.de>
* Makefile.in:
device/lib build depends on sdcc-sdbinutils
* device/include/pic16/adc.h,
device/include/pic16/pic16devices.txt,
device/include/pic16/pic18fregs.h,
device/lib/pic16/libio/Makefile.am,
device/lib/pic16/libio/adc/adcbusy.c,
device/lib/pic16/libio/adc/adcopen.c,
device/lib/pic16/libio/adc/adcsetch.c,
device/lib/pic16/libio/i2c.ignore,
device/lib/pic16/libio/usart/uopen.c,
device/non-free/include/pic16/pic18f1230.h,
device/non-free/include/pic16/pic18f1330.h,
device/non-free/lib/pic16/libdev/Makefile.am,
device/non-free/lib/pic16/libdev/pic18f1230.c,
device/non-free/lib/pic16/libdev/pic18f1330.c,
device/non-free/lib/pic16/pics.all,
support/scripts/pic18fam-h-gen.pl:
add support for 18f1230 and 18f1330 devices
* device/lib/pic16/libio/mkmk.sh:
adjust path to pics.all
* device/lib/pic16/libdev:
removed obsolete, empty directory
* device/lib/pic16/libio/Makefile.in,
device/non-free/include/pic16/pic18fam.h,
device/non-free/lib/pic16/libdev/Makefile.in:
regenerated
2012-03-10 Borut Razem <borut.razem AT gmail.com>
* doc/README.txt, doc/sdccman.lyx:
backslashes replaced with slashes in non-free paths;
obsoleted special sdcc keywords which are not preceded
by a double underscore
* support/scripts/inc2h-pic16.pl, support/scripts/inc2h.pl:
added comment about Microchip "The header files should state
that they are only to be used with authentic Microchip
devices" requirement.
2012-03-10 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed bug #3501019.
2012-03-09 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c (genCast): fixed bug #3486542
* support/regression/tests/gcc-torture-execute-pr15296.c: re-enabled
2012-03-09 Borut Razem <borut.razem AT gmail.com>
* doc/README.txt:
added info about included code from gcc test suite
* Makefile.in:
replaced test -e with -f, since -e is not available in sh
on Solaris
2012-03-08 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Use 16-bit addition instructions for 8-bit additions when cheaper and possible.
2012-03-07 Borut Razem <borut.razem AT gmail.com>
* Makefile.in: copy correct sdbinutils executables to bin
2012-03-07 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCopt.c (getAddrspaceiCode),
src/SDCCralloc.hpp (create_cfg): properly handle IFX and
JUMPTABLE operands
2012-03-06 Borut Razem <borut.razem AT gmail.com>
* Makefile.in, support/sdbinutils/binutils/Makefile.am,
support/sdbinutils/binutils/Makefile.in,
support/scripts/sdcc.nsi,
support/sdbinutils/bfd/asxxxx.c,
support/sdbinutils/binutils/nm.c:
added sdnm sdbinutils utility
2012-03-06 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fixed bug #3496508.
2012-03-05 Borut Razem <borut.razem AT gmail.com>
* src/SDCCicode.c:
disable -O2 optimization for gcc 4.6.3, see bug #3285611
* support/scripts/sdcc_mingw32: minor cosmetical fix
* configure.in, configure, config.guess, config.sub:
added host and build type detection
* device/lib/pic14/Makefile.in,
device/lib/pic14/libm/Makefile.in: regenerated
2012-03-05 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCopt.c (separateAddressSpaces): fixed bug #3476041
2012-03-04 Borut Razem <borut.razem AT gmail.com>
* doc/README.txt, doc/sdccman.lyx: small corrections
* src/SDCC.lex: removed forward declaration of non existing
function deprecated_keyword(), removed macro TKEYWORDSDCC
* support/cpp/opts.c, support/cpp/sdcpp.c,
support/cpp/version.c, support/cpp/version.h:
updated version to 4.6.3
2012-03-04 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.h,
* src/SDCCerr.c,
* src/SDCCerr.h,
* src/SDCC.y: fix struct/union tag scope problems
(including bug #3487670)
* support/regression/tests/structscope.c: new tests
2012-03-03 Borut Razem <borut.razem AT gmail.com>
* support/regression/ports/ucz80/spec.mk,
support/regression/ports/ucz180/spec.mk:
simulation timeout doubled due to several tests
failures on sparc64-unknown-netbsd platform
2012-03-02 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/ralloc.c,
support/regression/tests/bug-3495411.c,
Fixed #3495411 and another --oldralloc bug.
2012-03-02 Borut Razem <borut.razem AT gmail.com>
* doc/sdccman.lyx: fixed pdf generation;
added chapter 1.2 SDCC Suite Licenses;
libraries license should be at least as liberal as the GPLv2+LE;
note about GPL incompatible pic device libraries;
added link to "List of the SDCC library" wiki page;
added link to "SDCC - Small Device C Compiler Wiki" wiki page;
use term "SDCC suite";
formatting cleaning
* doc/README.txt: changed chapters Licenses and Authors and interested persons
2012-03-01 Borut Razem <borut.razem AT gmail.com>
* support/regression/ports/ucz80/spec.mk:
simulation timeout increased to 20s due to several tests
failures on sparc64-unknown-netbsd platform
* configure.in, configure: report CPPFLAGS and LDFLAGS settings
* support/sdbinutils/bfd/configure.in,
support/sdbinutils/bfd/configure,
PKGVERSION set to (sdbinutils derived from GNU Binutils),
BUGURL set to http://sourceforge.net/tracker/?group_id=599&atid=100599
* support/sdbinutils/binutils/version.c:
--vesion shows sd* names instead GNU *
2012-03-01 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/gcc-torture-execute-20080506-1.c,
support/regression/tests/gcc-torture-execute-20080506-2.c:
Disable tests for gcc versions earlier than 5.0.
2012-03-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/cse.c: new tests checking for CSE problems
2012-02-28 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/2000*.c:
More tests from gcc.
2012-02-28 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/gcc-torture-execute-20000402-1.c:
Disable test since unsigned long long is not yet fully supported.
* support/regression/tests/gcc-torture-execute-20000314-1.c:
Silence warning.
2012-02-27 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/2000*.c:
More tests from gcc.
2012-02-26 Borut Razem <borut.razem AT gmail.com>
* support/regression/ports/ds390/spec.mk:
simulation timeout icreased to 40s due to
gcc-torture-execute-20090113-1 test failure on
x86_64-w64-mingw32 and sparc64-unknown-netbsd platforms
* doc/README.txt: added gbz80 to supported targets,
explanation of sdcc run time libraries licensing
2012-02-26 Philipp Klaus Krause <pkk AT spth.de>
* device/include/mcs51/compiler.h:
Update for SDCC -> __SDCC rename.
* support/regression/tests/gcc-torture-execute-pr49161.c,
support/regression/tests/gcc-torture-execute-pr49039.c,
support/regression/tests/gcc-torture-execute-pr48809.c,
support/regression/tests/gcc-torture-execute-pr48973-1.c,
support/regression/tests/gcc-torture-execute-pr48973-2.c:
Disable tests for all gcc older than 5.0.
* doc/sdccman.lyx:
Document feature macro rename.
2012-02-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/ds390/gen.c (genAssign): fixed bug #3463343
* support/regression/tests/gcc-torture-execute-string-opt-5.c:
reenabled for ds390
* src/ds390/gen.c (genPlus, genMinus): fix bug #3486541
* support/regression/tests/gcc-torture-execute-pr20527-1.c:
reenabled for ds390
2012-02-26 Borut Razem <borut.razem AT gmail.com>
* doc/sdccman.lyx: documented support for 16f720/16f721
2012-02-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/gcc-torture-execute-stdarg-4.c:
reenabled for ds390
2012-02-25 Borut Razem <borut.razem AT gmail.com>
* configure.in, configure, Makefile.in, sdcc.sln,
doc/sdccman.lyx, support/sdranlib/*: support/sdranlib removed
* .version, doc/sdccman.lyx: bumped version to 3.1.3
2012-02-25 Raphael Neider <rneider AT web.de>
* device/include/pic14/pic14devices.txt,
device/non-free/include/pic14/pic16f720.h,
device/non-free/include/pic14/pic16f721.h,
device/non-free/lib/pic14/libdev/Makefile.in,
device/non-free/lib/pic14/libdev/devices.txt,
device/non-free/lib/pic14/libdev/pic16f720.c,
device/non-free/lib/pic14/libdev/pic16f721.c:
added support for 16f720/16f721
* device/non-free/include/pic14/pic14regs.h:
fixed to use __SDCC_PROCESSOR instead of SDCC_PROCESSOR
* device/non-free/lib/pic16/libdev/testall.sh:
test support for all devices by compiling a source file
2012-02-25 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcse.c: fixed bug #3473062
* src/z80/gen.c (genCmpGt, genCmpLt),
src/hc08/gen.c (genCmp, genCmpEQorNE),
src/pic16/gen.c (genCmpGt, genCmpLt),
src/pic14/gen.c (genCmpGt, genCmpLt): fixed bug #3487025
2012-02-24 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/gcc-torture-execute-pr42833.c:
Disable test for all gcc versions earlier than 5.0.
2012-02-24 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (createDo): fixed bug #3489326
2012-02-23 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
More efficient access to two-byte variables near the stack pointer for r2k, fix a bug when fetching 1-byte variables.
2012-02-23 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
src/z80/peeph-z80.def:
More efficient access to two-byte variables near the stack pointer.
* support/regression/tests/gcc-torture-execute-pr42833.c:
Disable test for even more gcc versions.
2012-02-22 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCmain.c,
device/*,
support/regression/*:
sdcc macro mess cleanup, fix #3490776.
2012-02-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/bug2935162.c,
* device/include/limits.h: changed constants to be compatible with
both C89 and C99 integer constant type rules
* src/SDCCval.c (constVal): fixed bug #3489899
* src/mcs51/peeph.def: don't tail call optimize longjmp()
* src/SDCCsymt.c (addSymChain): fixed bug #3489870
2012-02-21 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* device/include/setjmp.h,
support/regression/tests/setjmp.c,
device/lib/_setjmp.c:
Rename HIDE_LONGJMP to __SDCC_HIDE_LONGJMP for standard compliance, enable setjmp/longjmp for z180 and r2k.
2012-02-21 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcse.c (cseBBlock): fixed bug #3482753
* support/regression/tests/bug3482753.c: new
2012-02-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.h,
src/SDCCast.h,
src/SDCCast.c (decorateType, processParms, checkPtrCast, copyAstValues):
fixed bug #3438706
2012-02-19 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/gcc-torture-execute-pr39339.c:
Fixed bug #3486544.
2012-02-19 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/gcc-torture-execute-pr43236.c,
support/regression/tests/gcc-torture-execute-20090113-1.c:
Fixed bugs #3486543 and #3487324.
2012-02-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.h,
src/SDCCsymt.c (findSymWithLevel),
src/SDCCast.c (resolveSymbols, processBlockVars): fixed bugs 3403429,
3153215, 3107914
* support/regression/tests/bug3403429.c: enabled test
2012-02-18 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-pr44468.c,
support/regression/tests/gcc-torture-execute-pr43438.c,
support/regression/tests/gcc-torture-execute-pr45034.c:
Disable tests for older gcc.
2012-02-17 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/z80/divunsigned.s,
device/lib/z180/divunsigned.s,
device/lib/r2k/divunsigned.s:
Remove some leftover code for handling division by zero (patch by parerga, #3488149).
2012-02-17 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-pr37924.c:
Fix gcc compilation failure.
2012-02-16 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-r2k.def:
Use some peepholes useful when omitting the frame pointer from z80 for r2k.
* src/z80/gen.c:
Improve code generation for r2k when omitting frame pointer, enable use of ld iy, hl on r2k.
2012-02-16 Borut Razem <borut.razem AT gmail.com>
* support/sdbinutils/include/opcode/sparc.h,
support/sdbinutils/include/aout/sun4.h:
added for NetBSD/sparc64 bfd build
2012-02-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/main.c (hasExtBitOp),
src/hc08/gen.c (genGetAbit, genGetByte, genGetWord, genhc08Code):
implemented the GETABIT, GETBYTE, and GETWORD iCodes for HC08
2012-02-15 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Cheaper signed comparison when right operand is a literal.
* support/regression/tests/gcc-torture-execute-pr37924.c:
Disable even more of a test for older gcc.
2012-02-15 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/gcc-torture-execute-pr37924.c,
support/regression/tests/gcc-torture-execute-pr33779-2.c:
Disable tests for older gcc.
* src/SDCCast.c
Fix setting of CurrFunc for non-functions.
* src/z80/main.c,
src/z80/gen.h,
src/z80/gen.c,
src/z80/ralloc2.cc:
Fixes for --fomit-frame-pointer, omit frame pointer by default for
functions with low register pressure and few stack accesses.
2012-02-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (createWhile, createDo, backPatchLabels): put label
nodes above IFX nodes rather than between IFX and condition
* src/SDCCicode.c (geniCodeIfx, ast2iCode): fixed bug #3429793
2012-02-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc,
src/z80/gen.h,
src/z80/gen.c:
Omit frame pointer for functions with low register pressure and few parameter accesses.
2012-02-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fix addition when multiple operands are on the stack and --fomit-frame-pointer is used.
2012-02-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/peeph-z80.def,
src/z80/gen.c,
src/z80/ralloc2.cc:
Generate better code when using --fomit-frame-ppinter.
2012-02-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/gcc-torture-execute-pr28651.c:
Disable test for older gcc.
2012-02-13 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/gcc-torture-execute-pr49073.c,
support/regression/tests/gcc-torture-execute-pr36691.c:
Disabled some tests for older gcc.
* support/regression/tests/gcc-torture-execute-*.c:
Added some more tests from the execute part of the gcc torture regression test suite.
* src/z80/gen.c:
Improve handling of bc, de in addition.
* src/SDCC.lex:
Remove leftover legacy keyword function.
2012-02-13 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc,
src/z80/gen.c:
Improve handling of hl in address calculations, minor decrement improvement.
2012-02-13 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/gcc-torture-execute-pr34070-1.c,
support/regression/tests/gcc-torture-execute-pr34070-2.c:
Disable more tests for older gcc
* support/regression/tests/gcc-torture-execute-pr15296.c,
support/regression/tests/bug1115321.c: Fix test to be compatible
with hosts in which int and pointers differ in size.
2012-02-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/gcc-torture-execute-pr42833.c:
don't redefine ssize_t if host already defines
2012-02-12 Raphael Neider <rneider AT web.de>
* src/pic14/pcode.c (newpCodeOpBit):
prevent SIGSEGV on copying temporary registers
* src/pic14/gen.c (gen{,End}Function, gen{,End}Critical, genpic14Code),
src/pic16/gen.c (gen{,End}Function, gen{,End}Critical, genpic16Code):
implement __critical (block and function attribute, PIC14 limited to
no-arg functions: arg0 in W would be corrupted)
2012-02-12 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-pr42833.c,
support/regression/tests/gcc-torture-execute-pr44555.c,
support/regression/tests/gcc-torture-execute-pr48809.c,
support/regression/tests/gcc-torture-execute-pr48973-1.c,
support/regression/tests/gcc-torture-execute-pr48973-2.c,
support/regression/tests/gcc-torture-execute-pr49039.c,
support/regression/tests/gcc-torture-execute-pr49123.c,
support/regression/tests/gcc-torture-execute-pr49161.c,
support/regression/tests/gcc-torture-execute-pr49768.c:
Disable some tests for older gcc.
2012-02-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/sdbinutils/include/mach-o/*: added missing files for Mac OS
2012-02-12 Raphael Neider <rneider AT web.de>
* src/pic14/gen.c (genGetABit, genpic14Code),
src/pic14/main.c (hasExtBitOp),
src/pic16/gen.c (genGetABit, genpic16Code),
src/pic16/main.c (hasExtBitOp):
implement GETABIT iCode, fixes #2986039
2012-02-11 Raphael Neider <rneider AT web.de>
* device/include/pic16/signal.h:
explicitly access SFRs via access bank, closes #3482876
2012-02-11 Raphael Neider <rneider AT web.de>
* device/include/pic14/pic14devices.txt,
device/non-free/include/pic14/pic16f1946.h,
device/non-free/include/pic14/pic16f1947.h,
device/non-free/lib/pic14/libdev/Makefile.in,
device/non-free/lib/pic14/libdev/devices.txt,
device/non-free/lib/pic14/libdev/pic16f1946.c,
device/non-free/lib/pic14/libdev/pic16f1947.c,
doc/sdccman.lyx:
enabled/added devices
* device/non-free/lib/pic14/libdev/testall.sh:
test support for all devices by compiling a source file
* device/non-free/lib/pic14/libdev/mkall.sh,
support/scripts/inc2h.pl:
improved regenerating device support files
2012-02-11 Borut Razem <borut.razem AT gmail.com>
* device/include/pic14/pic14devices.txt,
device/non-free/include/pic14/pic16f1503.h,
device/non-free/include/pic14/pic16f1507.h,
device/non-free/include/pic14/pic16f1508.h,
device/non-free/include/pic14/pic16f1509.h,
device/non-free/include/pic14/pic16f1516.h,
device/non-free/include/pic14/pic16f1517.h,
device/non-free/include/pic14/pic16f1518.h,
device/non-free/include/pic14/pic16f1519.h,
device/non-free/include/pic14/pic16f1526.h,
device/non-free/include/pic14/pic16f1527.h,
device/non-free/lib/pic14/libdev/Makefile.in,
device/non-free/lib/pic14/libdev/devices.txt,
device/non-free/lib/pic14/libdev/pic16f1503.c,
device/non-free/lib/pic14/libdev/pic16f1507.c,
device/non-free/lib/pic14/libdev/pic16f1508.c,
device/non-free/lib/pic14/libdev/pic16f1509.c,
device/non-free/lib/pic14/libdev/pic16f1516.c,
device/non-free/lib/pic14/libdev/pic16f1517.c,
device/non-free/lib/pic14/libdev/pic16f1518.c,
device/non-free/lib/pic14/libdev/pic16f1519.c,
device/non-free/lib/pic14/libdev/pic16f1526.c,
device/non-free/lib/pic14/libdev/pic16f1527.c:
applied patch #3471142: [PIC14] more enchanced core devices,
thanks to Gal Zsolt
* doc/sdccman.lyx: added new 16f15xx devices to the list
* support/sdbinutils/include/fopen-bin.h:
added, required by mingw build
* Makefile.in: added EXEEXT required by mingw build
* support/scripts/sdcc_mingw32: added TARGETAR
2012-02-11 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/gcc-torture-execute-pr20601-1.c:
Disabled test for host, since _Noreturn support is required.
* support/regression/tests/gcc-torture-execute-pr23047.c:
Removed test, since it seems to test for implementation-defined behaviour.
* support/regression/tests/gcc-torture-execute-pr33779-1.c:
Use exact-width integer types from stdint.h instead, no longer require long to be 32 bits.
2012-02-10 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc,
src/z80/gen.c:
Increase flexibility of handling of register pair hl over function calls.
2012-02-10 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/*
Added some more tests from the execute part of the gcc torture regression test suite.
2012-02-10 Borut Razem <borut.razem AT gmail.com>
* configure, Makefile.in, configure.in, sdccconf_in.h,
device/lib/z180/Makefile.in, device/lib/small/Makefile.in,
device/lib/z80/Makefile.in, device/lib/gbz80/Makefile.in,
device/lib/ds390/Makefile.in, device/lib/medium/Makefile.in,
device/lib/Makefile.in, device/lib/ds400/Makefile.in,
device/lib/mcs51/Makefile.in, device/lib/huge/Makefile.in,
device/lib/large/Makefile.in, device/lib/r2k/Makefile.in,
device/lib/hc08/Makefile.in, Makefile.common.in,
support/scripts/sdcc.nsi, support/sdbinutils/*:
device/lib/z180/Makefileadded sdbinutils: sdar and sdranlib
* device/lib/z180/Makefile:
deleted, generated from device/lib/z180/Makefile.in
2012-02-09 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fix for yesterdays addition improvement, decide in which pair
to increment in code generator instead of peephole optimizer.
2012-02-08 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
src/z80/peeph-z80.def:
Minor addition improvement.
2012-02-08 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Use bit instruction for & in jump condition.
* src/z80/peep.c,
src/z80/peeph-z80.def:
Minor peephole improvements.
2012-02-07 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc,
src/z80/gen.c:
Improve handling of register pairs, in particular hl.
2012-02-06 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCast.c:
Fixed bug #3073647.
* src/SDCCsymt.c:
Fixed #3034739.
2012-02-06 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/bug2935162.c: don't assume 32-bit long host
2012-02-06 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed bug #3482732.
* src/SDCClrange.h,
src/SDCClrange.c,
src/SDCCopt.c,
support/Regression/bug3482217.c:
Fixed bug #3482217.
2012-02-04 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCval.c (constVal): fixed bug 2935162
* support/regression/tests/bug2935162.c: new, added
2012-02-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/z80.h,
src/z80/ralloc2.cc:
Fixes for #3482732, preparations for exact cost function in gbz80 port.
2012-02-03 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fix generation of invalid instructions when --reserve-regs-iy is used.
2012-01-31 Borut Razem <borut.razem AT gmail.com>
* support/regression/ports/ucgbz80/spec.mk:
simulation timeout increased to 20s due to timeout failure on
gcc-torture-execute-divcmp-3 regressin test on
mypants.neurotica.com NetBSD/Sparc64 build machine
2012-01-31 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc,
support/regression/tests/bug3482146.c:
Fixed bug #3482146.
2012-01-31 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/bug3482146.c:
Regression test for bug #3482146.
2012-01-30 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fixed bug #3480597.
2012-01-29 Borut Razem <borut.razem AT gmail.com>
* support/regression/tests/key.c: fixed for Mac OS X
2012-01-28 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genJumpTab): fixed bug 3480545
* support/regression/tests/bug3480545.c: new, added
2012-01-27 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
support/regression/tests/gcc-torture-execute-stdarg-4.c:
Fix bug #3463344.
2012-01-27 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/peeph-gbz80.def:
Fix remaining gbz80 regression failures when using --max-allocs-per-node 5.
* src/z80/gen.c:
Fix right shift for gbz80 using --max-allocs-per-node 1.
2012-01-26 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fix comparison and unary minus for gbz80 when many operands are on the stack.
2012-01-26 Raphael Neider <rneider AT web.de>
* src/pic14/pcodepeep.c,
src/pic14/gen.c,
src/pic14/glue.c,
src/pic16/device.c,
src/pic16/pcodepeep.c,
src/pic16/gen.c,
src/pic16/pcoderegs.c,
src/pic16/ralloc.c,
src/pic16/pcode.c,
src/pic16/genutils.c: avoid compiler warnings
2012-01-26 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/cpp/libcpp/internal.h,
support/cpp/sdcpp.c,
support/cpp/libcpp/lex.c:
Remove support for _asm and _endasm, rename macros that had names reserved for the implementation.
* support/regression/tests/key.c:
Regression test for obsolete keywords.
2012-01-26 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Correctly handle some forgotten corner cases in the fix for #3427564.
2012-01-25 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* doc/sdccman.lyx:
Mention -mz180, -mr2k, named address spaces and use non-deprectaed form of sdcc-specific keywords.
* src/SDCC.lex:
Remove support for deprecated keywords.
* src/z80/gen.c:
Fixed bug #3427564.
2012-01-25 Borut Razem <borut.razem AT gmail.com>
* device/lib/make51lib.bat: rewritten for ar / sdranlib
2012-01-23 Borut Razem <borut.razem AT gmail.com>
* doc/sdccman.lyx: pic14 enhanced cores enabled by default
2012-01-22 Borut Razem <borut.razem AT gmail.com>
* configure.in, configure: corrected test if ar accepts -S option
2012-01-22 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/bug3475630.c,
* support/regression/tests/bug3475656.c: fixed for mcs51, native eol
* device/include/mcs51/stc12.h: new, added, thanks intron
2012-01-21 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
support/regression/tests/bug3475630.c:
Fixed bug #3475630.
* support/regression/tests/bug3475656.c:
Regression test for bug #3475656.
2012-01-21 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-gbz80.def:
Enable some more peephole rules for the gbz80.
2012-01-21 Borut Razem <borut.razem AT gmail.com>
* support/regression/tests/bug2942343.c: corrected test if SDCC
2012-01-20 Borut Razem <borut.razem AT gmail.com>
* device/lib/pic14/Makefile.am, device/lib/pic14/Makefile.in,
device/lib/pic14/libm/Makefile.am,
device/lib/pic14/libm/Makefile.in:
added template for NEW_PICS
* device/non-free/lib/pic14/libdev/Makefile.in:
pic14 enhanced cores enabled by default
2012-01-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/bug2942343.c: disable for test-host
* support/regression/tests/bug3475990.c: skip named address space
declaration for test-host
2012-01-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCnaddr.hpp:
Fix preprocessing step for named address spaces.
2012-01-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCnaddr.cc,
src/SDCCnaddr.hpp,
src/SDCCopt.c,
src/SDCCopt.h,
support/regression/tests/bug3475990.c:
Fixed bug #3475990.
2012-01-19 Borut Razem <borut.razem AT gmail.com>
* device/lib/pic14/configure.in, device/lib/pic14/configure,
device/lib/pic14/Makefile.am, device/lib/pic14/Makefile.in,
device/lib/pic14/libm/Makefile.am,
device/lib/pic14/libm/Makefile.in:
pic14 enhanced cores enabled by default; gputils 0.14.1 or
newer required
2012-01-18 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_fsget1arg.c,
* device/lib/_fsget2args.c: cosmetics
* device/lib/_fsnormalize.c: fixed bug 3474855
* support/regression/tests/bug3474855.c: new, added
2012-01-16 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fix signed comparison on gbz80.
* device/lib/_memmove.c:
Fix comparison in pointer location for memmove().
* src/z80/peeph-gbz80.def:
Enable some jump peepholes for gbz80.
2012-01-15 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix #3473876.
* Changelog:
Pretend to live in the year 2012 to not cause suspicion.
* device/lib/_memmove.c:
Simplified test deciding copy direction for memmove().
* src/z80/peeph-gbz80.def:
Use gbz80-specific load-and-increment/decrement instructions.
* src/z80/mappings.i:
Use more intuitive add sp, d syntax instead of lda sp, d(sp).
2012-01-15 Borut Razem <borut.razem AT gmail.com>
* sdas/asrab/Makefile.in: fixed linking with -lm math library
* src/SDCCnaddr.cc: removed unicode BOM
* device/lib/pic14/configure.in, device/lib/pic14/configure,
device/lib/pic14/aclocal.m4: fixed transfer of gcc CFLAGS to
sdcc while generating dependencies
2012-01-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed bug #3473863 in increment of pointers, fixed similar bug in equality comparison.
* support/regression/tests/memory.c:
Enable a memchr() test.
* support/regression/tests/bug2729218.c:
Move struct out of ROM for gbz80.
2012-01-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/main.c:
Remove unnecessary value calculation in _hasNativeMulFor().
2012-01-14 Maarten Brock <sourceforge.brock AT dse.nl>
* .version,
* doc/sdccman.lyx: bumped version to 3.1.2
* src/SDCCicode.c (checkTypes): fixed bug 2942343
* src/SDCCnaddr.cc: svn properties
* src/SDCCnaddr.hpp: removed some typename keywords for MSVC,
fixed warning
* src/src.vcxproj: added SDCCnaddr.*, added boost include path
* src/z80/z80.vcxproj: upgraded boost include path
* support/regression/tests/bug2942343.c: new, added
2012-01-11 Borut Razem <borut.razem AT gmail.com>
* src/SDCC.lex: removed #line rule handled by preprocessor
2012-01-11 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCglobl.h,
src/z80/z80.h,
src/z80/main.c,
src/z80/ralloc2.cc,
src/SDCCnaddr.hpp,
src/SDCCmain.c,
src/SDCCnaddr.cc:
Make optimal placement of bank-selection instructions configurable using
--max-allocs-per-node and --dump-graphs options.
2012-01-10 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCnaddr.hpp,
src/SDCCopt.c,
src/SDCCopt.h:
Optimal placement of bank-switching calls.
2012-01-10 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCicode.h,
src/SDCCnaddr.cc,
src/SDCCnaddr.hpp,
src/SDCCopt.c,
src/z80/ralloc2.cc,
src/SDCCopt.h,
src/Makefile.in:
Preparations for optimal placement of bank-switching calls.
2012-01-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c: fixed bug 3466784
2012-01-09 Leland Morrison <enigmalee AT sourceforge.net>
* sim/ucsim/z80.src/glob_lr35902.cc: disassemble for gb processor
* sim/ucsim/z80.src/inst_lr35902.cc: instruction simulation for gb
* sim/ucsim/z80.src/lr35902.cc,
* sim/ucsim/z80.src/lr35902cl.h: definition of gb processor
* sim/ucsim/z80.src/z80cl.h,
* sim/ucsim/z80.src/z80.cc: added peek1 function to look at next opcode
* sim/ucsim/z80.src/glob.cc: fixes to disassembly for "ld e,<byte>",
"inc (hl)", and "dec (hl)" for z80 processor
* sim/ucsim/z80.src/glob.h: added declaration for gb disassembly table
* sim/ucsim/z80.src/inst_r2k.h: fix to sign extension for add sp,d
* sim/ucsim/z80.src/simz80.cc: added -tlr35902 option for gameboy
* support/regression/Makefile.in,
* support/regression/ports/ucgbz80/*: added option to run regression
tests for the gb processor using ucsim
2012-01-08 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCC.lex: included io.h for read() declaration with MSVC,
fixed linenr bug
* src/SDCCerr.c: made W_LIT_OVERFLOW pedantic
* src/SDCCglue.c (printIvalType, printIvalBitFields),
* src/SDCCicode.c checkTypes): removed lessPedantic check
* src/SDCCicode.c (geniCodeCast): fixed bug 3470368
2012-01-06 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fixed width of lower part of large literals.
2012-01-06 Borut Razem <borut.razem AT gmail.com>
* sdas/linksrc/Makefile.in: removed LKLIB
* device/non-free/lib/Makefile.in: removed SOURCES
2012-01-04 Philipp Klaus Krause <pkk AT spth.de>
* src/hc08/gen.c:
More explicit stack size reporting for hc08.
2012-01-04 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCopt.c (killDeadCode): fixed bug 2862308
* support/regression/tests/bug2862308.c: new, added
2012-01-03 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
support/regression/tests/gcc-torture-execute-string-opt-5.c:
Fixed bug #3463342.
2012-01-03 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/as6808/m08ext.c,
* sdas/as6808/as_hc08.vcxproj,
* sdas/as6808/as_hc08.vcxproj.filters,
* sdas/as6808/Makefile.in: removed m08ext.c
* sdas/as6808/m08adr.c,
* sdas/as6808/m08mch.c,
* sdas/as6808/m08pst.c,
* sdas/as6808/m6808.h,
* sdas/asxxsrc/asout.c: synced with ASxxxx v5 to fix bug 2894291
2012-01-02 Borut Razem <borut.razem AT gmail.com>
* sdcc/SDCC.lex: included unistd.h, needed by flex 2.5.4 on
NetBSD 5.0.1 sparc64 for read() declaration
* sdas/linksrc/lkar.h: '\n' replaced by '\012'
2012-01-02 Maarten Brock <sourceforge.brock AT dse.nl>
* src/src.vcxproj: increased stack size 32M/64M so it never overflows
* src/Makefile.in: added flex fast flag -f
* src/SDCC.lex: removed preprocessor warning and error rules,
removed EOL after #... rules
2011-12-29 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/clean.mk: added z180 and r2k
* sim/ucsim/cmd.src/cmdlex.l: fixed unused yyunput warning
* src/hc08/main.c: removed unused BSEG
* src/SDCCglue.c (glue): suppress unused segments
* src/SDCCmem.c (allocMap, initMem): skip when name==NULL,
(allocGlobal): use x_abs for __at on z80, fixed bug 2040874
* src/z80/main.c: removed ISEG, XSEG, BSEG, OVERLAY, added DABS (x_abs)
* support/regression/fwk/include/testfwk.h,
* support/regression/tests/absolute.c: z80 supports __at
2011-12-29 Borut Razem <borut.razem AT gmail.com>
* support/cpp/libcpp/lex.c:
partialy synchronized with sdcpp 4.6.[12]: no mmx, sse, altivec
* support/cpp/version.c: updated version to 4.6.2
* support/cpp/configure.in, support/cpp/configure,
support/cpp/config.in: WORDS endianness detection
2011-12-27 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCC.lex,
* src/SDCC.y: fixed bugs 1810965 and 2698805
* src/SDCCsymt.c (checkSClass): removed old hack-o-matic
* support/regression/tests/bug1810965.c: new, added
2011-12-26 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp:
Reduce stack space usage in recursion.
2011-12-25 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/r2k/setjmp.s,
* device/lib/z180/setjmp.s,
* device/lib/z80/setjmp.s: optimized
* device/lib/r2k/*,
* device/lib/z180/*,
* device/lib/z80/*: use native eol
2011-12-24 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/setjmp.h: changed longjmp return type to void
* device/lib/_setjmp.c: but use int for the implementation
2011-12-24 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCopt.c (replaceRegEqv): fixed bug 2938101
2011-12-23 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCerr.h,
src/SDCCerr.c,
src/SDCCicode.c:
Warn about return statements in _Noreturn functions.
* device/include/setjmp.h,
device/lib/_setjmp.c:
Make longjmp() a _Noreturn function, as required by the C11 standard.
* src/SDCClabel.c,
src/z80/gen.c:
Do some basic optimizations for _Noreturn functions.
2011-12-23 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCClabel.c (labelIfx): fixed bug 3463455
* support/regression/tests/gcc-torture-execute-loop-12.c:
reenable tests for hc08 and ds390
* support/regression/compact-results.py: wider test name field
2011-12-22 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCerr.c: changed E_NONRENT_ARGS description
2011-12-22 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCmain.c,
src/SDCCglobl.h,
src/SDCC.lex:
Add option and pragma for ISO C11.
* support/regression/tests/gcc-torture-execute-anon-1.c:
Disable for compilers other than sdcc and use sdcc in C11 mode.
* src/SDCCsymt.c,
src/SDCCsymt.h,
src/SDCC.y,
src/SDCC.lex,
device/include/stdnoreturn.h:
Accept C11 keyword _Noreturn.
* device/include/stdio.h:
Do not declare gets() in C11 mode.
2011-12-21 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/as6808/Makefile.in,
* sdas/as8051/Makefile.in,
* sdas/asgb/Makefile.in,
* sdas/asrab/Makefile.in,
* sdas/asz80/Makefile.in: reverted as it fails to build without error
2011-12-21 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/gcc-torture-execute-pure-1.c,
support/regression/tests/gcc-torture-execute-string-opt-17.c,
support/regression/tests/gcc-torture-execute-pta-field-1.c,
support/regression/tests/gcc-torture-execute-string-opt-18.c,
support/regression/tests/gcc-torture-execute-struct-ini-1.c,
support/regression/tests/gcc-torture-execute-pta-field-2.c,
support/regression/tests/gcc-torture-execute-ptr-arith-1.c,
support/regression/tests/gcc-torture-execute-unroll-1.c,
support/regression/tests/gcc-torture-execute-struct-ini-2.c,
support/regression/tests/gcc-torture-execute-struct-ini-3.c,
support/regression/tests/gcc-torture-execute-string-opt-5.c,
support/regression/tests/gcc-torture-execute-stdarg-3.c,
support/regression/tests/gcc-torture-execute-shiftopt-1.c,
support/regression/tests/gcc-torture-execute-struct-ini-4.c,
support/regression/tests/gcc-torture-execute-stdarg-4.c,
support/regression/tests/gcc-torture-execute-switch-1.c,
support/regression/tests/gcc-torture-execute-scope-1.c,
support/regression/tests/gcc-torture-execute-loop-10.c,
support/regression/tests/gcc-torture-execute-loop-11.c,
support/regression/tests/gcc-torture-execute-loop-12.c,
support/regression/tests/gcc-torture-execute-loop-13.c,
support/regression/tests/gcc-torture-execute-loop-14.c,
support/regression/tests/gcc-torture-execute-loop-15.c,
support/regression/tests/gcc-torture-execute-loop-1.c,
support/regression/tests/gcc-torture-execute-loop-2.c,
support/regression/tests/gcc-torture-execute-loop-2c.c,
support/regression/tests/gcc-torture-execute-loop-2d.c,
support/regression/tests/gcc-torture-execute-loop-3b.c,
support/regression/tests/gcc-torture-execute-loop-3.c,
support/regression/tests/gcc-torture-execute-loop-3c.c,
support/regression/tests/gcc-torture-execute-loop-5.c,
support/regression/tests/gcc-torture-execute-loop-6.c,
support/regression/tests/gcc-torture-execute-loop-7.c,
support/regression/tests/gcc-torture-execute-loop-8.c,
support/regression/tests/gcc-torture-execute-loop-9.c,
support/regression/tests/gcc-torture-execute-func-ptr-1.c,
support/regression/tests/gcc-torture-execute-const-addr-expr-1.c,
support/regression/tests/gcc-torture-execute-divmod-1.c,
support/regression/tests/gcc-torture-execute-divcmp-4.c,
support/regression/tests/gcc-torture-execute-divconst-1.c,
support/regression/tests/gcc-torture-execute-compare-1.c,
support/regression/tests/gcc-torture-execute-divconst-2.c,
support/regression/tests/gcc-torture-execute-compare-2.c,
support/regression/tests/gcc-torture-execute-compare-3.c,
support/regression/tests/gcc-torture-execute-loop-12.c,
support/regression/tests/gcc-torture-execute-doloop-1.c,
support/regression/tests/gcc-torture-execute-doloop-2.c,
support/regression/tests/gcc-torture-execute-enum-2.c,
support/regression/tests/gcc-torture-execute-ifcvt-onecmpl-abs-1.c,
support/regression/tests/gcc-torture-execute-divcmp-1.c,
support/regression/tests/gcc-torture-execute-enum-3.c,
support/regression/tests/gcc-torture-execute-cmpsf-1.c,
support/regression/tests/gcc-torture-execute-mod-1.c,
support/regression/tests/gcc-torture-execute-divcmp-2.c,
support/regression/tests/gcc-torture-execute-int-compare.c,
support/regression/tests/gcc-torture-execute-divcmp-3.c,
support/regression/tests/gcc-torture-execute-anon-1.c,
support/regression/tests/gcc-torture-execute-arith-1.c,
support/regression/tests/gcc-torture-execute-postmod-1.c,
support/regression/tests/gcc-torture-execute-bitfld-1.c,
support/regression/tests/gcc-torture-execute-pending-4.c:
Added some tests from the execute part of the gcc torture regression test suite.
2011-12-20 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/as6808/Makefile.in,
* sdas/as8051/Makefile.in,
* sdas/asgb/Makefile.in,
* sdas/asrab/Makefile.in,
* sdas/asz80/Makefile.in: added dependencies
2011-12-19 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/asz80/z80pst.c: forgot this one, probably sdas dependencies are
insufficient too
2011-12-18 Maarten Brock <sourceforge.brock AT dse.nl>
* debugger/mcs51/sdcdb.c (escapeQuotes): fixed warning
* sdas/asrab/rabbitmch.c: fixed bug 3461821 by calling outrb with 0
* sdas/as6808/m08pst.c,
* sdas/as8051/i51adr.c,
* sdas/as8051/i51mch.c,
* sdas/as8051/i51pst.c,
* sdas/as8051/i8051.h,
* sdas/asgb/gbpst.c,
* sdas/asxxsrc/asdata.c,
* sdas/asxxsrc/asexpr.c,
* sdas/asxxsrc/aslex.c,
* sdas/asxxsrc/aslist.c,
* sdas/asxxsrc/asmain.c,
* sdas/asxxsrc/asout.c,
* sdas/asxxsrc/assym.c,
* sdas/asxxsrc/asxxxx.h,
* sdas/asz80/z80mch.c,
* sdas/linksrc/aslink.h,
* sdas/linksrc/lkarea.c,
* sdas/linksrc/lkhead.c,
* sdas/linksrc/lklex.c,
* sdas/linksrc/lklist.c,
* sdas/linksrc/sdld.c,
* sdas/linksrc/sdld.h: another step towards ASxxxx v5
* sdas/asrab/rabbit.h,
* sdas/asrab/rabbitadr.c,
* sdas/asrab/rabbitext.c,
* sdas/asrab/rabbitpst.c: native line endings, no TABs
* src/ds390/main.c,
* src/mcs51/main.c,
* src/z80/main.c: asxxx -z flag is now case INsensitive
* src/hc08/main.c: fixed bug 1666106 by adding (PAG) to DSEG and OSEG
* src/SDCCglobl.h: fixed -E comment
* src/SDCCicode.c (geniCodeAdd),
* src/SDCCsymt.c (compStructSize): added error for unknown struct size
* src/SDCClabel.c: no TABs
2011-12-17 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/cc2530.h: new, added, thanks Zafi Ramarosandratana
2011-12-08 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_atof.c,
* device/lib/_divuint.c,
* device/lib/_divulong.c,
* device/lib/_fsadd.c,
* device/lib/acosf.c,
* device/lib/asincosf.c,
* device/lib/asinf.c,
* device/lib/cosf.c,
* device/lib/cotf.c,
* device/lib/expf.c,
* device/lib/printf_large.c,
* device/lib/sincosf.c,
* device/lib/sincoshf.c,
* device/lib/sinf.c,
* device/lib/tancotf.c,
* device/lib/tanf.c,
* support/regression/tests/bug1337835.c,
* support/regression/tests/bug2719592.c,
* support/regression/tests/bug2805333.c,
* support/regression/tests/bug3223041.c,
* support/regression/tests/bug3290691.c,
* support/regression/tests/funptrs.c: changed BOOL to bool
2011-12-07 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/stdbool.h: removed BOOL
* src/SDCCast.c (decorateType, addess of),
* src/SDCCsymt.c (checkSClass): fixed bug 2934292
* support/regression/tests/bool.c: enabled function pointer tests
2011-12-07 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/linksrc/aslink.h,
* sdas/linksrc/lkarea.c,
* sdas/linksrc/lkbank.c,
* sdas/linksrc/lkdata.c,
* sdas/linksrc/lklex.c,
* sdas/linksrc/lklist.c,
* sdas/linksrc/lkmain.c,
* sdas/linksrc/lknoice.c,
* sdas/linksrc/lkout.c,
* sdas/linksrc/lkrloc.c,
* sdas/linksrc/lkrloc3.c,
* sdas/linksrc/lks19.c,
* sdas/linksrc/lksym.c,
* sdas/linksrc/Makefile.in: and another step towards ASxxxx v5
2011-12-05 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc.c:
Fixed bug #3441816.
2011-12-04 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/linksrc/aslink.h,
* sdas/linksrc/aslink.vcxproj,
* sdas/linksrc/aslink.vcxproj.filters,
* sdas/linksrc/lkar.c,
* sdas/linksrc/lkarea.c,
* sdas/linksrc/lkbank.c,
* sdas/linksrc/lkdata.c,
* sdas/linksrc/lkhead.c,
* sdas/linksrc/lklex.c,
* sdas/linksrc/lklibr.c,
* sdas/linksrc/lklist.c,
* sdas/linksrc/lkmain.c,
* sdas/linksrc/lkmem.c,
* sdas/linksrc/lknoice.c,
* sdas/linksrc/lkout.c,
* sdas/linksrc/lkrloc.c,
* sdas/linksrc/lkrloc3.c,
* sdas/linksrc/lks19.c,
* sdas/linksrc/lksdcclib.c,
* sdas/linksrc/lksdcdb.c,
* sdas/linksrc/lksym.c,
* sdas/linksrc/Makefile.in: next step towards ASxxxx v5
* src/SDCCmem.c (allocIntoSeg): MSVC 2010 still needs all declarations at
the start of a block in C mode
* src/z80/gen.c (genPointerSet): fixed warning
* src/SDCCast.c (processParms): removed incorrect function pointer check
* support/regression/tests/bug3440327.c: reenabled test for mcs51
2011-12-03 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug3444293.c
Fix warning in regression test.
2011-12-02 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCcse.c,
src/SDCCicode.h:
Rename IS_ASSOCIATIVE to IS_COMMUTATIVE.
2011-12-01 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc,
src/z80/gen.c,
src/z80/peeph-z80.def:
Minor improvements in pointer handling for the z80 backends.
2011-12-01 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClabel.c:
Disable hidden jump-to-jump optimization for mcs51, since it breaks large and huge.
2011-11-30 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug3440327.c:
Disable bug 3440327 test on mcs51.
2011-11-30 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c:
Cleanup leftover warning.
2011-11-29 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc,
src/z80/gen.c,
src/z80/peeph-z80.def:
Some small improvements to the generated code.
2011-11-29 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc,
support/regression/tests/bug3444293.c:
Fixed bug #3444293.
2011-11-28 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/bug3440327.c:
Regression test for bug #3440327.
2011-11-28 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCClabel.c:
Optimize hidden jump-to-jump.
2011-11-28 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Replaced some uses of isLastUse() by the safer isPairDead().
2011-11-28 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* Merged the addrspacequal branch (named address spaces).
2011-11-28 Borut Razem <borut.razem AT gmail.com>
* sim/ucsim/libltdl: direcrory removed since it is not used
* support/scripts/gen_known_bugs.pl: warious fixes
* src/pic16/ralloc.c, sim/ucsim/pobj.cc, sim/ucsim/utils.cc,
sdas/linksrc/lkmain.c:
fixed bug #3444387: Minor spelling fix in binary files;
thanks to Gudjon I. Gudjonsson for the patch
2011-11-27 Borut Razem <borut.razem AT gmail.com>
* Small Device C Compiler 3.1.0 released
* .version, doc/sdccman.lyx: changed sdcc version to 3.1.1
* support/scripts/gen_known_bugs.pl: adopted to the new SF bug tracker
2011-11-21 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed bug #3440327.
2011-11-17 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCsymt.h,
src/SDCCsymt.c,
src/SDCCast.c,
src/SDCCopt.c:
Error message for implicit casts between named address spaces, fix live-range analysis (regression tests passing now).
2011-11-15 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCsymt.c,
src/SDCCerr.h,
src/SDCCerr.c:
Error message for attemting to use named address spacces for auto variables.
2011-11-15 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCopt.c:
Fix broken control and data flow handling (regression tests passing now, exept for bug-895992.c).
2011-11-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCopt.c:
Improve handling of variables in named address space passed as parameters.
2011-11-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCopt.c:
Avoid emitting some unecessary bank switching calls.
2011-11-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCast.c:
Keep global named address spaces alive over functions.
2011-11-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCicode.c,
src/SDCCopt.c:
Debug message cleanup, reenable address space splitting.
2011-11-14 Raphael Neider <rneider AT web.de>
* device/include/pic14/pic14devices.txt,
* device/non-free/include/pic14/pic16f145[589].h,
* device/non-free/include/pic14/pic16f178[23].h,
* device/non-free/lib/pic14/libdev/Makefile.in,
* device/non-free/lib/pic14/libdev/devices.txt,
* device/non-free/lib/pic14/libdev/pic16f145[589].c,
* device/non-free/lib/pic14/libdev/pic16f178[23].c:
add support for 16f145[589] and 16f178[23] devices
* device/non-free/include/pic14/pic12f683.h,
* device/non-free/lib/pic14/libdev/pic12f683.c:
updated from new sources
* doc/sdccman.lyx:
update device list, clarify use of NO_LEGACY_NAMES
2011-11-13 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/sdccman.lyx: added the boost dependency,
--peep-return, --no-peep-return, --fomit-frame-pointer,
the use of .omf extension,
single mnemonic per assembly line,
available peephole functions
2011-11-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCcse.c,
src/SDCCicode.c,
src/SDCCopt.c:
Basic support for pointers into named address spaces.
2011-11-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCicode.c,
src/SDCCsymt.c,
src/SDCCsymt.h,
src/SDCC.y,
src/SDCCopt.c,
src/SDCCast.c:
Debug messages related to pointers to named address spaces.
2011-11-12 Borut Razem <borut.razem AT gmail.com>
* added XXX_bits deprecation note in chapter
1.4 Compatibility with previous versions
2011-11-11 Raphael Neider <rneider AT web.de>
* device/non-free/lib/pic14/libdev/mkall.sh:
simplify device library update process further
* support/scripts/inc2h.pl:
avoid generating duplicate bit defines;
rename XXX_bits to XXXbits to be compatible with PIC16 and HiTech,
but retain XXX_bits symbols for compatibility (to prevent legacy
names from being visible, #define NO_LEGACY_NAMES before
#include'ing device headers
* device/include/pic14/pic14devices.txt,
* device/non-free/lib/pic14/libdev/devices.txt:
updated device names: 16{f => lf}190x, 1{2 => 6}f1847,
no devices exist with the original names
* device/non-free/include/pic14/pic12f1840.h,
* device/non-free/include/pic14/pic16f1507.h,
* device/non-free/include/pic14/pic16f182[34589].h,
* device/non-free/include/pic14/pic16f1847.h,
* device/non-free/include/pic14/pic16f193[89].h,
* device/non-free/include/pic14/pic16lf190[23467].h,
* device/non-free/lib/pic14/libdev/Makefile.in,
* device/non-free/lib/pic14/libdev/pic12f1840.c,
* device/non-free/lib/pic14/libdev/pic16f1507.c,
* device/non-free/lib/pic14/libdev/pic16f182[34589].c,
* device/non-free/lib/pic14/libdev/pic16f1847.c,
* device/non-free/lib/pic14/libdev/pic16f193[89].c,
* device/non-free/lib/pic14/libdev/pic16lf190[23467].c:
add device libraries for more enhanced core devices,
no legacy names (XXX_bits) here!
* device/non-free/include/pic14/pic*.h,
* device/non-free/lib/pic14/libdev/pic*.c:
regenerated from new sources using the new inc2h.pl
* doc/sdccman.lyx: updated list of supported devices,
documented change of naming schemes and the use of
#define NO_BIT_DEFINES and #define NO_LEGACY_NAMES
2011-11-11 Borut Razem <borut.razem AT gmail.com>
* src/SDCCsystem.c: removed wine bug workaround:
wine bug #25062 was fixed in wine 1.3.
2011-11-10 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCmem.h,
src/SDCCmem.c,
src/SDCCglue.c:
Use named address space as segment name for the linker.
2011-11-10 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCsymt.h,
src/SDCCsymt.c,
src/SDCC.y,
src/SDCCopt.c:
Basic compiler-side named address space support.
2011-11-09 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCsymt.h,
src/SDCC.y,
src/SDCCopt.c,
src/SDCCicode.c
src/z80/ralloc.c:
Preparations for named address space support.
2011-11-08 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCsymt.c,
src/SDCCsymt.h,
src/SDCC.y,
src/SDCC.lex,
src/SDCCast.c:
Preparations for named address space support.
2011-11-05 Borut Razem <borut.razem AT gmail.com>
* src/port.mk: fixed bug #3401455: Missing dependency
* .version, sdcc.spec, doc/sdccman.lyx, doc/INSTALL.txt:
changed sdcc version to 3.1.0
* doc/README.txt, support/scripts/sdcc.nsi: updated, small textual fix
2011-11-05 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/cc2430.h: applied patch 3114002, thanks to
George Oikonomou
2011-11-05 Raphael Neider <rneider AT web.de>
* device/include/pic14/pic14devices.txt: add descriptions for a number
of devices with enhanced cores; support for most of them remains
incomplete due to lacking support by gputils
* device/non-free/include/pic14/pic16f1826.h,
* device/non-free/include/pic14/pic16f1827.h,
* device/non-free/include/pic14/pic16f1933.h,
* device/non-free/lib/pic14/libdev/Makefile.in,
* device/non-free/lib/pic14/libdev/devices.txt,
* device/non-free/lib/pic14/libdev/pic16f1826.c,
* device/non-free/lib/pic14/libdev/pic16f1827.c,
* device/non-free/lib/pic14/libdev/pic16f1933.c: add support for some
of the newly described devices; 16f1826/7 libraries are disabled in
the Makefile due to lacking support from gputils
* doc/sdccman.lyx: fix list of supported devices
2011-11-04 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/ralloc.c (isFree),
* src/ds390/ralloc.c (isFree): fixed bug #3400845
* src/SDCCast.c (decorateTree),
* src/mcs51/gen.c (assignResultValue): fixed bug #3419769
* sdas/linksrc/lkmain.c (main): fixed bug #3362385
* src/ds390/ralloc.c (packRegisters): fixed bug #3432159
* support/regression/tests/condopptr.c: enable for all targets
2011-11-03 Borut Razem <borut.razem AT gmail.com>
* support/scripts/sdcc.nsi: updated to support pic14 enhanced devices
2011-11-02 Raphael Neider <rneider AT web.de>
* device/include/pic14/pic14devices.txt: prevent SDCC from assuming
a single data bank by specifying more memmap records (per device)
2011-11-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (decorateType): allow array/integral type
combination in conditional operator (will promote to pointer)
* support/regression/tests/condopptr.c: new regression
test to check pointer operand cases in conditional operator
2011-11-01 Raphael Neider <rneider AT web.de>
* src/pic14/gen.c (inc_fsr): new code to handle FSR{,0} increments,
(emitPtrByteGet,emitPtrByteSet): fix pointer derefence,
(genNearPointerGet,genNearPointerSet): fixed for enhanced cores,
really closes #3431024
* src/pic14/pcode.c (pCodeInitRegisters):
declare all "core registers" to reside in all banks to avoid
unnecessary BANKSELs
* doc/sdccman.lyx: document definition of config words and the use
of libsdcce.lib and libme.lib for enhanced pic14 devices
2011-11-01 Raphael Neider <rneider AT web.de>
* src/pic14/main.c (_pic14_do_link):
link with libsdcce.lib for enhanced devices
* device/lib/Makefile.in:
find, copy, and rename enhanced core libraries as well
* device/lib/pic14/NEWS:
document structural changes and support for enhanced cores
* device/lib/pic14/Makefile.am,
* device/lib/pic14/Makefile.common,
* device/lib/pic14/Makefile.common.in (removed),
* device/lib/pic14/Makefile.rules (removed),
* device/lib/pic14/Makefile.subdir (removed),
* device/lib/pic14/configure.in:
switch pic14 library to Autotools-based build system,
support --enable-new-pics
* device/lib/pic14/libm/Makefile.am,
* device/lib/pic14/libsdcc/Makefile.in (removed),
* device/lib/pic14/libsdcc/enhanced/Makefile.am,
* device/lib/pic14/libsdcc/regular/Makefile.am:
build separate libm and libsdcc for regular and enhanced cores
* device/lib/pic14/libsdcc/{ => regular/,enhanced/}_gptrget{1,2,3,4}.S,
* device/lib/pic14/libsdcc/{ => regular/,enhanced/}_gptrput{1,2,3,4}.S,
* device/lib/pic14/libsdcc/{ => regular/,enhanced/}macros.inc:
separated implementation of generic pointer routines and
reimplemented for enhanced devices
* device/lib/pic14/libsdcc/{ => regular/}shadowregs.c:
moved to be included only in the non-enhanced devices' libsdcc.lib
* device/{ => non-free/}lib/pic14/libdev/devices.txt,
* device/{ => non-free/}lib/pic14/libdev/pic14ports.txt:
make libdev/ more self-contained
* device/non-free/lib/pic14/libdev/mkall.sh:
interactively update device library files (.c and .h)
* device/non-free/include/pic14/pic12f635.h,
* device/non-free/include/pic14/pic16f616.h,
* device/non-free/include/pic14/pic16f688.h,
* device/non-free/include/pic14/pic16f785.h,
* device/non-free/include/pic14/pic16f913.h,
* device/non-free/include/pic14/pic16f914.h,
* device/non-free/include/pic14/pic16f916.h,
* device/non-free/include/pic14/pic16f917.h,
* device/non-free/include/pic14/pic16hv616.h,
* device/non-free/lib/pic14/libdev/pic12f1822.c,
* device/non-free/lib/pic14/libdev/pic16f616.c,
* device/non-free/lib/pic14/libdev/pic16f688.c,
* device/non-free/lib/pic14/libdev/pic16f785.c,
* device/non-free/lib/pic14/libdev/pic16f886.c,
* device/non-free/lib/pic14/libdev/pic16f887.c,
* device/non-free/lib/pic14/libdev/pic16f913.c,
* device/non-free/lib/pic14/libdev/pic16f914.c,
* device/non-free/lib/pic14/libdev/pic16f916.c,
* device/non-free/lib/pic14/libdev/pic16f917.c,
* device/non-free/lib/pic14/libdev/pic16hv616.c:
updated from recent gputils' headers
* device/non-free/include/pic14/pic16f193{4,6,7}.h,
* device/non-free/lib/pic14/libdev/Makefile.in,
* device/non-free/lib/pic14/libdev/devices.txt,
* device/non-free/lib/pic14/libdev/pic16f193{4,6,7}.c:
add support for 16f1934/16f1936/16f1937 devices
* device/lib/pic14/Makefile.in,
* device/lib/pic14/aclocal.m4,
* device/lib/pic14/config.h.in,
* device/lib/pic14/configure,
* device/lib/pic14/depcomp,
* device/lib/pic14/install-sh,
* device/lib/pic14/libm/Makefile.in,
* device/lib/pic14/libsdcc/enhanced/Makefile.in,
* device/lib/pic14/libsdcc/regular/Makefile.in,
* device/lib/pic14/missing,
* device/lib/pic16/configure,
* device/non-free/lib/pic14/configure,
* device/non-free/lib/pic16/configure:
automatically (re)generated files
2011-10-30 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.c (computeType): fixed bug #3431210
2011-10-31 Raphael Neider <rneider AT web.de>
* src/pic14/device.c (init_pic): reformatted,
fixup enhanced cores' name for INDF
* src/pic14/pcode.c, src/pic14/pcode.h, src/pic14/ralloc.h:
provide indirect memory access registers for enhanced cores
* src/pic14/gen.c (setup_fsr):
setup FSR0L and FSR0H on enhanced cores,
fix access to INDF vs. INDF0, closes #3431024
2011-10-30 Raphael Neider <rneider AT web.de>
* src/pic14/device.c, src/pic14/device.h,
device/include/pic14/pic14devices.txt:
declare enhanced cores as such
* src/pic14/gen.c:
do not save/restore W, STATUS, BSR, FSRx, or PCLATH around
interrupts on enhanced devices, as these registers will be
saved automatically and FSR is not present on these devices
2011-10-30 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (processParams): fixed bug #3424385
2011-10-29 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/linksrc/lkmain.c (main): fixed banking, bug 3420365
* src/SDCCast.c: cosmetics
2011-10-25 Borut Razem <borut.razem AT gmail.com>
* configure.in, configure, Makefile.in, device/lib/z180/Makefile.in,
device/lib/z180/Makefile, device/lib/z80/Makefile.in,
device/lib/gbz80/Makefile.in, device/lib/ds390/Makefile.in,
device/lib/Makefile.in, device/lib/ds400/Makefile.in,
device/lib/ds400/ds400rom.c, device/lib/mcs51/Makefile.in,
device/lib/r2k/Makefile.in, device/lib/hc08/Makefile.in,
device/non-free/lib/Makefile.in, all.vcxproj,
doc/sdccman.lyx, sdcc.sln, support/scripts/sdcc.nsi:
asranlib renamed to sdranlib
* sdas/asranlib/*: sdas/asranlib moved to support/sdranlib
2011-10-23 Raphael Neider <rneider AT web.de>
* device/include/pic14/pic14devices.txt:
fix config word addresses for 12f1822/3, add 16f1934/6/7 family
2011-10-21 Raphael Neider <rneider AT web.de>
* src/pic14/device.c, src/pic14/device.h, src/pic14/ralloc.c:
rewrite config word handling to support locations other than
0x2007 and 0x2008 (16f1936 has config words at 0x8007, 0x8008)
* device/include/pic14/pic14devices.txt:
replace confsiz directive with list of config word addresses
2011-10-20 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* device/include/string.h,
device/lib/_memcpy.c,
device/lib/_memset.c:
Reenable built-in memset() for z80, enable it and built-in memcpy() for z180 and r2k.
2011-10-20 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* Makefile.common.in:
Handle OPT_DISABLE_GBZ80.
2011-10-20 Philipp Klaus Krause <pkk AT spth.de>
* device/include/string.h:
Disable built-in memset until the library build problem is fixed.
2011-10-19 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c,
src/z80/gen.c,
src/z80/main.c,
device/include/string.h,
support/regression/tests/memory.c:
Built-in memset() for z80, z180 and r2k.
2011-10-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Use ld hl, n (sp) on the gbz80.
* src/z80/ralloc2.cc:
When in doubt, try to honour register keyword.
2011-10-19 Borut Razem <borut.razem AT gmail.com>
* Makefile.common.in: added OPT_DISABLE_Z180, OPT_DISABLE_R2K
2011-10-18 Borut Razem <borut.razem AT gmail.com>
* doc/sdccman.lyx: changed MS Visual C++ 6.0 to MS Visual C++ 2010,
reverted to LyX version 1.6.7 format, as proposed by Robert Larice
* support/cpp/sdcpp-opts.c: fixed bug #3388478:
Preprocessor Error when Invoking sdcc with -E/-M/-MM and -o
2011-10-18 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* Makefile.in:
Fixed bug #3424968.
2011-10-17 Philipp Klaus Krause <pkk AT spth.de>
* device/include/iso646.h,
support/regression/tests/iso646.c:
Added macros required by C99 (this header is now C99-compliant).
* device/include/limits.h:
Removed UCHAR_MIN, added macros for long long (this header is now C99-compliant).
* device/include/stdint.h:
Code cleanup, added macros for 64 bit integers, wchar_t and wint_t (this header is now C99-compliant except for intmax_t and uintmax_t having less than 64 bits).
* device/include/string.h:
Renamed namespace-polluting _SIZE_T_DEFINED.
* device/include/stddef.h:
Renamed namespace-polluting _SIZE_T_DEFINED, added ptrdiff_t and wchar_t (this header is now C99-compliant).
* device/include/stdio.h:
Renamed namespace-polluting _SIZE_T_DEFINED.
* device/include/stdarg.h,
support/regression/tests/vaargs.c:
Fixed va_end, added va_copy (this header is now C99-compliant).
2011-10-16 Borut Razem <borut.razem AT gmail.com>
* support/scripts/sdcc.nsi: added dedication to Dennis M. Ritchie
* support/cpp/c-ppoutput.c:
fixed bug #3408654: SDCC shows wrong line number in warning 94:
disabled # LINE directive generation in __asm __endasm block
2011-10-16 Raphael Neider <rneider AT web.de>
* device/include/pic16/i2c.h,
* device/lib/pic16/libio/i2c/i2cwritec.c:
addressed issues from #3413443
* device/include/pic16/adc.h,
* device/lib/pic16/libio/adc/adcopen.c:
addressed issues from #3409666
2011-10-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/collate-results.py,
support/regression/compact-results.py: fixed bug #3413437
2011-10-15 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug3424150.c:
Fixed bug #3424150.
2011-10-15 Philipp Klaus Krause <pkk AT spth.de>
* doc/sdccman.lyx:
Mentioned z180 and r2k ports and long long data type in manual.
2011-10-14 Borut Razem <borut.razem AT gmail.com>
* support/scripts/sdcc.nsi: remove include/asm/r2k directoriy
during uninstallation
* */*.dsw, */*.dsw: removed obsolete VS6 project files
* support/Util: renamed to support/util
2011-10-13 Borut Razem <borut.razem AT gmail.com>
* .version, doc/sdccman.lyx: bumped version to 3.0.6
* src/SDCCicode.c:
disable -O2 optimization for i386 Linux and mingw platforms
(solaris i386 is OK);
see patch #3285611: Workaround gcc 4.6.0 bug with sdcc 3.0.0
* src/SDCCval.c:
Microsoft C compiler doesn't support hexadecimal floating-point
literals
2011-10-12 Borut Razem <borut.razem AT gmail.com>
* device/include/Makefile.in:
fixed detection if files with the given extension exist;
specially treat z80 family: z180, r2k and gbz80 targets
* support/scripts/sdcc.nsi: added Rabbit 2000 support
* sdas/asrab/asrab.vcxproj, sdas/asrab/asrab.vcxproj.filters,
sdcc.sln, src/src.vcxproj, src/src.vcxproj.filters,
src/z80/z80.vcxproj, src/z80/z80.vcxproj.filters:
added sdasrab assembler to the project
* debugger/mcs51/simi.c: cygwin doesn't support O_ASYNC
2011-10-11 Borut Razem <borut.razem AT gmail.com>
* device/include/Makefile.in: install/copy only existing files
* src/SDCCicode.c: disable -O2 optimization for all i386 platforms;
see patch #3285611: Workaround gcc 4.6.0 bug with sdcc 3.0.0
2011-10-11 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* configure.in:
Fixed bug #3413688.
2011-10-11 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* sdas/asrab/rabbit.h,
sdas/asrab/rabbitadr.c,
sdas/asrab/rabbitmch.c:
Leland Morrison's fix for ld n (hl), hl and ld hl, n (hl).
* src/z80/peeph-r2k.def:
Enable peepholes using ld hl, n (hl).
2011-10-10 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/main.c,
src/z80/main.c,
src/z80/z80.h:
Fix code generation for handling of rematerialization by the new
register allocator, enable it for the ports with exact cost function
and remove the option.
2011-10-10 Borut Razem <borut.razem AT gmail.com>
* support/scripts/sdcc.nsi: removed include/z80 added include/z180
2011-10-09 Raphael Neider <rneider AT web.de>
* src/SDCCval.c (constVal): avoid compiler warning
* src/pic16/gen.c (genPcall): do not clobber interrupt flags in
INTCON during indirect function call, closes #3420588
2011-10-09 Philipp Klaus Krause <pkk AT spth.de>
* Merge the Rabbit2000 branch.
2011-10-09 Philipp Klaus Krause <pkk AT spth.de>
* device/include/z80/z180.h,
device/include/z80/types.h,
device/include/z80/README,
device/include/z80/z180.h:
Move z180 include file.
2011-10-09 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmain.c:
Cleanup z180 library handling.
2011-10-08 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/scripts/sdcc.nsi: add Z180 lib and include files to package
2011-10-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peep.c:
Use r2k-specific ld n (sp), hl, ld n (sp), iy, ld n (ix), ld iy, n (sp), ld hl, n (sp) and ld hl, n (ix).
2011-10-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peep.c,
src/z80/peeph-r2k.def,
src/z80/peeph-z80.def:
Preparations for use of r2k-specific ld hl, n (sp) and ld hl, n (ix).
2011-10-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Preparations for use of r2k-specific ld iy,hl.
2011-10-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peeph-r2k.def,
src/z80/peeph-z80.def:
Allow use of r2k-specific ld hl, (hl) instruction.
2011-10-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Make better use of the r2k-specific add sp, d instruction.
2011-10-04 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
More flexible use of r2k-specific and hl, de instruction.
2011-10-04 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Allow use of r2k-specific instructions in right shift.
* sim/ucsim/z80.src/inst.cc:
Fix flag handling in z80/z180/r2k rrca instruction.
* sim/ucsim/z80.src/inst_r2k.cc:
Fix handling of carry bit in r2k 16-bit rr and rl instructions.
2011-10-04 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/peeph-z80.def,
src/z80/peeph-r2k.def:
Minor peephole improvement.
2011-10-04 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/z80.src/inst_r2k.cc:
Fix signed multiplication to use two's complement instead of sign-magnitude, 3rd attempt.
2011-10-04 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/z80.src/inst_r2k.cc:
Fix signed multiplication to use two's complement instead of sign-magnitude, 2nd attempt.
2011-10-04 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* sim/ucsim/z80.src/inst_r2k.cc,
sim/ucsim/z80.src/r2k.cc,
sim/ucsim/z80.src/z80cl.h,
sim/ucsim/z80.src/inst_ed_r2k.cc,
sim/ucsim/z80.src/inst_xd.cc,
sim/ucsim/z80.src/r2kcl.h,
sim/ucsim/z80.src/glob.cc:
Leland Morrison's support for some more r2k-specific instructions.
2011-10-04 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/z80.src/inst_r2k.cc:
Fix signed multiplication to use two's complement instead of sign-magnitude.
2011-10-03 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/z80.src/r2k.cc,
sim/ucsim/z80.src/r2kcl.h:
Forgotten files from Leland Morrison's Rabbit 2000 ucsim port.
2011-10-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
sim/ucsim/z80.src/inst_r2k.cc:
Fixed multiplication using r2k mul instruction.
2011-10-03 Philipp Klaus Krause <pkk AT spth.de>
* sdas/asrab/rabbitmch.c:
Leland Morrison's support for ld iy, hl.
2011-10-03 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/z80.src/inst_r2k.cc,
sim/ucsim/z80.src/glob_r2k.cc,
sim/ucsim/z80.src/inst_ed_r2k.cc:
Forgotten files from Leland Morrison's Rabbit 2000 ucsim port, support for r2k mul and ld iy, hl instructions in ucsim.
2011-10-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c:
Handle r2k mul instruction in code size calculation.
2011-10-03 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/z80.src/Makefile.in,
sim/ucsim/z80.src/z80cl.h,
sim/ucsim/z80.src/regsz80.h,
sim/ucsim/z80.src/sz80.cc,
sim/ucsim/z80.src/z80mac.h,
sim/ucsim/z80.src/inst_xd.cc,
sim/ucsim/z80.src/z80.cc,
sim/ucsim/z80.src/glob.cc,
sim/ucsim/z80.src/inst_dd.cc,
sim/ucsim/z80.src/glob.h,
sim/ucsim/z80.src/inst_fd.cc,
sim/ucsim/z80.src/simz80.cc,
sim/ucsim/stypes.h,
sim/ucsim/sim.src/uc.cc,
sim/ucsim/globals.cc:
Leland Morrison's Rabbit 2000 ucsim port.
2011-10-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Use add sp, #n in function entry in r2k port.
2011-10-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Use Rabbit-specific instructions in and, multiplication and assignment for r2k port.
2011-10-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peep.c:
Preparations for use of add sp, #n in function entry in r2k port.
2011-10-03 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug1115321.c
support/regression/Makefile.in
support/regression/fwk/include/testfwk.h
support/regression/ports/ucr2k
Leland Morrison's Rabbit 2000 regression test port.
2011-10-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmain.c:
Fix library path. r2k port works now.
2011-10-03 Philipp Klaus Krause <pkk AT spth.de>
* device/include/stdint.h:
Enable 64 bit integer types for r2k port.
2011-10-03 Philipp Klaus Krause <pkk AT spth.de>
* device/include/asm/r2k,
device/include/asm/r2k/features.h,
device/lib/r2k/Makefile.in,
Makefile.in,
src/SDCCmain.c,
src/z80/gen.c,
src/z80/main.c,
device/lib/Makefile.in,
configure.in,
device/lib/r2k/Makefile.in,
device/lib/r2k/strlen.s:
r2k library cleanup.
2011-10-03 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/r2k,
device/include/sdcc-lib.h,
device/include/math.h,
device/include/stdarg.h:
Leland Morrison's Rabbit 2000 library port.
2011-10-03 Philipp Klaus Krause <pkk AT spth.de>
* configure.in:
Add r2k port.
* src/port.h,
src/z80/gen.c
src/z80/main.c
src/z80/z80.h:
Code cleanup.
* src/z80/peep.c:
Fix code size for ex (sp), hl in r2k port.
2011-10-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp,
src/SDCCmain.c,
src/SDCCglue.c,
src/port.h,
src/z80/peeph-r2k.def,
src/z80/gen.c,
src/z80/mappings.i,
src/z80/main.c,
src/z80/z80.h,
src/z80/peep.c:
Leland Morrison's Rabbit 2000 compiler port.
2011-10-03 Philipp Klaus Krause <pkk AT spth.de>
* sdas/asrab,
sdas/asrab/Makefile.in,
sdas/asrab/rabbitext.c,
sdas/asrab/clean.mk,
sdas/asrab/rabbit.h,
sdas/asrab/rabbitadr.c,
sdas/asrab/rabbitpst.c,
sdas/asrab/rabbitmch.c:
Leland Morrison's assembler for Rabbit 2000 and Rabbit 4000.
2011-10-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sim/ucsim/hc08.src/glob.cc: add HCS08 instructions to disassembler
* src/SDCCval.c: fixed constant to avoid unintended long long literal
2011-10-01 Philipp Klaus Krause <pkk AT spth.de>
* device/include/stdint.h:
Added typedefs for 64-bit integer types.
2011-10-01 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCerr.h,
src/SDCCerr.c,
src/SDCCval.c:
Error for invalid integer suffix, as in 1ullul.
2011-10-01 Raphael Neider <rneider AT web.de>
* device/non-free/include/pic14/pic12f1822.h,
device/non-free/lib/pic14/libdev/pic12f1822.c,
device/include/pic14/pic14devices.txt,
device/lib/pic14/libdev/devices.txt:
Add support for 12f1822 devices, requires --enable-new-pics to be
passed to configure, closes #3416092.
* device/non-free/lib/pic14/libdev/Makefile.in,
device/non-free/lib/pic14/configure.in:
Add --enable-new-pics switch to build device libs for devices added
to gputils only after the 0.13.7 release; by default, only libs for
devices that are supported in gputils 0.13.7 are built to avoid build
failures.
* device/non-free/lib/pic14/configure:
Regenerated.
2011-10-01 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c:
Slightly more informative error message when attempting to multiply, etc long long.
2011-10-01 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Reorganized pointer access functions, fixed the remaining warning in the z80 port.
2011-10-01 Borut Razem <borut.razem AT gmail.com>
* src/SDCCerr.c, src/SDCCerr.h, src/SDCC.lex:
SDCCerr code cleanup
2011-10-01 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Reorganized pointer access functions, fixed the remaining warning in the z80 port.
2011-10-01 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c:
Enable long long for gbz80 and z180 ports.
* src/pic14/gen.c:
Fixed use of pic16 functions in pic14 port.
2011-10-01 Philipp Klaus Krause <pkk AT spth.de>
* src/src/izt/tlcs900h.c,
src/izt/i186.c,
src/z80/main.c:
Added missing long long type size entries.
2011-10-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/ds390/main.c: added missing long long type size entries
2011-10-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sim/ucsim/z80.src/sz80.cc: enable sz80 -H option
* sim/ucsim/globals.cc,
* sim/ucsim/globals.h,
* sim/ucsim/stypes.h,
* sim/ucsim/hc08.src/shc08.cc,
* sim/ucsim/hc08.src/hc08.cc,
* sim/ucsim/hc08.src/hc08cl.h,
* sum/ucsim/hc08.src/inst.cc,
* sum/ucsim/hc08.src/instcl.h,
* sum/ucsim/hc08.src/hc08mac.h: Add support for HCS08 instructions
2011-09-30 Philipp Klaus Krause <pkk AT spth.de>
* src/xa51/main.c
src/mcs51/main.c
src/SDCCsymt.c
src/SDCCsymt.h
src/avr/main.c
src/port.h
src/pic14/main.c
src/z80/gen.c
src/z80/ralloc.c
src/z80/main.c
src/pic16/main.c
src/SDCCglobl.h
src/hc08/main.c
src/ds390/main.c:
Very basic (no multiplication/division/shift/return) support for long long for the Z80.
2011-09-30 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCerr.h,
src/SDCCerr.c,
src/SDCCsymt.c:
Drop support for declarations like "long short short long short int x;".
2011-09-30 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* configure.in,
configure: create device/lib/z180/Makefile during configuration
2011-09-28 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/gen.c:
Handle the trivial casts more like assignments, allow hl in operands for unary minus.
2011-09-28 Philipp Klaus Krause <pkk AT spth.de>
* ChangeLog:
Reconstruct ChangeLog entries lost during the z180 branch merge.
2011-09-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/main.c:
Always use native multiplication for Z80 and Z180 when the result is 8 bits.
2011-09-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Always use of Z180 mlt instruction for unsigned 8x8 multiplication,
fixed bug in register-to-register cast.
2011-09-24 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c:
Handle Z180 mlt instruction in peephole optimizer.
2011-09-24 Philipp Klaus Krause <pkk AT spth.de>
* Merged z180 branch.
2011-09-24 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/printf_large.c: accept int modifiers
2011-09-24 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/globals.cc,
sim/ucsim/z80.src/inst_ed.cc:
Report mlt instructions as invalid in simulator when running in Z80 mode.
2011-09-23 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCglue.c,
src/z80/gen.c,
src/z80/main.c,
sim/ucsim/z80.src/inst_ed.cc:
Enable use of Z180 multiplication instructions.
2011-09-23 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug1115321.c:
Fix last remaining ucz180 regression test failure.
2011-09-23 Philipp Klaus Krause <pkk AT spth.de>
* device/include/string.h,
device/include/sdcc-lib.h,
device/include/math.h,
device/include/stdarg.h,
device/lib/_malloc.c,
device/lib/_realloc.c,
device/lib/_free.c,
device/lib/Makefile.in,
sim/ucsim/z80.src/z80cl.h,
sim/ucsim/z80.src/z80.cc,
sim/ucsim/z80.src/simz80.cc,
sim/ucsim/stypes.h,
sim/ucsim/globals.cc,
sim/ucsim/globals.h,
sdas/linksrc/lkarea.c,
sdas/linksrc/sdld.c,
sdas/linksrc/sdld.h,
sdas/linksrc/lkrloc.c,
support/regression/Makefile.in,
support/regression/fwk/include/testfwk.h,
device/include/asm/z180,
device/include/asm/z180/features.h,
device/lib/z180,
device/lib/z180/divunsigned.s,
device/lib/z180/Makefile.in,
device/lib/z180/crtcall.s,
device/lib/z180/mulchar.s,
device/lib/z180/README,
device/lib/z180/mul.s,
device/lib/z180/stubs.s,
device/lib/z180/setjmp.s,
device/lib/z180/abs.s,
device/lib/z180/memmove.s,
device/lib/z180/fstubs.s,
device/lib/z180/modmixed.s,
device/lib/z180/putchar.s,
device/lib/z180/strlen.s,
device/lib/z180/crt0.s,
device/lib/z180/divmixed.s,
device/lib/z180/modsigned.s,
device/lib/z180/crt0_rle.s,
device/lib/z180/Makefile,
device/lib/z180/modunsigned.s,
device/lib/z180/divsigned.s,
device/lib/z180/heap.s,
device/lib/z180/shift.s,
support/regression/ports/ucz180,
support/regression/ports/ucz180/spec.mk,
support/regression/ports/ucz180/uCsim.cmd,
support/regression/ports/ucz180/support.asm:
Z180 port passes all regression tests except for one.
2011-09-23 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.c,
support/regression/tests/bug2942247.c:
Fixed bug #2942247.
2011-09-22 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCC.y (abstract_declarator2): fixed bug 3190029
* support/regression/tests/bug3190029.c: new, added
2011-09-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/pic16/gen.c,
src/pic14/gen.c,
device/include/stdbool.h,
support/regression/bool.c,
src/SDCCsymt.c,
src/SDCCast.c:
_Bool support for the pics.
2011-09-19 Raphael Neider <rneider AT web.de>
* device/lib/pic16/libio/adc/adcopen.c:
suppress 'pcfg unused' compiler warning
* device/lib/pic16/Makefile.common
device/non-free/lib/pic16/Makefile.common:
move -Ipath to AM_CPPFLAGS for use by depmod
* device/lib/pic16/configure.ac,
device/non-free/lib/pic16/configure.ac:
add --enable-new-pics switch to build support libs for devices added
to gputils only after the 0.13.7 release; by default, only libs for
devices that are supported in gputils 0.13.7 are built to avoid build
failures
* device/lib/pic16/libio/Makefile.am,
device/non-free/lib/pic16/libdev/Makefile.am:
honor --enable-new-pics switch to include/exclude certain devices
* doc/sdccman.lyx:
document the new configure switch
* device/lib/pic16/Makefile.in,
* device/lib/pic16/aclocal.m4,
* device/lib/pic16/configure,
* device/lib/pic16/debug/Makefile.in,
* device/lib/pic16/libc/Makefile.in,
* device/lib/pic16/libio/Makefile.in,
* device/lib/pic16/libm/Makefile.in,
* device/lib/pic16/libsdcc/Makefile.in,
* device/lib/pic16/startup/Makefile.in,
* device/non-free/lib/pic16/Makefile.in,
* device/non-free/lib/pic16/aclocal.m4,
* device/non-free/lib/pic16/configure,
* device/non-free/lib/pic16/libdev/Makefile.in:
regenerated
2011-09-18 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (genFunction),
* src/mcs51/gen.c (genFunction): handle function pointers, fixed bug 3410620
* src/SDCCsymt.c (compareFuncType): check regbank for non-isr,
(dbuf_printTypeChain): print reentrancy, register bank & bankswitching
* src/SDCCsymt.h: removed unused & buggy IFFUNC_RBANK
* support/Util/dbuf.c (dbuf_set_length): auto-init dbuf
* support/regression/tests/bug3410620.c: new, added
2011-09-18 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp,
support/regression/tests/bug3410878.c:
Fixed bug #3410878.
2011-09-18 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (processParms): fixed bugs 3166064 and 3394118
* support/regression/tests/bug3166064.c: new, added
* .version,
* doc/sdccman.lyx: bumped version to 3.0.5
2011-09-15 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCval.c (getNelements): fixed bug 3135551
* support/regression/tests/bug3135551.c: new, added
* src/ds390/gen.c (genInline),
* src/hc08/gen.c (genInline),
* src/mcs51/gen.c (genInline),
* src/pic14/gen.c (genInline),
* src/pic16/gen.c (genInline),
* src/z80/gen.c (genInline),
* support/cpp/c-ppoutput.c (scan_translation_unit),
* support/cpp/libcpp/lex.c (cpp_output_line): replaced character by '\x87'
2011-09-14 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (genInline),
* src/hc08/gen.c (genInline),
* src/mcs51/gen.c (genInline),
* src/pic14/gen.c (genInline),
* src/pic16/gen.c (genInline),
* src/z80/gen.c (genInline): convert (0x87) to newline
* support/cpp/libcpp/include/cpplib.h: removed IN_ASM, added ENTER_ASM and
EXIT_ASM
* support/cpp/c-ppoutput.c (scan_translation_unit),
* support/cpp/libcpp/lex.c (_cpp_process_line_notes, _cpp_lex_direct,
cpp_output_token, cpp_output_line): fixed bugs 3407198 and 3407279 by
inserting (0x87) for newlines
* support/regression/tests/bug1505956.c: added tests
2011-09-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
support/regression/tests/bug3401973.c:
Fixed bug #3401973.
2011-09-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCopt.c,
support/regression/bug3407632.c:
Fixed bug #3407632.
2011-09-10 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/linksrc/aslink.h: added pcb & rterr, modified lkglist
* sdas/linksrc/lkarea.c (find_empty_space, allocate_space): changed warnings
* sdas/linksrc/lkdata.c: added pcb & rterr
* sdas/linksrc/lkeval.c (eval, expr, term): no signed arithmetic,
(term): accept closing quotes
* sdas/linksrc/lklist.c: sync with ASxxxx 5
* sdas/linksrc/lkmain.c (link_main): reset a_bytes and hilo to defaults 2,0
fixes bug 3305824
* sdas/linksrc/lkrloc.c (relr): set default pcb
2011-09-09 Borut Razem <borut.razem AT gmail.com>
* support/cpp/md5.h:
included stdint.h for uintptr_t declaration
2011-09-08 Borut Razem <borut.razem AT gmail.com>
* support/cpp/md5.h:
fixed WIN64 warning: cast from pointer to integer of different size
2011-09-07 Borut Razem <borut.razem AT gmail.com>
* support/cpp/version.c: updated version to 4.6.1
2011-09-06 Borut Razem <borut.razem AT gmail.com>
* debugger/mcs51/sdcdb.h, src/SDCCsystem.c, src/pic14/glue.c:
fixed WIN64 warnings: cast from pointer to integer of different size
* src/SDCCsystem.c: fixed WIN64 TRUE and FALSE redefinition
* src/SDCCglobal.c: fixed stack overflow
2011-09-06 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCralloc.hpp:
Connect unconnected live-ranges instead of just spilling.
2011-09-06 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Minor cleanup from the stack-compact branch.
2011-09-05 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/sincoshf.c: fixed bug 3326853
2011-09-05 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/tests/bug1723128.c: fixed bug 3403038
2011-09-04 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.h,
support/regression/tests/bug3404101.c:
Fixed bug #3404101.
2011-09-04 Maarten Brock <sourceforge.brock AT dse.nl>
* Makefile.in: added some dependencies to fix bug 3148465
* src/mcs51/gen.c (gencjneshort,genOr): small optimizations
* src/SDCCicode.h,
* src/SDCCicode.c (operandType): fixed warning
* src/SDCCsymt.h: cosmetics
* src/z80/gen.c: fixed warnings
* support/cpp/sdcpp-opts.c (sdcpp_common_init): return true on success
2011-09-04 Borut Razem <borut.razem AT gmail.com>
* support/scripts/sdcc.nsi: include readline5.dll in 64bit package
2011-09-03 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/bug3368945.c,
* support/regression/tests/bug3381400.c,
* support/regression/tests/bug3397636.c: fixed line endings and svn props
* support/regression/tests/bug3401973.c: put large struct in large memory
* support/regression/tests/bug3403429.c: fixed warnings, explained bug
2011-09-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmain.c:
Basic working z180 port.
2011-09-03 Philipp Klaus Krause <pkk AT spth.de>
* configure.in,
configure,
sdccconf_in.h,
src/SDCCmain.c,
src/SDCCglue.c,
src/SDCCopt.c,
src/port.h,
src/SDCCopt.c,
src/SDCCralloc.hpp,
src/z80/z80.h,
src/z80/main.c,
src/z80/gen.c,
src/z80/ralloc.c:
Basic infrastructure for z180 port.
2011-09-02 Philipp Klaus Krause <pkk AT spth.de>
* tests/bug3403429.c:
Regression test for bug 3403429.
2011-09-02 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Use res instead of and to clear sign bit.
2011-09-02 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_fsgt.c,
* device/lib/_fslt.c: test for -0.0
* src/ds390/gen.c (toBoolean),
* src/hc08/gen.c (asmopToBool),
* src/mcs51/gen.c (toBoolean),
* src/z80/gen.c (_toBoolean): ignore sign of float,
(aopDump): disabled unused code
* support/regression/tests/float_single.c: enabled floorf(1.0-0.000001),
added NEG
* support/regression/tests/bug3183823.c: new, added
2011-09-02 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/bug3401973.c:
Regression test for bug 3401973.
2011-09-02 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/bug1723128.c:
Disable failing regression test for hc08.
2011-09-01 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCsymt.c,
src/hc08/gen.c,
src/SDCCast.c,
device/include/stdbool.h:
_Bool / bool for hc08.
2011-09-01 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCsymt.c,
src/SDCCpeeph.c:
Minor code cleanup.
2011-09-01 Borut Razem <borut.razem AT gmail.com>
* support/scripts/sdcc.nsi:
don't include readline5.dll in 64bit package;
remove libgcc_s_sjlj-1.dll and libstdc++-6.dll on uninstallation;
don't install 64 bit version on 32 bit Windows;
use proper Program Files and registry for 64 bit installation
* support/regression/ports/pic14/spec.mk,
support/regression/ports/pic16/spec.mk,
support/regression/ports/hc08/spec.mk,
support/regression/ports/ds390/spec.mk,
support/regression/ports/ucz80/spec.mk,
support/regression/ports/mcs51-common/spec.mk:
configurable $(WINE)
2011-08-31 Borut Razem <borut.razem AT gmail.com>
* support/scripts/sdcc.nsi: introduced WIN64 for 64bit dlls inclusion
2011-08-30 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCralloc.hpp:
Construct conflict graph again instead of trusting the one from sdcc.
2011-08-30 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/tancotf.c,
device/lib/acosf.c,
device/lib/sinf.c,
device/lib/asincosf.c,
device/lib/_fsadd.c,
device/lib/asinf.c,
device/lib/printf_large.c,
device/lib/_divulong.c,
device/lib/_atof.c,
device/lib/cotf.c,
device/lib/expf.c,
device/lib/sincosf.c,
device/lib/tanf.c,
device/lib/sincoshf.c,
device/lib/cosf.c:
Use BOOL or _Bool.
2011-08-30 Borut Razem <borut.razem AT gmail.com>
* support/cpp/libcpp/lex.c:
reverted to revision r6084 (before sdcpp 4.6.1 synchronization),
partialy re-synchronized with sdcpp 4.6.1
* support/cpp/libcpp/macro.c: fixed naked hash handling
* support/regression/test/bitfields.c:
fixed a regtest failure on i386 and x86_64 host architectures with
gcc 4.6 by turning off the -O2 optimization
2011-08-29 Borut Razem <borut.razem AT gmail.com>
* support/cpp/libiberty/getpwd.c: reverted; it was committed by mistake
* support/cpp/libcpp/lex.c: disable fast scanner using SSE due to
bug #3400132: fatal error: ../gcc/config/i386/cpuid.h
2011-08-29 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/ds390/Makefile.in: added gptr_cmp.rel
2011-08-26 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* device/include/stdbool.h,
support/regression/tests/bool.c:
Fixed bug #2939485.
2011-08-28 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/ds390/gptr_cmp.c: new, added
* src/ds390/gen.c (loadDptrFromOperand): factored out,
(genFarPointerGet, genCodePointerGet, genGenPointerGet, genFarPointerSet,
genGenPointerSet): use loadDptrFromOperand
(genCmp, gencjneshort): fixed generic pointer comparison
* support/regression/tests/genptrs.c: expanded and enabled tests for ds390
2011-08-28 Borut Razem <borut.razem AT gmail.com>
* src/SDCCicode.c:
applied patch #3285611: Workaround gcc 4.6.0 bug with sdcc 3.0.0,
thanks Roy Rankin
* support/cpp/libiberty/concat.c, support/cpp/libiberty/filenames.h,
support/cpp/libiberty/hashtab.c, support/cpp/libiberty/vasprintf.c,
support/cpp/libiberty/xmemdup.c, support/cpp/libiberty/hashtab.h,
support/cpp/libiberty/splay-tree.c, support/cpp/libiberty/lbasename.c,
support/cpp/libiberty/splay-tree.h, support/cpp/libiberty/getpwd.c,
support/cpp/libiberty/fopen_unlocked.c, support/cpp/libcpp/directives.c,
support/cpp/libcpp/macro.c, support/cpp/libcpp/files.c,
support/cpp/libcpp/include/cpplib.h, support/cpp/libcpp/include/symtab.h,
support/cpp/libcpp/include/line-map.h, support/cpp/libcpp/init.c,
support/cpp/libcpp/errors.c, support/cpp/libcpp/expr.c,
support/cpp/libcpp/internal.h, support/cpp/libcpp/lex.c,
support/cpp/libcpp/system.h, support/cpp/libcpp/charset.c,
support/cpp/sdcpp-diagnostic.c, support/cpp/sdcpp.h,
support/cpp/sdcpp-opts.c:
SDCPP synchronized with GCC CPP release version 4.6.1
2011-08-27 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.h,
src/SDCCsymt.c,
src/SDCCicode.c,
src/SDCCopt.c,
support/regression/tests/bool.c:
Fixed bug #3031197.
2011-08-27 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c,
* src/ds390/gen.c: synced all shift functions
2011-08-26 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c: use !tlabeldef and #!constbyte,
merged Push into emitpush,
changed many aopGet(dname=TRUE) to FALSE
(aopForRemat): do not warn for intermediate generic pointers,
(aopPut): use static dbuf_s,
(loadDptrFromOperand): optimized for AOP_DPTR,
(pointToEnd, findLabelBackwards, old adjustArithmeticResult): removed,
* src/mcs51/gen.h: cosmetics
* src/ds390/gen.c: synchronized with mcs51, removed genArrayInit
* src/ds390/gen.h: cosmetics
* src/SDCCcse.c (algebraicOpts CAST): handle generic pointers
* src/SDCCglue.c (aopLiteralLong): handle size=3 for ds390 dptr,
(initPointer): no warning for castable pointers
* src/SDCCicode.c (operandOperation EQ_OP): handle literal pointers,
(getPtrType): removed
(geniCodeCast): removed strange hidden cast after cse fix
(geniCodeAddressOf): removed op->isaddr check for operandFromOperand
* src/z80/gen.c (aopForRemat): synced with mcs51 for CAST,
(regMove): fixed warnings
* support/regression/tests/bug3389647.c: new, added
2011-08-26 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc,
support/regression/tests/bug3397636.c:
Fixed bug #3397636.
2011-08-25 Borut Razem <borut.razem AT gmail.com>
* src/pic14/pcodepeep.c, src/pic16/pcodepeep.c:
fixed name clash with mingw_w64: _DLL renamed to DLList
* src/SDCCutil.c: added MINGW64 build environment detection
* debugger/mcs51/simi.c, debugger/mcs51/cmd.c, debugger/mcs51/sdcdb.c,
debugger/mcs51/break.c:
fixed name clash with mingw_w64 objidl.h: undefine DATADIR
* debugger/mcs51/sdcdb.c(escapeQuotes): expand buffer if necessary
2011-08-22 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fixed bug #3396441.
2011-08-17 Borut Razem <borut.razem AT gmail.com>
* device/non-free/lib/pic16/libdev/Makefile.in:
regenerated to include support for pic18f2xk22/pic18f4xk22 family
2011-08-16 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* doc/sdccman.lyx:
Redid documentation change, in LyX 1.6 format this time.
2011-08-16 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* doc/sdccman.lyx:
Reverted documentation change, to avoid LyX version incompability.
2011-08-16 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* doc/sdccman.lyx:
Document --reserve-regs-iy option and __smallc calling convention.
2011-08-15 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c(decorateType, EQ_OP NE_OP): fixed floatFromVal bug on big
endian host for pointers
2011-08-14 Borut Razem <borut.razem AT gmail.com>
* src/SDCC.y, src/SDCC.lex, src/pic14/ralloc.c, src/pic16/ralloc.c:
fixed clash with i586-mingw32msvc/include/windef.h
2011-08-12 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/mcs51/gptr_cmp.asm: new, added
* device/lib/mcs51/Makefile.in: added gptr_cmp.rel
* src/mcs51/gen.c(aopGet AOP_LIT): fixed generic pointer type
(toBoolean, genCmp, gencjneshort): fixed generic pointer comparison
* src/SDCCast.c(checkPtrCast): no warning for banked function pointers,
(decorateType, EQ_OP NE_OP): optimize ifx(0==op) and null pointers
* src/SDCCglue.c(aopLiteralGptr): added,
(printIvalCharPtr): fixed generic pointers
* support/regression/tests/genptrs.c: new, added
* support/regression/tests/bug3366711.c: fixed warning
* support/regression/tests/inline.c: split #ifdef for readability
2011-08-09 Borut Razem <borut.razem AT gmail.com>
* support/regression/Makefile.in: fixed dependency checking using vpath
2011-08-07 Borut Razem <borut.razem AT gmail.com>
* src/SDCCopt.c: fixed bug #3387421: Incorrect code in revision 6723,
optimize '>' and '>=' also in case when the following instruction
is not IFX
* support/regression/test/compare_2_n.c:
added test cases for bug #3387421 and for 0x0000 and 0xffff
2011-08-06 Borut Razem <borut.razem AT gmail.com>
* doc/Makefile.in: applied patch #3387171:
Binary build fails due to documentation cleanup,
thanks Strobl Anton
* src/SDCCopt.c: further enhancements & fixes of patch #2702889:
added <= and >= optimizations, optimize > only if IFX
* support/regression/test/compare_2_n.c: added test cases without IFX
2011-08-05 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/bug3368945.c:
Fixed bug #3386945.
2011-08-05 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed bitfield unpacking bug #3386784.
2011-08-05 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/peeph-z80.def:
Minor peephole improvements.
* src/z80/gen.c:
Removed incorrect comment regarding arithmetic right shift.
2011-08-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c:
Handle cp, improve accuracy of checking for hl reads in notUsed().
* src/z80/peeph-z80.def:
Minor peephole improvements.
* src/z80/ralloc2.c:
Allow accumulator arguments in bitwise complement.
2011-08-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc:
Fixed bug #3385978.
2011-08-04 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/regression/tests/bug3381400.c:
Don't try to compile the sfr stuff on host.
2011-08-04 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Minor improvement in 8-bit by literal multiplication.
2011-08-03 Borut Razem <borut.razem AT gmail.com>
* sdcc development documentation moved from doc to sdcc wiki:
* doc/builtins.txt: removed,
published as Developer Documentation on SDCC wiki at
http://sourceforge.net/apps/trac/sdcc/wiki/Builtins
* doc/macro-sys-design.txt: removed,
published as Developer Documentation on SDCC wiki at
http://sourceforge.net/apps/trac/sdcc/wiki/Macro%20system%20design
* doc/random-notes.txt: removed,
published as Developer Documentation on SDCC wiki at
http://sourceforge.net/apps/trac/sdcc/wiki/Random%20notes%20about%20sdcc%20and%20how%20it%20works
* doc/cdbfileformat.lyx: removed,
published as Developer Documentation on SDCC wiki at
https://sourceforge.net/apps/trac/sdcc/wiki/CDB%20File%20Format
* doc/test_suite_spec.lyx: removed,
published as an Obsolete document on SDCC wiki at
http://sourceforge.net/apps/trac/sdcc/wiki/Proposed%20Test%20Suite%20Design
* doc/avr/avr_design.txt: removed,
published as an Obsolete document on SDCC wiki at
http://sourceforge.net/apps/trac/sdcc/wiki/Design%20Document%20for%20AVR%20Port
* doc/z80/combined_i186_z80_design.tex, doc/z80/*: removed,
published as an Obsolete document on SDCC wiki at
http://sourceforge.net/apps/trac/sdcc/wiki/Combined%20i186/Z80%20backend%20design
* doc/choices.txt: removed,
published as an Obsolete document on SDCC wiki at
http://sourceforge.net/apps/trac/sdcc/wiki/Some%20of%20the%20implementation%20choices
* doc/libdoc.txt: removed,
published as an Obsolete document on SDCC wiki at
http://sourceforge.net/apps/trac/sdcc/wiki/List%20of%20the%20SDCC%20library
* doc/figures/ddd_example.png, doc/figures/ddd_example.eps: removed,
pucure inserted into page "Visually debug for 8051 under Windows using DDD/SDCDB/S51" at
http://sourceforge.net/apps/trac/sdcc/wiki/Visually%20debug%20for%208051%20under%20Windows%20using%20DDD/SDCDB/S51
2011-08-03 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
src/z80/peeph-z80.def:
Fixed code generation bug in 8-bit multiplication with operands and e (hl).
2011-08-03 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/peeph-z80.def:
Minor peephole improvement.
2011-08-03 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCralloc.hpp:
Fixed SIGSEGV that occured for extremly low values of --max-allocs-per-node.
2011-08-03 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
support/regression/tests/bug3381400.c:
Fixed bug #3381400.
2011-08-03 Borut Razem <borut.razem AT gmail.com>
* support/regression/Makefile.in,
support/regression/ports/ds390/spec.mk:
added m4 preprocessing of .m4 regtest files
* support/regression/tests/compare_2_n.m4:
adopted for m4 preprocessing, renamed to .m4
* support/regression/m4include/*: added
2011-08-01 Borut Razem <borut.razem AT gmail.com>
* support/regression/tests/inline.c:
excluded failing regression test case on Mac OS X GCC 4.0.1
2011-07-31 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c(genEndFunction): added mov PSW removal based on patch
2702889 by Hubert Sack
* src/mcs51/ralloc.c: added findAllBankregs, mcs51_allBankregs
* src/mcs51/ralloc.h: added mcs51_allBankregs
2011-07-30 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_setjmp.c: fixed mcs51 stack-auto and xstack implementations
* src/SDCCopt.c(miscOpt): added my doubts
* support/regression/tests/bug3379723.c: disabled for hc08 which has no sfr
* support/regression/tests/setjmp.c: test only on supported targets
* support/regression/tests/bug3361290.c,
* support/regression/tests/bug3366711.c,
* support/regression/tests/bug3379723.c: set native eolstyle property
2011-07-28 Philipp Klaus Krause <pkk AT spth.de>
* device/include/setjmp.h,
device/lib/z80/Makefile.in,
device/lib/z80/setjmp.s,
support/regression/tests/setjmp.c:
setjmp() and longjmp() for the Z80.
2011-07-28 Philipp Klaus Krause <pkk AT spth.de>
* device/include/setjmp.h,
device/lib/_setjmp.c,
support/regression/tests/setjmp.c:
Fixed some setjmp() / longjmp() bugs.
* support/regression/tests/bug3379723.c:
Do not compile on host.
2011-07-27 Borut Razem <borut.razem AT gmail.com>
* src/SDCCopt.c: fixed bug
#3378933: Regression test compare_2_n.c fails on sparc machines
* support/regression/test/compare_2_n.c:
reenabled bug #3378933 test case
2011-07-27 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
support/regression/tests/bug3379732.c:
Bitwise-op cleanup, fixed bug #3379732.
2011-07-26 Borut Razem <borut.razem AT gmail.com>
* support/regression/test/literalop.c:
disabled failing test on i386 and sparc64 NetBSD gcc 4.1
* support/regression/test/compare_2_n.c:
excluded failing test on NetBSD sparc64 and Solaris sparc machines
for all targets;
see bug #3378933: Regression test compare_2_n.c fails on sparc machines
2011-07-24 Borut Razem <borut.razem AT gmail.com>
* support/regression/test/bitfields.c:
fixed a regtest failure on Solaris i386 host with gcc 4.6
by turning off the -O2 optimization
* support/regression/tests/compare_2_n.c:
added test for unsigned long type
2011-07-23 Borut Razem <borut.razem AT gmail.com>
* debugger/mcs51/acinclude.m4, debugger/mcs51/configure: fix for solaris
* support/regression/test/bitfields.c:
fixed a strange failure on Solaris i386 host with gcc 4.6
2011-07-22 Borut Razem <borut.razem AT gmail.com>
* src/SDCCmem.c, src/SDCCopt.c: applied 2nd and 3rd part of patch
#2702889 - Summary of all uncommitted changes I applied on "my" SDCC
thanks Hubert Sack
* support/regression/tests/compare_2_n.c: added
2011-07-21 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCmain.c:
Reduce default value for --max-allocs-per-node to reduce compiler runtime.
2011-07-19 Borut Razem <borut.razem AT gmail.com>
* src/z80/gen.c: fixed MSVC 2010 compilation
2011-07-16 Borut Razem <borut.razem AT gmail.com>
* debugger/mcs51/simi.c:
define BSD_COMP on Solaris so that gcc includes <sys/filio.h>
which defines FIONBIO
2011-07-15 Borut Razem <borut.razem AT gmail.com>
* support/regression/tests/bug1665511.c:
fixed host regression test bus error crash on sparc Solaris
2011-07-15 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
src/z80/peeph-z80.def:
Optimized jumptable generation.
2011-07-15 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCpeep.c:
labelJTInRange() fix, to ensure that jp by jr replacement is correct in jumptables.
2011-07-14 Borut Razem <borut.razem AT gmail.com>
* device/include/pic16/pic18fregs.h,
device/include/pic16/pic16devices.txt,
device/include/pic16/adc.h,
device/lib/pic16/libio/adc/adcsetch.c,
device/lib/pic16/libio/adc/adcopen.c,
device/lib/pic16/libio/adc/adcbusy.c,
device/lib/pic16/libio/Makefile.am,
device/non-free/include/pic16/pic18fam.h,
device/non-free/lib/pic16/libdev/Makefile.am,
device/non-free/lib/pic16/pics.all,
support/scripts/pic18fam-h-gen.pl,
device/non-free/include/pic16/pic18f26k22.h,
device/non-free/include/pic16/pic18f46k22.h,
device/non-free/include/pic16/pic18f23k22.h,
device/non-free/include/pic16/pic18f43k22.h,
device/non-free/include/pic16/pic18f24k22.h,
device/non-free/include/pic16/pic18f44k22.h,
device/non-free/include/pic16/pic18f25k22.h,
device/non-free/include/pic16/pic18f45k22.h,
device/non-free/lib/pic16/libdev/pic18f26k22.c,
device/non-free/lib/pic16/libdev/pic18f46k22.c,
device/non-free/lib/pic16/libdev/pic18f23k22.c,
device/non-free/lib/pic16/libdev/pic18f43k22.c,
device/non-free/lib/pic16/libdev/pic18f24k22.c,
device/non-free/lib/pic16/libdev/pic18f44k22.c,
device/non-free/lib/pic16/libdev/pic18f25k22.c,
device/non-free/lib/pic16/libdev/pic18f45k22.c:
applied patch #3311538 - Add new pic18f2xk22/pic18f4xk22 family,
thanks Strobl Anton
* doc/sdccman.lyx: added support for pic18f2xk22/pic18f4xk22 family
2011-07-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc.c,
support/regression/tests/bug3366711.c:
Fixed bug #3366711.
2011-07-13 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Refactored register shuffling code, fixing a memcpy() bug.
2011-07-09 Philipp Klaus Krause <pkk@spth.de>
* src/SDCCpeeph.c,
support/regression/tests/bug3361290.c:
Fixed bug #3361290.
2011-07-09 Philipp Klaus Krause <pkk@spth.de>
* src/z80/gen.c:
Fixed bug #3361280.
2011-07-09 Philipp Klaus Krause <pkk@spth.de>
* device/include/string.h,
device/lib/strxfrm.c,
device/lib/incl.mk:
Added missing strxfrm() and strcoll() functions.
2011-07-09 Philipp Klaus Krause <pkk@spth.de>
* src/SDCCast.c:
Fixed bug #3107180.
2011-06-29 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/peeph-z80.def:
Peephole typo.
2011-06-29 Philipp Klaus Krause <pkk@spth.de>
* src/SDCCpeeph.c:
Character and string handling in C sucks.
2011-06-29 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/peeph-z80.def:
Minor peephole improvement.
2011-06-29 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCpeeph.c:
Improve accuracy of label reference counting.
2011-06-28 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCpeeph.c,
src/z80/peeph-z80.def:
Fixed #2970351, reenabling basic tail-call optimization.
2011-06-28 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/mappings.i,
src/z80/main.c,
src/z80/gen.c,
src/z80/ralloc2.cc:
Fix --fomit-frame-pointer for z80.
2011-06-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Minor peephole improvement.
2011-06-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Peephole renumbering.
2011-06-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Remove unused (sdcc lib, regr. tests, contiki OS, libcv, my own programs) peepholes.
2011-06-25 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmain.c:
Fixed #3324913.
2011-06-24 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fixed broken use of large return values.
2011-06-23 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Restore RFE #3284870, which was lost during the optralloc merge.
2011-06-23 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc:
Disallow use of h or l operand in addition when result in true symop.
2011-06-23 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.h,
src/z80/ralloc.c,
src/z80/ralloc2.cc,
src/SDCCralloc.hpp,
src/SDCClabel.c:
Fixed bug #3325223.
2011-06-23 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCMain.c:
Disable labelIfx() optimization when using --nolabelopt.
2011-06-22 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/ralloc.c(packRegsDPTRnuse): fixed bug 1665511
* support/regression/tests/bug1665511.c: new, added
2011-06-19 Borut Razem <borut.razem AT gmail.com>
* doc/sdccman.lyx: fixed bug #3322383 - Spelling mistakes
* .version, doc/sdccman.lyx: changed sdcc version to 3.0.4
2011-06-16 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/bug1962613.c: fixed clash with Bessel functions
* support/regression/tests/strtok.c: disabled test for GCC on Solaris
2011-06-15 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/z80.src/inst_xd.cc:
Fixed bug #3315215.
2011-06-11 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmain.c,
src/z80/gen.c:
Fixed bug #3315124.
2011-06-11 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/bug3299577.c: fixed warnings
* support/regression/tests/abs.c,
support/regression/tests/bool.c,
support/regression/tests/bug-1292721.c,
support/regression/tests/bug-2646174.c,
support/regression/tests/bug-2890326.c,
support/regression/tests/bug-2982135.c,
support/regression/tests/bug-3034585.c,
support/regression/tests/bug-3117729.c,
support/regression/tests/bug-3184920.c,
support/regression/tests/bug1477149.c,
support/regression/tests/bug1536762.c,
support/regression/tests/bug1838000.c,
support/regression/tests/bug2084206.c,
support/regression/tests/bug2729218.c,
support/regression/tests/bug2862650.c,
support/regression/tests/bug3029630.c,
support/regression/tests/bug3130806.c,
support/regression/tests/bug3166208.c,
support/regression/tests/bug3303325.c,
support/regression/tests/bugs-1596270-1736867.c,
support/regression/tests/interrupt.c,
support/regression/tests/memory.c,
support/regression/tests/strcmp.c,
support/regression/tests/strcpy.c,
support/regression/tests/strncmp.c,
support/regression/tests/strpbrk.c,
support/regression/tests/strspn.c: changed svn eol-style
2011-06-10 Philipp Klaus Krause <pkk AT spth.de>
* Merge the optralloc branch.
2011-06-10 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed register-assignment-related multiplication bug.
2011-06-09 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCcse.c(cseBBlock): fixed the fix
2011-06-09 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCC.lex,
src/SDCC.y,
src/SDCCsymt.h,
src/SDCCopt.c:
Rename __optlink to __smallc.
2011-06-09 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCcse.c(cseBBlock): fixed cse bug 2729218 reading pointer for result
* src/SDCCdflow.c: cosmetics
* src/SDCCicode.c(operandOperation): fixed fatal error for literal pointer
* src/SDCCmain.c(linkEdit): only use -M for mcs51 and ds390
* src/SDCCopt.c: fixed warnings
* src/SDCCval.c(floatFromVal, ulFromVal): handle structs
* support/regression/tests/bug2729218.c: new, added
* src/SDCCcse.c(cseBBlock): fixed the fix
2011-06-08 Philipp Klaus Krause <pkk AT spth.de>
* Merge from trunk.
2011-06-05 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp,
src/z80/gen.c:
Ensure that SEND iCodes, except for the first in each chain are deactivated for cost function calculation.
2011-06-05 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed use of arbitrary register combinations as return value.
2011-06-01 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/gen.c,
src/z80/gen.h:
Emit info about the register assignment being optimal when using --fverbose-asm.
2011-05-27 Philipp Klaus Krause <pkk AT spth.de>
* Merge from trunk.
2011-05-27 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCtree_dec.hpp,
src/z80/ralloc2.cc:
Workarounds for compiler warnings.
2011-05-26 Maarten Brock <sourceforge.brock AT dse.nl>
* src/hc08/main.c(hc08_dwarfRegNum): fixed interface
* src/mcs51/gen.c: fixed MSVC errors by changing snprintf to SNPRINTF
* src/port.h: fixed regNum and getRegName function pointer definitions
* src/z80/gen.c(genJumpTab): fixed warning
2011-05-26 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Workarounds for compiler warnings.
2011-05-26 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* Merge from trunk.
2011-05-25 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCicode.c,
src/z80/gen.c,
src/z80/ralloc2.cc:
Exact cost for builtin function calls.
2011-05-25 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCtree_dec.hpp,
src/SDCCralloc.hpp,
src/z80/ralloc2.cc:
Fixed bug in Thorup heuristic, that resulted in much higher width of tree-decomposition.
2011-05-21 Philipp Klaus Krause <pkk AT spth.de>
* Merge from trunk.
2011-05-18 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Remove unnecessary statement, debug message cleanup.
2011-05-18 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCtree_dec.hpp,
src/SDCCralloc.hpp,
src/z80/rallo2.cc:
Debug message cleanup.
2011-05-18 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Ported reorganization of cast to bool from trunk.
2011-05-18 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* Merge from trunk.
2011-05-17 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
support/regression/tests/bug3303325.c:
Merge from trunk: Fixed bug #3303325.
2011-05-17 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Code cleanup wrt. temporary labels.
2011-05-17 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* configure.in:
Give an error when boost is not detected.
2011-05-17 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* Merge from trunk.
2011-05-16 Philipp Klaus Krause <pkk@spth.de>
* src/z80/gen.c:
Fixed crash when running on cygwin.
2011-05-15 Philipp Klaus Krause <pkk@spth.de>
* Merge from trunk.
2011-05-13 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/linksrc/aslink.vcxproj,
* sdas/linksrc/aslink.vcxproj.filters: added lkbank.c
* src/z80/ralloc.c: moved z80_init_asmops prototype
2011-05-13 Philipp Klaus Krause <pkk@spth.de>
* Merge from trunk.
2011-05-12 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCralloc.hpp,
configure.in:
Make STX library optional and detect it in configure script.
2011-05-12 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Minor code cleanup and cost function accuracy improvement.
2011-05-12 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* Merge from trunk.
2011-05-12 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/peeph-z80.def:
Fixed some bit-manipulation peepholes for immediate operands.
* src/z80/gen.c:
Fixed operand loading in complement.
2011-05-10 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* Merge from trunk.
2011-05-10 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/z80.h,
src/z80/main.c,
src/z80/ralloc.c:
Reintegrated old register allocator (option --oldralloc).
2011-05-09 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCralloc.hpp,
src/z80/ralloc2.cc:
Handle the check for result bytes overwriting operand bytes in the conflict graph instead of the cost function.
2011-05-08 Philipp Klaus Krause <pkk@spth.de>
* src/z80/ralloc2.cc
Fixed over-eager early HLinst_OK() use.
2011-05-08 Philipp Klaus Krause <pkk@spth.de>
* Merge from trunk.
2011-05-06 Philipp Klaus Krause <pkk@spth.de>
* src/z80/gen.c:
Remove some leftover debug stuff.
* src/z80/peeph-z80.def:
Generalize optimization of bit setting and resetting.
2011-05-06 Philipp Klaus Krause <pkk@spth.de>
* Merge everything except src/z80/gen.c from trunk,
but mark gen.c as merged, so that further changes in gen.c
will be merged.
2011-05-03 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCralloc.hpp,
src/z80/ralloc2.cc
Improved performance, reduced memory usage.
2011-05-02 Borut Razem <borut.razem AT gmail.com>
* configure.in, configure:
don't use "-pipe" on x86 Solaris g++, since src/z80/ralloc2.cc dies
2011-04-29 Philipp Klaus Krause <pkk@spth.de>
* Merge everything except src/z80/gen.c from trunk.
2011-04-29 Philipp Klaus Krause <pkk@spth.de>
* src/SDCCralloc.hpp,
src/z80/ralloc2.cc
Some performance improvements.
2011-04-25 Philipp Klaus Krause <pkk@spth.de>
* Merge everything except src/z80/gen.c from trunk.
2011-04-25 Maarten Brock <sourceforge.brock AT dse.nl>
* debugger/mcs51/cmd.c,
* debugger/mcs51/symtab.c,
* src/z80/ralloc2.cc: fixed some warnings
* sdas/linksrc/aslink.vcxproj,
* sdas/linksrc/aslink.vcxproj.filters: added lksdcdb.c
* src/src.vcxproj,
* src/src.vcxproj.filters,
* sdcc.sln: added dependencies on config, removed avr & xa51
* sdcc_vc_in.h: set OPT_DISABLE_AVR & OPT_DISABLE_XA51
* src/pic14/ralloc.h: fixed rename of struct regs to reg_info
* src/z80/gen.c: replaced true/false with TRUE/FALSE
2011-04-21 Philipp Klaus Krause <pkk@spth.de>
* src/SDCCdebug.h,
src/mcs51/gen.c,
src/mcs51/ralloc.c,
src/mcs51/gen.h,
src/mcs51/ralloc.h,
src/mcs51/main.c,
src/mcs51/rtrack.c,
src/SDCCsymt.h,
src/SDCCdwarf2.c,
src/port.h,
src/pic14/pcode.h,
src/pic14/pcodepeep.c,
src/pic14/pcoderegs.c,
src/pic14/ralloc.c,
src/pic14/gen.h,
src/pic14/ralloc.h,
src/pic14/main.c,
src/pic14/pcode.c,
src/pic14/glue.c,
src/z80/ralloc.c,
src/z80/gen.h,
src/z80/ralloc.h,
src/z80/main.c,
src/pic16/pcode.h,
src/pic16/device.c,
src/pic16/device.h,
src/pic16/gen.c,
src/pic16/pcoderegs.c,
src/pic16/ralloc.c,
src/pic16/gen.h,
src/pic16/ralloc.h,
src/pic16/main.c,
src/pic16/main.h,
src/pic16/pcode.c,
src/pic16/glue.c,
src/hc08/gen.h,
src/hc08/ralloc.h,
src/hc08/main.c,
src/hc08/gen.c,
src/hc08/ralloc.c,
src/ds390/gen.h,
src/ds390/ralloc.h,
src/ds390/main.c,
src/ds390/gen.c,
src/ds390/ralloc.c,
src/cdbFile.c:
Renamed regs struct to reg_info, since g++ pollutes the global namespace with "regs" on OpenSolaris, even when using --std=c++98.
2011-04-21 Philipp Klaus Krause <pkk@spth.de>
* Merge everything except src/z80/gen.c from trunk.
2011-04-20 Philipp Klaus Krause <pkk@spth.de>
* src/z80/gen.c:
Fixed bug in assignments to bitfields of size < 8.
2011-04-20 Philipp Klaus Krause <pkk@spth.de>
* src/SDCCralloc.hpp:
Allow extremly low values of --max-allocs-per-node.
2011-04-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Make some cheapMove()s for more optimization potential (moving some optimizations from the peephole optimizer to code generation, where they can be seen by the cost function).
2011-04-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/peeph-z80.def:
Added some peephole rules to better optimize shifting and dead loads.
2011-04-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* Merge everything except src/z80/gen.c from trunk.
2011-04-19 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fixed result assignment bug in addition.
2011-04-18 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
src/z80/ralloc.c,
src/z80/main.c,
src/z80/z80.h:
Added --optralloc-remat option for handling rematerialization in the new allocator,
fixed cost function bug when reading beyond the size of operands,
removed option for the use of an exact cost function and made the exact cost function the default,
improved code generation for addition.
2011-04-18 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fixed a bug triggered by assigning rematerializeable variables to register A or IY.
2011-04-18 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* Merge everything except src/z80/gen.c from trunk.
2011-04-17 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed bug in bitfield reading that occoured when reading from (HL) and writing the result to L.
2011-04-15 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* Merge everything except src/z80/gen.c from trunk.
2011-04-13 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* Merge everything except src/z80/gen.c from trunk.
2011-04-13 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Some optimizations for using a pointer to a bitfield in iy,
improve pushing of 4-byte parameters.
2011-04-12 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c:
Fixed genAssign to be able to handle arbitrary register-to-register assignments.
2011-04-11 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed another genPointerGet() bug.
2011-04-10 Borut Razem <borut.razem AT gmail.com>
* src/z80/gen.c: dbuf-ized
* src/SDCCglobl.h: sync with trunk
2011-04-10 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Cleaned up some leftover debug messages,
fixed assignment of lh to hl,
implemented exact cost for EXSTK to SFR assignment,
fixed genPointerGet() bug that made simplefloat regression tests fail.
2011-04-09 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Added warning in commitPair() for lh to hl assignment.
2011-04-09 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed bug that could result in slightly wrong cost function.
2011-04-09 Borut Razem <borut.razem AT gmail.com>
* Merge from trunk
* support/regression/tests/bug3166208.c: sync with trunk
2011-04-09 Borut Razem <borut.razem AT gmail.com>
* src/z80/gen.c, src/z80/ralloc2.cc:
changed with the Philipp's version from his private
sdcc-or-2011-4-8 branch; fixed MSVC 2010 compilation
* src/SDCCicode.c: dbuf_detach() replaced with dbuf_destroy()
* support/regression/ports/ucz80/spec.mk:
added --optralloc-exact-cost to SDCCFLAGS
2011-04-09 Borut Razem <borut.razem AT gmail.com>
* sim/ucsim/cmd.src/cmdpars.y: removed warnings
* support/regression/tests/logic.c, src/SDCCpeeph.c, src/SDCCasm.c,
src/SDCCicode.c, src/SDCCglobl.h, src/SDCCsystem.c:
sync with optralloc branch
2011-04-08 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.c:
Fixed bug that allowed old register allocator to use IY even when the new one does, too,
which led to conflicts in the assignment.
2011-04-07 Philipp Klaus Krause <pkk AT spth.de>
* src/port.h,
src/SDCCpeeph.c,
src/z80/main.c,
src/z80/peep.h,
src/z80/peep.c,
src/z80/peeph-z80.def:
Added new peephole function notUsedFrom() to check for variable uses starting from label,
added it as condition in peepholes where appropriate, modified notUsed()
peephole function to not rely on first argument being constant or %1.
2011-04-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed SIGSEGV crash due to incorrect register pair cache spilling.
2011-04-07 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/mcs51/Makefile.in,
* device/lib/mcs51/crtxpopbits.asm, device/lib/mcs51/crtxpopr0.asm: renamed
* device/lib/mcs51/crtxpop.asm,
* device/lib/mcs51/crtxpush.asm,
* device/lib/mcs51/crtxpushr0.asm,
* src/mcs51/gen.c (xstackRegisters, saveRegisters, unsaveRegisters,
genSend): fixed for new register order
2011-04-06 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c:
Give warning instead of crashing when failing to parse ex line node.
2011-04-05 Borut Razem <borut.razem AT gmail.com>
* src/src.vcxproj, src/src.vcxproj.filters, src/z80/gen.c:
fixed MSVC 2010 compilation
* src/SDCCasm.c, src/SDCCasm.h:
removed tsprintf(), dbuf_tprintf() is used instead
* src/z80/gen.c: fixed bug in fetchLitPair()
2011-04-05 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc:
Avoid assignments where the result overwrites operands in some unary operations.
* src/z80/gen.c:
Avoid unnecessary saving of iy in builtin memcpy().
2011-04-05 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc:
Avoid assignments where the result overwrites operands in subtraction, addition, bitwise and, xor;
get correct cost for bitwise or.
* src/z80/gen.c:
Remove workaround for result overwritings operands in addition; fixed commitPair() for swapped bytes in target.
2011-04-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed broken or when result is sfr.
* src/z80/peeph-z80.def:
Fixed broken peephole for combining additions next to pushes.
2011-04-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/gen.c:
Allow iy as operand to left shift and decrement.
2011-04-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc:
Fixed broken caching of values in hl during pointer assignment.
2011-04-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc:
Do not allocate operands to hl when the code generator will use (hl) for the result in addition.
2011-04-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix for restoring of register iy when other register pairs are restored as well.
2011-03-31 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Fix peephole 76' so it doesn't overwrite accumulator during multibyte addition.
2011-03-31 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix for genPointerGet when result is lh.
2011-03-31 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fix for addition with literal when right operand is partially in hl.
2011-03-31 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/ralloc.c (regs8051, serialRegAssign),
* src/mcs51/ralloc.h: prefer to use adjacent ascending registers
2011-03-30 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/linksrc/lklex.c,
* src/SDCCast.c: small fixes
2011-03-29 Borut Razem <borut.razem AT gmail.com>
* Partially merge from trunk
2011-03-29 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/z80.h,
src/z80/gen.c,
src/z80/ralloc2.cc,
src/z80/peeph-z80.def:
Handle IY in the new allocator.
2011-03-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp,
src/z80/ralloc2.cc,
src/z80/gen.c,
src/z80/ralloc.c,
src/z80/z80.h:
Preparations for handling IY in the new allocator.
2011-03-28 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/gen.c,
src/z80/ralloc.c,
Fixes for the exact cost function.
2011-03-28 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/linksrc/lklex.c,
* src/SDCCast.c: small fixes
2011-03-28 Borut Razem <borut.razem AT gmail.com>
* src/z80/gen.c: fixed bug, introduced during code cleaning
2011-03-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCerr.c,
src/SDCCerr.h,
src/SDCCval.c,
src/SDCCval.h,
src/SDCC.y,
src/SDCCglue.c,
src/pic14/glue.c,
src/pic16/glue.c,
src/SDCCast.c:
Support for designated initializers, thanks C. Scott and R. Quattlebaum.
2011-03-27 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/as6808/m08mch.c, sdas/as6808/m08pst.c,
* sdas/as8051/i51mch.c, sdas/as8051/i51pst.c,
* sdas/asgb/gbmch.c, sdas/asgb/gbpst.c,
* sdas/asz80/z80mch.c, sdas/asz80/z80pst.c,
* sdas/asxxsrc/asdata.c, sdas/asxxsrc/asexpr.c,
* sdas/asxxsrc/aslist.c, sdas/asxxsrc/asmain.c,
* sdas/asxxsrc/asout.c, sdas/asxxsrc/asxxxx.h,
* sdas/linksrc/aslink.h, sdas/linksrc/lkaomf51.c,
* sdas/linksrc/lkar.c, sdas/linksrc/lkarea.c,
* sdas/linksrc/lkdata.c, sdas/linksrc/lkelf.c,
* sdas/linksrc/lkeval.c, sdas/linksrc/lkhead.c,
* sdas/linksrc/lkihx.c, sdas/linksrc/lklex.c,
* sdas/linksrc/lklib.c, sdas/linksrc/lklibr.c,
* sdas/linksrc/lklist.c, sdas/linksrc/lkmain.c,
* sdas/linksrc/lkmem.c, sdas/linksrc/lkrloc.c,
* sdas/linksrc/lksym.c, sdas/linksrc/lksdcclib.c: first steps towards ASxxxx 5
2011-03-27 Borut Razem <borut.razem AT gmail.com>
* src/z80/main.c, src/z80/gen.c, src/z80/gen.h,
src/z80/ralloc.c, src/z80/ralloc.h,
src/mcs51/gen.c, src/ds390/gen.c:
dbuf-ized, get rid of global buffer, code cleaning
* src/SDCCasm.c, src/SDCCasm.h:
removed tsprintf()
* support/Util/dbuf.c, support/Util/dbuf.h:
added dbuf_is_initialized()
2011-03-26 Borut Razem <borut.razem AT gmail.com>
* src/mcs51/gen.c, src/mcs51/gen.h,
src/mcs51/ralloc.c, src/mcs51/ralloc.h,
src/ds390/gen.c, src/ds390/ralloc.c:
dbuf-ized, get rid of global buffer, code cleaning
2011-05-26 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCcse.c (boolCast):
Fully reenabled boolCast, and fixed my stupid typo that triggered bug 3223041.
2011-03-25 Maarten Brock <sourceforge.brock AT dse.nl>
* src/hc08/gen.c: cosmetics
* src/hc08/ralloc.c (packRegsForAssign): fixed bug 1477149 & SINHF,
throughout synced with mcs51/ralloc.c
* support/regression/tests/float_single.c: enabled SINHF
2011-03-25 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCcse.c (boolCast, cseBBlock):
Reenabled boolCast except for the one case that triggers bug 3223041.
2011-03-24 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.c,
src/z80/gen.c,
src/z80/ralloc2.cc:
gbz80 fixes.
2011-03-24 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCsymt.h: added IS_BOOLEAN
* src/SDCCast.c (getResultTypeFromType),
* src/SDCCicode.c (geniCodeLogic, geniCodeLogicAndOr, ast2iCode),
* src/SDCCsymt.c (computeTypeOr, computeType, compareType),
* src/SDCCval.c (checkConstantRange): use IS_BOOLEAN
* src/SDCCcse.c (boolCast, cseBBlock): disabled boolCast fixed bug 3223041
* src/z80/gen.c (_toBoolean): added parameter needflag,
(_castBoolean, genCast): castBoolean factored out of genCast
* support/regression/tests/bug3223041.c: modified for hc08 without _Bool
2011-03-24 Borut Razem <borut.razem AT gmail.com>
* src/SDCCglue.c, src/ds390/gen.c, src/ds390/gen.h,
src/ds390/ralloc.c, src/ds390/ralloc.h, src/SDCCptropt.c,
src/SDCCptropt.h, src/SDCCicode.c, src/SDCCicode.h:
dbuf-ized, get rid of global buffer, code cleaning,
use dbuf_tprintf() instead of tsprintf()
2011-03-23 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCralloc.hpp,
src/SDCCicode.h,
src/z80/ralloc2.cc:
Make sdcc the best compiler for the Z80.
2011-03-22 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
sfr fixes for accurate cost function.
2011-03-22 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/gen.c,
src/SDCCralloc.hpp,
src/z80/ralloc2.cc:
Code reorganization for a more accurate cost function.
2011-03-22 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/ports/ds390/spec.mk,
* support/regression/ports/hc08/spec.mk,
* support/regression/ports/ucz80/spec.mk: fixed output
2011-03-21 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc,
src/z80/gen.c:
Code reorganization for a more accurate cost function.
2011-03-21 Borut Razem <borut.razem AT gmail.com>
* src/SDCCmacro.c: fixed bug, introduced 2011-03-20:
call dbuf_vprintf() instead dbuf_printf() in mvsprintf()
2011-03-21 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (genRet): forgot the _endLazyDPSEvaluation
* support/regression/compact-results.py: new, added
* support/regression/Makefile.in: print test name and compact results after
running the test for better progress insight with make -j
2011-03-21 Borut Razem <borut.razem AT gmail.com>
* src/SDCCval.c, src/SDCCval.h, src/SDCCast.c: dbuf-ized
2011-03-20 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp,
src/z80/z80.h,
src/z80/ralloc2.cc,
src/z80/gen.c:
Code reorganization for a more accurate cost function.
2011-03-20 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/z80.h,
src/z80/main.c:
Register allocator option cleanup.
2011-03-20 Borut Razem <borut.razem AT gmail.com>
* src/SDCCicode.c, src/SDCCicode.h, src/SDCCsymt.c, src/SDCCsymt.h,
src/port.h, src/SDCCast.c, src/SDCCast.h, src/SDCCBBlock.c,
src/SDCCBBlock.h, src/z80/main.c, src/pic16/main.c:
dbuf-ized, get rid of global buffer, code cleaning
* src/SDCCmacro.c, src/SDCCmain.c, support/Util/NewAlloc.c,
support/Util/newalloc.h: introduced Safe_strndup()
2011-03-20 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (movc, toCarry): replaced movc with toCarry,
(genNot, genSend, genRet): used toCarry,
(genAnd, genOr, genXor): fixed bug 3223041
* src/mcs51/gen.c (toCarry): handle IS_OP_ACCUSE,
(genCmpEq, genAnd, genOr, genXor): fixed bug 3223041
* support/regression/tests/bug3223041.c: new, added
2011-03-20 Borut Razem <borut.razem AT gmail.com>
* src/SDCCmain.c, src/SDCCmacro.c, src/SDCCmacro.h, src/SDCCutil.c,
src/SDCCutil.h: dbuf-ized SDCCmacro.c
* src/SDCCutil.c, src/SDCCutil.h, src/SDCCmain.c, src/ds390/main.c, src/z80/main.c:
dbuf-ized buildCmdLine(), moved to SDCCutil
* src/SDCCbuild_cmd.[ch]: deleted
2011-03-20 Borut Razem <borut.razem AT gmail.com>
* src/SDCCmain.c, src/SDCCmacro.c, src/SDCCmacro.h, src/SDCCutil.c,
src/SDCCutil.h: dbuf-ized SDCCmacro.c
* src/SDCCutil.c, src/SDCCutil.h, src/SDCCmain.c, src/ds390/main.c, src/z80/main.c:
dbuf-ized buildCmdLine(), moved to SDCCutil
* src/SDCCbuild_cmd.[ch]: deleted
2011-03-19 Borut Razem <borut.razem AT gmail.com>
* src/SDCCmain.c, src/SDCCutil.c, src/SDCCutil.h, src/SDCCmacro.c,
src/SDCCmacro.h:
fixed bug #3152525:
sdcc doesn't pass double-quotes from -D option to sdcpp
* debugger/mcs51/simi.c:
call ioctl(sock, FIONBIO, &iMode)
replaced with fcntl(sock, F_SETFL, FNONBLOCK | FASYNC) on *nix
2011-03-19 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/asxxsrc/asmain.c (main): fixed warning
* sdas/linksrc/lkaomf51.c (OutputAOEMF51): fixed bug 1630751
(ParseRegisters, CollectInfoFromCDB): get address for ascending registers
* src/cdbFile.c: cosmetics
* support/regression/fwk/lib/statics.c,
* support/regression/tests/bug1477149.c: fixed for type float
* sdas/linksrc/lkaomf51.c: disabled DODUMP
2011-03-18 Borut Razem <borut.razem AT gmail.com>
* sdas/asxxsrc/asmain.c:
reverted incorrect fix for bug #3195019:
option -o just instructs sdas to generate an object file,
it doesn't take an object output file name as argument
* sdas/asxxsrc/asmain.c:
hopefully properly fixed bug #3195019
2011-03-18 Maarten Brock <sourceforge.brock AT dse.nl>
* src/cdbFile.c (cdbWriteBasicSymbol),
* src/SDCCglue.c (emitDebugSym),
* debugger/mcs51/symtab.c (gc_strcat, symLookup): concatenate module and
function name seperated by . for locals to fix bug 1477149 with --debug
* sdas/linksrc/lkaomf51.c (CollectInfoFromCDB): split S:L and L:L locals,
F:F are static, check modules for L:F and L:X
* src/SDCCdebug.c: cosmetics
* src/SDCCglue.c (emitOverlay): fixed bug 1477149
* support/regression/fwk/lib/statics.c,
* support/regression/ports/ds390/fwk.lib,
* support/regression/ports/gbz80/fwk.lib,
* support/regression/ports/hc08/fwk.lib,
* support/regression/ports/ucz80/fwk.lib,
* support/regression/tests/bug1477149.c: new, added
* support/regression/ports/ds390/spec.mk,
* support/regression/ports/hc08/spec.mk,
* support/regression/ports/mcs51-common/spec.mk
* support/regression/ports/ucz80/spec.mk: added FWKLIB and statics.rel
* support/regression/ports/host/spec.mk.in: added statics.o
* support/regression/ports/mcs51-common/fwk.lib: added statics.rel
* .version: bumped to 3.0.2
* src/cdbFile.c (cdbWriteBasicSymbol): applied patch from bug 1627975,
thanks sandra-l
2011-03-17 Borut Razem <borut.razem AT gmail.com>
* src/SDCCloop.c, src/SDCCsymt.c, src/SDCCast.c:
fixed empty statement warnings
* sdas/asxxsrc/asmain.c:
fixed bug #3195019: sdcc generates .rel instead of .o
* src/Makefile.in:
removed -O2 from CPPFLAFS
2011-03-17 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc,
src/z80/gen.c,
src/z80/ralloc.c,
src/z80/main.c:
Code reorganization for a more accurate cost function.
2011-03-16 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp,
src/z80/z80.h:
Solaris fix.
2011-03-16 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc,
src/z80/gen.c,
src/z80/gen.h,
src/z80/z80.h:
Code reorganization for a more accurate cost function.
2011-03-15 Borut Razem <borut.razem AT gmail.com>
* debugger/mcs51/configure.in, debugger/mcs51/configure:
added C99_FLAG to CFLAGS and MAKEDEP for SunPro C compiler
* debugger/mcs51/simi.c: include <sys/filio.h> in Solaris
2011-03-15 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/main.c,
src/z80/gen.h,
src/z80/ralloc2.cc,
src/z80/gen.c:
Code reorganization for a more accurate cost function.
2011-03-14 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCglue.c (pointerTypeToGPByte),
* src/ds390/gen.c (genCast): ds390 function pointer is no CPOINTER
2011-03-14 Borut Razem <borut.razem AT gmail.com>
* configure, configure.in: don't use C99_FLAG in CXXFLAGS
for SunPro C++ compiler
2011-03-13 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (processParms): fixed bug 2084206,
(getLeftResultType): return RESULT_TYPE_GPTR for generic pointers,
(decorateType, CAST): don't change function pointer to CPOINTER
when resulttype is generic pointer, necessary for varargs
* support/regression/tests/bug2084206.c: new, added
2011-03-13 Borut Razem <borut.razem AT gmail.com>
* src/SDCCglobl.h: don't incude stdbool.h if compiled with c++
2011-03-13 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc:
Preparations for rematerialization support in new allocator.
* src/z80/ralloc.c:
Old register allocator cleanup.
* src/z80/gen.c:
Code reorganization for a more accurate cost function.
2011-03-09 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c,
support/regression/tests/memory.c:
Completed fix for #3188357.
2011-03-07 Borut Razem <borut.razem AT gmail.com>
* configure, configure.in, src/Makefile.in: CXXFLAGS fixes
2011-03-06 Borut Razem <borut.razem AT gmail.com>
* sim/ucsim/cmd.src/Makefile.in:
fixed for bison, byacc and flex version 2.5.4
2011-03-05 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c:
Partial fix for #3188357.
2011-03-05 Borut Razem <borut.razem AT gmail.com>
* sim/ucsim/configure, sim/ucsim/cmd.src/cmdlexcl.h,
sim/ucsim/cmd.src/Makefile.in, sim/ucsim/cmd.src/newcmd.cc,
sim/ucsim/cmd.src/cmdset.cc, sim/ucsim/cmd.src/cmdlex.l,
sim/ucsim/cmd.src/newcmdposix.cc, sim/ucsim/cmd.src/newcmdwin32.cc,
sim/ucsim/cmd.src/cmdpars.y, sim/ucsim/configure.in:
use bison instead of unsupported bison++
* sim/ucsim/cmd.src/flex_lexer.h, sim/ucsim/cmd.src/cmdpars.cc,
sim/ucsim/cmd.src/cmdpars.h, sim/ucsim/cmd.src/FlexLexer.h,
sim/ucsim/cmd.src/cmdlex.cc: deleted
2011-03-03 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* sim/ucsim/z80.src/inst_cb.cc:
Fixed broken res b, a instruction.
2011-03-02 Borut Razem <borut.razem AT gmail.com>
* src/SDCCmain.c, doc/sdccman.lyx:
fixed use of SDCC_LIB environment variable:
first search in $SDCC_LIB/<model>
then search in $SDCC_LIB
2011-03-02 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc:
Improved coalescing.
* src/z80/gen.c,
src/z80/peeph-z80.def:
Minor improvements.
2011-02-27 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/gen.c,
src/z80/main.c,
src/z80/peep.c,
src/z80/peeph-z80.def:
Various minor improvements.
2011-02-26 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def
Minor peephole improvements.
2011-02-24 Borut Razem <borut.razem AT gmail.com>
* doc/sdccman.lyx: fixed bug #3191324: PIC instructions in documentation
2011-02-23 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/mcs51/gen.c,
src/z80/peeph-z80.def:
Merge from trunk.
2011-02-22 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc,
src/z80/gen.c,
src/z80/peeph-z80.def:
Improvements for --optralloc-all.
2011-02-20 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/main.c,
src/z80/gen.c,
src/z80/ralloc2.cc:
Fixes for --fomit-frame-pointer.
* src/mcs51/gen.c:
Merge from trunk.
2011-02-19 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp,
src/z80/ralloc2.cc:
Liverange fix.
* src/z80/peep.c,
src/z80/gen.c:
Fixes for --reserve-regs-iy.
* support/regression/tests/bug-3184920.c:
Merge from trunk.
2011-02-19 Maarten Brock <sourceforge.brock AT dse.nl>
* debugger/mcs51/cmd.c,
* debugger/mcs51/sdcdb.c,
* debugger/mcs51/simi.c,
* debugger/mcs51/symtab.c,
* src/SDCCargs.h,
* src/version.awk: cosmetic changes
* src/pic14/gen.c (genDataPointerSet),
* src/pic14/glue.c (emitIvals),
* src/SDCCsystem.c: fixed warnings
* src/SDCCerr.c (setWarningDisabled): check errNum
* src/SDCCpeeph.c: added optimizeReturn
* src/mcs51/peeph.def: disabled 237.x, fixed bug 1653651
* src/SDCCglobl.h: added options.peepReturn
* src/SDCCmain.c (parseCmdLine): added --peep-return & --no-peep-return
* support/scripts/resource.rc: replaced include "winres.h" with "winresrc.h"
* support/scripts/winres.h: deleted
2011-01-18 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def,
support/regression/tests/bug-3184920.c:
Fix for #3184920 from trunk.
2011-02-18 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* support/scripts/sdcc.nsi:
Merge from trunk.
* src/z80/ralloc2.cc:
Fix for --optralloc-all.
* src/z80/gen.c:
Fix for --reserve-regs-iy.
2011-02-16 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCralloc.hpp,
src/z80/ralloc2.cc:
Improved heuristics wrt. junction nodes.
* src/version.awk,
src/src.dsp,
support/scripts/resource.rc:
Merge from trunk.
* src/z80/gen.c:
Improved addition by increment.
2011-02-10 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCralloc.hpp,
src/z80/ralloc2.cc:
Early elimination of some impossible assignments.
2011-02-07 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc,
src/z80/gen.c:
Avoid result overwriting operand bug in |.
2011-02-07 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCtree_dec.hpp,
src/SDCCralloc.hpp,
src/z80/ralloc2.cc:
Changed style from Allman to GNU.
2011-02-07 Borut Razem <borut.razem AT gmail.com>
* Merged from trunk
2011-02-06 Maarten Brock <sourceforge.brock AT dse.nl>
* all.vcxproj: fixed missing ;'s
* all.vcxproj.filters: added sdld6808, sdldgb, sdldz80
2011-02-05 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.c (setOperandType),
support/regression/tests/bug-221168.c,
support/regression/tests/bug3166208.c:
Maarten's fix of #3166208 from trunk.
2011-02-04 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/mcs51/gen.h,
src/mcs51/gen.c,
sdas/linksrc/Makefile.in,
support/makebin/makebin.c,
support/regression/tests/bug3130806.c:
Fixes from trunk.
2011-02-04 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* sim/ucsim/z80.src/inst_cb.cc:
Fixed #3166058.
2011-01-27 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc:
Improved handling of HL.
2011-01-26 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc:
Improved handling of HL.
2011-01-26 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/peeph-z80.def:
Improved handling of A and HL.
2011-01-25 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* Makefile.common.in,
src/z80/ralloc2.cc,
src/z80/gen.c,
src/z80/peeph-z80.def:
Improved handling of A and HL.
2011-01-25 Borut Razem <borut.razem AT gmail.com>
* src/z80/gen.c:
removed MSCV 2010 warning C4018: '<' : signed/unsigned mismatch
* src/SDCCsysytem.c, src/SDCCutil.c: removed MSCV 2010 warnings
2011-01-25 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCralloc.hpp,
src/z80/ralloc2.cc:
Improved handling of A and HL.
2011-01-25 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCglobl.h,
src/SDCCralloc.hpp,
std/SDCCmain.c,
src/z80/z80.h,
src/z80/main.c:
Modified fix for MSVC 2010 warnings, changed handling of --max-allocs-per-node option.
2011-01-24 Borut Razem <borut.razem AT gmail.com>
* src/SDCCralloc.hpp, src/z80/main.c, src/z80/ralloc2.cc,
src/z80/z80.h, src/z80/z80.vcxproj: fixed msvc 2010 warnings
2011-01-24 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc,
src/z80/gen.c:
Improved handling of HL in the new allocator.
2011-01-24 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc:
Fixed bug in handling of register A.
2011-01-24 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp,
src/z80/ralloc2.cc,
src/z80/z80.h,
src/z80/main.c,
src/z80/gen.c:
Improved handling of A in the new register allocator and made it the default.
2011-01-23 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/z80.h,
src/z80/main.c,
src/z80/ralloc.c:
Added option to handle hl, but not a (or iy) by new allocator.
2011-01-23 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/z80.h,
src/SDCCtree_dec.hpp,
src/z80/ralloc.c,
src/z80/ralloc2.cc:
Feature enable macro cleanup.
2011-01-23 Borut Razem <borut.razem AT gmail.com>
* sdcc.sln, */*.vcxproj: MSVC 2010 project files cleaning
* */*.vcxproj.filters: added to svn
* debugger/mcs51/simi.c:
fixed warning C4273: '_environ' : inconsistent dll linkage
* Merged from trunk
2011-01-23 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCtree_dec.hpp,
src/SDCCralloc.hpp,
src/z80/ralloc2.cc:
Re-rooting of the tree-decomposition.
2011-01-23 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCtree_dec.hpp,
src/SDCCralloc.hpp,
src/z80/ralloc2.cc:
Fixed MSVC++ compilation problem, preparations for re-rooting the tree decomposition.
2011-01-23 Borut Razem <borut.razem AT gmail.com>
* src/avr/avr.vcxproj, src/ds390/ds390.vcxproj, src/hc08/hc08.vcxproj,
src/mcs51/mcs51.vcxproj, src/pic14/pic14.vcxproj,
src/pic16/pic16.vcxproj, src/xa51/xa51.vcxproj, src/z80/z80.vcxproj:
remove /Zm1000 command line option from all projects
2011-01-22 Borut Razem <borut.razem AT gmail.com>
* all.vcxproj, config.vcxproj, sdas/linksrc/sdld_all.vcxproj,
src/avr/avra.vcxproj, src/ds390/ds390a.vcxproj,
src/hc08/hc08a.vcxproj, src/mcs51/mcs51a.vcxproj,
src/pic14/pic14a.vcxproj, src/pic16/pic16a.vcxproj,
src/src.vcxproj, src/xa51/xa51a.vcxproj, src/yacc.vcxproj,
src/z80/z80a.vcxproj, support/cpp/sdcppa.vcxproj:
fixed Custom Builds
2011-01-22 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCtree_dec.hpp,
src/SDCCralloc.hpp,
src/z80/ralloc2.cc:
Simplified allocation algorithm by requiring leafs of the tree decomposition to be empty.
2011-01-22 Borut Razem <borut.razem AT gmail.com>
* src/z80/main.c(598):
fixed error C2065: 'false' : undeclared identifier
2011-01-22 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCtree_dec.hpp:
Fixed vertex iterator / descriptor problem that caused errors in MSVC++.
2011-01-22 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp,
src/z80/main.c:
Disabled forgotten debug message.
2011-01-22 Philipp Klaus Krause <pkk AT spth.de>
* src/Makefile.in,
src/SDCCralloc.hpp,
src/z80/z80.h,
src/z80/main.c,
src/z80/ralloc.c,
src/z80/ralloc2.cc:
Added option to enable experimental support for A and HL.
2011-01-21 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCtree_dec.hpp:
Added missing boost:: prefix.
2011-01-21 Maarten Brock <sourceforge.brock AT dse.nl>
* sdcc.sln,
* [*].vcxproj: added project files for Microsoft Visual C++ Express 2010
2011-01-21 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/linksrc/sdld_all.dsp: renamed dldgb.exe to sdldgb.exe
* src/avr/gen.c,
* src/ds390/gen.c,
* src/ds390/ralloc.c,
* src/hc08/gen.c,
* src/mcs51/gen.c,
* src/pic14/gen.c,
* src/pic14/ralloc.c,
* src/pic16/gen.c,
* src/pic16/genutils.c,
* src/SDCCicode.c,
* src/SDCCicode.h,
* src/SDCClrange.c,
* src/xa51/ralloc.c,
* src/z80/gen.c,
* src/z80/ralloc.c,
* src/z80/ralloc2.cc: renamed union operand to union svt,
added OP_KEY and OP_TYPE, use OP_xxx macros more often
2011-01-20 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCralloc.hpp,
src/z80/ralloc.h,
src/z80/ralloc.c,
src/z80/ralloc2.cc:
Handle A in new register allocator.
2011-01-18 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80ralloc2.cc:
Reg name cleanup.
2011-01-18 Philipp Klaus Krause <pkk AT spth.de>
* src/z80ralloc2.cc:
Preparaton for use of a and hl in the new allocator.
2011-01-17 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCtree_dec.hpp:
Fixed const-correctness of iterators.
2011-01-17 Philipp Klaus Krause <pkk AT spth.de>
* src/ralloc2.cc:
Fixed confusion of std::map/std::multimap iterators.
2011-01-17 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCtree_dec.hpp
Fixed std::vector<bool> active initalization in tree_decomposition_from_elimination_ordering()
2011-01-17 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCralloc.hpp,
src/z80/ralloc2.cc:
Made operands in assign_cost() const.
2011-01-17 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCralloc.hpp: do not include "sdccconf.h" directly, it does not
exist when building with MSVC. Let it come through SDCCglobl.h
2011-01-17 Borut Razem <borut.razem AT gmail.com>
* Merged from trunk
2011-01-17 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.h,
src/SDCCicode.c,
src/SDCCralloc.hpp,
src/z80/ralloc2.cc:
Split validateOpType() into const and non-const version.
2011-01-17 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCralloc.hpp:
Some documenting comments.
2011-01-17 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc:
Fixed some forgotten debug statements.
2011-01-17 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCralloc.hpp,
src/z80/ralloc2.cc:
Fixed the allocator for gbz80.
2011-01-17 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCtree_dec.hpp,
src/z80/tree_dec.hh,
src/SDCCralloc.hpp,
src/z80/ralloc2.cc:
Moved some generic parts of the new allocator out of the z80 directory.
2011-01-17 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc:
Type fixes.
2011-01-17 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc2.cc:
Preparations for the use of a better cost function and handling a, hl and iy in the new allocator.
2011-01-17 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCsymt.h,
src/z80/ralloc.c,
src/z80/ralloc2.cc:
Improved variable handling and C++ standard conformance.
2011-01-16 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc:
Removed local assignment map.
2011-01-16 Philipp Klaus Krause <pkk AT spth.de>
* configure.in,
configure,
Makefile.common.in,
src/Makefile.in,
src/port.mk,
src/SDCCsymt.h,
src/SDCCsymt.c,
src/z80/z80.h,
src/z80/main.c,
src/z80/ralloc.h,
src/z80/ralloc.c,
src/z80/tree_dec.hh,
src/z80/ralloc2.cc:
Initial import of the new register allocator.
2011-01-16 Borut Razem <borut.razem AT gmail.com>
* Created Optimal Register allocator (optralloc) branch
2011-01-16 Philipp Klaus Krause <pkk AT spth.de>
* SDCClrange.h,
SDCClrange.c:
Comment on the effects of dead code on live ranges.
2011-01-16 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.h,
src/SDCCicode.c:
Make argument to validateOpType const.
2011-01-16 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Two new peephole rules, optimizing code frequently generated by the new allocator.
2011-01-16 Borut Razem <borut.razem AT gmail.com>
* support/regression/collate-results.py: count invalid instructions
* sim/ucsim/z80.src/inst_xxcb.cc (inst_XXcb_set): fixed SET and RES handling
2011-01-15 Borut Razem <borut.razem AT gmail.com>
* src/SDCCmain.c, src/SDCCdwarf2.c, src/SDCCdwarf2.h, src/z80/gen.c,
src/SDCCglobl.h, src/pic16/pcode.h, src/pic16/pcode.c,
src/SDCCsystem.c, src/SDCC.lex:
code cleaning: removed warnings, use const char *
* src/pic14/glue.c (emitIvals): removed empty line generation
2011-01-15 Philipp Klaus Krause <pkk AT spth.de>
* SDCCglobl.h:
Use Maarten's better bool scheme.
2011-01-15 Philipp Klaus Krause <pkk AT spth.de>
* configure,
configure.in,
src/Makefile.in,
Makefile.common.in,
src/port.mk,
src/SDCCsymt.h,
src/SDCCsymt.c,
src/SDCClrange.c,
src/z80/z80.h,
src/z80/main.c,
src/z80/ralloc.h,
src/z80/ralloc.c,
src/z80/tree_dec.hh,
src/z80/ralloc2.cc,
src/z80/peeph-z80.def:
Reverted to old register allocator.
2011-01-15 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc2.cc:
Small change for MSVC compability:
2011-01-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/tree_dec.hh,
src/z80/ralloc2.cc:
Added GPLv2 or later license text.
2011-01-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.c:
Remove some no longer used remains of the old register allocator.
2011-01-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/main.c:
Enable new register allocator options for the GBZ80.
2011-01-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/z80/ralloc.c,
src/z80/ralloc2.cc:
Use new register allocator for the GBZ80.
2011-01-14 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* configure,
configure.in,
src/Makefile.in,
Makefile.common.in,
src/port.mk,
src/SDCCsymt.h,
src/SDCCsymt.c,
src/SDCClrange.c,
src/z80/z80.h,
src/z80/main.c,
src/z80/ralloc.h,
src/z80/ralloc.c,
src/z80/tree_dec.hh,
src/z80/ralloc2.cc,
src/z80/peeph-z80.def:
New register allocator for the Z80.
2011-01-11 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCglobl.h:
Use bool from stdbool.h, except for MSVC, where unsigned char is used. For #3150686.
2011-01-11 Philipp Klaus Krause <philipp AT informatik.uni-frankfurt.de>
* src/SDCCsymt.h,
src/SDCCval.c,
src/SDCCsymt.c:
Changed class to xclass in sym_link for C++ compability, for #3150686.
2011-01-11 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCicode.c (geniCodeAdd): fixed bug 3153956
* support/regression/tests/bug3037889.c: added test for bug 3153956
2010-12-20 Maarten Brock <sourceforge.brock AT dse.nl>
* debugger/mcs51/simi.c (waitForSim): implemented timeout,
(openSimulator): use non-blocking socket mode
2010-12-20 Maarten Brock <sourceforge.brock AT dse.nl>
* debugger/mcs51/cmd.c (commonSetUserBp): fixed bug 1185014
2010-12-19 Borut Razem <borut.razem AT siol.net>
* src/ds390/main.c, src/Makefile.in, src/SDCCbuild_cmd.c,
src/SDCCbuild_cmd.h, src/SDCCmain.c, src/src.dsp, src/z80/main.c:
support/Util/BuildCmd.[ch] moved / renamed to src/SDCCbuild_cmd.[ch]
2010-12-19 Maarten Brock <sourceforge.brock AT dse.nl>
* debugger/mcs51/cmd.c (printOrSetSymValue),
* debugger/mcs51/simi.h (memcache_t),
* debugger/mcs51/simi.c (getMemCache, getMemString, simSetValue,
simGetValue): made size unsigned
(init_winsock): fixed uninitialized iResult,
(openSimulator): removed intptr_t cast
* debugger/mcs51/sdcdb.c: include <direct.h> for chdir(),
(parseCmdLine): access() is not portable, replaced with fopen/fclose,
(main): fixed bug 3137466
* debugger/mcs51/sdcdb.h: include sdcc_vc.h or sdcccon.h
* debugger/mcs51/sdcdb.dsp: new, added
* sdcc.dsw: added sdcdb.dsp
* sdas/asxxsrc/asmain.c (asmbl): error only if is_sdas()
* debugger/mcs51/sdcdb.c (searchDirsFname): retry with '_' replaced
with '.'
2010-12-18 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/as8051/i51adr.c,
* sdas/as8051/i51ext.c,
* sdas/as8051/i51mch.c,
* sdas/as8051/i51pst.c,
* sdas/as8051/i8051.h,
* sdas/asxxsrc/asdata.c,
* sdas/asxxsrc/asdbg.c,
* sdas/asxxsrc/aslex.c,
* sdas/asxxsrc/aslist.c,
* sdas/asxxsrc/asout.c,
* sdas/asxxsrc/assubr.c,
* sdas/asxxsrc/assym.c,
* sdas/asxxsrc/asxxxx.h,
* sdas/asxxsrc/sdas.c,
* sdas/asxxsrc/strcmpi.c: cosmetic, replaced tabs with spaces
* sdas/asxxsrc/asmain.c (asmbl): error on multiple mnemonics on one line
* support/cpp/libcpp/include/cpplib.h: added PREV_NL
* support/cpp/libcpp/lex.c (_cpp_process_line_notes, cpp_output_line),
* support/cpp/c-ppoutput.c (scan_translation_unit): fix macros w/o __asm
* support/regression/tests/bug1505956.c: new, added
2010-12-16 Maarten Brock <sourceforge.brock AT dse.nl>
* support/cpp/c-ppoutput.c (scan_translation_unit): fix bug 1505956/1406219
* support/cpp/libcpp/include/cpplib.h: added IN_ASM
* support/cpp/libcpp/internal.h: added n__endasm to spec_nodes
* support/cpp/libcpp/lex.c (_cpp_process_line_notes): return int in_asm on
continued inline asm lines,
(_cpp_lex_direct): set/reset in_asm flag,
(cpp_output_line): insert __endasm; __asm to fix bug 1505956/1406219
* support/cpp/libcpp/macro.c (macro_real_token_count): fixed warning
* support/cpp/sdcpp.c (sdcpp_init_options): init n__endasm
2010-12-14 Borut Razem <borut.razem AT siol.net>
* src/SDCCdwarf2.c, src/SDCCset.c, src/pic16/pcode.c:
fixed some defects, reported by Wipro DeepCheck static analysis tool
2010-12-13 Borut Razem <borut.razem AT siol.net>
* src/pic14/main.c, src/pic16/main.c:
fixed bug #3113082: Filenames with spaces fail on pic backend
2010-12-11 Borut Razem <borut.razem AT siol.net>
* src/pic14/main.c:
fixed bug #3135245: --use-non-free set the wrong dir for the lib
2010-12-10 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed signed comparison for gbz80.
2010-12-06 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c:
Optimized boolean ternary operator.
2010-12-06 Borut Razem <borut.razem AT siol.net>
* src/Makefile.in, src/SDCCmain.c, src/src.dsp,
src/pic14/main.c, src/z80/main.c, src/pic16/main.c,
src/ds390/main.c, src/SDCCsystem.c, src/SDCCsystem.h:
support/Util/MySystem.[ch] moved / renamed src/SDCCsystem.[ch]
* src/SDCCargs.h, src/SDCCasm.h, src/SDCCast.h:
cosmetic changes
2010-12-06 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/stdio.h,
* device/lib/printf_fast.c,
* device/lib/printf_tiny.c: fixed bug 3108582
2010-12-05 Maarten Brock <sourceforge.brock AT dse.nl>
* src/z80/peep.c (z80instructionSize): fixed warning
* support/regression/tests/bug-3117729.c: fixed and enabled for mcs51
2010-12-05 Borut Razem <borut.razem AT siol.net>
* Makefile.in:
fixed bug #312815: Top level Makefile variable is mis-spelled
2010-12-02 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-3117729.c:
Disabled test for mcs51.
2010-11-29 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-3117729.c:
Added bug description.
2010-11-28 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def,
support/regression/tests/bug-3117729.c:
Fixed #3117729, minor peephole improvements.
2010-11-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c,
src/z80/peep.c:
Fixed #3117748, improved fix for #3109557.
2010-11-26 Raphael Neider <rneider AT web.de>
* src/pic14/glue.c (emitIvals): end retlw instruction with newline,
fixes #3119071.
2010-11-21 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c,
src/SDCCpeeph.c:
Fixed #3109557.
2010-11-21 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Minor peephole fix.
2010-11-15 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/main.c (_ds390_genIVT, _ds390_genInitStartup): keep flat24 mode
off before _sdcc_external_startup is called
* device/lib/ds390/tinibios.c (_sdcc_external_startup): pop 16 bit address,
push 24 bit, don't call anything before the changeover to flat24 mode
* support/regression/ports/ds390/spec.mk: start uCsim in 16 bit mode
2010-11-07 Borut Razem <borut.razem AT siol.net>
* Makefile.common.in, sdcc_vc_in.h, sdccconf_in.h, src/pic14/main.c,
src/port.h, src/SDCCast.c, src/SDCCmain.c, src/SDCCopt.c,
src/SDCCpeeph.c, src/SDCCsymt.c:
TARGET_ID_PIC1 renamed to TARGET_ID_PIC14,
TARGET_IS_PIC renamed to TARGET_IS_PIC14
OPT_DISABLE_PIC renamed to OPT_DISABLE_PIC14
* support/Util/dbuf.c, support/Util/dbuf.h: added function dbuf_detach_c_str()
2010-11-06 Borut Razem <borut.razem AT siol.net>
* support/Util/MySystem.c: use native WIN32 API calls in sdcc_pclose()
2010-11-05 Borut Razem <borut.razem AT siol.net>
* support/Util/MySystem.c: use native WIN32 sdcc_popen and sdcc_pclose
solution due to a bug in wine msvrct.dll popen implementation
* support/Util/MySystem.c, support/Util/MySystem.h, src/SDCCmain.c,
src/ds390/main.c, src/pic14/main.c, src/pic16/main.c, src/z80/main.c:
my_xxxx() renamed to sdcc_xxxx()
2010-11-05 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCcse.c:
Optimization for & on booleans.
* src/z80/gen.c,
src/z80/peeph-z80.def,
support/regression/tests/bitopcse.c:
Fixes for z80 using --reserve-regs-iy and gbz80.
2010-11-05 Raphael Neider <rneider AT web.de>
* sdas/as8051/Makefile.in,
sdas/asz80/Makefile.in,
sdas/as6808/Makefile.in,
sdas/asgb/Makefile.in: fix order of linking with -lm
2010-11-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peep.c:
Improvements relating to the use of hl as an alternative to iy.
2010-11-03 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.h,
src/z80/gen.c,
src/z80/ralloc.c,
src/z80/main.c,
src/z80/z80.h,
src/z80/peeph-z80.def:
Some steps towards implementing #3074318, and minor gbz80 fixes.
2010-11-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peep.c:
Fixed #3093447.
2010-11-03 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCmain.c (setIncludePath): fixed uninitialized target
2010-11-03 Borut Razem <borut.razem AT siol.net>
* device/include/pic14/sdcc-lib.h:
directories */pic renamed to */pic14
2010-11-02 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peeph.def: added peepholes 248.n to 248.p
optimizing and/or/xor to xdata arrays
2010-11-02 Borut Razem <borut.razem AT siol.net>
* device/include/Makefile.in, device/non-free/include/Makefile.in,
device/lib/Makefile.in, device/lib/pic14/configure,
device/lib/pic14/configure.in, device/lib/pic14/Makefile.common.in,
device/lib/pic16/aclocal.m4, device/lib/pic16/configure,
device/lib/pic16/configure.ac, device/non-free/lib/Makefile.in,
device/non-free/lib/pic14/configure,
device/non-free/lib/pic14/configure.in,
device/non-free/lib/pic14/libdev/Makefile.in,
device/non-free/lib/pic14/libdev/mkall.sh,
device/non-free/lib/pic14/Makefile.common.in,
device/non-free/lib/pic16/configure,
device/non-free/lib/pic16/configure.ac:
directories */pic renamed to */pic14
2010-11-01 Borut Razem <borut.razem AT siol.net>
* Small Device C Compiler 3.0.0 released
* .version, doc/sdccman.lyx: changed sdcc version to 3.0.1
* device/include/pic, device/include/asm/pic, device/lib/pic,
device/non-free/include/pic, device/non-free/lib/pic,
sdcc/src/pic: renamed to */pic14
* configure, configure.in, regression/Makefile, src/SDCCmain.c,
device/include/Makefile.in, device/non-free/include/Makefile.in,
support/regression/ports/pic14/spec.mk, support/scripts/sdcc.nsi,
device/non-free/lib/Makefile.in, device/lib/Makefile.in,
sdcc.dsw, src/pic14/pic14.dsp, src/pic14/pic14a.dsp, src/src.dsp:
directories */pic renamed to */pic14
* src/pic16/gen.c: _naked renamed to __naked
* support/scripts/repack_release.sh:
fix if the packages are not in current directory
2010-10-23 Borut Razem <borut.razem AT siol.net>
* device/lib/pic/libsdcc/fs2ulong.c, device/lib/pic/libsdcc/fslt.c,
device/lib/pic/libsdcc/fseq.c, device/lib/pic/libsdcc/ulong2fs.c,
device/lib/pic/libsdcc/fsgt.c, device/lib/pic/libsdcc/fsdiv.c,
device/lib/pic/libsdcc/fsneq.c, device/lib/pic/libsdcc/fsadd.c,
device/lib/pic/libsdcc/fssub.c, device/lib/pic/libsdcc/fsmul.c,
device/lib/ds400/ds400rom.c:
sdcc library license changed to GPL+LE
* support/scripts/sdcc.nsi:
no need to copy readline5.dll
2010-10-19 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/sdccman.lyx: documented --model-huge and other small updates
2010-10-17 Borut Razem <borut.razem AT siol.net>
* support/cpp/sdcpp-opts.c:
fixed bug #3088672: -M (& -MM) not suppressing warnings
* doc/sdccman.lyx: small cosmetic changes
2010-10-16 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/C8051F920.h: patch 3088689, thanks Steven Borley
2010-10-16 Raphael Neider <rneider AT web.de>
* device/lib/Makefile.in, device/non-free/lib/Makefile.in:
fix parallel make on cygwin by preventing multiple rules
from generating the same library files
2010-10-14 Raphael Neider <rneider AT web.de>
* device/lib/pic/configure.in,
device/lib/pic16/configure.ac,
device/non-free/lib/pic/configure.in,
device/non-free/lib/pic16/configure.ac: abort configure if gputils
are unavailable while the pic14 or pic16 port is enabled
* device/lib/pic/configure,
device/lib/pic16/configure,
device/non-free/lib/pic/configure,
device/non-free/lib/pic16/configure: regenerated
* device/non-free/lib/Makefile.in: avoid trying to install from
non-existing BUILDDIR (if both pic ports are disabled)
* doc/sdccman.lyx: fix supported pic14 devices (16hv616 and 16hv785)
* src/SDCCmain.c (setIncludePath): do not use 'target' uninitialized
2010-10-12 Raphael Neider <rneider AT web.de>
* src/SDCCmain.c (setIncludePath): handle special case of pic14 paths
* src/pic/main.c (__pic14_initPaths): removed, handled in SDCCmain.c
2010-10-12 Borut Razem <borut.razem AT siol.net>
* device/lib/pic/Makefile.in, device/non-free/lib/pic/Makefile.in:
fixed target "all" if gputils not found
2010-10-11 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: fixes proposed by Sebastien Lorquet
2010-10-10 Borut Razem <borut.razem AT siol.net>
* support/cpp/sdcpp-diagnostic.c, support/cpp/sdcpp.h:
define inhibit_warnings
* src/SDCCmain.c: removed readCfgFile() call
* support/scripts/sdcc.nsi:
added include/ds390/*.h and include/ds400/*.h to the package
* src/regression/Makefile, src/regression/inline.c,
src/regression/string1.c: added non-free search path,
fixed deprecated keyword warnings
* device/lib/Makefile.in device/non-free/lib/Makefile.in:
fixed bug #3084827:
Building fails at non-free when disabling PIC/PIC16
2010-10-09 Borut Razem <borut.razem AT siol.net>
* support/cpp/auto-host_vc_in.h, support/cpp/libcpp/include/cpplib.h,
support/cpp/sdcpp-diagnostic.c:
fixed bug #3080422: #error not working as expected
* src/SDCCmain.c, src/SDCCglobl.h:
--non-free and SDCC_NON_FREE changed to --use-non-free and
SDCC_USE_NON_FREE
* doc/sdccman.lyx: documented --non-free
* .version, sdcc.spec, doc/sdccman.lyx, doc/INSTALL.txt:
changed sdcc version to 3.0.0
* src/SDCCmain.c: removed function readCfgFile()
* support/scripts/repack_release.sh:
fixed typo
2010-10-08 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/s51.src/Makefile.in:
fixed bug 3082829: S51 is not installed in recent SDCC versions
2010-10-06 Borut Razem <borut.razem AT siol.net>
* sdcc/configure, sdcc/configure.in:
show non-free search paths
* support/scripts/sdcc_mingw32, support/scripts/sdcc_cygwin_mingw32:
define non_free_include_dir_suffix and non_free_lib_dir_suffix
* support/scripts/sdcc.nsi:
remove non-free directory on uninstall
* support/regression/ports/pic14/spec.mk,
support/regression/ports/pic16/spec.mk:
add --non-free option for pic* regression tests
2010-10-05 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi:
added non-free/lib/pic*/*.lib files to the win32 setup package,
remove non-free directory on uninstall
2010-10-04 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c: defined symbol SDCC_NON_FREE when --non-free command
line option is used
* configure.in, configure, Makefile.in, device/lib/pic/configure.in,
device/lib/pic/configure, device/lib/pic/Makefile.in,
device/lib/pic/Makefile.common.in, device/lib/pic16/configure.ac,
device/lib/pic16/configure, device/lib/pic16/Makefile.am,
device/lib/pic16/Makefile.in,
device/lib/pic16/Makefile.common,
device/lib/pic16/libm/Makefile.in,
device/lib/pic16/debug/Makefile.in,
device/lib/pic16/libio/Makefile.in,
device/lib/pic16/startup/Makefile.in,
device/lib/pic16/libsdcc/Makefile.in,
device/lib/pic16/libc/Makefile.in,
support/scripts/sdcc.nsi:
pic* device files moved to non-free
* device/include/pic/*.h: moved to device/non-free/include/pic
* device/include/pic16/*.h: moved to device/non-free/include/pic16
* device/lib/pic/libdev/*.c, device/lib/pic/libdev/mkall.sh:
moved to device/non-freelib/pic/libdev
* device/lib/pic16/libdev/*.c, device/lib/pic16/libdev/mkmk.sh,
device/lib/pic16/libdev/Makefile.am,
device/lib/pic16/libdev/Makefile.in:
moved to device/non-free/lib/pic16/libdev
* device/lib/pic16/pics.all: moved to device/non-free/lib/pic16
* device/non-free/include/Makefile.in,
device/non-free/include/clean.mk,
device/non-free/lib/pic16/config.h.in,
device/non-free/lib/pic16/configure,
device/non-free/lib/pic16/Makefile.in,
device/non-free/lib/pic16/configure.ac,
device/non-free/lib/pic16/Makefile.common,
device/non-free/lib/pic16/bootstrap.sh,
device/non-free/lib/pic16/depcomp,
device/non-free/lib/pic16/Makefile.am,
device/non-free/lib/pic16/missing,
device/non-free/lib/pic16/aclocal.m4,
device/non-free/lib/pic16/install-sh,
device/non-free/lib/Makefile.in,
device/non-free/lib/clean.mk,
device/non-free/lib/pic/configure,
device/non-free/lib/pic/Makefile.in,
device/non-free/lib/pic/Makefile.subdir,
device/non-free/lib/pic/configure.in,
device/non-free/lib/pic/Makefile.rules,
device/non-free/lib/pic/Makefile.common.in,
device/non-free/lib/incl.mk: added
2010-10-03 Borut Razem <borut.razem AT siol.net>
* device/include/mcs51/ser_ir.h, device/lib/ser_ir_cts_rts.c,
device/lib/ser_ir.c, device/include/pic16/pic18fregs.h:
sdcc library license changed to GPL+LE
* configure.in, configure, sdccconf_in.h, sdcc_vc_in.h:
introduced NON_FREE_INCLUDE_DIR_SUFFIX and NON_FREE_LIB_DIR_SUFFIX
* src/SDCCmain.c, src/SDCCglobl.h:
search / include non-free libraries and header files
* .version, doc/sdccman.lyx: bumped version to 2.9.8
2010-10-02 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/stdlib.h,
* device/lib/_atof.c,
* device/lib/_atoi.c,
* device/lib/_atol.c: fixed const in prototypes
2010-09-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.c,
support/regression/tests/bug-3034585.c:
Fixed #3034585.
2010-09-27 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCerr.c,
* src/SDCCerr.h: added W_DEPRECATED_OPTION
* src/ds390/main.c,
* src/mcs51/main.c,
* src/SDCCmain.c (linkEdit): deprecated --no-pack-iram
2010-09-26 Philipp Klaus Krause <pkk AT spth.de>
* src/hc08/peeph.def:
Fixed #1715020.
* src/SDCCerr.h,
src/z80/gen.c,
src/SDCCast.c:
Minor spelling corrections in comments.
2010-09-26 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCicode.c (geniCodeStruct): fixed bug 3029630
* support/regression/tests/bug3029630.c: new, added
2010-09-24 Borut Razem <borut.razem AT siol.net>
* device/include/mcs51/XC866.h: fixed copy & paste error in the comment
2010-09-22 Borut Razem <borut.razem AT siol.net>
* device/include/mcs51/XC866.h, device/include/mcs51/reg764.h,
device/include/mcs51/at89s8253.h:
sdcc library license changed to GPL+LE
2010-09-20 Philipp Klaus Krause <pkk AT spth.de>
* src/doc/sdccman.lyx:
Fixed #3071726.
2010-09-19 Borut Razem <borut.razem AT siol.net>
* support/regression/ports/pic14/spec.mk,
support/regression/ports/pic16/spec.mk,
support/regression/ports/ds390/spec.mk,
support/regression/ports/hc08/spec.mk,
support/regression/ports/ucz80/spec.mk,
support/regression/ports/mcs51-common/spec.mk:
fixed mingw32 cross compiled regression tests:
include top source directory when cross compiling,
launch win32 native simulator with wine,
removed wrong quotes, call build machine native timeout utility
* src/SDCCmain.c, src/ds390/main.c:
ds390 default library path was wrong
* src/SDCC.lex: implemented punctuators, as defined in
ISO/IEC 9899:1999, chapter 6.4.6#3
support/regression/tests/preproc.c: punctuators regression test
2010-09-19 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCicode.c (geniCodeJumpTable): fixed bug 3069862
* support/regression/tests/bug2947189.c: new, added
2010-09-18 Borut Razem <borut.razem AT siol.net>
* debugger/mcs51/cmd.c:
fixed warning: suggest explicit braces to avoid ambiguous 'else'
2010-09-18 Philipp Klaus Krause <pkk AT spth.de>
* src/doc/sdccman.lyx:
Minor update in ANSI conformance section.
2010-09-17 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (ast_print): fixed for MSVC
* src/SDCCicode.c (geniCodeJumpTable): fixed bug 2947189
* support/librarian/sdcclib.c: test return values of system and fgets
2010-09-13 Borut Razem <borut.razem AT siol.net>
* device/lib/_divulong.c, device/lib/_decdptr.c, device/lib/_divuint.c,
device/lib/pic16/libsdcc/long/divulong.c,
device/lib/pic16/libsdcc/int/divuint.c,
device/lib/pic16/libsdcc/char/divuchar.c,
device/lib/hc08/_divuint.c, device/lib/hc08/_divulong.c,
device/lib/hc08/_mullong.c:
sdcc library license changed to GPL+LE
2010-09-13 Raphael Neider <rneider AT web.de>
* configure.in, custom_in.h:
revive support for big-endian machines, broken since r5954
* sim/ucsim/configure.in, sim/ucsim/custom.h, sim/ucsim/custom_in.h:
have configure create custom.h next to ddconfig.h in the build tree
so that CPP will find it
* configure, sdccconf_in.h, sim/ucsim/configure,
sim/ucsim/ddconfig_in.h: regenerated
2010-09-13 Borut Razem <borut.razem AT siol.net>
* device/lib/pic16/libc/utils/cvtdec.S,
device/lib/pic16/libc/stdlib/g_ftoa.S:
sdcc library license changed to GPL+LE
2010-09-12 Borut Razem <borut.razem AT siol.net>
* debugger/mcs51/cmd.c, src/SDCCpeeph.c, src/SDCChasht.c,
src/SDCCval.c, src/SDCCicode.c, src/SDCCset.c, src/SDCCglue.c,
src/z80/gen.c, src/pic16/pcodepeep.c, src/pic16/pcoderegs.c,
src/pic16/pcode.c, src/SDCCast.c, sdas/asranlib/asranlib.c,
support/makebin/makebin.c, support/Util/findme.c:
fixed defects, reported by Wipro DeepCheck static analysis tool
src/SDCCerr.h, src/SDCCglobl.h, src/common.h:
introduced sdcc style assert
* ../asxxxx: removed copy of asxxxx v2.0 sources from sdcc source tree:
asxxxx v3.0 sources are availeble at
http://shop-pdp.kent.edu/ashtml/asxarc.htm
2010-09-11 Borut Razem <borut.razem AT siol.net>
* debugger/mcs51/cmd.c, src/SDCCbitv.c, sdas/asranlib/asranlib.c:
fixed defects, reported by Wipro Static Analysis Report On SDCC
* src/SDCCsymt.c: fixed redundant variable in SDCCsymt.c: getSpec(),
thanks to Jan Waclawek
2010-09-11 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genFunction, genEndFunction): use bitVectIsZero,
(genLiteralAssign): factored out of genAssign,
(litPut): new helper function for genDataPointerSet,
(genDataPointerSet, genAssign): use genLiteralAssign instead of patch
1490145 for consistency
2010-09-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peeph-z80.def:
Minor comments.
* sim/ucsim/z80.src/inst.cc:
Fixed #3061455.
2010-09-06 Raphael Neider <rneider AT web.de>
* configure.in, debugger/mcs51/configure.in,
device/lib/pic/configure.in, device/lib/pic16/configure.ac,
sim/ucsim/configure.in, sim/ucsim/custom.h,
sim/ucsim/ddconfig_in.h, support/packihx/configure.in:
updated build system to allow autoreconf -fi to set up the project,
regenerated files
2010-09-04 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/AT89C513xA.h: new, added, thanks Anirban Brahmachari
2010-08-26 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Fixed #3052514.
2010-08-26 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (genCast): fixed bug with ruonly src and dest downcast,
(AOP_IS_STR): replaced thoughout with IS_OP_RUONLY,
synced with mcs51,
(genDjnz): fixed bug 2995824
* src/mcs51/gen.c (continueIfTrue, jumpIfTrue, jmpTrueOrFalse, genAnd,
genOr, genXor, genDjnz): fixed bugs 2989562 and 2995824
* src/ds390/ralloc.c,
* src/SDCC.lex: cosmetic changes
* support/regression/tests/bug2686159.c: disabled segfaulting test on host
* support/regression/tests/bug2989562.c: new, added
2010-08-24 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCcse.c (cseBBlock): fixed bug 2686159 with part of patch by Robert
Larice, thanks
* src/SDCCBBlock.c,
* src/SDCCglobl.h: cosmetic changes
* support/regression/tests/bug2686159.c: new, added
2010-08-23 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genAnd, genOr, genXor): fixed bug 2944399
* src/mcs51/ralloc.c (packRegsForAccUse): disabled strange exception
* support/regression/tests/bug2944399.c: new, added
2010-08-22 Borut Razem <borut.razem AT siol.net>
* device/include/mcs51/msc1210.h:
sdcc library license changed to GPL+LE
2010-08-20 Raphael Neider <rneider AT web.de>
* device/include/pic16/adc.h,
* device/include/pic16/pic18fam.h,
* device/include/pic16/usart.h,
* device/lib/pic16/libio/adc/*.c,
* device/lib/pic16/libio/usart/*.c
* doc/sdccman.lyx,
* support/scripts/inc2h-pic16.pl,
* support/scripts/pic18fam-h-gen.pl: automatized device I/O style
classification, provide USART initialization for more devices,
addresses item 2 from #1631532.
2010-08-18 Borut Razem <borut.razem AT siol.net>
* sdas/asxxsrc/asdbg.c:
cosmetic change
* device/include/malloc.h, device/include/mcs51/serial.h,
device/lib/serial.c: sdcc library license changed to GPL+LE
2010-08-17 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/as6808/as_hc08.dsp,
* sdas/as8051/asx8051.dsp,
* sdas/asgb/asgb.dsp,
* sdas/asz80/as_z80.dsp: asnoice.c renamed to asdbg.c (sync with asxxxx)
2010-08-17 Borut Razem <borut.razem AT siol.net>
* sdas/as8051/Makefile.in, sdas/asz80/Makefile.in,
sdas/as6808/Makefile.in, sdas/asgb/Makefile.in:
asnoice.c renamed to asdbg.c (sync with asxxxx)
* sdas/asxxsrc/asxxxx.h:
reverted fix for bug 3041470,
DefineCDB_Line() renamed to DefineSDCC_Line() (sync with asxxxx)
* sdas/asxxsrc/asmain.c:
DefineCDB_Line() renamed to DefineSDCC_Line() (sync with asxxxx)
* sdas/asxxsrc/asdbg.c: renamed from asxxsrc/asnoice.c,
use dbuf to dynamically allocate debug symbol
* sdas/linksrc/aslink.h:
changed NCPS to PATH_MAX - quick & dirty fix for asld part of
bug 3041470; proper solution would be support of arbitrary identifier
lenght using dynamic buffers
2010-08-16 Raphael Neider <rneider AT web.de>
* src/pic16/glue.c (pic16emitStaticSeg): allow extern declarations with
incomplete types, fixes #3041150
2010-08-15 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/asxxsrc/asxxxx.h: changed NCPS to PATH_MAX to fix bug 3041470
2010-08-15 Borut Razem <borut.razem AT siol.net>
* support/regression/tests/bug3037889.c:
testBug3037889() renamed to Bug3037889()
so that the function is compiled but not executed
* src/pic/ralloc.c:
fixed bug #3038483: running make of revision 5905 produces warnings
2010-08-13 Borut Razem <borut.razem AT siol.net>
* device/lib/pic16/libc/stdio/fprintf.c,
device/lib/pic16/libc/stdio/printf.c,
device/lib/pic16/libc/stdio/printf_small.c,
device/lib/pic16/libc/stdio/printf_tiny.c,
device/lib/pic16/libc/stdio/putchar.c,
device/lib/pic16/libc/stdio/sprintf.c,
device/lib/pic16/libc/stdio/streams.c,
device/lib/pic16/libc/stdio/strmgpsim.c,
device/lib/pic16/libc/stdio/strmmssp.c,
device/lib/pic16/libc/stdio/strmputchar.c,
device/lib/pic16/libc/stdio/strmusart.c,
device/lib/pic16/libc/stdio/vfprintf.c,
device/lib/pic16/libc/stdio/vprintf.c,
device/lib/pic16/libc/stdio/vsprintf.c:
sdcc library license changed to GPL+LE
2010-08-12 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCloop.c (basicInduction): fixed bug 3034976 with patch 3043854,
thanks Ruud van Silfhout
* support/regression/tests/bug3037889.c: added test for bug 3034976
2010-08-10 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c: fixed by applying patch from bug 3037889, thanks Patrik
Persson
* src/SDCCerr.h,
* src/SDCCerr.c (vwerror, werror, werrorfl): return if warning was printed
* src/SDCCast.c (checkPtrCast): only print from and to types when warning
or error was printed
* support/regression/tests/bug3037889.c: new, added
2010-08-09 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/bug1757671.c: fixed for 64 bit arch
* src/SDCCval.c (valMinus): applied new patch from bug 3037889,
thanks Patrik Persson
2010-08-08 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCval.c (valMinus): applied patch from bug 3037889 though not fixed,
thanks Patrik Persson
* src/z80/gen.c (genCmp): fixed bug 3041519
2010-08-08 Maarten Brock <sourceforge.brock AT dse.nl>
* sim/ucsim/z80.src/inst.cc (inst_add): moved add_HL_Word to z80mac.h,
(inst_daa, inst_scf, inst_ccf, inst_sub): fixed flags
(inst_jp): fixed JP PO/PE
* sim/ucsim/z80.src/inst_ed.cc (inst_ed): fixed flags
* sim/ucsim/z80.src/inst_xd.cc (inst_Xd_add): moved add_IX_Word to z80mac.h
* sim/ucsim/z80.src/instcl.h: cosmetics
* sim/ucsim/z80.src/z80.cc (print_regs): print N flag
* sim/ucsim/z80.src/z80mac.h: fixed flags
* src/z80/gen.c (genIfxJump): simplified
(genCmp): fixed bug 1757671
* device/include/stdbool.h: __SDCC_WEIRD_BOOL==2 for hc08/pic14/pic16
* support/regression/tests/bool.c: run test only once,
run half the cases for __bit
* support/regression/tests/bug1757671.c: new, added
2010-08-07 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCicode.c,
support/regression/tests/bool.c:
Fixed #3040914.
2010-08-05 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCerr.c,
* src/SDCCerr.h: added E_INCOMPLETE_FIELD
* src/SDCCsymt.c (checkStructFlexArray, compStructSize): fixed bug 1518279
2010-08-05 Borut Razem <borut.razem AT siol.net>
* device/include/mcs51at89S8252.h, device/include/mcs51/at89c55.h,
device/include/mcs51/at89x51.h, sdcc/device/include/mcs51/at89x52.h,
device/include/mcs51/ser.h, device/lib/_ser.c:
sdcc library license changed to GPL+LE
2010-08-04 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/cmd.src/cmdlex.cc: regenerated,
fix for patch #3038644: Fix for GCC-4.4 compile error
* device/include/z80/z180.h, device/include/hc08/mc68hc908apxx.h,
sdcc/device/include/hc08/mc68hc908jkjl.h:
sdcc library license changed to GPL+LE
2010-08-04 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (genCmpGt, genCmpLt),
* src/mcs51/gen.c (genCmpGt, genCmpLt): fixed bug 1994062 part 1
(genCmp): use optimization from bug 1994062
* src/SDCCast.c (decorateType '['): fixed bug 1994062 part 2
* src/SDCCset.c: cosmetic changes
* support/regression/tests/bug1994062.c: new, added
2010-08-03 Raphael Neider <rneider AT web.de>
* device/include/pic16/stdio.h,
* device/lib/pic16/libc/stdio/putchar.c: resurrect PUTCHAR macro,
fixes #3038656
2010-08-03 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peeph.def: fixed bug #3038728 (consecutive &=
on volatile variable)
2010-08-03 Raphael Neider <rneider AT web.de>
* src/pic/gen.c (genDataPointerSet): properly determine operand size,
fixes #3038372
2010-08-02 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (genCast),
* src/mcs51/gen.c (genCast): always copy the pointer
* src/hc08/gen.c: cosmetic changes
* src/SDCCast.h: added checkPtrCast
* src/SDCCicode.c (geniCodeCast),
* src/SDCCast.c (checkPtrCast): factored out of geniCodeCast,
(decorateType CAST): check pointer casts
* src/SDCCerr.c,
* src/SDCCerr.h: changed error E_CANNOT_USE_GENERIC_POINTER to warning
W_USING_GENERIC_POINTER
* src/SDCCglue.c (aopLiteralLong): moved check to decorateType,
(pointerTypeToGPByte): exit on internal error, return -1 for GPTR warning
(_printPointerType): handle 4 byte pointers,
(printGPointerType): copy whole generic pointer when warned
* support/regression/tests/bug3027957.c (correct): added for bug 3034400
2010-08-02 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/z80.src/inst.cc:
Fixed #2801879.
* support/regression/tests/bug2862650.c:
Improved redundancy.
2010-08-02 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCicode.c (ast2iCode): fixed bug 1962613
* support/regression/tests/bug1962613.c: new, added
* src/SDCCsymt.c (compareTypeExact): fixed the fix for bug 1929140
* support/regression/tests/bug1115321.c: fixed next problem on solaris
2010-08-01 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug2862650.c:
Redundant regression test for #2862650.
2010-08-01 Borut Razem <borut.razem AT siol.net>
* device/include/ds80c390.h, device/include/tinibios.h,
device/include/time.h, device/include/ds390/serial390.h,
device/lib/time.c, device/lib/gets.c, device/lib/ds390/lcd390.c,
device/lib/ds390/tinibios.c, device/lib/ds390/rtc390.c,
device/lib/ds390/i2c390.c, device/lib/ds400/tinibios.c:
sdcc library license changed to GPL+LE
2010-07-30 Borut Razem <borut.razem AT siol.net>
* device/lib/printf_large.c, device/lib/sprintf.c,
device/lib/vprintf.c:
sdcc library license changed to GPL+LE
2010-07-30 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCC.y: fixed bug 1579664
* support/regression/tests/bug1579664.c: new, added
* src/SDCCsymt.c (compareTypeExact): fixed bug 1929140
* support/regression/tests/bug1929140.c: new, added
2010-07-29 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCerr.c,
* src/SDCCerr.h
* src/SDCCglue.c (printIvalCharPtr),
* src/SDCCicode.c (geniCodeCast): changed E_LITERAL_GENERIC and
E_NONPTR2_GENPTR to warnings
* support/regression/tests/bug1115321.c: fixed problem on solaris
* support/regression/tests/literalop.c: only test char overflow on SDCC
2010-07-29 Borut Razem <borut.razem AT siol.net>
* support/regression/tests/literalop.c:
fixed regresssion test failure on host target (gcc -O2):
the test result was udefined according to C standard 6.5 #5 and
implementation dependent, so it was removed.
Thanks to Jan Waclawek for the explanation that it is not a gcc bug.
2010-07-28 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/printf_large.c: small optimization
* src/hc08/gen.c (transferRegReg, genPointerGet): fixed bug 1115321
* src/hc08/ralloc.c: cosmetic changes
* src/pic16/glue.c (pic16emitStaticSeg),
* src/SDCCglue.c (emitStaticSeg): fixed bug 1474589
* src/z80/gen.c: fixed some warnings
* support/regression/tests/bug1115321.c: new, added
2010-07-26 Borut Razem <borut.razem AT siol.net>
* src/SDCCutil.c:
applied patch #3034715: Report correct host for x86_64 Macs,
thanks to Patrik Persson
2010-07-26 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/main.c,
support/regression/tests/float_single.c:
Fixed #2862650.
2010-07-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed #3027961.
2010-07-25 Borut Razem <borut.razem AT siol.net>
* src/SDCCerr.c, src/SDCCerr.h, src/SDCC.y, src/SDCC.lex,
src/SDCCast.c, src/SDCCast.h, device/include/stddef.h,
device/include/pic16/stddef.h, support/regression/tests/zeropad.c,
support/regression/tests/offsetof.c:
applied patch #2801126: __builtin_offsetof implementation,
thanks to Robert Larice
* support/regression/ports/pic16/spec.mk,
support/regression/ports/pic16/support.c:
_asm and _endasm changed to __asm and __endasm, reentrant changed to __reentrant
* device/include/pic16/stdlib.h: added declarations of abs() and labs()
2010-07-24 Borut Razem <borut.razem AT siol.net>
* device/lib/pic16/libm/*, device/lib/pic16/libio/adc/*,
device/lib/pic16/libio/i2c/*, device/lib/pic16/libio/usart/*,
device/lib/pic16/libsdcc/long/*,
device/lib/pic16/libsdcc/fixed16x16/*,
device/lib/pic16/libsdcc/stack/*, device/lib/pic16/libsdcc/lregs/*,
device/lib/pic16/libsdcc/char/*:
sdcc library license changed to GPL+LE
2010-07-23 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/ralloc.c,
* src/SDCCicode.c: cosmetic changes
* src/mcs51/gen.c (genPointerGet, genPointerSet),
* src/SDCCglue.c (aopLiteralLong),
* src/SDCCsymt.c (computeType),
* src/SDCCval.c (valPlus),
* src/z80/ralloc.c (serialRegAssign, packRegisters): fixed bug 3027957
* support/regression/tests/bug3027957.c: new, added
* support/regression/fwk/include/testfwk.h: removed flaky NULL definition
* support/regression/tests/absolute.c,
* support/regression/tests/bug-2982135.c,
* support/regression/tests/bug-524691.c,
* support/regression/tests/bug1496419.c,
* support/regression/tests/bug2817646.c,
* support/regression/tests/driverstruct.c: include <stddef.h> for NULL
2010-07-18 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (decorateType CAST): fixed bug 2941749
* src/SDCCBBlock.c,
* src/SDCCcse.c: cosmetic changes
* src/SDCCglue.c (printIvalPtr): added names
* support/regression/ports/ds390/spec.mk,
* support/regression/ports/hc08/spec.mk,
* support/regression/ports/mcs51-common/spec.mk,
* support/regression/ports/ucz80/spec.mk: added .PRECIOUS for using -j
* support/regression/tests/absolute.c: added test for bug 2941749
2010-07-17 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCcse.c,
* src/SDCCopt.c,
* src/SDCCicode.c: cosmetic changes
* src/SDCCloop.c (loopInduction): fixed bug 2889032
* support/regression/tests/bug2889032.c: new, added
2010-07-15 Borut Razem <borut.razem AT siol.net>
* sdas/as8051/Makefile.in, sdas/asz80/Makefile.in,
sdas/linksrc/Makefile.in, sdas/as6808/Makefile.in,
sdcc/sdas/asgb/Makefile.in:
fixed bug #3030113: assembler Makefile.in missing trailing '@' on
MAKEPDEP= stmt
2010-07-11 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCsymt.h: added IS_SMALL_PTR
* src/mcs51/ralloc.c (packRegsForOneuse): check for small pointers, check
all subsequent params to fix bug 3004918
* support/regression/tests/bug3004918.c: new, added
* src/SDCCloop.c: cosmetic changes
* src/mcs51/main.c (_mcs51_keywords): removed duplicate keywords,
(get_model): fixed bug 3018737
2010-07-10 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (processParms): fixed bug 3002698
* src/SDCCast.h: cosmetic changes
2010-07-05 Borut Razem <borut.razem AT siol.net>
* support/regression/ports/pic14/spec.mk,
support/regression/ports/pic16/spec.mk,
support/regression/ports/ds390/spec.mk,
support/regression/ports/hc08/spec.mk,
support/regression/ports/ucz80/spec.mk,
support/regression/ports/mcs51-common/spec.mk:
mingw build cross reggression testing with wine
2010-07-03 Philipp Klaus Krause <pkk AT spth.de>
* support/scripts/sdcc.nsi: removed unix2dos conversion
2010-06-28 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/z80/modmixed.s:
Fixed missing line.
2010-06-25 Borut Razem <borut.razem AT siol.net>
* device/lib/pic16/libsdcc/float/*, device/lib/pic16/startup/*:
sdcc library license changed to GPL+LE
2010-06-25 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/z80/mod.s,
device/lib/z80/Makefile.in,
device/lib/z80/modmixed.s,
device/lib/z80/modsigned.s,
device/lib/z80/divmixed.s,
device/lib/z80/divsigned.s,
device/lib/z80/modunsigned.s:
Z80 division library reorganization.
2010-06-23 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/z80/divsigned.s:
Minor cleanup
* src/SDCCpeeph.c,
src/z80/peep.h,
src/z80/main.c,
src/z80/peep.c,
src/z80/peeph-z80.def,
Implemented correct instruction size calculation, replacing estimate.
2010-06-20 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c, src/pic/main.c, src/pic16/main.c:
fixed bug #3015137: -c -o not working as expected (caused by fix for
#2951083)
* device/lib/pic16/libc/string/*, device/lib/pic16/libc/utils/cnvint.S,
device/lib/pic16/libc/utils/cnvfrac.S:
sdcc library license changed to GPL+LE
2010-06-19 Borut Razem <borut.razem AT siol.net>
* device/include/pic/pic14devices.txt,
device/include/pic16/pic16devices.txt:
license changed to GPL - files are not part of sdcc library
* device/lib/z80/divunsigned.s, device/lib/pic16/debug/gstack/gstack.c,
device/lib/pic16/libsdcc/int/*, device/lib/pic16/libc/stdlib/*:
sdcc library license changed to GPL+LE
2010-06-15 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/z80/abs.s,
device/lib/z80/Makefile.in:
Z80-specific abs().
2010-06-14 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c,
src/SDCCpeeph.h,
src/port.h,
src/mcs51/peeph.def,
src/ds390/peeph.def,
src/avr/peeph.def,
src/z80/peep.h,
src/z80/peep.c,
src/z80/peeph-z80.def,
src/z80/peeph-gbz80.def:
Peephole cleanup.
2010-06-13 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/linksrc/lksym.c,
* src/ds390/main.c,
* src/SDCCast.c: cosmetic changes
* src/SDCC.y: removed type_specifier2, moved AT into type_specifier,
fixed bug 29979999
* src/SDCCsymt.c (addDecl): fixed char* __code __at(N) bug
* support/regression/tests/absolute.c: added test for bug 29979999
2010-06-12 Borut Razem <borut.razem AT siol.net>
* device/include/asm/pic/features.h, device/include/pic/*.h,
device/include/pic/p16f_common.inc:
sdcc library license changed to GPL+LE
2010-06-10 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c,
src/z80/peep.c:
Improved canAssign().
2010-06-07 Philipp Klaus Krause <pkk AT spth.de>
* src/port.h,
src/SDCCpeeph.c,
src/mcs51/main.c,
src/pic/main.c,
src/z80/peep.h,
src/z80/main.c,
src/z80/peep.c,
src/z80/peeph-z80.def,
src/pic16/main.c,
src/hc08/main.c,
src/ds390/main.c:
Added canAssign() for use in peepholes.
2010-06-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/mappings.i,
src/z80/peeph-gbz80.def:
Move generation of short jumps into peepholes.
2010-06-05 Borut Razem <borut.razem AT siol.net>
* device/include/asm/pic16/features.h, device/include/pic16/*.h,
device/include/pic16/pic16devices.txt,
device/include/pic16/p18fxxx.inc, device/lib/pic16/libsdcc/*.c:
sdcc library license changed to GPL+LE
2010-06-05 Maarten Brock <sourceforge.brock AT dse.nl>
* sdas/asranlib/asranlib.c (do_ranlib): fixed text output
* src/SDCCerr.c,
* src/SDCCerr.h,
* src/SDCC.y: changed E_STORAGE_CLASS_SPECIFIED_FOR_PARAMETER to
E_STORAGE_CLASS_FOR_PARAMETER
* src/SDCCcse.c,
* src/SDCCdflow.c,
* src/SDCCval.c: cosmetic changes
* src/SDCCopt.c,
* src/SDCCsymt.c,
* src/SDCCsymt.h: removed double underscores from function names,
fixed bug 3005305
2010-06-03 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/_memcpy,
device/lib/_memmove.c:
Library cleanup.
2010-06-02 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: corrected z80 assembler name, corrected revision
date format
2010-06-01 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Optimization of multibyte comparison.
* src/SDCCpeeph.c,
src/SDCCpeeph.h,
src/z80/peeph-z80.def:
Peephole barriers, fixes #1677178.
2010-05-31 Borut Razem <borut.razem AT siol.net>
* debugger/mcs51/simi.c, debugger/mcs51/cmd.c, debugger/mcs51/sdcdb.c,
debugger/mcs51/sdcdb.h: enhanced help text formating, added usage
(-h, -?, --help) and verbose (-v) command line options, SDCDB_VERSION
bumped to 0.9
* doc/sdccman.lyx: asxxxx and aslink renamed to sdas and sdld
2010-05-30 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Minor peephole improvement.
2010-05-25 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCcse.c:
Simplified division optimization.
* src/z80/gen.c:
Fixed comment alignment.
* src/z80/peep.c,
src/z80/peeph-z80.def:
Peephole improvements, mostly negation.
2010-05-24 Borut Razem <borut.razem AT siol.net>
* src/SDCC.y, src/SDCCsymt.h: test if the parameter is a valid storage
class specifier
* src/hc08/gen.c, support/regression/tests/bug1875933.c:
fixed bug #3006063: xor broken
2010-05-23 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug1875933.c:
Disabled recently introduced regression test on hc08, since it never worked there.
2010-05-23 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c,
src/z80/peeph-z80.def:
Minor peephole improvements.
2010-05-23 Borut Razem <borut.razem AT siol.net>
* src/SDCCerr.c, src/SDCCerr.h, src/SDCCsymt.h, src/SDCC.y:
fixed bug #2811521: sdcc doesn't accept register storage class
specifier in func
2010-05-21 Philipp Klaus Krause <pkk AT spth.de>
* src/mcs51/gen.c,
src/z80/gen.c,
src/hc08/gen.c,
src/ds390/gen.c,
support/regression/tests/bug1875933.c:
Completed fix for #1875933 applying #2892763.
2010-05-21 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCopt.c,
src/z80/gen.c,
support/regression/tests/memory.c:
Fixed bug #2995398.
2010-05-16 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/main.c:
A tiny step toward implementing #1921061.
2010-05-16 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Minor peephole improvements.
2010-05-13 Borut Razem <borut.razem AT siol.net>
* sdas/asxxsrc/asmain.c: fixed bug #2914707: as-z80 segmentation fault
2010-05-10 Borut Razem <borut.razem AT siol.net>
* src/Makefile.in: added -Wall
* sdas/linksrc/lkarea.c: fixed bug #2999446: ds390 xram limit at 0x400000
* asxxsrc/asmain.c: fixed compiler warning
2010-05-10 Maarten Brock <sourceforge.brock AT dse.nl>
* support/cpp/sdcpp.dsp: added sdcpp-diagnostic.c
2010-05-06 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_strtok.c: cosmetic changes
* sdas/linksrc/aslink.dsp: removed lkgb.c
* src/SDCCast.c (gatherImplicitVariables): fixed bug 2956580, const iTemp
* src/z80/peeph-gbz80.def (rule 16): fixed non-existent operandsNotSame bug
* support/regression/tests/bug2956580.c: new, added
2010-05-05 Borut Razem <borut.razem AT siol.net>
* support/cpp/sdcpp.opt: fixed bug #2996806: Werror broken
2010-05-04 Borut Razem <borut.razem AT siol.net>
* debugger/mcs51/sdcdb.c: fixed compiler warnings
2010-05-03 Borut Razem <borut.razem AT siol.net>
* support/cpp/Makefile.in, support/cpp/sdcpp-diagnostic.c,
support/cpp/sdcpp.h, support/cpp/sdcpp-opts.c:
added c_cpp_error diagnostic callback function
2010-05-01 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/C8051F330.h,
* device/include/mcs51/C8051F336.h,
* device/include/mcs51/C8051F350.h,
* device/include/mcs51/C8051F410.h,
* device/include/mcs51/C8051T630.h: applied patch 2994867, thanks Steven Borley
2010-04-22 Borut Razem <borut.razem AT siol.net>
* support/cpp/libcpp/charset.c, support/cpp/libcpp/directives.c,
support/cpp/libcpp/errors.c, support/cpp/libcpp/expr.c,
support/cpp/libcpp/files.c, support/cpp/libcpp/identifiers.c,
support/cpp/libcpp/include/cpp-id-data.h,
support/cpp/libcpp/include/cpplib.h,
support/cpp/libcpp/include/line-map.h,
support/cpp/libcpp/include/symtab.h, support/cpp/libcpp/init.c,
support/cpp/libcpp/internal.h, support/cpp/libcpp/lex.c,
support/cpp/libcpp/line-map.c, support/cpp/libcpp/macro.c,
support/cpp/libcpp/mkdeps.c, support/cpp/libcpp/symtab.c,
support/cpp/libcpp/traditional.c, support/cpp/libiberty/filenames.h,
support/cpp/libiberty/hashtab.c, support/cpp/libiberty/hashtab.h,
support/cpp/libiberty/obstack.h, support/cpp/libiberty/safe-ctype.h,
support/cpp/libiberty/splay-tree.h, support/cpp/sdcpp.c,
support/cpp/sdcpp.h, support/cpp/sdcpp-opts.c:
SDCPP synchronized with GCC CPP release version 4.5.0
2010-04-14 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/configure, sim/ucsim/configure.in, sim/ucsim/ddconfig_in.h:
fixed bug #2986676: ucz80 fails to run z80 regtests on Solaris
SPARC platform
* sdccconf_in.h: corrected endianness detection on solaris
* debugger/mcs51/symtab.c, debugger/mcs51/configure,
debugger/mcs51/Makefile.in, debugger/mcs51/simi.c,
debugger/mcs51/cmd.c, debugger/mcs51/symtab.h,
debugger/mcs51/configure.in, debugger/mcs51/sdcdb.c,
debugger/mcs51/config.h.in, debugger/mcs51/break.c:
code cleaning: removed warnings, added -Wall c compiler flag, ...
2010-04-12 Borut Razem <borut.razem AT siol.net>
* device/lib/pic/libsdcc/*.[cS], device/lib/pic/*.[cS]:
sdcc library license changed to GPL+LE
2010-04-11 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/configure.in:
define CXXFLAGS
* device/lib/pic/libm/expf.c:
corrected typo
* device/include/mcs51/uPSD32xx.h:
sdcc library license changed to GPL+LE
2010-04-10 Borut Razem <borut.razem AT siol.net>
* support/regression/ports/host/spec.mk.in:
reverted change made 2010-04-08, since the include is needed by
the libmullong.c regression test
* device/lib/pic/libm/*.c:
sdcc library license changed to GPL+LE
2010-04-09 Borut Razem <borut.razem AT siol.net>
* device/include/mcs51/msm8xc154s.h:
sdcc library license changed to GPL+LE
2010-04-08 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bug-2982135.c:
Fixed a stupid mistake.
2010-04-08 Borut Razem <borut.razem AT siol.net>
* support/regressuin/test/bitvars.c:
fixed failing test on on Solaris i386 SunPro C compiler;
it behaves differently if -xO2 option is set or not
* src/SDCCast.c, src/SDCCast.h:
fixed SunPro C warning: anonymous struct declaration
* device/include/mcs51/C8051F336.h, device/include/mcs51/C8051T610.h,
device/include/mcs51/p89lpc938.h, device/include/mcs51/C8051F920.h,
device/include/mcs51/C8051T600.h, device/include/mcs51/C8051T630.h,
sdcc/device/include/hc08/mc68hc908qy.h, device/include/hc08/mc68hc908gp32.h:
sdcc library license changed to GPL+LE
* support/regression/ports/host/spec.mk.in: removed unneeded include
* sim/ucsim/cmd.src/Makefile.in:
sh test doesn't understand -e option
* sim/ucsim/cmd.src/FlexLexer.h:
fixed warning about missing newline at last line
2010-04-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.c,
support/regression/tests/bug-2982135.c:
Fixed bug #2982135.
2010-04-06 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peeph-z80.def
Minor improvements, workaround for bug #2970351.
* device/lib/z80/divunsigned.s,
device/lib/z80/Makefile.in,
device/lib/z80/div.s,
device/lib/z80/divmixed.s
device/lib/z80/divsigned.s:
Division library reorganization.
2010-04-05 Borut Razem <borut.razem AT siol.net>
* sdcc/sim/ucsim/gui.src/Makefile.in:
fixed for Solaris if CURSES_PKGS is empty
* sdcc/device/include/mcs51/at89c51snd1c.h:
sdcc library license changed to GPL+LE
2010-04-04 Borut Razem <borut.razem AT siol.net>
* device/include/hc08/mc68hc908jb8.h:
sdcc library license changed to GPL+LE
* sdas/linksrc/Makefile.in: Solaris make (GNU Make 3.81) doesn't like
$$() syntax; converted to ``
2010-04-03 Borut Razem <borut.razem AT siol.net>
* device/include/mcs51/p89lpc933_4.h, device/include/mcs51/p89lpc935_6.h,
device/include/mcs51/p89v66x.h, device/include/mcs51/p89c66x.h,
device/include/mcs51/at89Sx051.h: sdcc library license changed to GPL+LE
2010-04-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed bug #2977331.
2010-04-01 Borut Razem <borut.razem AT siol.net>
* support/regression/ports/host/spec.mk.in:
fixed execution of host regression tests on Mac OS X
2010-03-28 Borut Razem <borut.razem AT siol.net>
* device/include/ds400/ds400rom.h, device/include/asm/gbz80/features.h,
device/lib/z80/crt0.s, device/lib/gbz80/stubs.s,
device/lib/gbz80/div.s, device/lib/gbz80/fstubs.s,
device/lib/gbz80/putchar.s, device/lib/gbz80/crt0.s,
device/lib/gbz80/crt0_rle.s, device/lib/gbz80/heap.s,
device/lib/gbz80/mul.s, device/lib/gbz80/shift.s,
device/lib/ds400/memcpyx.c, device/lib/hc08/_mulint.c,
device/lib/hc08/_ret.c, device/lib/hc08/_mullong.c,
device/lib/mcs51/crtpagesfr.asm, device/lib/mcs51/crtxpush.asm,
device/lib/mcs51/crtxpopbits.asm, device/lib/mcs51/crtxpushr0.asm,
device/lib/mcs51/crtbank.asm, device/lib/mcs51/crtcall.asm,
device/lib/mcs51/crtxinit.asm, device/lib/mcs51/crtstart.asm,
device/lib/mcs51/crtxstack.asm, device/lib/mcs51/crtxclear.asm,
device/lib/mcs51/crtclear.asm, device/lib/mcs51/crtxpop.asm,
* device/include/asm/mcs51/features.h, device/include/mcs51/*.h:
sdcc library license changed to GPL+LE
2010-03-25 Borut Razem <borut.razem AT siol.net>
* sdcc/configure, sdcc/configure.in, sdcc/sdccconf_in.h,
sdcc/sim/ucsim/configure, sdcc/sim/ucsim/configure.in,
sdcc/sim/ucsim/ddconfig_in.h:
fixed endianness detection, enabled NetBSD build
* sim/ucsim/cmd.src/cmdpars.cc:
fixed alloca detection on Solaris x86. This is actually bison++ bug.
* support/regression/tests/bitfields.c,
support/regression/tests/literalop.c,
support/regression/tests/bitwise.c,
support/regression/tests/swap.c:
fixed host regression tests on NetBSD sparc64
2010-03-23 Borut Razem <borut.razem AT siol.net>
* device/include/*.h, device/include/asm/z80/features.h,
device/include/asm/default/features.h, device/include/z80/*.h,
device/lib/z80/*.s, device/include/asm/ds390/features.h,
device/lib/ds390/memcpyx.c, device/lib/ds390/putchar.c:
sdcc library license changed to GPL+LE
2010-03-20 Borut Razem <borut.razem AT siol.net>
* main_in.mk, configure, debugger/mcs51/configure,
debugger/mcs51/Makefile.in, debugger/mcs51/configure.in,
configure.in, src/Makefile.in, src/port.mk, sim/ucsim/configure,
sim/ucsim/cmd.src/Makefile.in, , sim/ucsim/xa.src/Makefile.in,
sim/ucsim/z80.src/Makefile.in, sim/ucsim/gui.src/Makefile.in,
sim/ucsim/gui.src/serio.src/Makefile.in,
sim/ucsim/gui.src/obsolete/portmon.src/Makefile.in,
sim/ucsim/sim.src/Makefile.in, sim/ucsim/main_in.mk,
sim/ucsim/configure.in, sim/ucsim/hc08.src/Makefile.in:
introduced MAKEDEP
2010-03-20 Borut Razem <borut.razem AT siol.net>
* configure.in, configure, support/regression/tests/bitfields.c,
support/regression/tests/bug-1981238.c,
support/regression/tests/preproc.c,
support/regression/tests/strtok.c,
support/regression/tests/structflexarray.c,
support/regression/tests/malloc.c:
regression test fixed for SunPro C compiler
* support/regression/ports/host/spec.mk:
adapted for SunPro C compiler & renamed to spec.mk.in
* support/regression/Makefile.in:
include ./ports/$(PORT)/spec.mk if exists
* device/lib/Makefile.in:
Solaris make (GNU Make 3.81) doesn't like $$() syntax;
converted to ``
2010-03-19 Borut Razem <borut.razem AT siol.net>
* configure.in, configure, device/lib/z80/Makefile.in,
device/lib/gbz80/Makefile.in, device/lib/ds390/Makefile.in,
device/lib/Makefile.in, device/lib/ds400/Makefile.in,
device/lib/mcs51/Makefile.in, device/lib/hc08/Makefile.in:
autoconf test if ar accepts -S (GNU ar does, BSD ar does not)
* src/pic/ralloc.c: Solaris SunPro C compiler doesn't like (void)0
2010-03-18 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/ddconfig_in.h:
fixed endianness detection, so that it works on Solaris
2010-03-17 Borut Razem <borut.razem AT siol.net>
* configure.in, configure, debugger/mcs51/configure.in,
debugger/mcs51/configure, sim/ucsim/configure.in,
sim/ucsim/configure, sim/ucsim/aclocal.m4, src/SDCCutil.c:
preparations for *BSD and Solaris ports
* configure, debugger/mcs51/configure, debugger/mcs51/configure.in,
configure.in, sim/ucsim/configure, sim/ucsim/cmd.src/Makefile.in,
sim/ucsim/xa.src/Makefile.in, sim/ucsim/z80.src/Makefile.in,
sim/ucsim/gui.src/Makefile.in,
sim/ucsim/gui.src/serio.src/Makefile.in,
sim/ucsim/gui.src/obsolete/portmon.src/Makefile.in,
sim/ucsim/sim.src/Makefile.in, sim/ucsim/configure.in,
sim/ucsim/hc08.src/Makefile.in, sim/ucsim/s51.src/Makefile.in,
sim/ucsim/avr.src/Makefile.in, sdas/as8051/Makefile.in,
sdas/asz80/Makefile.in, sdas/linksrc/Makefile.in,
sim/ucsim/main_in.mk: portable -Wall
* support/cpp/Makefile.in, support/cpp/libiberty/alloca.c:
added alloca.c
2010-03-15 Borut Razem <borut.razem AT siol.net>
* device/lib/*.c: sdcc library license changed to GPL+LE
2010-03-13 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: removed lib/src/z80/*.c from the package
* src/z80/gen.c: fixed warning: suggest parentheses around assignment
used as truth value
* sdas/asxxsrc/sdas.c, sdas/linksrc/sdld.c:
fixed warning: implicit declaration of function 'tolower'
* sdas/asxxsrc/asmain.c: fixed warning: variable not initialized
* device/include/limits.h, device/include/stdint.h,
device/include/float.h, device/include/typeof.h,
device/include/stddef.h, device/include/sdcc-lib.h,
device/include/stdlib.h, device/include/stdio.h,
device/include/math.h, device/include/asm/default/features.h,
device/include/assert.h, device/include/setjmp.h,
device/include/stdbool.h, device/include/ctype.h,
device/include/stdarg.h, device/include/errno.h:
sdcc library license changed to GPL+LE
2009-03-11 Raphael Neider <rneider AT web.de>
* device/include/pic/pic16f616.h,
device/include/pic/pic16hv616.h,
device/lib/pic/libdev/devices.txt,
device/lib/pic/libdev/pic16f616.c,
device/lib/pic/libdev/pic16hv616.c:
add support for 16f616 and 16hv616 devices
2010-03-09 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/gbz80/Makefile.in,
device/lib/gbz80/printf.c:
Made gbz80 port use the generic printf routine family.
2010-03-07 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
support/regression/tests/float_single.c:
gbz80 port regression test fixes.
2010-03-06 Borut Razem <borut.razem AT siol.net>
* src/hc08/main.c: fixed hc08 target:
reintroduced MODAL_SMALL and MODEL_LARGE
2010-03-04 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c, src/port.h, src/avr/main.c, src/ds390/main.c,
src/hc08/main.c, src/mcs51/main.c, src/pic16/main.c, src/pic/main.c,
src/xa51/main.c, src/z80/main.c: get_model() moved to the traget
* src/mcs51/rtrack.c: removed MSVC warnings:
integral size mismatch in argument; conversion supplied
* src/SDCCglobl.h: introduced NO_MODEL
2010-03-03 Borut Razem <borut.razem AT siol.net>
* all.dsp: added makebin to project
* src/SDCCmain.c: fixed lib suffix,
get_lib_suffix() renamed to get_model(),
added pic* handling to get_model()
2010-03-02 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c, src/pic/main.c, src/pic16/main.c:
lib suffix is a part of lib dir set
* support/scripts/Makefile.in, support/scripts/clean.mk:
added clean Makefile target for scripts
2010-03-02 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCmain.c(get_lib_suffix): added huge model
2010-02-26 Borut Razem <borut.razem AT siol.net>
* sdcc/support/scripts/as2gbmap.py:
use pre-python 2.6 exceptin handling syntax
2010-02-25 Borut Razem <borut.razem AT siol.net>
* configure.in, configure, Makefile.in, support/scripts/Makefile.in:
"compile" as2gbmap.py: copy it to bin/as2gbmap and make it executable
* support/scripts/sdcc.nsi: include bin/as2gbmap.cmd to the package
2010-02-24 Borut Razem <borut.razem AT siol.net>
* sdcc/support/scripts/as2gbmap.py:
sort symbols by value for rrgb outout,
handle file open errors
* doc/sdccman.lyx: documented changed library format to ar in 2.9.0;
documented makebin and as2gbmap.py
2010-02-23 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c, src/z80/main.c, sdas/linksrc/lkdata.c,
sdas/linksrc/lklist.c, sdas/linksrc/lkmain.c, sdas/linksrc/lkrloc.c,
sdas/linksrc/aslink.h:
removed geneneration of no$gmb symbol file and rrgb map file
* sdas/linksrc/Makefile.in: removed compilation of lkgb.c
* sdcc/support/scripts/as2gbmap.py:
added option -j to convert from asxxxx to no$gmb symbol file format
* sdas/linksrc/lkgb.c, sdas/linksrc/lkgg.c: deleted from svn
2010-02-21 Borut Razem <borut.razem AT siol.net>
* support/makebin/makebin.c:
check if fopen() succeeded
* support/regression/ports/gbz80/spec.mk:
sdlsgb now creates .ihx file and makebin converts it to .gb;
removed -m (Load map file) rrgb command line option, since sdlsgb
doesn't generate a rrgb compatible map file
* src/SDCCmain.c: search C runtime initialization object files
crt0.rel in system library directories, then in user defined
library directories - third try
* support/scripts/as2gbmap.py: converter from asxxxx to rrgb map
file format
2010-02-21 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/rt rack.c: fixed two warnings reported in #2955971
by Hubert Sack. (2nd warning found a bug)
2010-02-20 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/gbz80/mul.s,
device/lib/gbz80/Makefile.in:
Fixed multiplication in gbz80 port.
2010-02-20 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/gbz80/div.s:
Fixed mixed-sign division and modulo in gbz80 port.
2010-02-20 Borut Razem <borut.razem AT siol.net>
* support/makebin/makebin.c: added support for GameBoy binary file format,
added optional input and output file names arguments,
making it (hopefully) more robust, ...
* all.dsp, sdcc.dsw, support/makebin/makebin.dsp:
added makebin to the MSVC project
* src/SDCCmain.c: fixed bug #2955614 - Regression - Warning: Couldn't find
2010-02-19 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/rtrack.h,
src/mcs51/rtrack.c,
src/mcs51/ralloc.h,
src/mcs51/gen.c: Implemented tracking of symbols and dptr.
Set environment variable SDCC_REGTRACK if you want to enable
register tracking. If you want diagnostic output use option
--fverbose-asm and additionally set SDCC_REGTRACK_VERBOSE
2010-02-18 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c: search C runtime initialization object files
crt0.rel in system library directories, then in user defined
library directories
2010-02-16 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: remove crt0.rel for z80 and gb
* src/SDCCmain.c:
fixed the fist part of bug #2951083: -o not working as expected:
rename the linker output file name to -o binary file name
* sdas/linksrc/lkaomf51.c:
fixed the second part of bug #2951083: -o not working as expected:
remove the file extension in any case
2010-02-16 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-gbz80.def,
device/include/asm/z80/features.h,
device/lib/gbz80/Makefile.in,
device/lib/gbz80/div.s,
device/lib/gbz80/mul.s,
support/regression/ports/gbz80/spec.mk:
Made gbz80 regression tests compile again.
2010-02-11 Borut Razem <borut.razem AT siol.net>
* sdas/linksrc/lkmain.c: removed unneeded gb linker initialization
2010-02-10 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/clean.mk: also clean huge library
2010-02-10 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/gen.c: (genAssign literal) loading via accumulator if it
pays off. Could eventually also be enabled for assigning to registers
2010-02-09 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peeph.def: added rules 105.b and 114.x improving parameter
passing for models large and huge.
Regression test suite is about 1% smaller for model large
2010-02-09 Borut Razem <borut.razem AT siol.net>
* sdas/asxxsrc/sdas.c, sdas/linksrc/sdld.c:
convert parogram name to lower case since on Win 9x program names
in argv[0] are always upper case;
added diagnostic if SDAS_DIAG and/or SDLD_DIAG environment
variables are set
2010-02-08 Borut Razem <borut.razem AT siol.net>
* src/avr/gen.c, src/avr/gen.h, src/cdbFile.c, src/ds390/gen.c,
src/ds390/gen.h, src/hc08/gen.c, src/hc08/gen.h, src/mcs51/gen.c,
src/mcs51/gen.h, src/mcs51/main.c, src/pic16/gen.c, src/pic16/gen.h,
src/pic16/main.c, src/pic/gen.c, src/pic/gen.h, src/port.h,
src/SDCCBBlock.c, src/SDCCdebug.c, src/SDCCdebug.h, src/SDCCdwarf2.c,
src/SDCCdwarf2.h, src/SDCCglobl.h, src/SDCCglue.c, src/SDCCmain.c,
src/xa51/gen.c, src/xa51/gen.h, src/xa51/main.c, src/z80/gen.c,
src/z80/gen.h, src/z80/main.c:
get rid of scratchFileName, const string pointers
* src/SDCCmain.c, src/xa51/main.c, src/mcs51/main.c, sdcc_vc_in.h:
fixed bug #2947712: SDCC completely broken in multiple ways
* sdas/linksrc/lklist.c, sdas/linksrc/lkmain.c:
reintroduced gameboy map file format, required by rrgb simulator,
reenabled gameboy regression tests
2010-02-07 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peeph.def: added rules 272.x helping literal left shifts
2010-02-07 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c, src/SDCCglobl.h, src/z80/main.c, src/hc08/main.c,
sdas/linksrc/lkmain.c, sdas/linksrc/lkar.c, sdas/linksrc/lkrloc.c:
fixed output file format handling
* src/SDCCmain.c, src/port.h, src/xa51/main.c, src/mcs51/main.c,
src/z80/main.c, src/ds390/main.c, src/hc08/main.c:
list of standard library files moved to port structure,
defined for each target
* sdas/linksrc/lkmain.c: re-added the gb version of map()
2010-02-06 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_setjmp.c: fixed --stack-auto for model-huge
* support/regression/Makefile.in: keep the hex-file
2010-02-05 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/mappings.i,
src/z80/peeph-z80.def:
Decompose multiline macros, fixing #1570701, #1921731.
2010-02-04 Borut Razem <borut.razem AT siol.net>
* src/mcs51/main.c, src/z80/main.c, src/ds390/main.c, src/hc08/main.c,
src/xa51/main.c, src/SDCCmain.c, src/port.h:
list of C runtime initialization object files crt0.rel moved to port
structure, defined for each target
2010-02-02 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-gbz80.def,
src/z80/mappings.i:
Fixed gbz80 port to work with new assembler.
2010-02-02 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCsymt.c(addSymChain): fixed --xstack float support in model-huge
2010-02-01 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCmain.c(assemble): don't destroy asmName twice
2010-02-01 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/ralloc.c (packRegsDPTRuse): fixed bug 2938110
* support/regression/tests/bug2938110.c: new, added
2010-02-01 Borut Razem <borut.razem AT siol.net>
* sdas/linksrc/lkar.c, sdas/linksrc/lksdcclib.c:
detection of asxxxx v3.0 and higher rel files
2010-01-31 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Minor peephole.
2010-01-30 Maarten Brock <sourceforge.brock AT dse.nl>
* configure,
* configure.in: added device/lib/huge/Makefile
2010-01-30 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/asm/mcs51/features.h: added _RETURN
* device/include/setjmp.h: adapted for model-huge
* device/lib/_setjmp.c: adapted for xstack and model-huge
* device/lib/_decdptr.c(_decdptr): __naked
* device/lib/_logexpf.c (_fs_cordic_rshift_r765_unsigned): __naked
* device/lib/_mullong.c: use _AUTOMEM from sdcc-lib.h
* device/lib/_startup.c (_sdcc_external_startup): __nonbanked
* device/lib/_strlen.c,
* device/lib/abs.c,
* device/lib/labs.c: use _RETURN
* device/lib/cotf.c,
* device/lib/tanf.c,
* device/lib/tancotf.c (tancotf): changed iscotan to BOOL
* device/lib/expf.c,
* device/lib/logf.c: adapted for model-huge
* device/lib/printf_large.c: set USE_FLOATS for ds390, xstack, model-huge
* device/lib/huge: added directory
* device/lib/huge/Makefile.in: new, added
* src/mcs51/gen.c (aopPut, Push): factored out Push,
(getFreePtr): save R0 in B for PCALL,
(opIsGptr): also true for banked function pointers,
(saveRegisters, unsaveRegisters): always save for banked functions,
don't kill R0,
(genCall, genPcall, genEndFunction): even static functions are banked in
model-huge, address could be taken,
(genPcall): don't kill R0-R2 before genSend
* src/mcs51/main.c (_mcs51_keywords): added nonbanked,
(_mcs51_finaliseOptions): added MODEL_HUGE,
xstack float lib is not reentrant,
(mcs51_port): added MODEL_HUGE, fixed banked_overhead bug
* src/mcs51/peep.c (termScanAtFunc): always abort for banked call and R0-R2
* src/SDCC.y: remoed warning W_BANKED_WITH_STATIC
* src/SDCCast.c (funcOfType): all C support routines are nonbanked,
(processParms): fixed banked function pointer is no codepointer,
(createFunction): fixed banked_overhead bug
* src/SDCCerr.c: W_BANKED_WITH_STATIC no longer used
* src/SDCCglue.c (_printPointerType): added size parameter,
(printIvalFuncPtr): adapted for banked function pointer,
(glue): added MODEL_HUGE
* src/SDCCmain.c (optionsTable, parseCmdLine, preProcess): added
MODEL_HUGE, --model-huge and OPTION_HUGE_MODEL
* src/SDCCmem.c (allocParms): moved banked_overhead to createFunction
* src/SDCCsymt.c (getSize): adapted for model-huge,
(checkFunction): merge banked/nonbanked from prototype into definition,
(initCSupport): all C support routines are made nonbanked in funcOfType
* src/SDCCsymt.h: added BANKED_FUNCTIONS, adapted IFFUNC_ISBANKEDCALL
* src/z80/gen.c (emitCall): even static functions are banked in
model-large and model-medium, address could be taken
* support/regression/Makefile.in: added target test-mcs51-huge
* support/regression/ports/mcs51-common/support.c: added PSBANK,
(_sdcc_external_startup): must be nonbanked
* support/regression/ports/mcs51-xstack-auto/spec.mk: moved USE_FLOATS to
printf_large.c
* support/regression/ports/mcs51-huge: added directory
* support/regression/ports/mcs51-huge/spec.mk: new, added
* support/regression/tests/bug1678803.c,
* support/regression/tests/bug1712928.c: adapted for model-huge
* support/regression/tests/float_single.c: added putchar for debugging
* support/regression/tests/snprintf.c: adapted for model-huge
2010-01-29 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Minor comment.
2010-01-29 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Minor comment.
2010-01-29 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCsymt.h:
Minor fix.
2010-01-29 Borut Razem <borut.razem AT siol.net>
* sdcc/src/xa51/main.c, sdcc/src/mcs51/main.c, sdcc/src/SDCCmain.c,
sdcc/src/z80/main.c, sdcc/src/ds390/main.c, sdcc/src/hc08/main.c,
sdcc/sdas/asxxsrc/asmain.c:
fixed bug #2925290: SDCC assemblers do not process "-o" option correctly
The sdas command line syntax is now compatible with asxxxx v5.0
2010-01-24 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bool.c,
support/regression/tests/bitopcse.c,
device/include/stdbool.h:
Added test for bool.
2010-01-24 Borut Razem <borut.razem AT siol.net>
* src/z80/gen.c:
fixed declaration in the middle of the block
* support/cpp/ansidecl.h, support/cpp/libcpp/directives.c,
support/cpp/libcpp/errors.c, support/cpp/libcpp/init.c,
support/cpp/libcpp/internal.h, support/cpp/libcpp/lex.c,
support/cpp/libiberty.h, support/cpp/libiberty/hex.c,
support/cpp/libiberty/md5.c, support/cpp/libiberty/splay-tree.c,
support/cpp/md5.h:
SDCPP synchronized with GCC CPP release version 4.4.3
2010-01-24 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCcse.c,
src/SDCCval.c,
src/SDCCicode.c,
src/SDCCsymt.c,
src/SDCCsymt.h,
src/SDCC.y,
src/SDCCdwarf2.c,
src/SDCCglue.c,
src/z80/gen.c,
src/z80/main.c,
src/z80/peep.c,
src/z80/peeph-z80.def,
src/SDCCglobl.h,
src/SDCC.lex,
src/SDCCast.c,
device/include/stdbool.h,
support/regression/tests/bug1546986.c,
support/regression/tests/constantRange.c,
support/regression/tests/bug2805333.c,
support/regression/tests/bug1337835.c,
support/regression/tests/bitopcse.c,
support/regression/tests/bug1723128.c,
support/regression/tests/bug-908454.c,
support/regression/tests/bug1734654.c,
support/regression/tests/bug1745717.c,
support/regression/tests/bug2719592.c,
support/regression/tests/bug1738367.c,
support/regression/tests/funptrs.c,
support/regression/tests/bug1509084.c,
support/regression/tests/bug1788177.c,
support/regression/tests/bitvars.c:
Finally implemented true _Bool support.
* src/SDCCpeeph.c,
doc/random-notes.txt:
Generic cleanup.
2010-01-24 Borut Razem <borut.razem AT siol.net>
* sdas/as8051/i51adr.c, sdas/as8051/i51pst.c, sdas/asz80/z80pst.c,
sdas/asz80/z80adr.c, sdas/linksrc/lkdata.c, sdas/linksrc/lkmain.c,
sdas/linksrc/aslink.h, sdas/as6808/m08adr.c, sdas/as6808/m08pst.c,
sdas/asxxsrc/asmain.c, sdas/asxxsrc/asxxxx.h, sdas/asxxsrc/aslex.c,
sdas/asxxsrc/asdata.c, sdas/asgb/gbadr.c, sdas/asgb/gbpst.c:
optimized .optsdcc handling
2010-01-23 Borut Razem <borut.razem AT siol.net>
* src/SDCCicode.c, src/SDCCast.c, src/SDCCast.h:
fixed bug #1767885: Parameters lost from scope of intermediate inline function
applied patches from Pavel Pisa; tahks Pavel
* support/regression/tests/inline.c:
merged inline regression tests bug1717305.c, bug1864577.c and bug 1767885
2010-01-18 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c, sdas/linksrc/lkmain.c, sdas/linksrc/aslink.h:
fixed bug #2933892 - Weird default ouput location for linker - regression
The sdld command line syntax is now compatible with asxxxx v5.0
2010-01-18 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCast.c:
Taking the address of _Bool works on the z80 and gbz80 ports.
2010-01-17 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCcse.c,
src/SDCCicode.c,
src/SDCCglue.c,
src/z80/gen.c,
src/z80/main.c,
src/z80/peep.c,
src/z80/peeph-z80.def,
device/include/stdbool.h,
device/lib/z80/crt0.s:
Support for bool on the Z80 (RFE #1751355).
* device/lib/z80/asm_strings.s,
device/lib/z80/mulchar.s,
device/lib/z80/stubs.s,
device/lib/z80/fstubs.s,
device/lib/z80/heap.s,
device/lib/gbz80/stubs.s,
device/lib/gbz80/fstubs.s,
device/lib/gbz80/asm_strings.s,
device/lib/gbz80/heap.s:
Z80 library cleanup.
* src/SDCCpeeph.c:
Enable jump-to-jump optimizations for jump table entries.
2010-01-16 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: sfr at to __sfr __at
2010-01-16 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* src/SDCCmain.c: added ReadcfgFile() - get options from
a sdcc.cfg file.
2010-01-15 Borut Razem <borut.razem AT siol.net>
* support/regression/ports/hc08/support.c,
support/regression/ports/pic14/support.c,
support/regression/ports/pic16/support.c,
support/regression/ports/xa51/support.c,
support/regression/tests/macro.c:
_asm and _endasm changed to __asm and __endasm
2010-01-15 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/gbz80/string.c:
Removed unused gbz80-specific string routines.
2010-01-14 Borut Razem <borut.razem AT siol.net>
* src/SDCCerr.c, src/SDCCerr.h, src/SDCC.lex, doc/sdccman.lyx,
device/include/mcs51/mcs51reg.h,
support/regression/tests/bug2817646.c,
support/regression/tests/driverstruct.c,
support/regression/tests/nullstring.c,
support/regression/tests/bug1546986.c,
support/regression/tests/bug-1981238.c,
support/regression/tests/array.c,
support/regression/tests/bug-1699804.c,
support/regression/tests/bug-221100.c,
support/regression/tests/bug1839277.c,
support/regression/tests/bug-460010.c,
support/regression/tests/bug1921073.c,
support/regression/tests/bug1839321.c,
support/regression/tests/float.c,
support/regression/tests/simplefloat.c,
support/regression/tests/bug2783061.c,
support/regression/tests/critical.c,
support/regression/tests/bug1551947.c,
support/regression/tests/bug663539.c,
support/regression/tests/absolute.c,
support/regression/tests/bug-221168.c,
support/regression/tests/bug-716242.c,
support/regression/tests/bug1348008.c,
support/regression/tests/bug1928022.c,
support/regression/tests/bug1938300.c,
support/regression/tests/bug-880197.c,
support/regression/tests/bug1536762.c,
support/regression/tests/bug1198642.c,
support/regression/tests/bug1749275.c,
support/regression/tests/bitopcse.c,
support/regression/tests/bug1535242.c,
support/regression/tests/bug-868103.c,
support/regression/tests/using.c,
support/regression/tests/bug1723128.c,
support/regression/tests/bug1750318.c,
support/regression/tests/bug1409955.c,
support/regression/tests/bug1856409.c,
support/regression/tests/regtrack.c,
support/regression/tests/setjmp.c,
support/regression/tests/bug1618050.c,
support/regression/tests/float_single.c,
support/regression/tests/malloc.c,
support/regression/tests/bug-524691.c,
support/regression/tests/bug1908493.c,
support/regression/tests/bug2761883.c,
support/regression/tests/sfr16.c,
support/regression/tests/zeropad.c,
support/regression/tests/staticinit.c,
support/regression/tests/bug2655200.c,
support/regression/tests/bug2435941.c,
support/regression/fwk/include/testfwk.h,
support/regression/fwk/lib/testfwk.c,
support/regression/ports/pic14/spec.mk,
support/regression/ports/ds390/spec.mk,
support/regression/ports/ds390/support.c,
support/regression/ports/hc08/spec.mk,
support/regression/ports/ucz80/spec.mk,
support/regression/ports/mcs51-common/spec.mk,
support/regression/ports/mcs51-common/T2_isr.c,
support/regression/ports/mcs51-common/support.c,
support/regression/generate-cases.py:
implemented RFE #2931693: deprecate warnings for sdcc specific keyword
* configure.in, configure:
implemented RFE #2932327: remove unsupported and broken targets xa51 and avr
* .version, doc/sdccman.lyx: bumped version to 2.9.7
2010-01-11 Borut Razem <borut.razem AT siol.net>
* configure.in, configure, Makefile.in, sdcc.dsw,
sdas/asranlib/asranlib.dsp, sdas/asranlib/Makefile.in:
sdas/aslink renamed to sdas/linksrc
2009-01-10 Raphael Neider <rneider AT web.de>
* src/pic/gen.c (genCmp): do not clobber CARRY when storing the
result of the comparison (fixes #2929477), cosmetic changes
2010-01-10 Borut Razem <borut.razem AT siol.net>
* configure.in, configure, Makefile.in, sdas/*/Makefile.in,
sdcc/sdcc.dsw, sdas/asranlib/asranlib.dsp, config.dsp:
as renamed to sdas, as/link renamed to sdas/aslink,
as/z80 renamed to sdac/asz80, as/mcs51 renamed to sdas/as8051,
as/hc80 renamed to sdcc/sdas/as6808
* debugger/mcs51/cmd.c, sim/ucsim/utils.cc, sdcc/sdas/aslink/lklibr.c,
support/cpp/libcpp/macro.c: fixed compiler warnings
2010-01-09 Borut Razem <borut.razem AT siol.net>
* as/*/conf.mk: removed
as/conf.mk: added
as/*/Makefile.in: use common as/conf.mk
as/*/clean.in: unified
* src/SDCCmain.c, src/z80/main.c,
device/lib/z80/Makefile.in, device/lib/gbz80/Makefile.in,
as/asxxsrc/asmain.c, as/link/aslink.h,
support/regression/Makefile.in,
support/regression/ports/ucz80/spec.mk:
object file extension for z80 and gb targets changed from .o to .rel
* .version, doc/sdccman.lyx: bumped version to 2.9.6
2010-01-04 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx, support/cpp/libcpp/internal.h,
support/cpp/libcpp/lex.c, support/cpp/sdcpp.c:
fixed bug #2919991: #Pragma preproc_asm cannot be used by -- std-c99.
* support/cpp/libcpp/macro.c, support/cpp/version.c:
SDCPP synchronized with GCC CPP release version 4.4.2
* as/link/lklist.c: fixed NULL pointer dereference
* as/link/lkmain.c: do not complaint when opening optional adb files
2009-12-31 Borut Razem <borut.razem AT siol.net>
* as/link/lkarea.c, as/link/lkdata.c, as/link/lklist.c,
as/link/lks19.c, as/link/lkmain.c, as/link/lkeval.c,
as/link/lklibr.c, as/link/lkaomf51.c, as/link/lkhead.c,
as/link/lklex.c, as/link/lkrloc.c, as/link/aslink.h:
sync with aslink 2.0
* as/link/lks19.c: include "sdld.c"
* as/link/aslink.dsp: cleaning
* as/link/aslink.h: changed the type Character Type Definitions to char
2009-12-25 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: fixed bug 2912013
2009-12-25 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* as/link/aslink.dsp, as/link/sdld_all.dsp: fixed destination path of
sdld.exe, sdldz80.exe, sdldgb.exe, and sdld6808.exe
2009-12-21 Borut Razem <borut.razem AT siol.net>
* Makefile.in: fixed hc08
* Makefile.in, as/link/Makefile.in: fixed installation
2009-12-20 Borut Razem <borut.razem AT siol.net>
* as/link/lkmain.c, as/link/lksdcclib.c,
as/link/lklib.c, as/link/lklex.c, as/link/aslink.h:
fixed "o" file extension for z80 and gb targets
2009-12-19 Borut Razem <borut.razem AT siol.net>
* configure, Makefile.in, configure.in, as/link/Makefile.in,
all.dsp, as/link/aslink.dsp, as/link/sdld_all.dsp,
as/link/lkmain.c, as/link/lkgb.c, as/link/lkihx.c,
as/link/sdld.c, as/link/sdld.h, as/link/lkmem.c,
as/link/clean.mk, as/link/lkrloc.c: modified
as/link/lkarea.c, as/link/readme.390, conf.mk, aslink.dsp:
moved from as/link/mcs51,
as/link/z80, as/link/mcs51, as/link/hc08: removed,
unification of lkarea.c, one polymorphic sdld
* as/asxxsrc/sdas.h, as/asxxsrc/sdas.c:
renamed TRAGET_IS_XXXX to TARGET_ID_XXXX
* .version, doc/sdccman.lyx: bumped version to 2.9.5
2009-12-18 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/lib/abs.c, device/lib/labs.c: assembler version
for mcs51, other targets slightly shorter too
* support/regression/tests/abs.c: added regression test
2009-12-17 Indy Sams < drift_solutions AT users.sourceforge.net >
* device/lib/_strpbrk.c: fixed bug #2908537 (svn commit by Frieder)
2009-12-17 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* support/regression/tests/strpbrk.c: added regression test
2009-12-16 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* device/include/mcs51/w7100.h: added.
2009-12-16 Borut Razem <borut.razem AT siol.net>
* as/link/lkihx.c,
as/link/z80/Makefile.in, as/link/z80/linkz80.dsp,
as/link/z80/linkgbz80.dsp,
as/link/mcs51/Makefile.in, as/link/mcs51/aslink.dsp,
as/link/hc08/Makefile.in, as/link/hc08/link_hc08.dsp,
as/link/z80/lkihx.c, as/link/hc08/lkihx.c
as/link/mcs51/lkihx.c: unification of lkihx.c
2009-12-14 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic16devices.txt:
mask _XINST for 18f97j60 family, fix configword locations
* device/include/pic16/pic18f24j50.h,
device/include/pic16/pic18f25j50.h,
device/include/pic16/pic18f44j50.h,
device/include/pic16/pic18f45j50.h,
device/include/pic16/pic18f46j50.h,
device/include/pic16/pic18f66j60.h,
device/include/pic16/pic18f66j65.h,
device/include/pic16/pic18f67j60.h,
device/include/pic16/pic18f86j60.h,
device/include/pic16/pic18f86j65.h,
device/include/pic16/pic18f87j60.h,
device/include/pic16/pic18f96j60.h,
device/include/pic16/pic18f96j65.h,
device/include/pic16/pic18f97j60.h:
add symbolic addresses to configuration bits
* device/include/pic16/pic18fregs.h: add __CONFIG() macro
2009-12-14 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c: fixed crashing if -o option is not defined,
bug #2913769: sdcc crashes on cygwin
* as/link/lkgb.c, as/link/z80/lkihx.c, as/link/lkrloc.c,
as/link/z80/Makefile.in, as/link/z80/linkz80.dsp,
as/link/z80/linkgbz80.dsp,
as/link/mcs51/Makefile.in, as/link/mcs51/aslink.dsp,
as/link/hc08/Makefile.in, as/link/hc08/link_hc08.dsp,
as/link/z80/lkrloc.c, as/link/hc08/lkrloc.c
as/link/mcs51/lkrloc.c:
unification of lkrloc.c
2009-12-13 Borut Razem <borut.razem AT siol.net>
* as/link/aslink.h. as/link/lksym.c, as/link/lkstore.c:
StrStore() replaced with strsto(), removed as/link/lkstore.c
* as/link/lkgb.c, as/link/lkgg.c, as/link/z80/lkgb.c,
as/link/z80/lkgg.c, as/link/z80/Makefile.in,
as/link/z80/linkz80.dsp, as/link/z80/linkgbz80.dsp,
as/link/mcs51/Makefile.in, as/link/mcs51/aslink.dsp,
as/link/hc08/Makefile.in, as/link/hc08/link_hc08.dsp:
as/link/z80/lkgb.c and as/link/z80/lkgg.c moved to as/link
* as/link/lkelf.c: added casts to new()
* as/link/lkmem.c: fixed code asld6808 crash
* all.dsp, as/link/z80/linkz80.dsp, as/link/z80/linkgbz80.dsp:
fixed for new sdld names
* src/SDCCmain.c: fixed cygwin compilation
2009-12-12 Borut Razem <borut.razem AT siol.net>
* as/link/z80/lkmain.c: removed
* as/link/z80/linkgbz80.dsp, as/link/z80/linkz80.dsp,
as/link/z80/Makefile.in: use as/link/lkmain.c
* as/link/lkmain.c: fixed command line option handling
* src/port.h, src/SDCCmain.c, src/z80/main.c:
fixed crt object file handling with asld, ...
* as/link/lkdata.c, as/link/mcs51/lkarea.c,
as/link/aslink.h, as/link/hc08/Makefile.in,
as/link/mcs51/Makefile.in, as/link/z80/Makefile.in,
as/link/z80/linkz80.dsp, as/link/z80/linkgbz80.dsp,
as/link/mcs51/aslink.dsp, as/link/hc08/link_hc08.dsp:
modified
as/link/z80/lks19.c, as/link/z80/lkmem.c,
as/link/mcs51/lks19.c, as/link/mcs51/lkmem.c,
as/link/hc08/lks19.c, as/link/hc08/lkmem.c,
as/link/hc08/lkelf.c: moved to as/link
unification of lkelf.c, lks19.c and lkmem.c
2009-12-10 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* all.dsp, as/link/hc08/link_hc08.dsp, as/link/mcs51/aslink.dsp:
renamed linker executables.
2009-12-04 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: renamed liker executables
* as/link/mcs51/Makefile.in, as/link/hc08/Makefile.in:
fixed installation linker executable name
2009-12-03 Borut Razem <borut.razem AT siol.net>
* device/lib/z80/Makefile.in, device/lib/gbz80/Makefile.in,
device/lib/ds390/Makefile.in, device/lib/Makefile.in,
device/lib/ds400/Makefile.in, device/lib/mcs51/Makefile.in,
device/lib/hc08/Makefile.in:
fixed bug #2907642: version of make > 3.80 required to build SDCC
* as/asxxsrc/asxxxx.h: fixed typo
2009-12-02 Borut Razem <borut.razem AT siol.net>
* as/link/hc08/link_hc08.dsp, as/link/mcs51/aslink.dsp,
as/link/z80/linkgbz80.dsp, as/link/z80/linkz80.dsp,
as/link/lkmain.c: re-enabled msvc build
2009-12-01 Borut Razem <borut.razem AT siol.net>
* as/link/aslink.h, as/link/lkmain.c, as/link/z80/Makefile.in,
as/link/z80/lkmain.c:
temporarily re-added special lkmain.c for z80 and gb targets
2009-11-29 Borut Razem <borut.razem AT siol.net>
* src/mcs51/main.c, src/z80/main.c, src/hc08/main.c, src/ds390/main.c,
as/asxxsrc/sdas.c, as/link/Makefile.in, as/link/lkmain.c,
as/link/z80/Makefile.in, as/link/mcs51/Makefile.in,
as/link/hc08/Makefile.in, as/link/aslink.h, as/link/sdlink.[ch],
as/link/sdld.[ch], as/asxxsrc/sdas.c, as/link/lkdata.c,
as/link/lkmain.c:
fixed bug in target detection, sdlink renamed to sdld
2009-11-28 Borut Razem <borut.razem AT siol.net>
* as/asxxsrc/asdata.c, as/asxxsrc/asmain.c, as/asxxsrc/asxxxx.h:
mark sdas specifics
* as/asxxsrc/sdas.c, as/asxxsrc/sdas.h, as/link/aslink.h,
as/link/hc08/lkarea.c, as/link/hc08/lkmain.c, as/link/hc08/lkmem.c,
as/link/hc08/Makefile.aslink, as/link/hc08/Makefile.in,
as/link/lkmain.c, as/link/Makefile.in, as/link/mcs51/lkmain.c,
as/link/mcs51/Makefile.aslink, as/link/mcs51/Makefile.in,
as/link/z80/linkgbz80.dsp, as/link/z80/linkz80.dsp,
as/link/z80/lkarea.c, as/link/z80/lkgb.c, as/link/z80/lkmain.c,
as/link/z80/lkmem.c, as/link/z80/Makefile.in, src/ds390/main.c,
src/hc08/main.c, src/mcs51/main.c, src/z80/main.c,
as/link/sdlink.[ch]:
lkmain.c unification; linkers renamed to sdlinkXXXX
2009-11-27 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/config.guess, sim/ucsim/ltmain.sh, sim/ucsim/config.sub:
upgraded to libtool 2.2.5,
fixed dug #2897829: ancient-libtool sim/ucsim/ltmain.sh 1.4.2
2009-11-06 Raphael Neider <rneider AT web.de>
* src/pic/gen.c (pic14_getDataSize): use true size of generic
pointers to fix assignment of the result of pointer arithmetics
2009-11-05 Raphael Neider <rneider AT web.de>
* src/pic/gen.c (genUnpackBits): setup FSR before using it, fixes
"[Sdcc-user] The damned loop from hell"; plus cosmetic changes
2009-11-04 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCmem.c(defaultOClass, allocDefault): refactored
* src/SDCCmem.h: added defaultOClass
* src/SDCCsymt.c(processFuncArgs): use defaultOClass to support storage
class in parameters, fixes bug 2761883
* support/regression/tests/bug2761883.c: new, added
* doc/sdccman.lyx: removed warning about ignored storage class in params
2009-11-02 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c(constExprTree): struct fields have a constant offset
2009-11-01 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCglue.c(initValPointer): fixed bug 1503239
* support/regression/tests/bug1928022.c: added test cases
2009-11-01 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c,
* src/mcs51/peeph.def,
* src/avr/peeph.def,
* src/z80/peeph-z80.def,
* src/ds390/peeph.def,
* support/regression/tests/bug-2890326.c:
Fixed bug #2890326.
2009-11-01 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCsymt.c(addSymChain, checkDecl): fixed bug 1470790
* support/regression/tests/zeropad.c: added test
2009-11-01 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c(decorateType,CAST): fold literal pointers
* src/SDCCdflow.c(usedInRemaining),
* src/SDCCicode.c(geniCodeCall): fix for non-symbol values
* src/SDCCsymt.c(isConstant): reverted, make literals const instead
* src/SDCCval.c(constFloatVal, constFixed16x16Val, constVal, constCharVal,
strVal): make literals const
(valForArray),
(valForStructElem): fixed bug 1928022 with folded literal pointers
* src/ds390/gen.c(genCall),
* src/hc08/gen.c(genCall),
* src/mcs51/gen.c(genCall),
* src/z80/gen.c(emitCall): handle literal function pointers
* support/regression/tests/bug1928022.c: new, added
2009-10-30 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* device/include/mcs51/P89LPC922.h, device/include/mcs51/P89LPC932.h,
device/include/mcs51/p89lpc938.h: fixed bug 2889428, double definition
for CMP1 and CMP2.
* device/include/mcs51/p89lpc925.h: for consistency with the other lpc
files, renamed CMP1b and CMP2b to CMP_1 and CMP_2.
2009-10-28 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c(newIfxNode): fixed bug 2887512
(decorateType, '='): use different error for function pointers
* src/SDCCglue.c(printIvalFuncPtr): fixed bug 2806238, don't throw away
function pointer value just like that
(printIval): use different error for function pointers
* src/SDCCsymt.c(compareFuncType, compareType): new function to compare
function pointer types
(isConstant): treat literals as constant too to warn before bug 2887512
2009-10-26 Borut Razem <borut.razem AT siol.net>
* doc/cdbfileformat.lyx, doc/sdccman.lyx, doc/test_suite_spec.lyx:
converted to LyX 1.6.4 (\lyxformat 345) format
2009-10-25 Maarten Brock <sourceforge.brock AT dse.nl>
* as/link/mcs51/lkarea.c(lnkarea2): fixed bug 2839083
2009-10-24 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c(decorateType): also set OCLS for PTR_OP, fixed bug 2823963
* src/SDCCast.h: cosmetic changes
* src/SDCCicode.c,
* src/SDCCicode.h: moved setOClass prototype
* support/regression/tests/bug2823963.c: new, added
2009-10-22 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* device/include/mcs51/p89lpc9321.h, device/include/mcs51/p89lpc9331.h,
device/include/mcs51/p89lpc9351.h: added
2009-10-21 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c(createIvalPtr),
* src/SDCCglue.c(printIvalFuncPtr): fixed bug 2881971
* support/regression/tests/zeropad.c: added test
2009-10-18 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: assemblers renamed to sdasxxxx
2009-10-17 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* src/mcs51/gen.c: Fixed bug 2880909
* all.dsp, device/lib/make51lib.bat: renamed assemblers to sdasxxxx
2009-10-17 Borut Razem <borut.razem AT siol.net>
* as/asgb/asgb.dsp, as/asgb/Makefile.in, as/asxxsrc/asexpr.c,
as/asxxsrc/asmain.c, as/asxxsrc/asout.c, as/asxxsrc/sdas.c,
as/asxxsrc/sdas.h, as/hc08/as_hc08.dsp, as/hc08/Makefile.in,
as/mcs51/asx8051.dsp, as/mcs51/Makefile.in, as/z80/as_z80.dsp,
as/z80/Makefile.in, device/lib/gbz80/Makefile.in,
device/lib/hc08/Makefile.in, device/lib/mcs51/Makefile.in,
device/lib/z80/Makefile.in, src/ds390/main.c, src/hc08/main.c,
src/mcs51/main.c, src/z80/main.c,
support/regression/ports/gbz80/spec.mk,
support/regression/ports/hc08/spec.mk,
support/regression/ports/ucz80/spec.mk,
support/regression/ports/z80/spec.mk:
assemblers renamed to sdasxxxx:
as-gbz80 -> sdasgb,
as-hc08 -> sdas6808
asx8051 -> sdas8051
as-z80 -> sdasz80
* .version, doc/sdccman.lyx: bumped version to 2.9.4
2009-10-12 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_fsadd.c: optimized (for mcs51-xstack) and enhanced precision
to fix some float_single regression tests
* device/lib/_fssub.c: optimized
* device/lib/asinf.c,
* device/lib/acosf.c,
* device/lib/asincosf.c: optimized
* device/lib/mcs51/crtxpop.asm,
* device/lib/mcs51/crtxpopbits.asm,
* device/lib/mcs51/crtxpush.asm,
* device/lib/mcs51/crtxpushr0.asm: new (slow) helper functions for xstack
* device/lib/mcs51/Makefile.in: added crtxpush... and crtxpop...
* src/mcs51/gen.c(aopForSym): optimized stack access
(xstackRegisters): new, calculates bitmask
(saveRegisters, unsaveRegisters): use (slow) crtxpush/pop to save memory
(genFunction): optimized stack access
* src/mcs51/peep.c(removeDeadMove): removed unused parm
* support/regression/tests/float_single.c: enabled now passing tests
2009-10-12 Borut Razem <borut.razem AT siol.net>
* as/link/aslink.h, as/link/hc08/lkarea.c, as/link/hc08/lkmain.c,
as/link/lkdata.c, as/link/lksym.c, as/link/mcs51/lkarea.c,
as/link/mcs51/lkmain.c, as/link/z80/lkarea.c, as/link/z80/lkmain.c:
itroduced zflag for case senditivity; zflag is forced to 1
2009-10-10 Borut Razem <borut.razem AT siol.net>
* as/asgb/Makefile.in, as/z80/Makefile.in: added -lm to LDFLAGS
2009-10-10 Borut Razem <borut.razem AT siol.net>
* as/hc08/m08adr.c, as/hc08/m08mch.c, as/hc08/m6808.h,
as/mcs51/i51adr.c, as/mcs51/i51mch.c, as/mcs51/i51pst.c,
as/mcs51/i8051.h, as/z80/z80.h, as/z80/z80adr.c, as/z80/z80mch.c:
targets synced with asxxxx v2.0 and later
* as/asgb/asgb.dsp, as/asgb/clean.mk, as/asgb/conf.mk, as/asgb/gb.h,
as/asgb/gbadr.c, as/asgb/gbext.c, as/asgb/gbmch.c, as/asgb/gbpst.c,
as/asgb/Makefile.in,
as/Makefile.in, as/z80/as_gbz80.dsp,
as/mcs51/i51ext.c, as/z80/Makefile.in, as/z80/z80.h, as/z80/z80adr.c,
as/z80/z80ext.c, as/z80/z80mch.c, as/z80/z80pst.c,
configure, configure.in, Makefile.in, sdcc.dsw:
split asz80 and asgb
* as/asgb/gb.h, as/asgb/gbmch.c, as/asxxsrc/asdata.c,
as/asxxsrc/asexpr.c, as/asxxsrc/aslex.c, as/asxxsrc/asmain.c,
as/asxxsrc/asxxxx.h, as/hc08/m08adr.c, as/hc08/m08mch.c,
as/hc08/m6808.h, as/link/aslink.h, as/link/hc08/lkarea.c,
as/link/hc08/lkelf.c, as/link/hc08/lkihx.c, as/link/hc08/lkmain.c,
as/link/hc08/lkrloc.c, as/link/hc08/lks19.c, as/link/lkdata.c,
as/link/lkeval.c, as/link/lkhead.c. as/link/lklist.c,
as/link/lknoice.c, as/link/lksym.c, as/link/mcs51/lkarea.c,
as/link/mcs51/lkihx.c, as/link/mcs51/lkmain.c,
as/link/mcs51/lkrloc.c, as/link/mcs51/lks19.c, as/link/z80/lkarea.c,
as/link/z80/lkihx.c, as/link/z80/lkmain.c, as/link/z80/lkrloc.c,
as/link/z80/lks19.c, as/mcs51/i51mch.c, as/mcs51/i8051.h,
as/z80/z80.h, as/z80/z80mch.c: type Addr_T renamed to a_uint,
function comma() moved to aslex.c
2009-10-09 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCC.y,
* src/SDCCsymt.c(mergeDeclSpec): fixed bug 1376285
2009-10-08 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCerr.c,
* src/SDCCerr.h: changed W_STRUCT_AS_ARG to error E_STRUCT_AS_ARG
* src/SDCCsymt.c(aggregateToPointer),
* src/SDCCast.c(processParms): throw error for struct parameters,
fixes bug 2874687
2009-10-07 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCglue.c(initValPointer, initPointer): fixed bug 2166213
2009-10-05 Borut Razem <borut.razem AT siol.net>
* as/asxxsrc/asmain.c:
removed forced wide listing format for symbol table and
removed forced enable case sensitivity for symbols in case of sdas
2009-10-05 Maarten Brock <sourceforge.brock AT dse.nl>
* as/asxxsrc/assubr.c: include sdas.h
* as/asxxsrc/assym.c(symeq): type of n is size_t
* src/SDCCglue.c(initPointer): fixed bug 2655200 by using oclass->ptrType
* support/regression/tests/bug2655200.c: enabled --model-medium
2009-10-04 Borut Razem <borut.razem AT siol.net>
* as/asxxsrc/asdata.c, as/asxxsrc/aslex.c, as/asxxsrc/assubr.c,
as/asxxsrc/assym.c, as/asxxsrc/asxxxx.h:
partially synced with asxxxx v2.0
* src/ds390/main.c, src/hc08/main.c, src/mcs51/main.c, src/z80/main.c:
added -z and -w option to assembler invocation
2009-10-04 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/string.h,
* device/lib/_strlen.c: return size_t
* device/lib/_memchr.c,
* device/lib/_strcspn.c: cosmetic changes
* device/lib/sincosf.c,
* device/lib/cosf.c,
* device/lib/sinf.c: use BOOL instead of larger int
* src/z80/gen.c,
* src/z80/mappings.i: cosmetic changes
* src/SDCCsymt.c (pointerTypes, mergeDeclSpec, checkSClass): fixed bug 2817646
(checkFunction): disabled __naked
(dbuf_printTypeChain): more like RFE 2824498, print C-ish
(isRestrict): added
* src/SDCCsymt.h: added IS_RESTRICT, mergeDeclSpec, isRestrict
* src/SDCC.y: use mergeDeclSpec to fix bug 2817646
* src/SDCCicode.c (checkPtrQualifiers, checkTypes, geniCodeAssign,
geniCodeParms, geniCodeCall): fixed bug 1302048
* src/SDCCerr.c,
* src/SDCCerr.h: added warning W_TARGET_LOST_QUALIFIER
* support/regression/tests/bug-136564.c,
* support/regression/tests/bug-223113.c,
* support/regression/tests/bug1839277.c,
* support/regression/tests/bug2655200.c: added necessary const keywords
* support/regression/tests/strtok.c: removed incorrect const keyword
* support/regression/tests/bug2817646.c: new, added
* .version,
* doc/sdccman.lyx: bumped version to 2.9.3
2009-10-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/z80-peeph.def:
Reenabled unproblematic peephole changes.
2009-10-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/z80-peeph.def:
Reverted recent peephole changes.
2009-09-30 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCcse.c:
A step towards #1923898.
2009-09-29 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
Minor 16-bit addition improvement.
2009-09-28 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.c,
* src/z80/peeph-z80.def:
Improved usage of accumulator as inter-i-code temporary.
2009-09-28 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCOpt.c:
Burn the corpses to fight necromancy.
2009-09-27 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
* src/z80/ralloc.c,
* src/z80/peeph-z80.def
Improved usage of accumulator as inter-i-code temporary.
2009-09-26 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Minor peephole improvement.
2009-09-26 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c,
src/z80/peeph-z80.def:
Fixed #2867572.
2009-09-20 Philipp Klaus Krause <pkk AT spth.de>
* device/include/string.h,
device/lib/_strspn.c,
device/lib/incl.mk,
device/lib/_memchr.c,
device/lib/_strcspn.c,
device/lib/_memcmp.c:
Minor string library improvements, including #772292.
2009-09-20 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCmain.c:
Fixed #2819835 applying #2853488.
2009-09-20 Philipp Klaus Krause <pkk AT spth.de>
* debugger/mcs51/sdcdb.c,
src/SDCCerr.c,
src/z80/gen.c,
src/z80/mappings.i,
src/pic16/gen.c,
src/pic16/pcode.c,
support/librarian/sdcclib.c:
Applied spelling patch #2862563.
2009-09-15 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/at89Sx051.h: new, added, applied patch 2858106,
thanks Ben Boeckel
2009-09-08 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* device/include/mcs51/p89v51rd2.h: Watchdog Timer Control sfr is
bit addressable.
2009-08-31 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genAnd, genOr): applied patch for bug 2719592,
thanks to Robert Larice
* support/regression/tests/bug2719592.c: new, added
2009-09-02 Borut Razem <borut.razem AT siol.net>
* support/regression/ports/gbz80/spec.mk,
support/regression/ports/ucz80/spec.mk,
support/regression/ports/z80/spec.mk: fixed *z80 regression test if
built ran directly from sdcc source directory
2009-08-31 Maarten Brock <sourceforge.brock AT dse.nl>
* as/asxxsrc/asmain.c,
* as/asxxsrc/asxxxx.h: fixed warning, main should return int
* as/hc08/Makefile.in,
* as/mcs51/Makefile.in: added -lm to LDFLAGS
2009-08-31 Raphael Neider <rneider AT web.de>
* device/lib/_fsmul.c, device/lib/pic/libsdcc/fsmul.c,
device/lib/pic16/libsdcc/float/fsmul.c: fix overflow during rounding
* support/regression/tests/float.c: add testcase for the fix
2009-08-29 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (aopGet): applied patch 2837100 to fix bug 2805333
* support/regression/tests/bug2805333.c: new, added,
thanks Ruud van Silfhout
2009-08-29 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/ctype.h: removed _REENTRANT as they are already with
--stack-auto, optimized _tolower and _toupper with char casts
* device/include/string.h,
* device/lib/_strcat.c,
* device/lib/_strchr.c,
* device/lib/_strcmp.c,
* device/lib/_strcpy.c,
* device/lib/_strcspn.c,
* device/lib/_strlen.c,
* device/lib/_strncat.c,
* device/lib/_strncmp.c,
* device/lib/_strncpy.c,
* device/lib/_strpbrk.c,
* device/lib/_strrchr.c,
* device/lib/_strspn.c,
* device/lib/_strstr.c,
* device/lib/_strtok.c,
* device/lib/pic16/libc/stdio/printf_small.c,
* device/lib/pic16/libc/stdio/printf_tiny.c,
* device/lib/pic16/libc/stdio/vfprintf.c,
* device/lib/printf_large.c,
* device/lib/time.c: added required const keywords to pointers
* device/lib/pic16/debug/Makefile.in: changed ommitFramePtr to omitFramePtr
* support/regression/tests/bug-716242.c,
* support/regression/tests/nullstring.c,
* support/regression/tests/strstr.c,
* support/regression/tests/strtok.c: added const and set svn-properties
* support/regression/tests/bug1908493.c: added cast
* support/regression/tests/float_single.c: fixed check for result=0.0
2009-08-28 Borut Razem <borut.razem AT siol.net>
* as/asxxsrc/asout.c: as/mcs51/asout.c moved to as/asxxsrc/asout.c
* as/mcs51/asout.c, as/hc08/asout.c, as/z80/asout.c: removed
* as/asxxsrc/sdas.c, as/asxxsrc/sdas.h:
added function is_sdas_target_mcs51_like()
* as/z80/as_gbz80.dsp, as/hc08/as_hc08.dsp, as/z80/as_z80.dsp,
as/mcs51/asx8051.dsp, as/hc08/Makefile.in, as/mcs51/Makefile.in,
as/z80/Makefile.in: updated project files
* as/asxxsrc/asexpr.c: as/mcs51/asexpr.c moved to as/asxxsrc/asexpr.c
* as/mcs51/asexpr.c, as/hc08/asexpr.c, as/z80/asexpr.c: removed
* as/z80/as_gbz80.dsp, as/hc08/as_hc08.dsp, as/z80/as_z80.dsp,
as/mcs51/asx8051.dsp, as/hc08/Makefile.in, as/mcs51/Makefile.in,
as/z80/Makefile.in: updated project files
* support/regression/ports/z80/spec.mk:
unified as-z80 and as-gbz80 call convention with other assemblers
2009-08-27 Borut Razem <borut.razem AT siol.net>
* as/asxxsrc/asmain.c:
HUGE changed to ASXXXX_HUGE due to redefinition in math.h
* support/regression/ports/gbz80/spec.mk,
support/regression/ports/ucz80/spec.mk,
support/regression/ports/z80/spec.mk:
unified as-z80 and as-gbz80 call convention with other assemblers
2009-08-26 Borut Razem <borut.razem AT siol.net>
* as/asxxsrc/sdas.c, as/asxxsrc/sdas.h: added
* as/asxxsrc/asmain.c: calls sdas
* src/z80/main.c: unified as-z80 and as-gbz80 call convention with
other assemblers
* as/hc08/Makefile.in, as/mcs51/Makefile.in, as/z80/Makefile.in,
as/hc08/as_hc08.dsp, as/mcs51/asx8051.dsp, as/z80/as_gbz80.dsp,
as/z80/as_z80.dsp: updated project files
* device/lib/z80/Makefile.in, device/lib/gbz80/Makefile.in:
unified call convention, sync with device/lib/z80/Makefile.in
* as/asxxsrc/aslist.c: as/mcs51/aslist.c moved to as/asxxsrc/aslist.c
* as/asxxsrc/asxxxx.h, as/z80/asout.c, as/mcs51/asout.c,
as/hc08/asout.c:
HUGE changed to ASXXXX_HUGE due to redefinition in math.h
* as/asxxsrc/asmain.c: forced wflag and zflag
* as/z80/aslist.c, as/mcs51/aslist.c, as/hc08/aslist.c: removed
2009-08-25 Borut Razem <borut.razem AT siol.net>
* as/hc08/Makefile.in, as/mcs51/Makefile.in, as/z80/Makefile.in:
removed duplicated asdata.c
* as/hc08/aslist.c, as/hc08/asmain.c, as/hc08/asout.c,
as/mcs51/aslist.c, as/mcs51/asmain.c, as/mcs51/asout.c:
fixed copy&paste problem in S_ORG
* as/asxxsrc/asmain.c, as/hc08/Makefile.in, as/mcs51/Makefile.in,
as/z80/Makefile.in,
* as/mcs51/asx8051.dsp, as/z80/as_z80.dsp, as/hc08/as_hc08.dsp,
as/z80/as_gbz80.dsp: as/mcs51/asmain.c moved to s/asxxsrc/asmain.c
* as/hc08/asmain.c, as/z80/asmain.c: removed
* as/asxxsrc/asmain.c, as/asxxsrc/asdata.c, as/asxxsrc/asxxxx.h:
added wflag and zflag
* as/hc08/aslist.c, as/hc08/asout.c, as/mcs51/aslist.c,
as/mcs51/asout.c: fixed compiler wrning about unused variables
2009-08-24 Borut Razem <borut.razem AT siol.net>
* as/asxxsrc/asdata.c, as/asxxsrc/asxxxx.h, as/asxxsrc/aslex.c,
as/asxxsrc/asnoice.c, as/asxxsrc/assubr.c, as/asxxsrc/assym.c,
as/hc08/asexpr.c, as/hc08/aslist.c, as/hc08/asmain.c,
as/hc08/asout.c, as/hc08/m08adr.c, as/hc08/m08ext.c,
as/hc08/m08mch.c, as/hc08/m08pst.c, as/mcs51/asexpr.c,
as/mcs51/aslist.c, as/mcs51/asmain.c, as/mcs51/asout.c,
as/mcs51/i51adr.c, as/mcs51/i51ext.c, as/mcs51/i51mch.c,
as/mcs51/i51pst.c, as/z80/asexpr.c, as/z80/aslist.c,
as/z80/asmain.c, as/z80/asout.c, as/z80/z80adr.c,
as/z80/z80ext.c, as/z80/z80mch.c, as/z80/z80pst.c,
as/hc08/as_hc08.dsp, as/mcs51/asx8051.dsp, as/z80/as_gbz80.dsp,
as/z80/as_z80.dsp,
as/hc08/Makefile.in, as/mcs51/Makefile.in, as/z80/Makefile.in:
as/mcs51/asdata.c moved to as/asxxsrc/asdata.c,
as/mcs51/asm.h moved to as/asxxsrc/asxxxx.h
* as/hc08/asdata.c, as/mcs51/asdata.c, as/z80/asdata.c,
as/hc08/asm.h, as/mcs51/asm.h, as/z80/asm.h: removed
2009-08-10 Borut Razem <borut.razem AT siol.net>
* as/asxxsrc/assubr.c, as/hc08/asm.h, as/hc08/asmain.c,
as/mcs51/asm.h, as/mcs51/asmain.c, as/z80/asm.h:
increnemt aserr only on fatal errors
2009-08-09 Borut Razem <borut.razem AT siol.net>
* as/asxxsrc/assubr.c: moved and mergerd from as/mcs51/assubr.c
as/hc08/assubr.c, as/mcs51/assubr.c, as/z80/assubr.c: deleted
as/hc08/asmain.c, as/mcs51/asmain.c: removed variable fatalError
* as/z80/as_gbz80.dsp, as/hc08/as_hc08.dsp,
as/z80/as_z80.dsp, as/mcs51/asx8051.dsp: assubr.c moved to as/asxxsrc
* as/hc08/Makefile.as_hc08, as/mcs51/Makefile.asx8051,
as/hc08/Makefile.bcc, as/link/hc08/Makefile.bcc,
as/link/mcs51/Makefile.bcc, as/mcs51/Makefile.bcc,
as/z80/Makefile.bcc, device/examples/ds390/tinitalk/Makefile.bcc,
Makefile.bcc, src/avr/Makefile.bcc, src/ds390/Makefile.bcc,
src/hc08/Makefile.bcc, src/izt/Makefile.bcc, src/Makefile.bcc,
src/mcs51/Makefile.bcc, src/pic16/Makefile.bcc, src/pic/Makefile.bcc,
src/xa51/Makefile.bcc, src/z80/Makefile.bcc, Bcc.inc
support/cpp/Makefile.bcc, support/librarian/Makefile.bcc,
support/packihx/Makefile.bcc: removed unmaintained makefiles,
implemented RFE #2786753: Remove Borland C support
* support/Util/dbuf_string.h: include stdio.h
2009-08-08 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/pic16/libc/Makefile.in,
* device/lib/pic16/libdev/Makefile.in,
* device/lib/pic16/libio/Makefile.in,
* device/lib/pic16/libm/Makefile.in,
* device/lib/pic16/libsdcc/Makefile.in,
* device/lib/pic16/startup/Makefile.in,
* device/lib/pic16/Makefile.common,
* device/lib/pic16/Makefile.in,
* src/hc08/main.c (_hc08_setDefaultOptions),
* src/pic16/gen.c (genFunction, genEndFunction),
* src/pic16/NOTES,
* src/SDCCglobl.h,
* src/SDCCmain.c,
* src/z80/gen.c (genFunction),
* doc/sdccman.lyx: changed ommitFramePtr to omitFramePtr
* src/mcs51/main.c (_mcs51_finaliseOptions),
* src/SDCCmain.c (parseCmdLine): moved mcs51 specific code for float_rent
* src/SDCCast.h,
* src/SDCCast.c (decorateType): removed incorrect fix for bug 1372851 which
caused bug 1458678
(CodePtrPointsToConst),
* src/SDCCicode.c (isOperandVolatile),
* src/SDCCsymt.h (IS_CONSTANT, IS_VOLATILE),
* src/SDCCsymt.c (structElemType, checkSClass, isConstant, isVolatile)
* src/SDCCglue.c (emitRegularMap, initPointer),
* src/pic16/glue.c (pic16_initPointer): skip arrays when setting/checking
const/volatile, fixes bugs 1372851 and 1458678
* src/SDCCbitv.c (bitVectnBitsOn): made mask const
* src/SDCCicode.c (opFromOpWithDU),
* src/SDCCopt.c (replaceRegEqv): use OPDEFS and OP_USES
* src/SDCCptropt.c: cosmetic changes
* src/z80/gen.c (isRegString, isConstantString): renamed isConstant and
made them static
* support/regression/tests/bug1458678.c: new, added
2009-08-06 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpepph.c:
Fixed #1947081.
* src/z80/peeph-z80.def:
Fixed #1703943.
2009-08-05 Maarten Brock <sourceforge.brock AT dse.nl>
* as/link/lksym.c (newsym): only allow redefinition in ABS area
fixes bug 1057171
* src/hc08/main.c,
* src/mcs51/main.c,
* src/z80/main.c: made RSEG absolute
* src/SDCCglue.c (emitDebugSym): new, factored out
(emitRegularMap): add org 0x0000 to SFR/SBIT,
(emitRegularMap, emitStaticSeg) fixed bug for absolute debug symbols
* src/SDCCmem.h,
* src/SDCCsymt.h: cosmetic changes
* src/SDCCsymt.c (dbuf_printTypeChain): implemented RFE 2824498
2009-07-26 Borut Razem <borut.razem AT siol.net>
* support/regression/Makefile.in,
support/regression/ports/pic14/spec.mk,
support/regression/ports/z80/spec.mk,
support/regression/ports/pic16/spec.mk,
support/regression/ports/gbz80/spec.mk,
support/regression/ports/ds390/spec.mk,
support/regression/ports/hc08/spec.mk,
support/regression/ports/ucz80/spec.mk,
support/regression/ports/host/spec.mk,
support/regression/ports/mcs51-common/spec.mk,
support/regression/ports/xa51/spec.mk:
preparations for running WIN32 regression test on Linux / wine
2009-07-22 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: add SDCC bin directory to path if silent mode
2009-07-20 Maarten Brock <sourceforge.brock AT dse.nl>
* as/asranlib/asranlib.dsp: removed all windows library dependencies
* as/mcs51/asx8051.dsp: no debugging for Release build
* src/SDCCast.h,
* src/SDCCast.c (createRMW): IS_DEREF now also checks for PTR_OP
* src/SDCCicode.c (geniCodeStruct): added assert for really being a struct,
(ast2iCode): IS_DEREF now also checks for PTR_OP, fixes bug 2821333
* src/SDCCptropt.c: changed all TAB's to spaces
* support/regression/tests/float_single.c,
* device/lib/asincosf.c: removed unnecessary macros, const on global always
means 'put it in code memory', and 'reentrant' is predefined in testfwk.h
2009-07-20 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: various changes
* src/SDCCmain.c: fix typo in help text
2009-07-19 Borut Razem <borut.razem AT siol.net>
* src/SDCCast.c: removed check for "unanticipated opcode in tree",
introduced with patch #2802510
2009-07-18 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c: RFE #1204438 - make SDCC a multicall binary,
fixed for WIN32
* as/link/lkar.c: fixed bug 2817508 - double free or memory corruption
in aslink
* src/SDCCast.c, support/regression/tests/bug2740884.c:
applied patch #2802510 - fix for bug #2740884,
fixed bug #2740884 - Incorrect assignment in array of structs,
thanks to Robert Larice
* as/hc08/clean.mk, as/link/clean.mk, as/link/hc08/clean.mk,
as/link/mcs51/clean.mk, as/link/z80/clean.mk, as/mcs51/clean.mk,
as/z80/clean.mk, device/lib/clean.mk, device/lib/large/Makefile.in,
device/lib/Makefile.in, device/lib/mcs51/Makefile.in,
device/lib/medium/Makefile.in, device/lib/pic/Makefile.in,
device/lib/small/Makefile.in, support/cpp/Makefile.in:
applied patch #2801385 - make clean and distclean,
fixed bug #2799101 - make clean does not remove .obj in /as,
fixed bug #2783160 - "make distclean" fails to clean properly,
thanks to Robert Larice
* .version, doc/sdccman.lyx: changed sdcc version to 2.9.2
2009-07-15 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/SDCCmain.c: make SDCC a multicall binary, RFE #1204438,
allows choosing the port by renaming the sdcc binary
(to f.e. z80-sdcc) or by calling SDCC from a suitable link
(parameter -m takes precedence)
* src/SDCCglue.c: be more verbose about constants in code space
2009-07-07 Raphael Neider <rneider AT web.de>
* src/pic16/device.c (find_in_list): ignore case during device
selection, fixes #2816817
2009-06-24 Raphael Neider <rneider AT web.de>
* src/pic/ralloc.c (pic14_assignRegisters): avoid incorrect register
reuse among functions (fixes #2810015), cosmetic changes
2009-06-22 Raphael Neider <rneider AT web.de>
* device/include/pic16/adc.h,
device/include/pic16/pic16devices.txt,
device/include/pic16/pic18f1[34]k50.h,
device/include/pic16/pic18f[24][456]j50.h,
device/include/pic16/pic18f[68][56]27.h,
device/include/pic16/pic18f[68][67]22.h,
device/include/pic16/pic18fregs.h,
device/lib/pic16/libdev/Makefile.am,
device/lib/pic16/libdev/pic18f1[34]k50.c,
device/lib/pic16/libdev/pic18f[24][456]j50.c,
device/lib/pic16/libdev/pic18f[68][56]27.c,
device/lib/pic16/libdev/pic18f[68][67]22.c,
device/lib/pic16/libio/Makefile.am,
device/lib/pic16/libio/adc/adcbusy.c,
device/lib/pic16/libio/adc/adcopen.c,
device/lib/pic16/libio/adc/adcsetch.c,
device/lib/pic16/libio/i2c/i2copen.c,
device/lib/pic16/pics.all,
doc/sdccman.lyx: added families 18f1[34]k50 (#2783178),
18f[24][456]j50 (#2794505), and 18f[68][56]27/18f[68][67]22
* device/lib/pic16/aclocal.m4,
device/lib/pic16/configure,
device/lib/pic16/Makefile.in,
device/lib/pic16/debug/Makefile.in,
device/lib/pic16/libc/Makefile.in,
device/lib/pic16/libdev/Makefile.in,
device/lib/pic16/libio/Makefile.in,
device/lib/pic16/libm/Makefile.in,
device/lib/pic16/libsdcc/Makefile.in,
device/lib/pic16/startup/Makefile.in: regenerated
2009-06-13 Borut Razem <borut.razem AT siol.net>
* src/SDCCasm.c: fixed bug #2805536: Assembly code comment cause Internal Error
* support/regression/tests/macro.c: new, added
2009-06-01 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCC.y,
* src/SDCCsymt.c (finalizeSpec),
* src/SDCCsymt.h: applied patch for bug 2798646, thanks Robert Larice
* src/SDCCsymt.c (initCSupport): also handle --funsigned-char for floating
point support routines
* src/z80/ralloc.c (regTypeNum): fixed warning
* device/lib/_atof.c,
* support/regression/tests/args.c,
* support/regression/tests/arithcse.c,
* support/regression/tests/bitvars.c,
* support/regression/tests/compare.c,
* support/regression/tests/onebyte.c,
* support/regression/tests/shifts.c,
* support/regression/tests/uminus.c,
* support/regression/tests/vaargs.c: fixed for --funsigned-char
2009-05-30 Borut Razem <borut.razem AT siol.net>
* device/include/mcs51/80c51xa.h: moved to device/include/xa51
device/include/mcs51/ds400rom.h: moved to device/include/ds400
device/include/mcs51/serial390.h: moved to device/include/ds390
device/include/mcs51/ds80c390.h, device/include/mcs51/tinibios.h:
moved back to device/include, since they are used also by ds400
device/include/Makefile.in: new include directories ds390, ds400
and xa51
* device/include/stdlib.h: coorected types for _itoa and _ltoa
* device/lib/ds400/Makefile.in: added include serch path include/ds400
2009-05-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed an ancient, but difficult to reproduce and detect bug, that
led to stack corruption under certain conditions.
2009-05-25 Borut Razem <borut.razem AT siol.net>
* device/include/80c51xa.h, device/include/ds400rom.h,
device/include/ds80c390.h, device/include/ser.h,
device/include/ser_ir.h, device/include/serial.h,
device/include/serial390.h, device/include/tinibios.h:
moved to device/include/mcs51/
device/include/z180.h:
moved to device/include/z80/
implemented RFE #1930974: Some device specific header files are not
in their folders
2009-05-24 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.c,
src/z80/peeph-z80.def,
src/SDCCasm.c:
Propagate rematerializability over addition of constants.
2009-05-24 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.c:
Improved use of hl as inter-i-code temporary.
2009-05-24 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed bug #2795942.
2009-05-22 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (genGenericShift): do not overwrite the shift count
for `val = 1 << val', fixes bug #2795131
2009-05-18 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCglue.c (printIvalBitFields): cleaned up
* src/pic16/glue.c (pic16_printIvalBitFields): same fix for bug 2791782
2009-05-17 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_iscntrl.c,
* device/lib/_isdigit.c,
* device/lib/_isgraph.c,
* device/lib/_islower.c,
* device/lib/_isprint.c,
* device/lib/_ispunct.c,
* device/lib/_isspace.c,
* device/lib/_isupper.c,
* device/lib/_isxdigit.c,
* device/lib/_ltoa.c,
* device/lib/pic16/libc/ctype/iscntrl.c,
* device/lib/pic16/libc/ctype/isdigit.c,
* device/lib/pic16/libc/ctype/isgraph.c,
* device/lib/pic16/libc/ctype/islower.c,
* device/lib/pic16/libc/ctype/isprint.c,
* device/lib/pic16/libc/ctype/ispunct.c,
* device/lib/pic16/libc/ctype/isspace.c,
* device/lib/pic16/libc/ctype/isupper.c,
* device/lib/pic16/libc/ctype/isxdigit.c,
* device/lib/pic16/libc/stdlib/ltoa.c: fixed warnings after patch 2704189
* src/SDCCglue.c (printIvalBitFields): fixed bug 2791782, a bug with
bitfields in next integer and an endianness bug for hc08
* support/regression/tests/bitfields.c: added testcase for these bugs
2009-05-09 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.c,
src/z80/gen.c,
support/regression/test/bug-2646174.c:
Fixed bug #2646174.
2009-05-09 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Fixed bug #1924707.
2009-05-09 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: implemented RFE #2786753: Remove Borland C support
2009-05-09 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/uPSD32xx.h: added, thanks G.H.J. Morsink
* device/include/mcs51/C8051F920.h: added, from patch 2486338,
thanks Steven Borley
2009-05-07 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* support/librarian/sdcclib.c: fixed bugs in GetNameFromPath() and
ChangeExtension(). Thanks to Jon Nall for pointed the bug out and
patch #2788108.
2009-05-05 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/sdccman.lyx: documented pointer casting for vararg function params
2009-05-04 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* as/link/hc08/link_hc08.dsp, as/link/mcs51/aslink.dsp,
as/link/z80/linkgbz80.dsp, as/link/z80/linkz80.dsp: replaced getline.c
with lk_readnl.c.
2009-05-04 Borut Razem <borut.razem AT siol.net>
* support/cpp/sdcpp.c, support/cpp/version.c: fixed crash due to
missing initialization of line_table,
corrected sdcpp version to 4.4.0
2009-04-19 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/z80/div.s:
Applied patch #2764475 from Marco Bodrato to speed up Z80 division.
2009-05-03 Borut Razem <borut.razem AT siol.net>
* as/link/hc08/Makefile.in, as/link/mcs51/Makefile.in,
as/link/z80/Makefile.in, as/link/lk_readnl.c, as/link/lk_readnl.h,
as/link/lklib.c, as/link/lkrel.c, as/link/lksdcclib.c:
getline renamed to lk_readln to prevent conflicts with Fedora 11
glibc-2.9.90-19 getline;
see https://bugzilla.redhat.com/show_bug.cgi?id=488217
2009-05-01 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (processParms): fixed bug 2783061 by applying patch from
Keith Packard, thanks
* support/regression/tests/bug2783061.c: new, added
2009-04-28 Borut Razem <borut.razem AT siol.net>
* support/cpp/output.h, support/cpp/opts-common.c,
support/cpp/c-ppoutput.c, support/cpp/cppdefault.c,
support/cpp/system.h, support/cpp/cppdefault.h,
support/cpp/prefix.c, support/cpp/except.h, support/cpp/hwint.h,
support/cpp/prefix.h, support/cpp/libiberty/safe-ctype.h,
support/cpp/libiberty/filenames.h, support/cpp/libiberty/xstrdup.c,
support/cpp/libiberty/md5.c, support/cpp/libiberty/obstack.h,
support/cpp/sdcpp.c, support/cpp/intl.h, support/cpp/sdcpp.h
support/cpp/libcpp/symtab.c, support/cpp/libcpp/directives.c,
support/cpp/libcpp/macro.c, support/cpp/libcpp/include/cpplib.h,
support/cpp/libcpp/include/symtab.h,
support/cpp/libcpp/include/line-map.h,
support/cpp/libcpp/include/cpp-id-data.h,
support/cpp/libcpp/include/mkdeps.h, support/cpp/libcpp/files.c,
support/cpp/libcpp/line-map.c, support/cpp/libcpp/init.c,
support/cpp/libcpp/identifiers.c, support/cpp/libcpp/ucnid.h,
support/cpp/libcpp/traditional.c, support/cpp/libcpp/errors.c,
support/cpp/libcpp/expr.c, support/cpp/libcpp/internal.h,
support/cpp/libcpp/mkdeps.c, support/cpp/libcpp/lex.c,
support/cpp/libcpp/system.h, support/cpp/libcpp/charset.c,
support/cpp/opts.h, support/cpp/sdcpp-opts.c:
SDCPP synchronized with GCC CPP release version 4.4.0.
SDCPP license changed to GPL version 3 or later.
2009-04-28 Borut Razem <borut.razem AT siol.net>
* fixed GCC 4.4.0 mingw compilation:
sim/ucsim/cmd.src/cmdlex.cc: regenerated - added #include <stdio.h>
* src/SDCCsymt.c: fixed warning:
suggest parentheses around operand of '!' or change '&' to '&&' or
'!' to '~'
* support/scripts/sdcc_mingw32: sync with sdcc-build
2009-04-27 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (genNearPointerGet): fix double indirect
access to bitfields (#2782405)
2009-04-27 Borut Razem <borut.razem AT siol.net>
* fixed GCC 4.4.0 mingw compilation:
* sim/ucsim/cmd.src/cmdlex.l: added #include <stdio.h>
* support/cpp/sdcpp-opts.c: fixed warning:
unknown conversion type character 'm' in format,
use strerror(errno) instead of %m glibc extension format specifier
* src/SDCCsymt.c: fixed warning:
suggest parentheses around operand of '!' or change '&' to '&&' or
'!' to '~'
* src/pic16/pcode.c, src/pic16/glue.c: fixed warning:
unknown conversion type character 'h' in format,
replaced hh printf format specifier with parameter casting to
unsigned char
2009-04-19 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/z80/shift.s,
device/lib/z80/memmove.s,
device/lib/z80/mul.s,
device/lib/z80/mulchar.s,
device/lib/z80/div.s,
device/lib/z80/mod.s:
Applied patch #2762516 from Marco Bodrato containing minor
improvements of many Z80 asm routines.
2009-04-19 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/strtok.c,
support/regression/tests/strstr.c,
support/regression/tests/strspn.c,
support/regression/tests/strncmp.c,
support/regression/tests/strcpy.c,
support/regression/tests/strcmp.c:
Added some regression tests by Ruud van Silfhout from patch #2321830.
2009-04-13 Borut Razem <borut.razem AT siol.net>
* device/lib/Makefile.in, device/lib/ds390/Makefile.in,
device/lib/ds400/Makefile.in, device/lib/gbz80/Makefile.in,
device/lib/hc08/Makefile.in, device/lib/mcs51/Makefile.in,
device/lib/z80/Makefile.in: override PORTDIR in sub-makefiles
2009-04-13 Raphael Neider <rneider AT web.de>
* device/lib/pic16/bootstrap.sh: avoid symlinks
* device/lib/pic16/configure.ac,
device/lib/pic16/configure.gnu: removed obsolete configure-wrapper
2009-04-13 Borut Razem <borut.razem AT siol.net>
* device/lib/Makefile.in: remove abspath for PORTDIR, introduced in
svn revision #5341, since it makes asranlib to fail on cygming and
mingw builds: win32 native asranlib doesn't understand cygwin paths.
2009-04-10 Raphael Neider <rneider AT web.de>
* device/lib/pic/libsdcc/fs2ulong.c, device/lib/pic/libsdcc/fsadd.c,
device/lib/pic/libsdcc/fsdiv.c, device/lib/pic/libsdcc/fseq.c,
device/lib/pic/libsdcc/fsgt.c, device/lib/pic/libsdcc/fslt.c,
device/lib/pic/libsdcc/fsmul.c, device/lib/pic/libsdcc/fsneq.c,
device/lib/pic/libsdcc/fssub.c, device/lib/pic/libsdcc/ulong2fs.c,
device/lib/pic16/libsdcc/float/fs2ulong.c,
device/lib/pic16/libsdcc/float/fsadd.c,
device/lib/pic16/libsdcc/float/fsdiv.c,
device/lib/pic16/libsdcc/float/fsmul.c: fixed pic14 libraries, merge
changes from the pic16 port, minor code cleanup
* src/pic/gen.c: implemented genUminusFloat(), fixed warning and style
2009-04-09 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/z80/mod.s,
device/lib/z80/Makefile.in,
device/lib/z80/div.s,
device/lib/z80/modsigned.s,
device/lib/z80/divsigned.s:
Applied patch #2741451 from Marco Bodrato
and moved functions for signed modulo into
separate file.
2009-04-06 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peeph.def: disabled rule 270, fixing bug #2736282
2009-04-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peeph-z80.def:
Improved caching of pointers in hl and iy.
device/lib/z80/div.s:
Applied patch #2727917 from Marco Bodrato.
2009-04-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.c:
Enabled use of hl as inter-i-code temporary.
2009-04-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Reenabled peephole 0t.
2009-04-03 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Fixed bugs #2728224, #2728218.
src/z80/peeph-z80.def:
Workaround for bug #2728445.
support/regression/tests/memory.c:
Added test for memcmp().
2009-04-03 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/z80/mul.s,
device/lib/z80/memmove.s,
device/lib/z80/strlen.s:
Minor improvements, code cleanup and license clarification.
2009-04-01 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/z80/mul.s:
Minor improvement in Z80 16x16 bit multiplication.
2009-03-23 Borut Razem <borut.razem AT siol.net>
* src/SDCCval.c, src/SDCCmain.c, device/include/limits.h,
device/include/pic/limits.h, device/include/pic16/limits.h,
device/lib/_fs2schar.c, device/lib/pic/libsdcc/fs2schar.c,
device/lib/pic16/libsdcc/float/fs2schar.c, doc/sdccman.lyx,
support/regression/tests/funsigned-char.c:
applied patch 2704189: character constant sign fix
thanks to Robert Larice
2009-03-22 Borut Razem <borut.razem AT siol.net>
* Small Device C Compiler 2.9.0 released
* .version, doc/sdccman.lyx: changed sdcc version to 2.9.1
2009-03-15 Borut Razem <borut.razem AT siol.net>
* support/scripts/repack_release.sh: added
2009-03-13 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: "freeware" replaced with "free open source"
2009-03-12 Borut Razem <borut.razem AT siol.net>
* src/z80/peep.c: #2652979: --debug crashes sdcc
2009-03-12 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/SDCCglue.c,
support/regression/tests/bug2655200.c:
applied modified patch from Robert Larice <larice AT vidisys.de>
fixing original report of bug #2655200: pointer to pdata memory
not correctly initialized
2009-03-11 Borut Razem <borut.razem AT siol.net>
* as/asranlib/asranlib.c: retain the original file mode
2009-03-10 Borut Razem <borut.razem AT siol.net>
* src/mcs51/gen.c, src/z80/gen.c, src/hc08/gen.c, src/ds390/gen.c,
support/regression/tests/bug1875933.c:
fixed bug #1875933: Evelyn jumps into the void
thanks to Robert Larice
2009-03-10 Raphael Neider <rneider AT web.de>
* src/pic16/pcode.c (LinkFlow): fix invalid cast from pCodeLabel
to pCodeInstruction to avoid a segmentation fault
2009-03-03 Borut Razem <borut.razem AT siol.net>
* device/lib/printf_large.c: fixed bug #2656821: bug in printf
2009-03-03 Raphael Neider <rneider AT web.de>
* device/lib/pic/libdev/Makefile.in: build device-specific
libraries for the correct processor, fixes #2654585
2009-03-01 Raphael Neider <rneider AT web.de>
* device/lib/Makefile.in: fixed parallel builds (i.e., make -jN, N>1)
2009-03-01 Borut Razem <borut.razem AT siol.net>
* src/z80/peep.c: fixed bug #2648964: --i-code-in-asm crashes sdcc
* .version, sdcc.spec, doc/sdccman.lyx, doc/INSTALL.txt:
changed sdcc version to 2.9.0
2009-03-01 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/ralloc.c (spillThis, spilSomething): fixed bug 2435941
(serialRegAssign): do not spil bit registers
throughout cosmetic changes
* support/regression/tests/bug2435941.c: new, added
2009-02-28 Raphael Neider <rneider AT web.de>
* src/regression/compare10.c,
src/regression/compare7.c,
src/regression/compare8.c,
src/regression/compare9.c: reset watchdog timer in time
* src/regression/configword.c: apply patch from #2488150
* src/pic/glue.c (pic14createInterruptVect): pin RESET vector
handler to 0x0000 as the linker no longer knows STARTUP sections
* src/pic/pcode.c (register_reassign, ReuseReg): applied modified
patch #2512926 to (mostly) fix #1762626, cosmetic changes
* src/pic/pcodepeep.c: remove reference to nonexisting function
2009-02-28 Raphael Neider <rneider AT web.de>
* device/include/pic16/signal.h: avoid multiline inline
assembler statements in macros, addresses #2644965
2009-02-27 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic18f[24][3456]k20.h,
device/include/pic16/pic18f[68][567]j50.h,
device/include/pic16/pic18f[68]6j55.h,
device/lib/pic16/libdev/pic18f[24][3456]k20.c,
device/lib/pic16/libdev/pic18f[68][567]j50.c,
device/lib/pic16/libdev/pic18f[68]6j55.c,
device/include/pic16/pic18fregs.h,
device/include/pic16/pic16devices.txt,
device/lib/pic16/pics.all,
device/lib/pic16/libdev/Makefile.am,
device/lib/pic16/libio/Makefile.am: added/re-enabled many device
families (87j50 family contributed by Robert Wuest)
* device/include/pic16/adc.h,
device/lib/pic16/libio/adc/adcbusy.c,
device/lib/pic16/libio/adc/adcclose.c,
device/lib/pic16/libio/adc/adcconv.c,
device/lib/pic16/libio/adc/adcopen.c,
device/lib/pic16/libio/adc/adcsetch.c: added 65j50-style ADC
* doc/sdccman.lyx: updated list of supported devices, fixed typo
* device/lib/pic16/Makefile.common: do not suppress assembler warnings
* device/lib/pic16/Makefile.in,
device/lib/pic16/libm/Makefile.in,
device/lib/pic16/debug/Makefile.in,
device/lib/pic16/libio/Makefile.in,
device/lib/pic16/startup/Makefile.in,
device/lib/pic16/libsdcc/Makefile.in,
device/lib/pic16/libdev/Makefile.in,
device/lib/pic16/libc/Makefile.in: regenerated
2009-02-27 Borut Razem <borut.razem AT siol.net>
* as/z80/asexpr.c, as/z80/z80mch.c: re-fixed bugs
#1829678 and #1704376 in the way proposed by Alan Baldwin
2009-02-23 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* device/include/mcs51/at89c51ed2.h: Fixed address of SFR P5. Thanks
to Steve Qu for the fix.
2009-02-23 Borut Razem <borut.razem AT siol.net>
* as/z80/asexpr.c: fixed bug #1829678: Z-80 CP A,<xxx> assembly
it is already fixed for mcs51 and hc08 targets
* as/z80/z80mch.c: fixed bug #1704376: missing as-z80 errors
2009-02-22 Borut Razem <borut.razem AT siol.net>
* device/lib/Makefile.in: fixed parenthesis error
* doc/sdccman.lyx: fixed webdocs bug #2071421: error in the manual,
fixed webdocs bug #1967920: --version
2009-02-18 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/at89c51ed2.h: fixed bug #2071949 bitmask RBCK wrong
2009-02-17 Maarten Brock <sourceforge.brock AT dse.nl>
* as/link/mcs51/lkihx.c (hexRecord): bugfix do not insert extended address
when addresses are unsorted
2009-02-15 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/include/mcs51/p89v66x.h: added ENBOOT thanks
Gudjon Gudjonsson <gudjon AT gudjon.org>
* device/include/mcs51/p89c66x.h: fixed some defines
* device/include/mcs51/p89v66x.h: fixed some sbit addresses
* doc/sdccman.lyx: added <NO FLOAT> to index, try to reanimate
svn keywords
2009-02-14 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: corrected cpp info
2009-02-13 Borut Razem <borut.razem AT siol.net>
* as/Makefile.in: *.doc renamed to *.txt
2009-02-11 Borut Razem <borut.razem AT siol.net>
* as/doc/aslnk.doc, as/doc/abstra.doc: renamed to *.txt
* as/doc/aslnk.txt, as/doc/asxhtml.html: changed licens to GPLv3
2009-02-11 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: documented ar format libraries
2009-02-10 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* support/regression/tests/float_single.c: added regression
test. Some testpoints for probably rarely used functions
(acosf, sinhf, tanf, expf) disabled for some targets
2009-02-10 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (pic16_freeAsmop): avoid NULL pointer dereference,
(genAssign): fixed for operands on the stack
* device/lib/pic16/libc/stdio/vfprintf.c,
device/lib/pic16/configure.ac,
device/lib/pic16/Makefile.common: add configurable support for
printing floats via ./configure --enable-floats
* device/lib/pic16/configure,
device/lib/pic16/Makefile.in,
device/lib/pic16/libm/Makefile.in,
device/lib/pic16/debug/Makefile.in,
device/lib/pic16/libio/Makefile.in,
device/lib/pic16/startup/Makefile.in,
device/lib/pic16/libsdcc/Makefile.in,
device/lib/pic16/libdev/Makefile.in,
device/lib/pic16/libc/Makefile.in: regenerated
* doc/sdccman.lyx: documented float support and how to get it
* doc/Makefile.in: fixed race condition on parallel builds
* device/lib/pic16/libc/stdio/sprintf.c,
device/lib/pic16/libc/stdio/vsprintf.c: do not mess up the user's
pointer to the string buffer, enlarge buffer for x_ftoa()
2009-02-10 Borut Razem <borut.razem AT siol.net>
* device/lib/printf_tiny.c: replaced non-C89 comments '//' with '/* */'
2009-02-10 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic18f*.h: add bit aliases in INTCONbits_t
2009-02-09 Raphael Neider <rneider AT web.de>
* src/pic16/pcode.c (assignToSameBank): add force argument to ignore
artificial bank size limits for compound data (structs, arrays),
avoids assert if --obanksel=N, N > 1, is given
2009-02-09 Borut Razem <borut.razem AT siol.net>
* as/asranlib/asranlib.c, link/lkar.c: don't check the padding bytes since
the openSUSE GNU ar (GNU Binutils; openSUSE 11.0) 2.18.50.20080409-11.1
uses '`' character instead '\n' for padding
* as/asranlib/asranlib.c: made it more robust
2009-02-08 Borut Razem <borut.razem AT siol.net>
* as/COPYING3: added
* support/scripts/sdcc.nsi: added COPYING3.txt to the package
* device/lib/Makefile.in: reenable floating point in model-xstack-auto
libraries
2009-02-07 Borut Razem <borut.razem AT siol.net>
* as/asranlib/asranlib.c: fixed BSD header length calculation
* .version, doc/sdccman.lyx: bumped sdcc version to 2.8.9
due sdcc asxxxx license change to GPLv3
2009-02-05 Borut Razem <borut.razem AT siol.net>
* as/asranlib/asranlib.c, link/lkar.h, link/lkar.c:
added support for BSD (Mac OS X) ar format
* as/asxxsrc/aslex.c, as/as/asxxsrc/asnoice.c, as/as/asxxsrc/assym.c,
as/as/hc08/asdata.c, as/hc08/asexpr.c, as/hc08/aslist.c,
as/hc08/asm.h, as/hc08/asmain.c, as/hc08/asout.c, as/hc08/assubr.c,
as/hc08/m08adr.c, as/hc08/m08ext.c, as/hc08/m08mch.c,
as/hc08/m08pst.c, as/hc08/m6808.h, as/link/aslink.h,
as/link/hc08/lkarea.c, as/link/hc08/lkelf.c, as/link/hc08/lkihx.c,
as/link/hc08/lkmain.c, as/link/hc08/lkmem.c, as/link/hc08/lkrloc.c,
as/link/hc08/lks19.c, as/link/lkaomf51.c, as/link/lkdata.c,
as/link/lkeval.c, as/link/lkhead.c, as/link/lklex.c, as/link/lklib.c,
as/link/lklibr.c, as/link/lklibr.h, as/link/lklist.c,
as/link/lknoice.c, as/link/lkrel.c, as/link/lkrel.h,
as/link/lksdcclib.c, as/link/lkstore.c, as/link/lksym.c,
as/link/mcs51/lkarea.c, as/link/mcs51/lkihx.c,
as/link/mcs51/lkmain.c, as/link/mcs51/lkmem.c,
as/link/mcs51/lkrloc.c, as/link/mcs51/lks19.c, as/link/z80/lkarea.c,
as/link/z80/lkgb.c, as/link/z80/lkgg.c, as/link/z80/lkihx.c,
as/link/z80/lkmain.c, as/link/z80/lkrloc.c, as/link/z80/lks19.c,
as/mcs51/asdata.c, as/mcs51/asexpr.c, as/mcs51/aslist.c,
as/mcs51/asm.h, as/mcs51/asmain.c, as/mcs51/asout.c,
as/mcs51/assubr.c, as/mcs51/i51adr.c, as/mcs51/i51ext.c,
as/mcs51/i51mch.c, as/mcs51/i51pst.c, as/mcs51/i8051.h,
as/xa51/xa_link.c, as/xa51/xa_main.c, as/xa51/xa_main.h,
as/xa51/xa_rasm.l, as/xa51/xa_rasm.y, as/xa51/xa_version.h,
as/z80/asdata.c, as/z80/asexpr.c, as/z80/aslist.c, as/z80/asm.h,
as/z80/asmain.c, as/z80/asout.c, as/z80/assubr.c, as/z80/z80.h,
as/z80/z80adr.c, as/z80/z80ext.c, as/z80/z80mch.c, as/z80/z80pst.c:
changed license to GPL either version 3, or (at your option) any
later version
2009-02-05 Borut Razem <borut.razem AT siol.net>
* as/asranlib/asranlib.c, link/lkar.h, link/lkar.c:
added support for BSD (Mac OS X) ar format
2009-02-02 Borut Razem <borut.razem AT siol.net>
* device/lib/gbz80/Makefile.in, device/lib/hc08/Makefile.in,
device/lib/z80/Makefile.in:
chose source files in the PORT directory if they are available
2009-02-01 Raphael Neider <rneider AT web.de>
* device/lib/pic16/libdev/pic18f1220.c,
* device/lib/pic16/libdev/pic18f4450.c:
define SSPBUF to allow use of printf
2009-02-01 Borut Razem <borut.razem AT siol.net>
* device/lib/Makefile.in, device/lib/gbz80/Makefile.in,
device/lib/hc08/Makefile.in, device/lib/incl.mk,
device/lib/z80/Makefile.in:
don't remake libraries
* support/regression/tests/snprintf.c:
reenable floating point in small-xstack-auto library
2009-01-26 Raphael Neider <rneider AT web.de>
* src/pic16/ralloc.c (packForPush): disabled to fix #2496919
2009-01-25 Raphael Neider <rneider AT web.de>
* src/pic16/main.c (_pic16_linkEdit): prepend -L paths to linker
search path instead of appending them
2009-01-24 Borut Razem <borut.razem AT siol.net>
* as/asranlib/asranlib.h: changed type of offset to unsigned int to
make it work on ppc Mac OS X (off_t is 64 bit and is not converted
to 32 bit unsigned int when calling sputl() since it is a macro
* as/link/lkar.c: changed the initialization of This->loaded
2009-01-23 Borut Razem <borut.razem AT siol.net>
* as/link/lkar.h: changed type of ar_size to size_t to make it work on
ppc Mac OS X (off_t is 64 bit and is not converted to 32 bit
unsigned int when calling new(), since asxxxx doesn't use function
prototypes)
2009-01-21 Borut Razem <borut.razem AT siol.net>
* as/link/lkar.h: sgetl and sputl are independent of endianness
* as/link/sdxxxx_config.h.in: removed endianness detection
2009-01-20 Borut Razem <borut.razem AT siol.net>
* .version, doc/sdccman.lyx: bumped sdcc version to 2.8.8
due creation of ar format libraries
* support/scripts/sdcc.nsi:
don't add nonexistent object files to the package
2009-01-19 Borut Razem <borut.razem AT siol.net>
* Makefile.in, configure.in, configure,
device/lib/Makefile.in, device/lib/ds390/Makefile.in,
device/lib/ds400/Makefile.in, device/lib/gbz80/Makefile.in,
device/lib/hc08/Makefile.in, device/lib/large/Makefile.in,
device/lib/mcs51/Makefile.in, device/lib/medium/Makefile.in,
device/lib/small/Makefile.in,
device/lib/z80/Makefile.in: create ar format libraries
* support/regression/ports/mcs51-xstack-auto/spec.mk:
use device/lib/Makefile to create library
* support/regression/tests/snprintf.c:
floating point is not enabled in small-xstack-auto library
* device/lib/libfloat.lib, device/lib/libint.lib,
device/lib/liblong.lib, device/lib/libsdcc.lib: removed
2009-01-18 Borut Razem <borut.razem AT siol.net>
* support/cpp/auto-host.h: fixed warning: "__STDC__" redefined,
warning: extra tokens at end of #endif directive
2009-01-11 Borut Razem <borut.razem AT siol.net>
* Makefile.in: added SDCC_ASRANLIB to PKGS
2009-01-10 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: added asranlib.exe to the install package
* .version, doc/sdccman.lyx: bumped sdcc version to 2.8.7
due added support for ar format libraries
2009-01-09 Borut Razem <borut.razem AT siol.net>
* as/asranlib/Makefile.in, as/asranlib/asranlib.dsp,
as/asranlib/asranlib.c: added asranlib
* as/link/lkar.c, as/link/lkar.h: added support for ar format libraries
* Makefile.in, as/link/hc08/Makefile.in,
as/link/hc08/link_hc08.dsp, as/link/lklib.c, as/link/lklibr.c,
as/link/lklibr.h, as/link/lkrel.c, as/link/lkrel.h,
as/link/lksdcclib.c, as/link/mcs51/Makefile.in,
as/link/mcs51/aslink.dsp, as/link/z80/Makefile.in,
as/link/z80/linkgbz80.dsp, as/link/z80/linkz80.dsp, configure,
configure.in, sdcc.dsw: modified to support ar format libraries
2009-01-08 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (decorateType RETURN): use RESULT_TYPE_GPTR for generic
pointer return
2009-01-05 Philipp Klaus Krause <pkk AT spth.de>
* sim/ucsim/z80.src/inst_ed.cc:
Fixed bug #2488074, which made regression tests fail.
2009-01-05 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/z80/mod.s,
device/lib/z80/div.s,
device/lib/z80/mulchar.s,
device/lib/z80/mul.s,
device/lib/z80/divsigned.s,
device/lib/z80/Makefile.in:
Implemented RFE #1702376.
2009-01-05 Borut Razem <borut.razem AT siol.net>
* as/link/lksdcclib.c:
fixed linker hanging in INDEXLIB is not defined (hc08)
2009-01-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c:
Implemented RFE #2485684, and some further improvements of HL caching
including a bugfix.
* src/z80/peeph-z80.def:
Fixed a bug exposed by implementing RFE #2485684.
2009-01-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Peephole improvements.
* src/z80/gen.c,
src/z80/main.c,
device/include/string.h,
device/lib/z80/memmove.s:
Minor code cleanup.
* device/lib/z80/Makefile.in,
device/lib/Makefile.in,
support/regression/tests/memory.c,
device/lib/z80/strlen.s:
Partially implemented RFE #2471534.
2009-01-04 Borut Razem <borut.razem AT siol.net>
* .version, doc/sdccman.lyx: bumped sdcc version to 2.8.6
due changes in sdcc asxxxx linkers - it sholud be done 2 days ago :(
* doc/README.txt: updated John Hartman's e-mail address
* as/link/lkrel.c, as/link/lksdcclib.c:
fixed bug #2484677: Linker hangs
* src/z80/peep.c: fixed msvc warning C4047:
'return' : 'int ' differs in levels of indirection from 'char *'
* config.dsp: as/lib corrected to as/link
2009-01-04 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c:
Implemented RFE #2484693.
* src/z80/peeph-z80.def:
Some peephole improvements.
2009-01-03 Borut Razem <borut.razem AT siol.net>
* as/link/lklibr.c:
fixed warning: 'ret' may be used uninitialized in this function
2009-01-02 Borut Razem <borut.razem AT siol.net>
* as/link/lklib.c, as/link/lksdcclib.c, as/link/lklibr.h,
as/link/getline.[ch], as/link/lkrel.[ch]: added,
made support for differnet library formats more flexible,
preparation for support of ar format
* as/link/lklibr.c, as/link/z80/Makefile.in,
as/link/z80/linkgbz80.dsp, as/link/z80/linkz80.dsp,
as/link/hc08/link_hc08.dsp, as/link/hc08/Makefile.in,
as/link/mcs51/aslink.dsp, as/link/mcs51/Makefile.in,
as/link/hc08/lkelf.c, as/link/aslink.h:
made support for differnet library formats more flexible,
preparation for support of ar format
2009-01-01 Borut Razem <borut.razem AT siol.net>
* as/link/asxxxx_config.h.in:
fixed warning: extra tokens at end of #endif directive
* src/z80/peep.c:
fixed warning: suggest parentheses around && within ||
* device/lib/Makefile.in: allow whitespaces at the end of lines in
ports.build, in order to make it work on cygwin - it seems to be a
bug in cygwin grep: CR is not treated as part of end-of-line
2008-12-31 Borut Razem <borut.razem AT siol.net>
* configure, configure.in, config.dsp, config_vc.awk,
as/link/asxxxx_config.h.in, as/link/hc08/lkelf.c, as/link/aslink.h,
as/link/hc08/Makefile.in, as/link/mcs51/Makefile.in:
introduced asxxxx_config.h.in
2008-12-30 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c,
src/z80/peeph-z80.def:
Minor addition improvement.
2008-12-30 Raphael Neider <rneider AT web.de>
* as/link/hc08/lkelf.c, as/link/lkaomf51.c, as/link/lklibr.c,
as/link/z80/lkgb.c, debugger/mcs51/cmd.c, sim/ucsim/utils.cc,
src/SDCCasm.c, support/Util/dbuf_string.c, support/cpp/c-ppoutput.c,
support/cpp/libcpp/lex.c, support/cpp/libcpp/macro.c,
support/librarian/sdcclib.c, support/makebin/makebin.c:
partially revert changes from r5293..r5295
2008-12-29 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def:
Minor peephole improvement.
2008-12-29 Raphael Neider <rneider AT web.de>
* src/pic/pcode.c (insertBankSel, FixRegisterBanking): emit
incorrectly discarded BANKSELs
2008-12-29 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/memory.c:
Added simple test for memset(), memcpy() and memmove()
2008-12-29 Borut Razem <borut.razem AT siol.net>
* sdcc/support/scripts/sdcc.nsi: removed $INSTDIR\lib\src\z80\*.c
2008-12-28 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/peeph.def (177.e): replaced notVolatile(%3) with
operandsNotRelated(%1 %3), had to change (a)r%1 to (a)%1 for this to work
(177.j): added new rule
* src/SDCCsymt.h: added RESULT_TYPE_GPTR
* src/SDCCast.c (processParms): use RESULT_TYPE_GPTR for generic ptr parms,
(decorateType CAST): propagate storage class to generic pointer results
2008-12-27 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/z80/string.c,
device/lib/z80/printf.c,
device/lib/z80/mul.s:
z80 library cleanup
* src/z80/gen.c:
Fixed code generation bug exposed by builtin memcpy().
2008-12-27 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/_memcpy.c:
fixed conflict with builtin memcpy()
2008-12-26 Borut Razem <borut.razem AT siol.net>
* support/librarian/sdcclib.c:
fixed bug 2466950: "sdcclib broken"
by removing fgets return value check
2008-12-26 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/main.c,
src/z80/gen.c,
device/include/string.h: Implemented RFE #1914254
2008-12-26 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/z80/Makefile.in,
device/lib/Makefile.in,
device/lib/z80/memmove.s: Implemented RFE #1914256
2008-12-26 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def: fixed a bug in peephole 0zf
* src/z80/peep.c: improved checks for unused data
* src/z80/gen.c,
src/z80/main.c: Implemented RFE #1899189
2008-12-25 Borut Razem <borut.razem AT siol.net>
* support/regression/Makefile.in:
add -I$(INC_DIR) to SDCCFLAGS only if INC_DIR is defined
2008-12-25 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph-z80.def: minor peephole improvements
2008-12-21 Borut Razem <borut.razem AT siol.net>
* support/librarian/sdcclib.c: fixed build failure on Mac OS X
due to redefinition of symbol __assert
sdcclib.c:53:1:warning: "__assert" redefined
/Xcode2.5/SDKs/MacOSX10.4u.sdk/usr/include/assert.h:80:1:
warning: this is the location of the previous definition
2008-12-20 Raphael Neider <rneider AT web.de>
* debugger/mcs51/break.c, debugger/mcs51/cmd.c,
debugger/mcs51/simi.c, debugger/mcs51/symtab.c,
support/cpp/libcpp/macro.c: fix format string errors
* sim/ucsim/s51.src/timer2.cc: add clarifying parens
* src/pic/device.c: partial rewrite using strtok,
quieten compiler warnings, adopt SDCC coding style
* as/link/hc08/lkelf.c, as/link/lkaomf51.c, as/link/lklibr.c,
as/link/z80/lkgb.c, as/z80/asout.c, debugger/mcs51/cmd.c,
sim/ucsim/utils.cc, src/SDCCasm.c, support/Util/dbuf_string.c,
support/cpp/c-ppoutput.c, support/cpp/libcpp/lex.c,
support/librarian/sdcclib.c, support/makebin/makebin.c:
quieten most compiler warnings
* sim/ucsim/avr.src/arith_inst.cc: quieten compiler warnings,
probably fix operator precedence bug
* doc/clean.mk: quieten rm if no .lyx is present
2008-12-19 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx, doc/random-notes.txt, doc/avr/avr_design.txt,
doc/TININative.txt, doc/macro-sys-design.txt, doc/libdoc.txt,
doc/README.txt, doc/test_suite_spec.lyx:
applied patch 2446381: Dcoumentation spelling correcitons
thanks to Steven Borley
2008-12-16 Raphael Neider <rneider AT web.de>
* device/include/pic/pic12f629.h,
device/include/pic/pic12f675.h,
device/lib/pic/libdev/pic12f629.c,
device/lib/pic/libdev/pic12f675.c: consolidated, added TRISIO bits
2008-12-14 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx, cdbfileformat.lyx, test_suite_spec.lyx:
converted to LyX 1.5.7 (\lyxformat 276) format
2008-12-07 Borut Razem <borut.razem AT siol.net>
* support/regression/tests/bitfields.c:
added test case for bug #2366757
2008-12-07 Raphael Neider <rneider AT web.de>
* src/pic16/glue.c (pic16_printIvalBitFields): prevent
NULL pointer dereference, closes #2366757
2008-11-25 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic16devices.txt,
sdcc/src/pic16/device.c,
sdcc/src/pic16/device.h: implicitly disable XINST
whenever CONFIG4L is set via an additional optional
argument to the configword directive in pic16devices.txt
2008-11-24 Raphael Neider <rneider AT web.de>
* device/lib/pic16/configure.ac,
device/lib/pic16/Makefile.common: fixed quoting issues
* device/lib/pic16/configure,
device/lib/pic16/debug/Makefile.in,
device/lib/pic16/libc/Makefile.in,
device/lib/pic16/libdev/Makefile.in,
device/lib/pic16/libio/Makefile.in,
device/lib/pic16/libm/Makefile.in,
device/lib/pic16/libsdcc/Makefile.in,
device/lib/pic16/Makefile.in,
device/lib/pic16/startup/Makefile.in: regenerated
* src/pic16/main.c (_pic16_finaliseOptions): revert to
variant of r5216
2008-11-24 Raphael Neider <rneider AT web.de>
* src/pic16/main.c (_pic16_finaliseOptions): do not quote the
argument of --asm= or --link= to allow for
--asm="sh script --options", the user can double quote the
argument if needed: --asm="'c:/program files/gpasm' -q",
also fix some potential buffer overflows
2008-11-19 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx:
fixed 2314467: sdccman.lyx: fix "--" in command line parameters
thanks Mauro Giachero
2008-11-16 Borut Razem <borut.razem AT siol.net>
* .version, doc/sdccman.lyx: bumped sdcc version to 2.8.5
* doc/sdccman.lyx: documented fixed unnamed bit-field initialization
2008-11-15 Borut Razem <borut.razem AT siol.net>
* src/pic16/glue.c, src/SDCC.y, src/SDCCast.c, src/SDCCglue.c,
src/SDCCsymt.c, src/SDCCsymt.h:
fixed RFE #2291335 : Unnamed bit-field initialization
* support/regression/tests/bitfields.c:
added test case for RFE #2291335
* support/regression/tests/bug-1981238.c:
don't initialize unnamed bit-fields
2008-11-11 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic18f25j10.h,
device/include/pic16/pic18f45j10.h: remove useless boilerplate
* device/include/pic16/adc.h,
device/lib/pic16/libio/adc/adcbusy.c,
device/lib/pic16/libio/adc/adcclose.c,
device/lib/pic16/libio/adc/adcconv.c,
device/lib/pic16/libio/adc/adcopen.c,
device/lib/pic16/libio/adc/adcread.c,
device/lib/pic16/libio/adc/adcsetch.c: generalized, documented,
and fixed ADC routines to work for more target devices,
incorporates patch #2036130 by Nick Materer
2008-11-10 Steven Borley <steven.borley AT partnerelectronics.com>
* device/include/ctype.h,
* device/include/ds400rom.h,
* device/include/ds80c390.h,
* device/include/float.h,
* device/include/math.h,
* device/include/serial.h,
* device/include/stdbool.h,
* device/include/tinibios.h: replaced non-C89 '//' with '/* */',
patch 2195343
* device/include/mcs51/C8051F336.h,
* device/include/mcs51/C8051T600.h,
* device/include/mcs51/C8051T610.h,
* device/include/mcs51/C8051T630.h: new, added, patch 2183334
(svn commit by Maarten Brock <sourceforge.brock AT dse.nl>)
2008-11-10 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/include/mcs51/P89LPC922.h: fixed #2255989, thanks kubi57
2008-11-10 Raphael Neider <rneider AT web.de>
* device/lib/pic16/libdev/mkmk.sh: obey pics.all
* device/lib/pic16/libio/mkmk.sh: properly match whole lines in
.ignore files, fixes IO libs for 18f242, 18f252, 18f442, and 18f452
(patch by Nick Materer, #2253980)
* device/lib/pic16/libio/adc.ignore,
device/lib/pic16/libio/i2c.ignore,
device/lib/pic16/libio/usart.ignore,
device/lib/pic16/pics.all: updated to build more device libs
* device/lib/pic16/libdev/Makefile.am,
device/lib/pic16/libdev/Makefile.in,
device/lib/pic16/libio/Makefile.am,
device/lib/pic16/libio/Makefile.in: regenerated
* src/pic16/device.c (pic16_dump_usection): fixed output of multiple
names per memory location, applied SDCC style to more functions
2008-11-09 Gudjon I. Gudjonsson <gudjon AT gudjon.org>
* device/include/mcs51/p89lpc933_4.h: new NXP header file
* device/include/mcs51/p89lpc935_6.h: new NXP header file
* device/include/mcs51/p89v66x.h: minor changes
(svn commit by Frieder Ferlemann <Frieder.Ferlemann AT web.de>)
2008-11-09 Raphael Neider <rneider AT web.de>
* device/include/pic/pic14devices.txt: fixed memory description for
12f629 and 12f675, closes #2236240
2008-11-06 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c: fixed bug #2224960: sdcc -MM no working correctly
pass system include paths with -isystem to sdcpp
* src/SDCCglue.c, src/pic/glue.c, src/pic16/glue.c: removed unneeded
functions (closePipes), (closeTmpFiles) and (rmTmpFiles)
2008-11-02 Raphael Neider <rneider AT web.de>
* doc/sdccman.lyx: updated the sections on the library build process
and on how to add support for new devices, and documented known
problems with the extended instruction set including a workaround
2008-11-01 Raphael Neider <rneider AT web.de>
* device/include/pic16/adc.h,
device/include/pic16/pic16devices.txt,
device/include/pic16/pic18f2410.h,
device/include/pic16/pic18f2510.h,
device/include/pic16/pic18f2515.h,
device/include/pic16/pic18f2610.h,
device/include/pic16/pic18f4410.h,
device/include/pic16/pic18f4510.h,
device/include/pic16/pic18f4515.h,
device/include/pic16/pic18f4610.h,
device/include/pic16/pic18fregs.h,
device/lib/pic16/libdev/Makefile.am,
device/lib/pic16/libdev/Makefile.in,
device/lib/pic16/libdev/pic18f2410.c,
device/lib/pic16/libdev/pic18f2510.c,
device/lib/pic16/libdev/pic18f2515.c,
device/lib/pic16/libdev/pic18f2610.c,
device/lib/pic16/libdev/pic18f4410.c,
device/lib/pic16/libdev/pic18f4510.c,
device/lib/pic16/libdev/pic18f4515.c,
device/lib/pic16/libdev/pic18f4610.c,
device/lib/pic16/libio/Makefile.am,
device/lib/pic16/libio/Makefile.in,
device/lib/pic16/pics.all: added support for 18f[24][456]10
and 18f[24]515 devices
* doc/sdccman.lyx: updated list of supported PIC16 devices
* src/pic/glue.c, src/pic/pcode.c, src/pic/pcodeflow.c,
src/pic16/glue.c, src/pic16/pcode.c, src/pic16/pcodeflow.c,
src/xa51/gen.c: avoid compiler warnings
* support/scripts/inc2h-pic16.pl: removed trailing whitespace
2008-10-22 Gudjon I. Gudjonsson <gudjon AT gudjon.org>
* device/include/mcs51/p89v66x.h: NXP header file
* device/include/mcs51/p89c66x.h: fixed an SBIT definition
(svn commit by Frieder Ferlemann <Frieder.Ferlemann AT web.de>)
2008-10-14 Raphael Neider <rneider AT web.de>
* device/lib/pic16/libdev/Makefile.am,
device/lib/pic16/libio/Makefile.am: enable building libraries for
18f2321, 18f4321, 18f2523, 18f4620, 18f66j60, 18f66j65, 18f67j60,
18f86j60, 18f86j65, 18f87j60, 18f96j60, 18f96j65, and 18f97j60
* device/lib/pic16/libdev/Makefile.in,
device/lib/pic16/libio/Makefile.in: regenerated
2008-10-14 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic18f2450.h,
device/include/pic16/pic18f4450.h,
device/lib/pic16/libdev/pic18f2450.c,
device/lib/pic16/libdev/pic18f4450.c,
device/include/pic16/adc.h,
device/include/pic16/pic16devices.txt,
device/include/pic16/pic18fregs.h,
device/lib/pic16/libdev/Makefile.am,
device/lib/pic16/libdev/Makefile.in,
device/lib/pic16/libio/Makefile.am,
device/lib/pic16/libio/Makefile.in,
device/lib/pic16/pics.all: added 18f2450 and 18f4450, closes #1844525
* device/lib/pic16/libsdcc/stack/stack.S: there is no need to pin the
stack to a fixed location, relax it to automatically work with all
but the smallest devices (256 byte RAM devices need #pragma stack)
2008-10-09 Maarten Brock <sourceforge.brock AT dse.nl>
* debugger/mcs51/break.c: bugfix from patch 1989966, thanks Risto Huotari
* debugger/mcs51/simi.c: bugfix from patch 1989972, thanks Risto Huotari
* device/lib/_strcspn.c: fixed bug 2140931
2008-10-06 Raphael Neider <rneider AT web.de>
* device/include/pic16/stdio.h,
device/lib/pic16/libc/stdio/putchar.c: putchar should not be
declared __naked for convenience, named all arguments
* device/lib/pic16/libc/stdio/strmgpsim.c,
device/lib/pic16/libc/stdio/strmmssp.c,
device/lib/pic16/libc/stdio/strmusart.c: cosmetic changes
* src/pic16/pcode.c (createReachingDefinitions): avoid segfault on
empty __naked functions,
* (pCodeLabelDestruct, pic16_unlinkpCode, pic16_pCodeUnlink): fix
corner cases (unlink first/last pCode in list), reuse more code
2008-10-05 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/main.c (_ds390_genInitStartup): added
* src/SDCCpeeph.c (getPatternVar): new, added,
(labelInRange): fixed bug 2115959
* src/mcs51/peeph.def (rules 193.x to 198.x): check for labelInRange
* src/SDCCicode.h: added newiTempOperand
* src/SDCCcse.c (algebraicOpts): fixed bug for x*-1,
added optimizations for 0/x and x/-1, see also patch 2142900
* support/regression/tests/onebyte.c (testMul): added test cases
2008-09-20 Borut Razem <borut.razem AT siol.net>
* src/pic16/glue.c:
definition of absolute address symbols without initial value,
fixed SDCC crash "do not know how to intialize symbol"
2008-09-16 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/z80/mul.s (__mulsuchar_rrx_s, __muluschar_rrx_s),
* device/lib/z80/div.s (__divsuchar_rrx_s, __modsuchar_rrx_s,
__divuschar_rrx_s, __moduschar_rrx_s): added mixed signedness versions
* device/lib/z80/stubs.s: added stubs for above functions
* src/SDCCopt.c (convilong),
* src/SDCCsymt.c (initCSupport): fixed bug 1900961
* src/SDCCsymt.h (__muldiv): enlarged for mixed signedness
* src/z80/main.c (_hasNativeMulFor): fixed bug, I think
* support/regression/tests/onebyte.c: enabled all tests for z80
2008-09-15 Borut Razem <borut.razem AT siol.net>
* device/include/pic16/stdio.h, device/lib/pic16/libc/stdio/streams.c,
device/lib/pic16/libc/stdio/printf.c,
device/lib/pic16/libc/stdio/strmusart.c,
device/lib/pic16/libc/stdio/printf_tiny.c,
device/lib/pic16/libc/stdio/sprintf.c,
device/lib/pic16/libc/stdio/strmgpsim.c,
device/lib/pic16/libc/stdio/putchar.c,
device/lib/pic16/libc/stdio/fprintf.c,
device/lib/pic16/libc/stdio/strmmssp.c,
device/device/lib/pic16/libc/stdio/vprintf.c,
device/lib/pic16/libc/stdio/printf_small.c,
device/lib/pic16/libc/stdio/vsprintf.c,
device/lib/pic16/libc/stdio/strmputchar.c,
device/lib/pic16/libc/Makefile.am,
device/lib/pic16/libc/Makefile.in:
*printf now returns int, puchar.c moved from stdlib to stdio,
*printf format parameter type changed from char * to const char *,
added GNU link excetion text to library source files,
applyed GNU coding style, removed useless svn ids,
added BINARY_SPECIFIER macro re-enables the use of the removed 'b'
binary specifier: "%b", "%hb" and "%lb"
* device/lib/pic16/libc/stdio/vfprintf.c:
applied patch #2044424: PIC16: vfprintf
thanks Mauro Giachero
* support/regression/tests/bug1057979.c:
removed old pic16 sprintf specifics
* .version, doc/sdccman.lyx: bumped sdcc version to 2.8.4
* doc/sdccman.lyx: documented 'b' binary format specifier removal
2008-09-15 Raphael Neider <rneider AT web.de>
* src/pic16/device.c (pic16_dump_usection): force udata sections
into the addressable range (0..0xFFF), workaround for a gpsim
bug preventing simulation of regtest bug1750318
* src/pic16/ralloc.c (deassignLRs): cosmetic changes,
(serialRegAssign): fixed regtest bug-971834,
(pic16_packRegisters): avoid null-pointer dereference
2008-09-14 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c, src/pic16/ralloc.c: use
SYM_SPIL_LOC/SPIL_LOC macros, no functional changes
* src/pic16/ralloc.c (rematStr): reimplemented, fixes #1818857
2008-09-12 Borut Razem <borut.razem AT siol.net>
* support/regression/fwk/testfwk.h:
define pdata as data for pic16 target
thanks Mauro Giachero
2008-09-11 Borut Razem <borut.razem AT siol.net>
* support/regression/tests/bug-221100.c, support/regression/shifts.c,
support/regression/absolute.c:
applied patch #2105615: Some PIC16 testcase fixlets
thanks Mauro Giachero
2008-09-08 Maarten Brock <sourceforge.brock AT dse.nl>
* src/z80/gen.c (genCmpGt, genCmpLt): fixed bug 2094505
* support/regression/tests/bug2094505.c: new, added
2008-09-07 Borut Razem <borut.razem AT siol.net>
* src/SDCCglue.c, src/SDCCast.c:
fixed throw of "excess elements" warning for char arrays
* support/regression/tests/nullstring.c:
disable warning about excess elements in array of chars initializer
2008-09-07 Maarten Brock <sourceforge.brock AT dse.nl>
* as/z80/aslist.c (lstsym): changed old K&R to ANSI
* src/SDCCicode.c (geniCodeCritical): fixed bug for hc08
* src/z80/gen.c (genCritical, genEndCritical): fixed bug 2077267
* support/regression/tests/bug2077267.c: new, added
2008-09-05 Raphael Neider <rneider AT web.de>
* configure.in, Makefile.common.in: add support for ccache,
remove spurious $VERSION output, detect doc-tools even without
--enable-doc to facilitate later manual doc-builds, minor cleanup
* configure: regenerated
* doc/Makefile.in: quieten pdflatex, makeindex, and latex2html,
avoid races in parallel VPATH builds
* doc/clean.mk: remove .lyx files in the builddir for VPATH builds
* doc/sdccman.lyx: mention --without-ccache configure option
2008-09-01 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (pic16_derefPtr): handle CPOINTERs as well
* (genConstPointerGet): fix reading bitfields from __code space
* src/pic16/glue.c (pic16_printIvalBitFields): correctly mask
bitfield initializers (fix regression test bug1856409.c)
* (pic16_printIvalCharPtr,pic16_printIvalPtr): generalized to support
arbitrary sizes
2008-08-31 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (genAssign): removed useless compiler output
* (genPointerGet,genPointerSet,genCast),
src/pic16/glue.c (pic16_printGPointerType):
also handle PPOINTERs just to avoid spurious asserts
* (pic16_printIvalType,pic16_printIvalBitFields):
generalized to arbitrary type/bitfield sizes, allows compilation of
regression test bug-1981238.c
* (pic16_printIvalChar): fix regression test structflexarray.c
* (pic16_printIvalArray): avoid SIGSEGV on uninitialized strings
in initialized structs and fix #1843745
* (pic16_printIvalStruct): always output initializers for all fields,
even those not explicitly given, fixes zeropad.c regression test
* (pic16_printIvalUnion): fix union initializers (bug1426356.c,
#2073635, #1567098, and #1485812)
* src/pic16/main.c (_pic16_keywords): remove unsupported 'pdata'
2008-08-31 Borut Razem <borut.razem AT siol.net>
* support/regression/tests/bug-895992.c,
support/regression/tests/onebyte.c:
enabled pic16 regression testing since the bugs
1511794: pic16: regression test bug-895992.c fails
1444425: onebyte.c regression tes fails on pic16
are fixed, probably by fixing
2048464: PIC16: fix genUminus - addresses not.c regression test
* src/SDCCsymt.c, src/SDCCglue.c,
support/regression/tests/bug-1981238.c:
applied patch 2076664: fix #1981238 + SIGSEGV in SDCCGlue.c
thanks to RvS
2008-08-30 Borut Razem <borut.razem AT siol.net>
* support/cpp/libcpp/files.c: SDCPP synchronized with GCC CPP
release version 4.3.2
2008-08-24 Raphael Neider <rneider AT web.de>
* device/lib/pic16/configure, device/lib/pic16/configure.ac:
always use the sdcc from the current build tree (ignore $CC from
the environment, fixes compile farm builds)
* device/lib/Makefile.in: rename .a into .lib for compatibility,
remove more build products from install directory
* sdcc/src/pic16/main.c (_pic16_linkEdit,_pic16_finaliseOptions)
* sdcc/support/scripts/sdcc.nsi: revert to .lib extension for libs
2008-08-24 Borut Razem <borut.razem AT siol.net>
* src/SDCC.y: applied patch
2050245: Fix # 1963382
for bug
1963382: Listing File - C file comment is incorrect
thanks to RvS
2008-08-23 Borut Razem <borut.razem AT siol.net>
* src/pic16/gen.c: applied patch
2048464: PIC16: fix genUminus - addresses not.c regression test
thanks Mauro Giachero
2008-08-22 Borut Razem <borut.razem AT siol.net>
* device/lib/pic16/configure, device/lib/pic16/configure.ac,
src/pic16/main.c: allow spaces in gpasm and gplink paths
2008-08-15 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c,
* src/z80/peeph-z80.def: minor peephole improvement
2008-08-15 Raphael Neider <rneider AT web.de>
* src/z80/gen.c (_vemit2): suppress compiler warning
* src/pic/*.[ch]: make proper use of header files and avoid
ad-hoc extern declarations, mark module-local helpers 'static',
removed dead/replaced code, no functional changes
* src/pic16/pcode.c: disentangled from pic14 backend
2008-08-14 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c: fixed #2051348
* support/regression/tests/bug-2051348.c: regression test for #2051348
2008-08-10 Raphael Neider <rneider AT web.de>
* configure.in,
* Makefile.common.in: export PACKAGE for $docdir,
fixes #1957036, avoid some "underquoted definition" warnings
* configure: regenerated
2008-08-10 Raphael Neider <rneider AT web.de>
* device/lib/pic16/**: build pic16 library using autotools for
improved dependency tracking
* device/lib/Makefile.in,
* src/pic16/main.c,
* support/scripts/sdcc.nsi: adapt to changes in filenames (s/.lib/.a/)
2008-08-10 Raphael Neider <rneider AT web.de>
* src/pic/pcode.c (ReuseReg): do not overlay the registers used for
local variables if --nooverlay is given, workaround for #2023121
2008-08-08 Raphael Neider <rneider AT web.de>
* src/pic16/genarith.c (genAddLit): fix structure access (#1888004)
2008-08-08 Raphael Neider <rneider AT web.de>
* src/pic/pcoderegs.c,
* src/pic/pcode.c,
* src/pic16/pcode.c: replace own SAFE_snprintf with common SNPRINTF
2008-08-07 Borut Razem <borut.razem AT siol.net>
* src/SDCCval.c, src/SDCCmain.c, src/SDCC.lex,
device/lib/pic/Makefile.rules, device/lib/ds390/Makefile.in,
device/lib/ds400/Makefile.in, device/lib/hc08/Makefile.in,
support/cpp/libcpp/lex.c, doc/sdccman.lyx:
applied modified patch 2038174: Add support for binary constants v2
thanks Mauro Giachero
* .version, doc/sdccman.lyx: bumped sdcc version to 2.8.3
2008-08-04 Raphael Neider <rneider AT web.de>
* doc/sdccman.lyx,
* src/pic16/device.h,
* src/pic16/glue.c,
* src/pic16/main.c: enable --optimize-goto by default
* device/lib/pic16/Makefile.common.in: suppress removed option
* src/pic16/gen.c,
* src/pic16/genutils.c: avoid too long relative branches (#2031890)
2008-07-30 Borut Razem <borut.razem AT siol.net>
* src/pic16/device.c, src/pic16/glue.c, src/pic16/pcode.c:
applied patch 22032433: PIC16: fix constant strings,
thanks Mauro Giachero
2008-07-29 Borut Razem <borut.razem AT siol.net>
* src/pic16/gen.c: applied patches:
2030306: [1/3] PIC16: fix failing rotate.c tests on 16-bit variables,
2030307: [2/3] PIC16: fix failing rotate.c tests for 32-bit var (1),
2030310: [3/3] PIC16: fix failing rotate.c tests for 32-bit var (2),
thanks Mauro Giachero
2008-07-13 Philipp Klaus Krause <pkk AT spth.de>
* src/port.h: Fixed typo in comment
2008-07-12 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/mappings.i: Implemented RFE #1919415
* src/z80/peeph-z80.def: Implemented RFE #1919415, #1861376,
#1880202, #1914434, prepared for RFE #1703943
2008-07-12 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph.def,
* src/z80/peeph-z80.def,
* src/z80/peeph-gbz80.def: separate Z80 from GBZ80 peepholes in
preparation for Z80 peephole improvements
2008-06-21 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic18f66j60.h,
* device/include/pic16/pic18f66j65.h,
* device/include/pic16/pic18f67j60.h,
* device/include/pic16/pic18f86j60.h,
* device/include/pic16/pic18f86j65.h,
* device/include/pic16/pic18f87j60.h,
* device/include/pic16/pic18f96j60.h,
* device/include/pic16/pic18f96j65.h,
* device/include/pic16/pic18f97j60.h,
* device/lib/pic16/libdev/pic18f66j60.c,
* device/lib/pic16/libdev/pic18f66j65.c,
* device/lib/pic16/libdev/pic18f67j60.c,
* device/lib/pic16/libdev/pic18f86j60.c,
* device/lib/pic16/libdev/pic18f86j65.c,
* device/lib/pic16/libdev/pic18f87j60.c,
* device/lib/pic16/libdev/pic18f96j60.c,
* device/lib/pic16/libdev/pic18f96j65.c,
* device/lib/pic16/libdev/pic18f97j60.c,
* device/include/pic16/pic16devices.txt,
* device/include/pic16/pic18fregs.h,
* device/lib/pic16/pics.all: added new devices
* device/include/pic16/adc.h,
* device/lib/pic16/libio/adc/adcbusy.c,
* device/lib/pic16/libio/adc/adcopen.c,
* device/lib/pic16/libio/adc/adcsetch.c,
* device/lib/pic16/libio/i2c/i2copen.c,
* device/lib/pic16/libio/usart/uopen.c: adapted to new devices,
all changes from a patch by Anton Strobl
2008-06-12 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/cmd.src/info.cc, sim/ucsim/cmd.src/bp.cc,
sim/ucsim/xa.src/xa.cc, sim/ucsim/xa.src/xacl.h,
sim/ucsim/z80.src/z80cl.h, sim/ucsim/z80.src/z80.cc,
sim/ucsim/sim.src/uc.cc, sim/ucsim/sim.src/uccl.h,
sim/ucsim/hc08.src/hc08.cc, sim/ucsim/hc08.src/hc08cl.h,
sim/ucsim/s51.src/uc51cl.h, sim/ucsim/s51.src/uc390.cc,
sim/ucsim/s51.src/uc51.cc, sim/ucsim/s51.src/uc390cl.h,
sim/ucsim/avr.src/avrcl.h, sim/ucsim/avr.src/avr.cc:
fixed bug 1990586: s51 simulator, uc::disass() unimplemented
by applying the modified patch from Risto Huotari
2008-06-04 Maarten Brock <sourceforge.brock AT dse.nl>
* .version,
* doc/sdccman.lyx: bumped sdcc version to 2.8.2
* src/ds390/gen.c (aopPutUsesAcc, genAddrOf): fixed bug 1015185
* src/mcs51/gen.c (genNearPointerGet, genNearPointerSet): fixed bug 1938300
* support/regression/tests/bug1938300.c: new, added
2008-06-03 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/asm/ds390/features.h,
* device/include/asm/mcs51/features.h,
* device/include/mcs51/regc515c.h: inserted LGPL notice
2008-05-29 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/gbz80/div.s,
* device/lib/z80/div.s: fixed bug 1904314 by applying a modified part of
patch 1597883, Thanks Robert Ramey
2008-05-29 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (createIvalType, createIvalStruct, createIvalArray,
createIvalCharPtr, createIvalPtr, createIval),
* src/SDCCval.h
* src/SDCCval.c (convertIListToConstList, list2expr): handle incomplete
initializers for local auto variables
* support/regression/tests/zeropad.c: added testcase for auto initializers
2008-05-26 Raphael Neider <rneider AT web.de>
* device/lib/pic16/startup/crt0.c,
* device/lib/pic16/startup/crt0i.c,
* device/lib/pic16/startup/crt0iz.c: clean up, make use of access bank
explicit, fixed curr_entry loop for >= 256 initializer records,
removed debug code (write to 0xf7e)
2008-05-25 Raphael Neider <rneider AT web.de>
* device/include/pic/pic16f627a.h,
* device/include/pic/pic16f628a.h,
* device/include/pic/pic16f648a.h: added missing ports
2008-05-20 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/float.h: added __INFINITY
* device/lib/_fsadd.c: handle overflows
* device/lib/_fsmul.c,
* device/lib/_fsdiv.c: use __INFINITY
* device/lib/_fseq.c,
* device/lib/_fsneq.c: handle -0.0
* sim/ucsim/s51.src/uc89c51r.cc,
* sim/ucsim/s51.src/uc89c51rcl.h: fixed bug 1385430
* sim/ucsim/sim.src/hwcl.h: */* confuses VC
* src/mcs51/gen.c (genSend): fixed bug with --xstack
* support/regression/ports/mcs51-xstack-auto/spec.mk: print floats
* support/regression/tests/snprintf.c: test bug with --xstack
2008-05-19 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c (callFuncByName):
Support nested parenthesis in peephole function arguments (#1967300)
2008-05-19 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (pic16_emitpLabel,pic16_emitpLabelFORCE):
fixed duplicate labels (#1911325)
2008-05-19 Raphael Neider <rneider AT web.de>
* src/regression/empty.c: suppress warning
* src/regression/pointer1.c: enabled index_by_pointer()
* src/regression/inline.c: now works for pic16 as well
* src/pic16/device.c: include dbuf declarations
* src/pic16/device.h: removed obsolete prototypes
* src/pic16/gen.c, src/pic16/gen.h: moved generic pointer tags
* src/pic16/glue.c: made purely local functions static,
(pic16_printGPointerType, pic16_printIvalCharPtr,
pic16_printIvalFuncPtr, pic16_printIvalPtr): fixed initialized
generic pointers' tags (#1961866)
* src/pic16/pcode.c (assignValnums): optimize literal assignments
2008-05-19 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: remove uninstall.exe after uninstallation,
fixed typo, uninstall include/pic16/pic16devices.txt
2008-05-18 Borut Razem <borut.razem AT siol.net>
* support/Utils/dbuf_string.[ch]: added dbuf_chomp(),
the buffer is null terminated
* src/device/pic16.c:
applied modified patch 1965676: Patch for Win32 16 bit PIC
* sdcc_vc_in.h: defined YY_NO_UNISTD_H
2008-05-16 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCC.lex (check_type),
* src/SDCC.y (type_specifier2 TYPE_NAME): fixed bug 1925942
* as/hc08/clean.mk,
* as/mcs51/clean.mk,
* as/z80/clean.mk: also clean *.dep
* device/lib/pic16/libsdcc/stack/Makefile,
* sim/ucsim/libtool: removed as they are rebuild by configure
* src/clean.mk: removed izt, so Makefile is not deleted for distclean
2008-05-13 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (fixupInline, createFunction): save currBlockno in
fixupInline instead of createFunction to fix bug 1864577
(inlineFindMaxBlockno): removed, use global blockNo
* src/SDCCglobl.h: added blockNo
* src/z80/peep.c,
* src/z80/peep.h: modified properties
* support/regression/tests/bug1864577.c: new, added
2008-05-07 Maarten Brock <sourceforge.brock AT dse.nl>
* as/mcs51/asdata.c,
* as/mcs51/asm.h: added org_cnt
* as/mcs51/asmain.c (main, asmbl): fixed bug 1957716, changed old K&R to ANSI
* as/mcs51/asout.c: changed old K&R to ANSI
* as/mcs51/Makefile.in: use common identifiers
* as/hc08/asdata.c,
* as/hc08/asexpr.c,
* as/hc08/asm.h,
* as/hc08/asmain.c,
* as/hc08/asout.c,
* as/hc08/Makefile.bcc,
* as/hc08/Makefile.in: synchronized with as/mcs51/*
* sdcc_vc_in.h: added define __func__
* src/SDCCast.c (expandInlineFuncs): applied patch 1957148 to fix bug 1717305,
Thanks Ruud van Silfhout
* support/regression/tests/bug1717305.c: new, added
2008-05-05 Borut Razem <borut.razem AT siol.net>
* support/regression/Makefile.in,
support/regression/ports/ds390/spec.mk,
support/regression/ports/hc08/spec.mk,
support/regression/ports/mcs51-common/spec.mk,
support/regression/ports/pic14/spec.mk,
support/regression/ports/pic16/spec.mk,
support/regression/ports/ucz80/spec.mk,
support/regression/ports/z80/spec.mk:
added INC_DIR and LIBDIR paths
* src/ds390/gen.c: removed duplicated selicolon
2008-05-04 Borut Razem <borut.razem AT siol.net>
* support/regression/Makefile.in,
support/regression/fwk/lib/testfwk.c,
support/regression/ports/ds390/spec.mk,
support/regression/ports/hc08/spec.mk,
support/regression/ports/mcs51-common/spec.mk,
support/regression/ports/mcs51-large/spec.mk,
support/regression/ports/mcs51-medium/spec.mk,
support/regression/ports/mcs51-small/spec.mk,
support/regression/ports/mcs51-stack-auto/spec.mk,
support/regression/ports/mcs51-xstack-auto/spec.mk,
support/regression/ports/pic14/spec.mk,
support/regression/ports/pic16/spec.mk,
support/regression/ports/ucz80/spec.mk:
added possibility to define the sdcc binary directory SDCC_BIN_PATH
used to run regeression tests
2008-05-01 Raphael Neider <rneider AT web.de>
* doc/sdccman.lyx, support/scripts/inc2h-pic16.pl: updated list of
supported devices and instructions to add new ones
2008-05-01 Raphael Neider <rneider AT web.de>
* device/include/pic16/adc.h,
device/lib/pic16/libio/adc/adcbusy.c,
device/lib/pic16/libio/adc/adcopen.c,
device/lib/pic16/libio/adc/adcsetch.c: support old 18f242 and new
18f2455 style ADC devices, based on patch #1776197
* device/lib/pic16/libio/adc/adcclose.c,
device/lib/pic16/libio/adc/adcconv.c,
device/lib/pic16/libio/adc/adcread.c: cosmetic changes
* device/include/pic16/{pic18f2331.h,pic18f2431.h},
device/lib/pic16/libdev/{pic18f2331.c,pic18f2431.c}: reuse 18f4331
* device/include/pic16/pic18f4431.h,
device/lib/pic16/libdev/pic18f4431.c: remove outdated comments
* device/lib/pic16/libio/adc.ignore: forbid unhandled devices
2008-05-01 Raphael Neider <rneider AT web.de>
* src/pic16/device.h: removed unused field PIC16_device.sfrRange,
moved xinst flag into pic16_options_t
* src/pic16/device.c (default_device, pic16_list_devices,
pic16_find_device): removed references to sfrrange
* src/pic16/gen.c (genFunction),
src/pic16/glue.c (pic16initialComments),
src/pic16/main.c (pic16_optionsTable),
src/pic16/ralloc.c (newReg, pic16_writeUsedRegs): updated references
to xinst
* device/include/pic16/pic16devices.txt: removed sfrrange lines
2008-04-29 Raphael Neider <rneider AT web.de>
* src/pic16/devices.inc,
device/include/pic16/pic16devices.txt: replaced compiled-in list
of devices with a variant parsed at runtime
* src/pic16/device.c: added support for parsing pic16devices.txt,
clean up
* src/pic16/device.h: removed (now) unused fields from PIC_device
* src/pic16/main.c: removed #pragma maxram,
(_pic16_initPaths): removed bogus generation of search paths,
setup the port proper only after the search paths (for
pic16devices.txt) are set up,
(_pic16_finaliseOptions): moved processor dependant code here
from _pic16_initPaths(), clean up
* src/pic16/ralloc.c (pic16_init_stack),
* src/pic16/ralloc.h,
* src/pic16/pcode.c: clean up
* device/include/Makefile.in,
support/scripts/sdcc.nsi: also install/package pic16devices.txt
* support/scripts/inc2h-pic16.pl: updated instructions
2008-04-29 Raphael Neider <rneider AT web.de>
* device/include/pic16/{pic18f2480.h, pic18f2580.h, pic18f4423.h,
pic18f4480.h, pic18f4523.h, pic18f4580.h, pic18f6585.h, pic18f8585.h},
device/lib/pic16/libdev/{pic18f2480.c, pic18f2580.c, pic18f4423.c,
pic18f4480.c, pic18f4523.c, pic18f4580.c, pic18f6585.c, pic18f8585.c}:
added missing family members and 18f2480/2580/4480/4580 family
* device/include/pic16/{pic18f2423.h, pic18f2523.h}: use 18f4523.h
* device/include/pic16/pic18f2525.h: use 18f4620.h
* device/include/pic16/pic18f6680.h: use 18f8680.h
* device/include/pic16/pic18fregs.h,
device/lib/pic16/pics.all,
src/pic16/devices.inc: add new devices
* device/lib/pic16/libdev/{pic18f2423.c, pic18f2523.c}: use 18f4523.c
* device/lib/pic16/libdev/pic18f2525.c: use 18f4620.c
* device/lib/pic16/libdev/pic18f6680.c: uso 18f8680.c
* device/lib/pic16/libio/{adc.ignore, i2c.ignore, usart.ignore}:
prevent attempting to build the libio for some new devices
2008-04-29 Raphael Neider <rneider AT web.de>
* debugger/mcs51/Makefile.in: fixed paths to sources
2008-04-25 Borut Razem <borut.razem AT siol.net>
* as/link/lklibr.c: moved from as/link/z80/lklibr.c
* as/link/hc08/lklibr.c, as/link/mcs51/lklibr.c: deleted
* as/link/hc08/Makefile.bcc, as/link/hc08/Makefile.in,
* as/link/hc08/link_hc08.dsp, as/link/mcs51/Makefile.bcc,
as/link/mcs51/Makefile.in, as/link/mcs51/aslink.dsp,
as/link/z80/Makefile.in, as/link/z80/linkgbz80.dsp,
as/link/z80/linkz80.dsp: lklibr.c moved
* doc/INSTALL.txt: binary archives in bz2 format
* support/cpp/auto-host_vc_in.h: CPP2 replaced with CPP
2008-04-23 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCglue.c (printIvalType, printIvalBitFields): fixed bug 1856409
* support/regression/tests/bug1856409.c: new, added
2008-04-20 Maarten Brock <sourceforge.brock AT dse.nl>
* src/z80/peep.c,
* src/mcs51/peep.c: Use werror for error messages.
* src/SDCCicode.c (geniCodeConditional),
* src/SDCCsymt.c (structElemType): fixed bug 1839321
* src/z80/Makefile.bcc,
* src/z80/z80.dsp: added src/z80/peep.c/h
* support/regression/tests/bug1839321.c: new, added
2008-04-20 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic18f2455.h: added bitfields for port C
2008-04-20 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.c: Use werror for error messages.
2008-04-19 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peep.h (declaration of notUsed()),
* src/z80/main.c (enabled notUsed() for z80 port, documented z80_port
struct),
* src/z80/z80.h (added dependency on peep.h),
* src/z80/peep.c (definition of notUsed()): Implemented RFE #1880202
for Z80.
2008-04-19 Philipp Klaus Krause <pkk AT spth.de>
* src/SDCCpeeph.c (added support for notUsed()),
* src/mcs51/main.c (added dependency on peep.h, documented mcs51_port
struct),
* src/port.h (removed dependency on mcs51/peep.h, added declaration
for notUsed()): Implemented generic (that is not port-specific) part
of RFE #1880202.
2008-04-17 Maarten Brock <sourceforge.brock AT dse.nl>
* as/link/mcs51/lkmem.c (summary2): fixed bug 1796077
* device/lib/libsdcc.lib,
* device/lib/Makefile.in,
* support/regression/ports/mcs51-xstack-auto/spec.mk,
* device/lib/calloc.c: renamed to _calloc.c
* device/lib/free.c: renamed to _free.c
* device/lib/malloc.c: renamed to _malloc.c
* device/lib/realloc.c: renamed to _realloc.c
* src/ds390/gen.c (aopGet, aopPut, genPlusBits, genDataPointerSet,
genNearPointerSet, genPagedPointerSet): synchronized with mcs51/gen.c
* src/ds390/gen.c (popForBranch, genIfxJump, genCmp, genCmpEq, ifxForOp,
genAnd, genOr, genXor, genIfx, gen390Code): fixed bug 1509084
* src/mcs51/gen.c (popForBranch, genIfxJump, genCmp, genCmpEq,
ifxForOp, genAnd, genOr, genXor, genNearPointerGet,
genPagedPointerGet, genFarPointerGet, genCodePointerGet,
genGenPointerGet, genIfx, gen51Code): fixed bug 1509084
* src/ds390/gen.c,
* src/mcs51/gen.c: throughout cosmetic changes for syncing both
* src/SDCCsymt.h: updated IS_OP_RUONLY, IS_OP_ACCUSE
* support/regression/tests/bug1509084.c: new, added
2008-04-14 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/cc2510fx.h: added _XPAGE
* device/include/mcs51/compiler.h: cosmetic changes
2008-03-31 Maarten Brock <sourceforge.brock AT dse.nl>
* sdcc.dsw: adapted for moved cpp2, added dependency for as_z80 on
config
2008-03-31 Borut Razem <borut.razem AT siol.net>
* support/cpp2 renamed to support/cpp
* support/cpp2/libiberty/filenames.h, support/cpp2/libiberty/hex.c,
support/cpp2/libiberty/splay-tree.c,
support/cpp2/libiberty/splay-tree.h, support/cpp2/libcpp/macro.c,
support/cpp2/libcpp/directives.c,
support/cpp2/libcpp/include/cpplib.h,
support/cpp2/libcpp/include/symtab.h,
support/cpp2/libcpp/include/line-map.h,
support/cpp2/libcpp/line-map.c, support/cpp2/libcpp/files.c,
support/cpp2/libcpp/init.c, support/cpp2/libcpp/traditional.c,
support/cpp2/libcpp/expr.c, support/cpp2/libcpp/internal.h,
support/cpp2/libcpp/lex.c, support/cpp2/libcpp/system.h,
support/cpp2/libcpp/charset.c: SDCPP synchronized with GCC CPP
release version 4.3.0
* configure.in, configure, Makefile.in, Makefile.bcc:
adapted for moved cpp2
2008-03-31 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/include/hc08/mc68hc908jkjl.h: committed fix for bug #1929739,
thanks Alejandro Pustowka <alejo_pustowka AT yahoo.com.mx>
2008-03-30 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCloop.c (loopInvariants): applied fix for bug 1717943, thanks
Robert Larice
* support/regression/tests/bug1717943.c: new, added
2008-03-30 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c (assignResultValue): Reverted reversal of order of
bytewise return value assignments introduced in last commit.
2008-03-30 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c (emitDebug, assignResultValue, genPlus, genMinus,
genMult, genJumpTab):
Use 16-bit instructions for addition in some additional cases,
implemented RFEs #1914251, #1914245, #1922090, #1921382, #1918323.
2008-03-30 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.c (serialRegAssign, allocReg, tryAllocatingRegPair):
Implemented RFE #1921450, changed some debug messages.
2008-03-30 Borut Razem <borut.razem AT siol.net>
* Small Device C Compiler 2.8.0 released
* .version, doc/sdccman.lyx: changed sdcc version to 2.8.1
* support/scripts/sdcc.nsi: added finish page; this version
was used for 2.8.0 release
* doc/knownbugs.html: removed; magically generated by the build
process using gen_known_bugs.pl from now on
2008-03-23 Borut Razem <borut.razem AT siol.net>
* src/pic/gen.h: Q&D solution for the bug, found by Jim Paris
and reverted it, since it was already fixed by Raphael ;-)
* doc/knownbugs.html: updated for RC2
2008-03-22 Raphael Neider <rneider AT web.de>
* src/SDCCicode.c (getPtrType): avoid unnecessary extra assignments
for PIC16 targets
2008-03-22 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (adjustArithmeticResult): fixed bug 1839299
* support/regression/tests/bug1839277.c: added related testBug1839299
2008-03-21 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (opIsGptr, adjustArithmeticResult, genAddrOf, genAssign),
* src/mcs51/gen.c (opIsGptr, adjustArithmeticResult, genAddrOf, genAssign):
fixed bug 1839277
* src/mcs51/gen.c: throughout only output hex constants
* src/SDCCicode.c (getPtrType, geniCodeCast): fixed code size regression
* support/regression/tests/bug1839277.c: new, added
2008-03-21 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.c (callFuncByName): Used // instead of /**/ to fix
compilation warning about nested comments.
2008-03-20 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCsymt.c (comparePtrType): fixed bug 1921073
* support/regression/tests/bug1921073.c: new, added
2008-03-17 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/SDCCpeeph.c.c (callFuncByName):
Commented function parameters.
2008-03-17 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/ralloc.c (packRegsForAccUse2):
disabled a broken accumulator packing optimization (fixed #1292721).
* support/regression/tests/bug-1292721: Regression test for #1292721.
2008-03-16 Raphael Neider <rneider AT web.de>
* src/pic/gen.c (SetIrp,genNearPointerGet,genNearPointerSet):
fixed code bloat regression using a variant of patch #1915618
2008-03-16 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: added section debugging macros, added SDCC
icon, changed startup menu for release distribution, code cleaning,
create url files instead links in startup menu
2008-03-16 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCcse.c (algebraicOpts): fixed bug 1579949
* support/regression/tests/bug1579949.c: new, added
2008-03-14 Paul Stoffregen <paul AT pjrc.com>
* device/lib/printf_fast.c: fixed bug 1255403
2008-03-14 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/sdccman.lyx: enhanced paragraph about bankswitching for mcs51
* src/cdbFile.c (cdbWriteBasicSymbol): fixed bug 1909409 for locals
2008-03-14 Borut Razem <borut.razem AT siol.net>
* as/doc/asmlnk.doc, as/doc/asxhtm.html: updated link-xx and aslink
command line options
* as/link/hc08/lkmain.c: converted tabs to spaces so that the usage
is correctly displayed
* as/link/z80/lkmain.c: usage line commented out
2008-03-13 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: corrected to be able to convert to PDF,
updated the list pf supported pic14 devices
2008-03-12 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/sdccman.lyx: added paragraph about bankswitching for mcs51
2008-03-12 Borut Razem <borut.razem AT siol.net>
* as/doc/asmlnk.doc, as/doc/asxhtm.html: updated command line options,
fixed documentation request #1718191
* as/hc80/asmain.c, as/mcs51/asmain.c: added option -c to usage
* doc/sdccman.lyx: added description of --no-std-crt0 gbz80
command line option
2008-03-10 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (isConformingBody): fixed bug 1505811, thanks Robert Larice
* support/regression/tests/bug1505811.c: new, added
2008-03-09 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic18f2620.h,
* device/include/pic16/pic18f4620.h,
* device/lib/pic16/libdev/pic18f2620.c,
* device/lib/pic16/libdev/pic18f4525.c,
* device/lib/pic16/libdev/pic18f4620.c: merged 18f2525/2620/4525/4620
family to consistently use pic18f4620.[ch], fixes #1832562
2008-03-09 Borut Razem <borut.razem AT siol.net>
* .version, sdcc.spec, doc/sdccman.lyx, doc/INSTALL.txt:
changed sdcc version to 2.8.0
* knownbugs.html: regenerated
* support/scripts/gen_known_bugs.pl: added number of open bugs
2008-03-09 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (pic16_mov2w_volatile): NEW, read volatile operands,
(genOr): read volatile operand even if the result is known,
closes #1511838
(genOr,genXor): removed unused legacy code,
(genDummyRead): use pic16_mov2w_volatile()
2008-03-08 Borut Razem <borut.razem AT siol.net>
* src/SDCCglue.c: fixed bug #1864582: multiple definition of char
cons w. --model-large
* support/regression/staticinit.c: added regression test for bug
#1864582
2008-03-08 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (pushSide, genPcall),
* src/hc08/gen.c (pushSide, genPcall): synchronized with mcs51
* src/mcs51/gen.c: cosmetic changes
* support/regression/fwk/include/testfwk.h: added macro reentrant
* support/regression/tests/bug1908493.c: new, added
2008-03-08 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* src/SDCCdebug.c:, as/link/lkaomf51.c: Fixed bug 1909409: Pdata in OMF file
2008-03-08 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (pushSide, genPcall): fixed bug 1908493
* src/SDCCmain.c (preProcess): removed -DSDCC_PARMS_IN_BANK1 because it is
already set in ds390/main.c and mcs51/main.c
2008-03-07 Raphael Neider <rneider AT web.de>
* src/regression/init0.c: new test for initialized arrays of function
pointers
* src/regression/Makefile: made a bit more flexible, added init0.c
* src/pic/glue.c (emitIvals): hacky fix for initializing from function
pointers, closes #1427663
2008-03-05 Borut Razem <borut.razem AT siol.net>
* dos/sdccman.lyx: docummented predefined macros SDCC_REVISION,
SDCC_PARMS_IN_BANK1, SDCC_FLOAT_REENT and SDCC_INT_LONG_REENT
2008-03-05 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* support/librarian/sdcclib.c:Added feature request 1908061:
Synchronise sdcclib commands with ar.
2008-03-04 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/SDCCmain.c: added predefined macros SDCC_REVISION (RFE #1907229),
and (depending on corresponding compiler option) SDCC_PARMS_IN_BANK1,
SDCC_FLOAT_REENT, SDCC_INT_LONG_REENT
* device/include/mcs51/compiler.h: removed umlauts, added double
underscore
2008-03-04 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCptropt.c (ptrPseudoSymConvert): fixed bug 1536762
* support/regression/tests/bug1536762.c: new, added
* src/SDCCutil.c,
* src/SDCCutil.h: added getBuildDate()
* src/SDCCmain.c (printVersionInfo),
* src/SDCCglue.c (initialComments): use getBuildDate() instead of
__DATE__
* src/*/ralloc.c: removed IS_OP_RUONLY macro
* src/ds390/ralloc.c (packRegisters),
* src/mcs51/ralloc.c (packRegisters),
* src/z80/ralloc.c (packRegisters): applied fix for bug 1618050, thanks
Robert Larice
* support/regression/tests/bug1618050.c: new, added
* src/SDCCsymt.h: fixed typo in DECLSPEC2TXT
* support/regression/fwk/include/testfwk.h,
* support/regression/tests/bug1838000.c: moved _AUTOMEM and _STATMEM to
testfwk.h
2008-03-04 Raphael Neider <rneider AT web.de>
* src/pic/gen.c: removed unused prototypes, prevent internal errors
on accessing OP_SYM_TYPE(op)
* src/pic/gen.h: removed unused prototype of genMinusDec()
* src/pic/genarith.c (genMinus): cosmetic changes, rewritten to
fix #1876953 (invalid subtraction code), removed unused code
2008-03-03 Raphael Neider <rneider AT web.de>
* src/pic/gen.c,
* src/pic/gen.h,
* src/pic/genarith.c,
* src/pic/ralloc.c,
* src/pic/ralloc.h: removed AOP_R0, AOP_R1, AOP_DPTR, AOP_DPTR2,
AOP_ACC, and *_IDX and adjusted code, removed unused legacy code
2008-03-03 Raphael Neider <rneider AT web.de>
* src/pic/device.c (find_device): search user-specified paths first
for pic14devices.txt, fixes #1900827
2008-03-02 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: fixed bug in IsNT, LogicLib-isation of
AddToPath and RemoveFromPath
2008-03-01 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: reverted MULTIUSER page since it didn't
work correctly, added debugging support if -DSDCC.DEBUG command line
option is defined
2008-02-28 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: cosmetic changes
2008-02-28 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/ralloc.c (fillGaps): fixed bug 1839671
* doc/sdccman.lyx: fixed unmeant removal of spaces
2008-02-27 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: corrected installation directory for
current user installation mode
* doc/README.txt: added Philipp Klaus Krause to the developers list
2008-02-27 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genUnpackBits): don't generate ifxJump, instead
return ifx condition
(genNearPointerGet, genPagedPointerGet, genFarPointerGet,
genCodePointerGet, genGenPointerGet): cleanup aop before generating
ifxJump to fix bug 1838000
* src/SDCCsymt.c (aggregateToPointer): fix problem for xstack
* support/regression/tests/bug1838000.c: new, added
* device/include/mcs51/cc1110.h: new, added, thanks to Pravin Angolkar
2008-02-26 Borut Razem <borut.razem AT siol.net>
* src/SDCCast.c, doc/sdccman.lyx: fixed RFE #1901171: integer promotion
of casted varargs
* support/scripts/sdcc.nsi: added MULTIUSER page,
NSIS upgraded to version 2.35
2008-02-25 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/ralloc.c (isSpiltOnStack): fixed bug 1565152
* support/regression/tests/bug1565152.c: new, added
2008-02-25 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genPagedPointerSet): fixed bug 1670148
* support/regression/ports/mcs51-xstack-auto/spec.mk: added expf.c
* support/regression/tests/bug1670148.c: new, added
2008-02-25 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* device/include/mcs51/at89c51ed2.h: fixed bug 1901469.
2008-02-24 Borut Razem <borut.razem AT siol.net>
* src/SDCCast.c, src/SDCCast.h: fixed bug #1874922: explicit typecast
is ineffective for unsigned char parameter
2008-02-24 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (expandInlineFuncs): fixed bug 1875869
* src/SDCCglue.c (printIvalBitFields): fixed bug 1806631
* support/regression/tests/bitopcse.c: removed hc08 exception, see testfwk.h
* support/Util/MySystem.c (my_system): output errorcode when verbose
2008-02-22 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c (genMult): Rewrote 8-bit multiplication by constant,
implements #1898231
2008-02-22 Philipp Klaus Krause <pkk AT spth.de>
* device/lib/z80/mul.s: Rewrote __muluchar_rrx_s, to improve 8-bit mult.,
implements #1896290
2008-02-22 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (createIvalStruct): fixed bug 1466761
2008-02-21 Borut Razem <borut.razem AT siol.net>
* support/regression/Makefile.in,
support/regression/ports/ds390/spec.mk,
support/regression/ports/hc08/spec.mk,
support/regression/ports/mcs51-common/spec.mk,
support/regression/ports/pic14/spec.mk,
support/regression/ports/pic16/spec.mk,
support/regression/ports/ucz80/spec.mk,
support/regression/ports/xa51/spec.mk:
added CFLAGS when compiling timeout
2008-02-20 Philipp Klaus Krause <pkk AT spth.de>
* support/regression/tests/bugs-1596270-1736867.c: Regression test for
#1596270, #1736867
2008-02-20 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCClrange.c (findPrevUse): fixed bug 1888147
* support/regression/tests/bug1888147.c: new, added
2008-02-20 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c: fixed bugs #1596270, #1736867
2008-02-20 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/gen.c: fixed bug in register pair loading when swapping register
contents, mostly fixes #1596270
2008-02-20 Philipp Klaus Krause <pkk AT spth.de>
* src/z80/peeph.def,
* src/z80/peeph-z80.def: moved peephole that breaks gbz80 to z80-specific
peepholes, fixes #1806565
2008-02-20 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCpeeph.c (operandBaseName): added check for @Ri
* src/mcs51/peeph.def (rule 177.c): added operandsNotRelated(%1 %3)
fixes bug 1739475, thanks Robert Larice
(rule 271): new, added
2008-02-18 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/s51.src/Makefile.in: fixed error made in previous commit
2008-02-17 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCmain.c (linkEdit): emit -z when using --debug for z80
2008-02-17 Raphael Neider <rneider AT web.de>
* src/pic16/genarith.c,
* src/pic16/gen.c,
* src/pic16/gen.h,
* src/pic16/genutils.c: removed unused legacy code,
removed unused fields from struct asmop and struct _G
2008-02-17 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (AccRsh): cosmetic changes,
(shiftR1Left2ResultSigned,shiftR1Left2Result,shiftL1Left2Result,
genRightShiftLiteral): fixed to work with SFRs as result by
assigning only once to result,
removed a lot of unused/excluded code fragments
2008-02-17 Raphael Neider <rneider AT web.de>
* device/include/pic/pic16f88.h,
* device/include/pic/pic16f886.h,
* device/include/pic/pic16f887.h: added TRISA6 and TRISA7
2008-02-17 Borut Razem <borut.razem AT siol.net>
* src/z80/peeph.def: applied patch
#1893626: Optimize tail calls on Z80, thanks to Philipp Krause
* src/z80/gen.c, src/z80/peeph.def: applied patch
#1893510: Improve logical left shift on Z80, thanks to Philipp Krause
* sim/ucsim/avr.src/Makefile.in, sim/ucsim/hc08.src/Makefile.in,
sim/ucsim/s51.src/Makefile.in, sim/ucsim/sim.src/Makefile.in,
sim/ucsim/xa.src/Makefile.in, sim/ucsim/z80.src/Makefile.in,
sim/ucsim/main_in.mk: renamed libutil.a to libucsimutil.a in order to
enable compilation on Mac OS X 10.5 (Leopard) and XCode v3.0
2008-02-16 Maarten Brock <sourceforge.brock AT dse.nl>
* as/link/mcs51/aslink.dsp: removed SDK define
* as/link/z80/clean.mk: brought in sync with other ports
* as/link/z80/lklibr.c (SdccLib, fndsym): handle the dflag here too
* as/hc08/Makefile.bcc,
* as/mcs51/Makefile.bcc,
* as/z80/Makefile.bcc: noice.c was moved to as/asxxsrc/
* src/z80/main.c (_setValues): use the now capitalized -Z,
(z80_port, gbz80_port): generate debug information when asked
2008-02-16 Borut Razem <borut.razem AT siol.net>
* as/z80/asmain.c, as/z80/asm.h, as/z80/asdata.c,
as/link/z80/lkmain.c, as/z80/as_gbz80.dsp, as/z80/as_z80.dsp,
as/z80/Makefile.in. as/z80/Makefile.bcc:
applied patch #1893393: patch for as-z80 and link-z80 to generate
cdb, thanks to Armin Diehl
* as/*/asnoice.c, as/hc08/as_hc08.dsp, as/hc08/Makefile.in,
as/mcs51/asx8051.dsp, as/mcs51/Makefile.in:
asnoice.c moved to as/asxxsrc/asnoice.c
* src/z80/peeph-gbz80.def: applied patch
#1880235: Z80 return peephole, thanks to Philipp Krause
2008-02-14 Maarten Brock <sourceforge.brock AT dse.nl>
* .version,
* doc/sdccman.lyx: bumped version to 2.7.5
* src/SDCCsymt.c (compareType, comparePtrType): fixed bug 1281583
2008-02-13 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/pic16/stdlib.h,
* device/lib/pic16/libc/stdlib/ltoa.c,
* device/lib/pic16/libc/stdio/vfprintf.c: ascii strings are char*
2008-02-13 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c, src/SDCCglue.c: fixed --c1mode
* src/pic16/glue.c, src/SDCCast.c, src/SDCCast.h, src/SDCCBBlock.c,
src/SDCCcse.c, src/SDCCglue.c, src/SDCCicode.c, src/SDCCloop.c,
src/SDCCopt.c, src/SDCCval.c:
fixed bug #1890273: SDCC Warning 154 shows wrong filename
2008-02-12 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCsymt.c (compareType): fixed bug 1309013
2008-02-09 Borut Razem <borut.razem AT siol.net>
* src/SDCCval.c, src/SDCCval.h:
code cleaning, added function constChrVal()
* src/SDCCglue.c, src/pic/glue.c, src/pic16/glue.c, src/SDCCast.c, src/SDCC.y:
call constChrVal() instead constVal()
2008-02-01 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (resolveSymbols): added reentrancy check for parameters
of function pointer
* src/SDCCerr.h,
* src/SDCCerr.c: changed warning W_NONRENT_ARGS to error E_NONRENT_ARGS
* support/regression/tests/absolute.c: added TestStruct TestVar (see also
bug 1859853)
2008-02-01 Raphael Neider <rneider AT web.de>
* device/include/pic/pic16f886.h,
* device/include/pic/pic16f887.h: added RA6 and RA7
2008-01-24 Raphael Neider <rneider AT web.de>
* device/include/pic/pic16f88.h: added RA6 and RA7
* device/lib/pic/libdev/disabled_pic16f886.c,
* device/lib/pic/libdev/disabled_pic16f887.c: renamed and enabled
* src/pic16/devices.inc,
* device/include/pic16/pic18f2423.h,
* device/include/pic16/pic18f2523.h,
* device/include/pic16/pic18fregs.h,
* device/lib/pic16/pics.all
* device/lib/pic16/libdev/pic18f2423.c,
* device/lib/pic16/libdev/pic18f2523.c: added 18f2423 and 18f2523
* device/lib/pic16/libio/i2c.ignore,
* device/lib/pic16/libio/usart.ignore,
* device/lib/pic16/libio/adc.ignore: ignore new devices
2008-01-23 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (createRMW): fixed bug 1582651
2008-01-20 Borut Razem <borut.razem AT siol.net>
* src/SDCCcse.c: partially fixed enhancement request
#1793872 - multiply by -1 not collapsed
* support/regression/tests/arithcsi.c: added regression test
2008-01-19 Maarten Brock <sourceforge.brock AT dse.nl>
* as/mcs51/asx8051.dsp: removed define SDK
* as/mcs51/i51mch.c (machine): fixed bug 1865114
* device/include/asm/ds390/features.h: fixed bug with ds390 & stack-auto
* as/link/lklex.c,
* as/link/mcs51/lkmain.c: used LKDIRSEP, LKDIRSEPSTR and LKOBJEXT,
cosmetic changes, brought more in sync, changed old K&R to ANSI
2008-01-13 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: added Uninstall/reinstall page, ...
* src/SDCCicode.c: fixed bug #1870216 - Error 122: dividing by zero
2007-12-30 Borut Razem <borut.razem AT siol.net>
* src/pic16/gen.c: fixed implementation of bitwise operations for
pic16 target
* support/regression/tests/bitwise.c: added test cases
2007-12-29 Borut Razem <borut.razem AT siol.net>
* src/SDCCasm.[ch]: renamed from asm[ch], use dbuf_getline(), ...
* src/src.dsp, src/Makefile.bcc, src/Makefile.in, src/common.h,
src/SDCCglue.c, src/xa51/main.c: asm.[ch] renamed to SDCCasm.[ch]
* support/Util/dbuf_string.[ch]: added function dbuf_getline()
* src/ds390/gen.c, src/hc08/gen.c, src/mcs51/gen.c, src/pic16/gen.c,
src/pic/gen.c, src/z80/gen.c, src/xa51/gen.c, src/pic16/ralloc.c,
src/pic16/pcode.[ch]: added const qualifier
* as/hc08/Makefile.bcc, as/hc08/Makefile.in, as/hc08/as_hc08.dsp,
as/mcs51/Makefile.bcc, as/mcs51/Makefile.in, as/mcs51/asx8051.dsp,
as/z80/Makefile.bcc, as/z80/Makefile.in, as/z80/as_gbz80.dsp,
as/z80/as_z80.dsp: added dbuf.[ch] and dbuf_string[ch] to project
* as/asxxsrc/aslex.c: use dbuf_getline()
* as/hc08/asdata.c, as/hc08/asexpr.c, as/hc08/asm.h, as/hc08/m08adr.c,
as/mcs51/asdata.c, as/mcs51/asexpr.c, as/mcs51/asm.h,
as/mcs51/i51adr.c, as/z80/asdata.c, as/z80/asexpr.c, as/z80/aslist.c,
as/z80/asm.h, as/z80/z80adr.c:
changed type of ib and ip to const char *
2007-12-28 Borut Razem <borut.razem AT siol.net>
* as/asxxsrc/aslex.c: moved from as/mcs51/aslex.c;
introduced (readlin) - long lines are turuncated
* as/hc08/as_hc08.dsp, as/mcs51/asx8051.dsp, as/z80/as_gbz80.dsp,
as/z80/as_z80.dsp, as/hc08/Makefile.in, as/mcs51/Makefile.in,
as/z80/Makefile.in: moved aslex.c to asxxsrc
* as/hc08/aslex.c, as/z80/aslex.c: deleted
* as/hc08/asmain.c, as/mcs51/asmain.c:
added missing initialization of a_addr field
* support/regression/tests/long_asm_line.c: added regtest for long
assembler line
2007-12-22 Borut Razem <borut.razem AT siol.net>
* src/SDCC.lex: fixed bug #1852894: # character hangs the compiler
2007-12-20 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCsymt.c (computeType): fixed bug, thanks Fan Weiguang
2007-12-16 Borut Razem <borut.razem AT siol.net>
* device/include/pic16/stdbool.h: removed, since already exists in
device/include/; this also fixes bitopcse.c regression test for pic16
target
* support/regression/fwk/inclusw/testfwk.h: added macro ASSERT_FAILED
* src/pic16/glue.c: fixed bug #1851855: generic static pointer
dereference doesn't work; covered by regression test bug1399290
2007-12-05 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: fixed bug #1844509 - Correction to Manual 4.6.9
Adding new PIC16
2007-12-01 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/cmd.src/cmdmem.cc, sim/ucsim/cmd.src/mem.cc:
corrected handling of the highest_valid_address
2007-11-17 Raphael Neider <rneider AT web.de>
* src/pic/main.c (_asmCmd): include debug arguments (-g as $3)
* src/pic/glue.c (picglue): emit .file if --debug is given
2007-11-17 Raphael Neider <rneider AT web.de>
* src/pic16/genarith.c (pic16_genPlus, pic16_genMinus): take special
care when left or right operand resides in result, fixes #1830220
2007-11-17 Borut Razem <borut.razem AT siol.net>
* src/SDCCglue.c, src/pic16/glue.c: reverted fix for bug
#983491 - "Merge duplicate strings function is ineffective"
* support/regression/tests/bug-983491.c: regtest disabled
* as/asxxsrc: created
as/asxxsrc/assym.c, as/asxxsrc/strcmpi.c: moved
as/hc08/assym.c, as/mcs51/assym.c, as/strcmpi.c,
as/z80/assym.c, as/hc08/asstore.c, as/mcs51/asstore.c: deleted
as/hc08/Makefile.bcc, as/hc08/Makefile.in, as/hc08/as_hc08.dsp,
as/hc08/asm.h, as/link/hc08/Makefile.bcc, as/link/hc08/Makefile.in,
as/link/hc08/link_hc08.dsp, as/link/mcs51/Makefile.bcc,
as/link/mcs51/Makefile.in, as/link/mcs51/aslink.dsp,
as/link/z80/Makefile.in, as/link/z80/linkgbz80.dsp,
as/link/z80/linkz80.dsp, as/mcs51/Makefile.bcc, as/mcs51/Makefile.in,
as/mcs51/asm.h, as/mcs51/asx8051.dsp, as/z80/Makefile.bcc,
as/z80/Makefile.in, as/z80/as_gbz80.dsp, as/z80/as_z80.dsp,
as/z80/Makefile.as_hc08, as/mcs51/Makefile.asx8051: modified
created as/asxxsrc directory, assym.c and strcpi.c moved into it
2007-11-15 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/stdarg.h: added and removed some casts
* src/SDCCsymt.c (compareType): Fully check types between generic and
non-generic pointers, also accept ptr-ptr to void-ptr assignments
2007-11-13 Borut Razem <borut.razem AT siol.net>
* support/regression/tests/bug-1817005.c:
added regtest for bug #1817005 - as-z80 chokes on long labels
2007-11-12 Borut Razem <borut.razem AT siol.net>
* as/z80/asmain.c, as/z80/asm.h, as/z80/assym.c, as/z80/asdata.c,
as/z80/asout.c, as/z80/aslist.c:
fixed bug #1817005 - as-z80 chokes on long labels
2007-11-11 Maarten Brock <sourceforge.brock AT dse.nl>
* as/hc08/asmain.c,
* as/z80/asmain.c: cosmetic changes
* as/hc08/alloc.h,
* as/mcs51/alloc.h,
* as/z80/alloc.h: removed
* as/hc08/assym.c,
* as/mcs51/assym.c: replaced alloc.h with stdlib.h
* as/link/aslink.h: added LKDIRSEP and, LKDIRSEPSTR
* as/link/hc08/Makefile.in,
* as/link/mcs51/Makefile.in,
* as/link/z80/Makefile.in: added -DUNIX to CFLAGS
* as/link/lklex.c,
* as/link/mcs51/lkarea.c,
* as/link/mcs51/lkmain.c: cosmetic changes
* as/link/hc08/lklibr.c,
* as/link/z80/lklibr.c,
* as/link/mcs51/lklibr.c: used LKDIRSEP, LKDIRSEPSTR and LKOBJEXT,
used cygwin_conv_to_full_posix_path,
added warnings, cosmetic changes, brought more in sync
changed old K&R into ANSI function declarations
* as/link/z80/lklibr.c (loadAdb): added
* as/link/z80/lkmain.c: removed -- option from usage text
2007-11-03 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (outBitC): optimized for no result
2007-10-31 Borut Razem <borut.razem AT siol.net>
* src/SDCCsymt.c: fixed (hopeful properly) bug
#1805702 - order of extern matters
* support/regression/tests/bug-1805702.c: enabled regtest for bug
#1805702
2007-10-29 Borut Razem <borut.razem AT siol.net>
* src/SDCCsymt.c: reverted bad fixed of bug #1805702
- order of extern matters
* support/regression/tests/bug-1805702.c: disabled regtest for bug
#1805702
2007-10-29 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/peeph.def: replaced 24bitModeAndPortDS390 by
24bitMode, portIsDS390
* src/mcs51/gen.c (genOr): optimized for RFE 1750727
* src/SDCCpeeph.c (flat24bitModeAndPortDS390): removed
(notVolatileVariable): also check sloc names,
(callFuncByName): moved ftab[] out of function and sorted it by use
2007-10-28 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/stdarg.h: fixed bug in va_start macro for --xstack
* src/hc08/gen.c (aopForRemat): aop->aopu.aop_immd.from_cast_remat not set,
aop->aopu.aop_immd.aop_immd2 not filled with (generic) pointer type
* src/SDCCicode.c (geniCodeCast): fixed bug 880197
* support/regression/tests/bug-880197.c: new, added
2007-10-28 Borut Razem <borut.razem AT siol.net>
* support/regression/Makefile.in,
support/regression/ports/mcs51-large/spec.mk,
support/regression/ports/mcs51-xstack-auto/spec.mk,
support/regression/ports/mcs51-stack-auto/spec.mk,
support/regression/ports/mcs51-medium/spec.mk,
support/regression/ports/mcs51-common/spec.mk,
support/regression/ports/mcs51-common/*,
support/regression/ports/mcs51-small/*:
mcs51 renamed to mcs51-common, created mcs51-small
* src/SDCCsymt.c: fixed bug #1805702 - order of extern matters
* support/regression/tests/bug-1805702.c: added regtest for bug
#1805702
2007-10-26 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/peeph.def: moved rules 257.x to 253.x and re-enabled 253.b,
added new rules 265 - 270
* support/regression/tests/bug1721024.c:new, added
* support/regression/Makefile.in: renamed test-mcs51 to test-mcs51-small,
introduced new test-mcs51 to run all mcs51 tests
2007-10-25 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/bug1816470.c: new, added
2007-10-21 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (resultTypePropagate): do propagate for LEFT_OP, do not
propagate for *,+,- with float, fixed bug 1816470
(decorateType): cast to resultTypeProp instead of resultType
2007-10-19 Borut Razem <borut.razem AT siol.net>
* src/pic16/glue.c: fixed bug #983491 - "Merge duplicate strings
function is ineffective" for pic16 tareget
* support/scripts/listerr.c: corrected include path
* device/lib/_itoa.c: fixed bug #1806402 - _itoa and _uitoa leak to
adjacent memory
2007-10-18 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/using.c: new, added
* support/regression/tests/vaargs.c: fixed and enabled test
2007-10-18 Borut Razem <borut.razem AT siol.net>
* src/SDCCglue.c: fixed bug #983491 - Merge duplicate strings function
is ineffective
* support/regression/tests/bug-983491.c: added regtest for bug #983491
2007-10-18 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/sdccman.lyx: documented option --Werror
* src/SDCCsymt.c (checkFunction): fixed bug 1815418 by setting
RegBankUsed[] earlier
2007-10-14 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/p89lpc938.h: new, added, thanks Kyle Guinn
* src/pic/glue.c,
* src/SDCCval.c,
* src/SDCCast.c,
* src/SDCCast.h: replaced AST_LIT_VALUE with AST_FLOAT_VALUE and
AST_ULONG_VALUE
* src/SDCCast.c (decorateType): improved optimization of tri-op
* src/SDCCerr.c (vwerror, setWError),
* src/SDCCerr.h,
* src/SDCCmain.c (parseCmdLine): added option --Werror to treat all
warnings as errors, thanks Stas Sergeev for PATCH 1813211
2007-10-13 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (leftRightUseAcc): use macro IS_OP_ACCUSE
* src/SDCCast.c (decorateType): optimize bit=cond?1:0, RFE 1738430
* support/regression/tests/bug-223113.c,
* support/regression/tests/bug-426632.c,
* support/regression/tests/bug-468811.c,
* support/regression/tests/bug-477835.c,
* support/regression/tests/bug-478094.c,
* support/regression/tests/bug-499644.c,
* support/regression/tests/bug-524209.c,
* support/regression/tests/bug-524211.c,
* support/regression/tests/packcast.c,
* support/regression/tests/structidx.c: added empty tests
* support/regression/tests/bug-607243.c: enabled test
2007-10-06 Borut Razem <borut.razem AT siol.net>
* .version, doc/sdccman.lyx: bumped version to 2.7.4 to indicate the full
support of universal binaries on Mac OS X
2007-10-02 Borut Razem <borut.razem AT siol.net>
* src/SDCCval.h: unified double2ul macro for all platforms
* src/SDCCval.c: fixed bug #1777758 - applied Maarten's patch
* support/regression/tests/bitwise.c: added regtest for bug #1777758
2007-09-30 Borut Razem <borut.razem AT siol.net>
* src/SDCCval.h: fixed bug #1739860 - sdcc does not work correctly on some
platforms
* sdcc_vc_in.h: enabled warnings
* src/hc08/gen.c: fixed MSVC warning C4146: unary minus operator applied to
unsigned type, result still unsigned
* src/mcs51/peep.c: fixed gcc warning: suggest parentheses around && within ||
2007-09-28 Raphael Neider <rneider AT web.de>
* src/pic/device.c (find_device): prevent buffer underflow error
* src/pic/pcoderegs.c (OptimizeRegUsage): avoid dereferencing
the just destroyed list entry
2007-09-18 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: there's a dedicated wiki page for cmake and sdcc, thanks
Alexander Neundorf
2007-09-18 Borut Razem <borut.razem AT siol.net>
* src/SDCCval.c: fixed MSVC warning C4146: unary minus operator
applied to unsigned type, result still unsigned
2007-09-17 Borut Razem <borut.razem AT siol.net>
* src/SDCC.y, src/SDCCast.c, src/SDCCcse.c, src/SDCCglue.c,
src/SDCCicode.c, src/SDCCopt.c, src/SDCCsymt.c, src/SDCCval.c,
src/SDCCval.h, src/hc08/gen.c, src/avr/gen.c, src/ds390/gen.c,
src/mcs51/gen.c, src/pic/gen.c, src/pic/genarith.c, src/pic/glue.c,
src/pic/ralloc.c, src/pic16/gen.c, src/pic16/genarith.c,
src/pic16/genutils.c, src/pic16/glue.c, src/pic16/main.c,
src/z80/gen.c, src/z80/ralloc.c:
fixed bug #1739860 - sdcc does not work correctly on some platforms
(not finished)
introduced and used ulFromVal(), double2ul(), used strtod() instead sscanf()
2007-09-17 Raphael Neider <rneider AT web.de>
* src/pic16/device.c: reverted to previous version
* device/lib/pic16/Makefile.common.in: quieten gpasm via -Wa,-q
2007-09-16 Raphael Neider <rneider AT web.de>
* src/pic16/device.c (pic16_dump_usection): do not reserve 0 bytes,
as this raises a ton of gpasm warnings, just emit a second label
* src/pic16/devices.inc,
* device/lib/pic16/pics.all,
* device/lib/pic16/libdev/pic18f2585.c,
* device/lib/pic16/libdev/pic18f2680.c,
* device/lib/pic16/libdev/pic18f2682.c,
* device/lib/pic16/libdev/pic18f2685.c,
* device/lib/pic16/libdev/pic18f4585.c,
* device/lib/pic16/libdev/pic18f4680.c,
* device/lib/pic16/libdev/pic18f4682.c,
* device/lib/pic16/libdev/pic18f4685.c,
* device/include/pic16/pic18f2585.h,
* device/include/pic16/pic18f2680.h,
* device/include/pic16/pic18f2682.h,
* device/include/pic16/pic18f2685.h,
* device/include/pic16/pic18f4585.h,
* device/include/pic16/pic18f4680.h,
* device/include/pic16/pic18f4682.h,
* device/include/pic16/pic18f4685.h,
* device/include/pic16/pic18fregs.h: added 18f2585, 18f2680,
18f2682, 18f2685, 18f4585, 18f4680, 18f4682, 18f4685,
patch contributed by Anton Strobl, applied with changes
2007-09-16 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic18f2431.h,
* device/include/pic16/pic18f25j10.h,
* device/include/pic16/pic18f4431.h,
* device/include/pic16/pic18f45j10.h: adopted common include style
* device/include/pic16/pic18f1320.h,
* device/include/pic16/pic18f2320.h,
* device/include/pic16/pic18f2525.h,
* device/include/pic16/pic18f4320.h,
* device/include/pic16/pic18f4525.h: NEW, just include proper .h file
* device/include/pic16/pic18fregs.h: prepared for automatic include
file selection by having DEVICE.h for every DEVICE
* device/lib/pic16/libdev/pic18f2320.c,
* device/lib/pic16/libdev/pic18f4320.c: just include proper .c file
* device/lib/pic16/configure.in,
* device/lib/pic16/configure: use rm -rf instead of rmdir
* device/lib/pic16/Makefile.in: use RMDIR to remove build directories
* device/lib/pic16/libc/stdlib/free.c: avoid warning on pointer cast
2007-09-09 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c, src/SDCCutil.c: print newline after printVersionInfo(),
distingush between i386 and ppc Mac OS X versions
2007-09-05 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genReceive): fixed bug 1788177
* support/regression/tests/bug1788177.c: new, added
2007-09-04 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: mentioned d52 and cmake, customizing startup code
* device/include/mcs51/lint.h added keyword __naked
2007-09-04 Maarten Brock <sourceforge.brock AT dse.nl>
* src/pic16/glue.c,
* src/pic/glue.c,
* src/SDCCmem.h: removed maxRegBank
* src/SDCCmem.c (allocVariables): removed maxRegBank and moved setting
RegBankUsed[] to checkFunction() in SDCCsymt.c to fix bug 1759839
* src/SDCCsymt.c (checkFunction): set RegBankUsed[] here
* src/mcs51/peep.c (isCallerSaveFunc, termScanAtFunc): changed function
name and behaviour to handle banked functions
(scan4op): and use it to fix bug 1786213
2007-09-03 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic18f248.h,
* device/include/pic16/pic18f258.h,
* device/include/pic16/pic18f448.h,
* device/lib/pic16/libdev/pic18f248.c,
* device/lib/pic16/libdev/pic18f258.c,
* device/lib/pic16/libdev/pic18f448.c: fixed TRISEbits,
added T0CONbits, fixes #1786891
2007-08-29 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (genFarPointerSet),
* src/hc08/ralloc.c (packRegisters),
* src/mcs51/ralloc.c (packRegisters),
* src/SDCCcse.c (cseBBlock): check if result is a symbol first to fix
bug 1750318
* src/SDCCicode.h: POINTER_SET can be true for literals too
* support/regression/tests/bug1750318.c: new, added
2007-08-23 Borut Razem <borut.razem AT siol.net>
* debugger/mcs51/sdcdb.c: fixed compilation with older readline
library versions without the completition functionality
2007-08-22 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic18f1220.h,
* device/lib/pic16/libdev/pic18f1220.c: applied patch #1776191
2007-08-12 Borut Razem <borut.razem AT siol.net>
* debugger/mcs51/Makefile.in: support/Util/SDCCerr.[ch] moved to src
2007-08-11 Borut Razem <borut.razem AT siol.net>
* support/Util/SDCCerr.c, support/Util/SDCCerr.h, src/src.dsp,
src/Makefile.in, src/Makefile.bcc, support/scripts/listerr.c:
support/Util/SDCCerr.[ch] moved to src
* as/hc08/as_hc08.dsp, as/link/hc08/link_hc08.dsp,
as/link/z80/linkgbz80.dsp, as/link/z80/linkz80.dsp,
device/examples/ds390/tinitalk/tinitalk.dsp,
device/examples/serialcomm/windows/serialcomm.dsp,
support/librarian/librarian.dsp:
removed linking of unused odbc32.lib and odbccp32.lib
* support/scripts/winres.h:
added for compilation with Visual C++ 2005 Express Edition
2007-08-09 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* device/include/mcs51/at89c51ed.h: Fixed typo in declarations of CKCON0
and CKCON1.
2007-08-07 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sdccconf_in.h: update the endian test so that SPARC Solaris
does not throw syntax errors
2007-08-06 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: removed two index entries which prevented the
generation of sdcc doc archive
2007-08-05 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* doc/sdccman.lyx: Same changes made 2007-07-28 but using lyx 1.4.4
instead of lyx 1.5.0.
2007-07-31 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* device/include/hc08/mc68hc908apxx.h: new header contributed by
Lucas Loizaga, with minor modifications. Thanks!
2007-07-28 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* doc/sdccman.lyx: Documented --acall-ajmp and described new features
in sdcclib.
2007-07-28 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* src/SDCCglobl.h, src/SDCCpeeph.c, src/SDCCglue.c, src/mcs51/main.c,
src/mcs51/peeph.def: Added option --acall-ajmp: replaces lcall/ljmp
with acall/ajmp.
2007-07-22 Borut Razem <borut.razem AT siol.net>
* configure.in, configure: re-introduced .version
* sdcc.spec, doc/INSTALL.txt: they are used only for releases;
the version reverted to 2.7.0
2007-07-18 Maarten Brock <sourceforge.brock AT dse.nl>
* configure.in,
* doc/sdccman.lyx: bumped version to 2.7.3
* device/include/mcs51/compiler.h: fixed elif->else
* src/mcs51/gen.c (genAnd, genOr): handle accuse for pure bit operands
* src/mcs51/ralloc.c (createStackSpil): fixed SCLS bug with sloc for sbit,
(operandUsesAcc, packRegsForAccUse): added parameter allowBitspace to
enable accuse for bit operands
* src/SDCCmain.c (printVersionInfo),
* src/SDCCutil.c (getBuildEnvironment): factored out creation of build
environment descriptor
* src/SDCCutil.h: added getBuildEnvironment
* src/SDCCglue.c (initialComments): use getBuildEnvironment
* support/regression/tests/bug1464657.c: enabled test test_Peephole251
* support/regression/tests/bug-408972.c: enabled test leftShiftLong
* support/regression/tests/bug1348008.c,
* support/regression/tests/bug1496419.c,
* support/regression/tests/bug1503067.c,
* support/regression/tests/preproc.c: added empty tests
2007-07-15 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/bug1678803.c: new, added
2007-07-14 Maarten Brock <sourceforge.brock AT dse.nl>
* as/link/aslink.h,
* as/link/hc08/lkihx.c,
* as/link/hc08/lkrloc.c,
* as/link/mcs51/lkihx.c,
* as/link/mcs51/lkrloc.c: renamed ihxEntendedLinearAddress to
ihxExtendedLinearAddress
* as/link/mcs51/lkrloc.c (relr),
* as/mcs51/asout.c (outr11, outr19): handle absolute destination for
acall/ajmp, see bug 830513
2007-07-13 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCcse.c (replaceAllSymBySym): renamed siaddr to isaddr,
(cseBBlock): remember aggr2ptr has been used
* src/SDCCicode.c (operandSize): added function to handle aggr2ptr,
(geniCodeAssign): fixed bug 868103
* src/SDCCicode.h: made operand.aggr2ptr 2 bits wide,
added operandSize prototype
* src/mcs51/gen.c (aopOp): use operandSize to fix bug 868103,
(genDataPointerSet): use max of size of right and result,
(gencjne): added parameter useCarry for optimization,
(genCmpEq): use carry if appropriate,
(genXor): check if operand already in carry
* support/regression/tests/bug-868103.c: enabled test
2007-07-12 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (genNearPointerSet): fixed handling of literals
2007-07-11 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCsymt.c (compareType): fixed bugs 1738367 and 1745717 with patch
from Robert Larice, thanks
* support/regression/tests/bitopcse.c,
* support/regression/tests/bitvars.c,
* support/regression/tests/bug-908454.c: use <stdbool.h> for the bit types
* support/regression/tests/bug-927659.c: enabled test for z80
* support/regression/tests/bug1738367.c: added extra tests by Frieder
* support/regression/tests/bug1745717.c: new, added
* support/regression/tests/literalop.c,
* support/regression/tests/nullstring.c: removed storage definitions that
are now in testfwk.h
2007-07-10 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/stdbool.h: do not define __bool_true_false_are_defined
and bool for targets that do not fully support it.
* support/regression/tests/bug1546986.c,
* support/regression/tests/bug1723128.c,
* support/regression/tests/bug1734654.c,
* support/regression/tests/bug1738367.c,
* support/regression/tests/constantRange.c: only use bool if allowed
2007-07-09 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/peep.c (isCallerSaveFunc): fixed bug 1749275, thanks Robert
Larice, also handle function pointers
* support/regression/tests/bug1749275.c: new, added
2007-07-03 Borut Razem <borut.razem AT siol.net>
* src/mcs51/gen.c, src/avr/gen.c, src/pic/gen.c, src/z80/gen.c,
src/pic16/gen.c, src/hc08/gen.c, src/ds390/gen.c: fixed RFE
#1746528: SDCC should ignore ':' in inline assembler comments
* device/include/typeof.h: fixed bug #1747142: typeof.h needs fixing
2007-07-02 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/C8051F360.h: fixed bug #1746410, thanks Chris Jones
* device/lib/mcs51/crtxclear.asm: do not set __XPAGE unconditionally
2007-06-29 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c: fixed bug
#1744746: SDCC #4867: broken option --xram-size
2007-06-28 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/configure.in, sim/ucsim/configure, sim/ucsim/ddconfig_in.h:
find out the endianess of host machine for ucsim
2007-06-27 Borut Razem <borut.razem AT siol.net>
* support/regression/generate-cases.py: corrected the file name
in warning
* configure.in, configure, sdccconf_in.h: find out the endianess of
host machine
* src/SDCC.y: fixed bug #1744146: Crash when compiling array of
negative size
2007-06-27 Gudjon I. Gudjonsson <gudjon AT gudjon.org>
* device/include/mcs51/p89c66x.h: NXP header file, OK to change licence
2007-06-26 Borut Razem <borut.razem AT siol.net>
* support/regression/generate-cases.py: display warning if function
list is empty; implemented more flexible rule for detection of
testing functions, allowing return type 'void' in the same line as
the function name in the function definition
* support/regression/tests/bug-1654060.c: corrected test
* support/librarian/sdcclib.c: fixed warning:
format '%s' expects type 'char *', but argument 2 has type 'int'
2007-06-25 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* support/librarian/sdcclib.c: Added feature Requests [1510635]
Multiple infiles for sdcclib.
2007-06-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (inlineFindMaxBlockno, createFunction): fixed
bug 1731741
2007-06-18 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c: removed option -C since SDCC compiler doesn't know
how to handle comments, so they have to be removed by the
preprocessor; fixed bug #1738926:SDCC #4852: broken option -V
* src/SDCCmain.c, src/SDCCargs.h, src/ds390/main.c, src/mcs15/main.c,
src/pic16/main.c, src/pic/main.c, src/z80/main.c,
support/Util/SDCCerr.c, support/Util/SDCCerr.h:
table driven option hadling
2007-06-16 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (decorateType),
* src/SDCCicode.c (geniCodeConditional): moved optimization for '?' from
iCode to ast level to fix bug 1738367
* support/regression/tests/bug1738367.c: new, added
2007-06-15 Raphael Neider <rneider AT web.de>
* src/pic16/devices.inc,
* device/lib/pic16/pics.all,
* device/include/pic16/pic18fregs.h,
* device/include/pic16/pic18f[24][45]20.h,
* device/lib/pic16/libdev/pic18f[24][45]20.c: added support for
18f2420, 18f2520, and 18f4420 devices, updated 18f4520 definitions
* device/lib/pic16/Makefile.in: faster cleanup
2007-06-13 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peeph.def: added 177.i (mov from a is slightly cheaper)
2007-06-13 Raphael Neider <rneider AT web.de>
* src/SDCCmain.c: prevent NULL pointer dereference, avoid warning
2007-06-12 Raphael Neider <rneider AT web.de>
* support/scripts/inc2h.pl: conditionally emit defines for SFR bits,
suppress bit defines if NO_BIT_DEFINES is #define'd
* device/include/pic/pic*.h: recreated all headers to include
conditional bit defines
* device/include/pic/pic16f886.h,
* device/include/pic/pic16f887.h: fixed based on newer .inc file
* device/include/pic/recreate.sh: script to recreate the complete
device library files based on the currently supported devices
2007-06-12 Borut Razem <borut.razem AT siol.net>
* src/pic16/main.c, src/SDCCargs.h, SDCCmain.c,
support/regression/Makefile.in, support/scripts/build.mak,
support/scripts/Makefile.snapshot:
use new svn URL scheme
* doc/sdccman.lyx: SDCC Wiki moved to
http://sdcc.wiki.sourceforge.net/
2007-06-10 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peeph.def: disabled rule 132.d to fix #1734654
* support/regression/tests/bug1734654.c: added
2007-06-10 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (decorateType): optimized '?' for equal operands
* src/SDCCicode.c (geniCodeConditional): optimization for bit result
with literal operands
2007-06-10 Borut Razem <borut.razem AT siol.net>
* as/link/z80/lklibr.c: fixed mingw build warning
lklibr.c:575: warning: implicit declaration of function 'tolower'
* src/SDCCmain.c, src/ds390/main.c, src/mcs51/main.c, src/pic/main.c,
src/z80/main.c: move target specific options from src/SDCCmain.c
to src/<target>/main.c
2007-06-09 Borut Razem <borut.razem AT siol.net>
* src/z80/gen.c: fixed bug #1294691: nested ifs make compiler crash;
removed unused swap_sense; removed outBitCLong, replaced with outBitC
* support/regression/tests/bug-1294691.c: added
2007-06-09 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCmem.c (allocDefault): removed check sym->level==0 for SPEC_ABSA,
can also be static, fixes bug 1733438
* src/SDCCsymt.c (checkSClass): static local vars in reentrant funcs can
have absolute address too
(computeType): added optimization for 'cond ? true : false'
* support/regression/tests/absolute.c: added test for static absolute var
2007-06-08 Raphael Neider <rneider AT web.de>
* src/regression/Makefile: suppress parallel builds, allow easy
switching between pic14/pic16 ports
* src/regression/picregs.h: added pic14/16 header file switch
* src/regression/{compare7.c,compare8.c,compare9.c,compare10.c,
inline.c,nestfor.c,string1.c}: include "picregs.h"
2007-06-07 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/*.[ch], sim/ucsim/configure, sim/ucsim/configure.in:
permanent solution to suppress GCC 4.2.0 c++ warning:
deprecated conversion from string constant to `char *'
use 'const char *' where ever required
* support/regression/generate-cases.py: implemented more flexible rule
for detection of testing functions, allowing white-spaces surrounding
the function name and the 'void' parameter.
* support/regression/tests/constantRange.c,
support/regression/tests/scott-compare3.c: fixed failing regression
tests, uncovered by implementation of more flexible rule for detection
of testing functions
2007-06-04 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c(decorateType): better optimize '!!' and comparisons
2007-06-04 Borut Razem <borut.razem AT siol.net>
* configure.in, configure, config_vc.awk: sdcc version number is now
stored in configure.in; removed .version
* configure.in, configure, sdcc.spec, doc/sdccman.lyx, doc/sdccman.lyx,
doc/INSTALL.txt: version bumped to 2.7.2
* sim/ucsim/configure.in, sim/ucsim/configure:
use "read" to read from .version
2007-06-03 Borut Razem <borut.razem AT siol.net>
* */Makefile.in: removed annoying warning:
Makefile:xx: Makefile.dep: No such file or directory
2007-06-02 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (outBitC, genRet): used IS_OP_RUONLY,
(genNot, genXor): used toCarry, also fixes a bug for c = bit ^ val
* src/mcs51/ralloc.c: removed IS_OP_RUONLY + some cosmetic changes
* src/SDCCast.c (resultTypePropagate): propagate for '!',
(decorateType): also optimize comparisons with RESULT_TYPE_BIT,
bugfix: only use newBoolLink for bit result type
* src/SDCCicode.c (geniCodeLogic): added param tree,
bugfix: use newBoolLink if tree is bit type, bug appears when ruonly,
(geniCodeLogicAndOr): use IS_BIT,
(geniCodeJumpTable, geniCodeSwitch): added NULL param to geniCodeLogic,
(ast2iCode): added tree param to geniCodeLogic for comparisons
* src/SDCCsymt.h: added IS_OP_RUONLY and IS_OP_ACCUSE
* support/regression/tests/bug1723128.c: added test NotZero
2007-06-01 Borut Razem <borut.razem AT siol.net>
* SDCPP synchronized with GCC CPP release version 4.2.0,
currently the latest release:
* support/cpp2/c-incpath.c, support/cpp2/c-incpath.h,
support/cpp2/c-ppoutput.c, support/cpp2/cppdefault.c,
support/cpp2/cppdefault.h, support/cpp2/except.h,
support/cpp2/libcpp/directives.c, support/cpp2/libcpp/expr.c,
support/cpp2/libcpp/files.c, support/cpp2/libcpp/include/cpplib.h,
support/cpp2/libcpp/init.c, support/cpp2/libcpp/internal.h,
support/cpp2/libcpp/lex.c, support/cpp2/libcpp/macro.c,
support/cpp2/libcpp/mkdeps.c, support/cpp2/libiberty/getpwd.c,
support/cpp2/libiberty/hashtab.c, support/cpp2/optc-gen.awk,
support/cpp2/opth-gen.awk, support/cpp2/opts.c,
support/cpp2/opts.h, support/cpp2/output.h,
support/cpp2/prefix.c, support/cpp2/sdcpp-opts.c,
support/cpp2/sdcpp.dsp, support/cpp2/sdcpp.opt,
support/cpp2/system.h, support/cpp2/version.c,
support/cpp2/Makefile.in: modified
* support/cpp2/opts-common.c: added
* device/lib/pic16/libdev/pic18f[24][45]j10.c: fixed svn atrributes
* device/lib/pic16/libdev/pic18f[24]5j10.c:
search for included source file in local directory
* sim/ucsim/configure, sim/ucsim/configure.in:
temporary solution to suppress GCC 4.2.0 c++ warning:
deprecated conversion from string constant to `char *'
2007-06-01 Raphael Neider <rneider AT web.de>
* device/lib/pic/libdev/pic12f683.c,
* device/include/pic/pic12f683.h: added GPIO bits
2007-06-01 Raphael Neider <rneider AT web.de>
* doc/sdccman.lyx: added --disable-pic16-port, fixed some `--' and
quotation marks, clarified role of PIC14 vs. PIC16 ports
* src/pic16/devices.inc,
* device/include/pic16/pic18fregs.h,
* device/include/pic16/pic18f[24][45]j10.h,
* device/lib/pic16/pics.all,
* device/lib/pic16/libdev/pic18f[24][45]j10.c: added support for
18f24j10, 18f25j10, 18f44j10, and 18f45j10
* device/lib/pic16/libio/{i2c,adc,usart}.ignore: do not build IO libs
for new devices as they are not yet supported by gputils
2007-05-31 Borut Razem <borut.razem AT siol.net>
* Small Device C Compiler 2.7.0 released
* .version, sdcc.spec, doc/sdccman.lyx, doc/INSTALL.txt:
changed sdcc version to 2.7.1
* support/scripts/sdcc.nsi: added How to create WIN32 release
setup.exe package
2007-05-29 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/sdccman.lyx: documented initialization and allocation of absolute
variables, bit parameter passing, the need for function pointers to be
reentrant and alpha quality support of inline and retrict
2007-05-26 Borut Razem <borut.razem AT siol.net>
* support/regression/tests/bug1057979.c, support/regression/tests/malloc.c,
support/regression/fwk/include/testfwk.h: fixed compilation on Mac OS x
* docs/knownbugs.html: updated
2007-05-25 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/sdccman.lyx: inserted footnotes about inline assembler labels,
thanks Jan Waclawek
* src/mcs51/gen.c (aopPut): fixed part of bug 1723128 when result is
AOP_CRY and ruonly
(gencjneshort): optimized when left is AOP_DIR
* src/SDCCglue.c (printIvalStruct): fixed other part of bug 1723128 for
initializing unions in a struct/array
* support/regression/fwk/include/testfwk.h: added defines for data, near
and far for host and z80
* support/regression/tests/bug1723128.c: new, added
2007-05-22 Borut Razem <borut.razem AT siol.net>
* doc/knownbugs.html: updated
2007-05-21 Raphael Neider <rneider AT web.de>
* src/pic16/glue.c (pic16_initPointer): avoid assertion, emit better
error message instead
* src/pic/pcoderegs.c (pCodeOptime2pCodes): keep register state intact
2007-05-21 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/peeph.def (257.b): disabled to fix bug 1721024
2007-05-21 Raphael Neider <rneider AT web.de>
* src/pic/pcoderegs.c (pCodeOptime2pCodes): fixed bogus optimization,
closes #1722392
* src/regression/gpsim_assert.h,
* src/regression/Makefile,
* src/regression/pcodeopt.c: regression test for the above fix
2007-05-11 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCpeeph.c (labelIsUncondJump): ignore identical labels for
jumps to self, fixed bug 1717281
2007-05-10 Borut Razem <borut.razem AT siol.net>
* support/scripts/gen_known_bugs.pl: cosmetic fix
* doc/knownbugs.html: generated by gen_known_bugs.pl
2007-05-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (createFunction): also generate non-inlined version of
function for functions declared as "static inline"
* src/SDCCast.c (fixupInline, inlineAddDecl): reset symbol state so
function can be inlined after non-inlined version generated.
2007-05-10 Borut Razem <borut.razem AT siol.net>
* support/scripts/gen_known_bugs.pl: added script
which generates knownbugs.html
2007-05-09 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/knownbugs.html: updated for release 2.7.0
2007-05-09 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* device/include/mcs51/uPSD33xx.h: Added patch by Jan Waclawek.
2007-05-08 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (emitcode): don't change properties of previous lines,
(throughout): updated generating comments
* src/mcs51/gen.c (emitcode): don't change properties of previous lines,
(throughout): updated generating comments
* src/SDCCpeeph.c (peepHole): continue searching at the first replaced
rule instead of at the second, or it might skip lines when removing the
complete match
* support/regression/tests/bug1714204.c: changed test to foo
2007-05-08 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: changed sdcc version to 2.7.0,
thanks to SDCC Distributed Compile Farm members,
added Z80 and GBZ80 command line options
* .version, doc/INSTALL.txt, sdcc.spec: changed sdcc version to 2.7.0
2007-05-08 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/mcs51/crtxinit.asm: added disabled version for dual dptr
* device/include/mcs51/uPSD33xx.h: added sfr DPS as alias for DPTC
* support/regression/tests/longlit.c: modified to be tested at all and
to pass the actual test
2007-05-07 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* device/include/mcs51/uPSD33xx.h: Added.
2007-05-07 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_gptrput.c,
* device/lib/_gptrget.c: removed old code,
(_gptrgetWord),
* src/ds390/gen.c (genGenPointerGet): fixed bug 1714204
* support/regression/tests/bug1714204.c: new, added
2007-05-06 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* support/regression/tests/regtrack.c: test was never executed
because of the regression test being picky about white spaces.
* device/lib/mcs51/crtclear.asm: added comment
2007-05-06 Raphael Neider <rneider AT web.de>
* device/lib/pic/Makefile.rules,
* device/lib/pic16/Makefile.rules: make sure *.ignore file exists,
made "&> /dev/null" redirection sh-safe ("> /dev/null 2>&1")
2007-05-06 Raphael Neider <rneider AT web.de>
* src/pic16/device.h,
* src/pic16/main.h,
* src/pic16/main.c (pic16_optionsTable,_pic16_parseOptions,
_pic16_setDefaultOptions): removed/reordered command-line args
* doc/sdccman.lyx: updated PIC14 and PIC16 documentation (supported
devices, regrouped command line args, environment variables),
clarified sone points, added sections on how to add devices to the
PIC14/PIC16 ports
2007-05-06 Maarten Brock <sourceforge.brock AT dse.nl>
* src/z80/peeph.def: fixed bug in rule 2
2007-05-05 Maarten Brock <sourceforge.brock AT dse.nl>
* src/port.h: added TARGET_MCS51_LIKE
* src/SDCCpeeph.c (labelIsUncondJump): new, added, other targets could
take advantage of it too
* src/z80/gen.c (genIpush): push b, d or h directly instead of using a,
(shiftR2Left2Result): Optimized: don't check shifting by 0
* src/z80/peeph-z80.def,
* src/z80/peeph.def: whole set of new rules by Philipp Krause with some
modifications, see patch 1700823
* src/mcs51/peep.c (): fixed bug 1712928
* support/regression/tests/bug1712928.c: new, added
2007-05-05 Borut Razem <borut.razem AT siol.net>
* device/lib/pic16/Makefile.common.in,
device/lib/pic/Makefile.common.in, sim/ucsim/cmd.src/Makefile.in:
removed bash dependencies
2007-05-01 Borut Razem <borut.razem AT siol.net>
* src/SDCCicode.c:
fixed bug #1710507: --i-code-in-asm makes compile fail
all iCode comments are now one liners
* src/mcs51/gen.c: fixed memory leak
2007-05-01 Raphael Neider <rneider AT web.de>
* device/lib/pic/libdev/*.c
* device/include/pic/*.h: regenerated all device libs from updated
.inc files
* support/scripts/inc2h.pl: documented usage, now uses strict to
catch more bugs
2007-04-30 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx:
fixed bug #1669175: Problem with space in output paths
documented how to use paths with spaces for Windows users
2007-04-29 Borut Razem <borut.razem AT siol.net>
* Fixed svn:eol-style and svn:keywords properties
* src/SDCCval.c: fixed bug
#1592871: Segfault with "large" const arrays of characters
replaced recursion with iteration
* Removed svn:executable property from non-executable files
2007-04-29 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genRet): fixed bug 1707003
2007-04-27 Raphael Neider <rneider AT web.de>
* src/pic16/pcode.c (pBlockRemoveUnusedLabels,pic16_pBlockAddInval,
createReachingDefinitions,assignValnums,pic16_destructDF,
pic16_createDF,pic16_vcg_dumpedges,pic16_vcg_dump_default):
prevent NULL pointer dereferences
* device/lib/pic/libdev/pic16f886.c,
* device/lib/pic/libdev/pic16f887.c: svn mv'ed to disabled_* to
prevent building them, gputils do not really support them yet
2007-04-27 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/lib/_ltoa.c: 36 bytes less __data mem. This really
helps printf_small. 32 bytes more __idata mem.
2007-04-27 Raphael Neider <rneider AT web.de>
* src/pic/pcode.c (addpCode2pBlock,LinkFlow,pBlockRemoveUnusedLabels):
return early when pb or pb->pcHead is NULL (patch #1708427)
* src/regression/empty.c,
* src/regression/Makefile: added test with empty functions
* support/Util/SDCCerr.c: fixed typo in E_INIT_STRUCT message
2007-04-27 Borut Razem <borut.razem AT siol.net>
* src/SDCCast.c: fixed feature request
#1547512: Redundant strings linked when using sizeof("abc")
2007-04-23 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx, src/SDCCmain.c:
peep-hole comments are generated only if --fverbose-asm option is
specified and --no-peep-comments is not, as proposed by Frieder.
* support/regression/Makefile.in: compile regression tests with
--fverbose-asm option so one can "grep" whether a new (or an old)
peephole is (still) applied; requested by Frieder.
2007-04-23 Kevin Buettner <kevin AT buettner.to>
* device/include/pic/pic16f886.h,
* device/include/pic/pic16f887.h,
* device/lib/pic/libdev/pic16f886.c,
* device/lib/pic/libdev/pic16f887.c,
* device/include/pic/pic14devices.txt,
* device/lib/pic/libdev/devices.txt: Add 16f886 and 16f887.
2007-04-23 Kevin Buettner <kevin AT buettner.to>
* device/lib/pic/libsdcc/idata.c: PAGESEL _main before going there,
fixes #1704666
2007-04-23 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/lib/_memset.c: assembler version for mcs51
2007-04-22 Borut Razem <borut.razem AT siol.net>
* support/scripts/listerr.c: program to create the list of errors and
warnings list from - added
* doc/sdccman.lyx: removed the note
"For list of warnings and corresponding codes, see err_warn.txt"
* src/SDCCsymt.c: fixed bug #1699804:
Bug with some uses of sizeof(static local array) (MCS51)
* support/regression/tests/bug-1699804.c: added
2007-04-20 Maarten Brock <sourceforge.brock AT dse.nl>
* as/mcs51/asmain.c (search_path_append, search_path_fopen): new, added,
(main): added option -i,
(asmbl, case S_INCL): use search_path_fopen,
mostly from patch 1579668 by Peter Miller, thanks
* src/z80/main.c: fixed typo --callee-saves-bc
* device/include/mcs51/compiler.h: added sfrword for Tasking
2007-04-20 Borut Razem <borut.razem AT siol.net>
* src/z80/main.c: replaced reserved keyword asm with asmblr
2007-04-19 Borut Razem <borut.razem AT siol.net>
* src/port.h: use const pointers to strings
* src/SDCCargs.h: declared getStringArg() and getIntArg()
* src/pic16/main.c: include SDCCargs.h
* src/SDCCglobl.h: code_seg and const_seg are not pointers to
const char, since the strings are dynamically allocated
* src/SDCCmain.c: options.code_seg and options.const_seg are
dynamically allocated; check port specific command line options
before the general ones
* src/z80/main.c: fixed bug #1631895: codeseg/constseg #pragma fail
2007-04-18 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/ds400rom.h,
* device/lib/ds390/lcd390.c,
* device/lib/ds390/memcpyx.c,
* device/lib/ds390/rtc390.c,
* device/lib/ds400/ds400rom.c,
* device/lib/ds400/memcpyx.c,
* device/lib/hc08/_ret.c: more replacements of keywords with their
double underscore equivalents
* device/lib/ds390/Makefile.in,
* device/lib/ds400/Makefile.in,
* device/lib/gbz80/Makefile.in,
* device/lib/hc08/Makefile.in,
* device/lib/mcs51/Makefile.in,
* device/lib/z80/Makefile.in: added --std-c89 to CFLAGS
2007-04-17 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx, src/SDCCmain.c, src/SDCCglobal.h, src/ds390/gen.c,
src/hc08/gen.c, src/mcs51/gen.c, src/mcs51/rtrack.c:
fixed #1493816: option --no-gen-comments: --no-gen-comments renamed
to --fverbose-asm, to be gcc'ish
2007-04-17 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (aopOp): set size to 1 for ruonly, fixes bug 1699455
2007-04-17 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: fixed #1701874: Mac OSX references in SDCC manual
* device/lib/ds400/tinibios.c, device/lib/hc08/_divuint.c,
device/lib/hc08/_divulong.c: replaced _asm and _endasm keywords
with their double underscore equivalent
2007-04-14 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: some additional "freeware" replaced with "free open
source"
2007-04-13 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: -pedantic-parse-number is not in conformance with
C99 standard
* device/examples/serialcomm/windows/serial.[ch],
device/examples/serialcomm/windows/test_serialcomm.cpp:
updated by Bela Torok
* device/examples/serialcomm/windows/serialcomm.dsw,
device/examples/serialcomm/windows/serialcomm.dsp: added
2007-04-13 Jan Waclawek <wek AT efton.sk>
* doc/sdccman.lyx: additions and changes at various places
(submitted as #1697136).
(svn commit by Frieder Ferlemann <Frieder.Ferlemann AT web.de>)
2007-04-10 Borut Razem <borut.razem AT siol.net>
* doc/cdbfileformat.lyx, doc/sdccman.lyx, doc/test_suite_spec.lyx:
LyX file format changed to 245
* doc/sdccman.lyx, doc/README.txt, sdc/SDCC.lex, src/SDCCglue.c:
"FreeWare" replaced with "free open source"
2007-04-10 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/C8051F120.h: added some defines for bits in RSTSRC
2007-04-08 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/pic16/pic18fregs.h,
* device/lib/_bp.c,
* device/lib/_decdptr.c,
* device/lib/_divsint.c,
* device/lib/_divslong.c,
* device/lib/_divuint.c,
* device/lib/_divulong.c,
* device/lib/_fs2schar.c,
* device/lib/_fs2sint.c,
* device/lib/_fs2slong.c,
* device/lib/_fs2uchar.c,
* device/lib/_fs2uint.c,
* device/lib/_fs2ulong.c,
* device/lib/_fsadd.c,
* device/lib/_fscmp.c,
* device/lib/_fsdiv.c,
* device/lib/_fseq.c,
* device/lib/_fsget1arg.c,
* device/lib/_fsget2args.c,
* device/lib/_fsgt.c,
* device/lib/_fslt.c,
* device/lib/_fsmul.c,
* device/lib/_fsneq.c,
* device/lib/_fsnormalize.c,
* device/lib/_fsreturnval.c,
* device/lib/_fsrshift.c,
* device/lib/_fssub.c,
* device/lib/_fsswapargs.c,
* device/lib/_gptrget.c,
* device/lib/_gptrgetc.c,
* device/lib/_gptrput.c,
* device/lib/_logexpf.c,
* device/lib/_modsint.c,
* device/lib/_modslong.c,
* device/lib/_moduint.c,
* device/lib/_modulong.c,
* device/lib/_mulint.c,
* device/lib/_mullong.c,
* device/lib/_schar2fs.c,
* device/lib/_ser.c,
* device/lib/_setjmp.c,
* device/lib/_sint2fs.c,
* device/lib/_slong2fs.c,
* device/lib/_spx.c,
* device/lib/_uchar2fs.c,
* device/lib/_uint2fs.c,
* device/lib/_ulong2fs.c,
* device/lib/asincosf.c,
* device/lib/atanf.c,
* device/lib/calloc.c,
* device/lib/ds390/tinibios.c,
* device/lib/ds400/tinibios.c,
* device/lib/expf.c,
* device/lib/free.c,
* device/lib/hc08/_mulint.c,
* device/lib/logf.c,
* device/lib/malloc.c,
* device/lib/printf_fast.c,
* device/lib/printf_tiny.c,
* device/lib/printfl.c,
* device/lib/realloc.c,
* device/lib/ser_ir.c,
* device/lib/serial.c,
* support/regression/tests/libmullong.c: replaced all special keywords
with their double underscore equivalent
* support/regression/ports/mcs51-xstack-auto/spec.mk,
* device/lib/Makefile.in: compile libs with --std-c99 instead of
--std-sdcc99
* src/mcs51/gen.c (outBitC): don't store if result is return-use-only,
(genRet): if the bit-symbol is ruonly it already is in the carry
* src/mcs51/ralloc.c (regTypeNum): make regType REG_CND for ruonly bit
* src/SDCCast.c (createFunction): applied patch 887171 by Stas Sergeev
* src/SDCCicode.c (ast2iCode): '!', GETHBIT, GETABIT: only set operand
type UCHAR if dest is not bit
2007-04-03 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/math.h,
* device/lib/cotf.c,
* device/lib/expf.c,
* device/lib/sincoshf.c: changed XMAX to C99 HUGE_VALF
2007-04-01 Borut Razem <borut.razem AT siol.net>
* src/SDCC.lex, src/SDCCmain.c, support/cpp2/sdcpp.c:
fixed bug #1692042: input buffer overflow...scanner uses REJECT
* support/cpp2/sdcpp.c: fixed recursion bug - internal_error() called
gcc_unreachable() called internal_error()...
2007-03-30 Raphael Neider <rneider AT web.de>
* src/pic/ralloc.c (isData): suppress garbage debug output
2007-03-28 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx:
"Nightly Snapshots" replaced with "Snapshot Builds", since the SDCC
is developed, built and used worldwide, and the word "night" doesn't
make any sense.
2007-03-28 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/C8051F360.h: new, added
* device/include/mcs51/C8051F520.h: fixed buggy sbit addresses SPI0CN
2007-03-27 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCC.y (declaration_specifiers, function_specifier),
* support/Util/SDCCerr.c,
* support/Util/SDCCerr.h,
* src/SDCCsymt.h,
* src/SDCCsymt.c (mergeSpec, checkFunction): Parse and validate the
inline keyword
* src/SDCCmem.c (deallocParms),
* src/SDCCast.c: support for function inlining, not quite complete
* src/SDCCsymt.c (printTypeChain, printTypeChainRaw): display
'restrict' qualifier
2007-03-24 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (saveRegisters, unsaveRegisters): free some bitVects,
(saveRBank, unsaveRBank): don't save bits,
(genFunction, genEndFunction): save bits exactly once, fix bug 1535242
* support/regression/tests/bug1535242.c: new, added
* device/include/assert.h: applied patch 1686533 to fix bug 1686528,
thanks Alexey Shamrin <shamrin AT gmail.com>,
made assert.h header ANSI compliant (added a check for NDEBUG macro,
removed header guard)
* .version,
* sdcc.spec: bumped version to 2.6.5
* src/SDCCmain.c(parseCmdLine): fixed bug 1677144
2007-03-22 Borut Razem <borut.razem AT siol.net>
* debugger/mcs51/cmd.c, debugger/mcs51/sdcdb.c:
fixed bug #1653671: sdcdb integration into ddd is broken
2007-03-22 Raphael Neider <rneider AT web.de>
* src/pic/gen.c (popGetExternal): augmented to also create references
to external variables (not only labels),
(genCall): comment on plan to reduce PAGESEL overhead,
(genFunction, genEndFunction): also save/restore FSR around interrupt
handling code, removed lots of unused code
(genDivOneByte): release acquired temp register
* src/pic/glue.c (pic14createInterruptVect): adapt to new signature
of popGetExternal
* device/lib/pic/libsdcc/shadowregs.c: NEW, provide storage location
for registers that need to be saved during interrupts (FSR, STATUS,
PCLATH; W needs special handling), currently only FSR is used
2007-03-22 Raphael Neider <rneider AT web.de>
* device/include/pic/pic14devices.txt: 16f688 has only one config word
2007-03-19 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* /as/link/mcs51/aslink.dsp: Object extension for mcs51 is 'rel' not 'o'.
2007-03-17 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/peeph.def (263.x): fixed bug for volatile variables
2007-03-14 Maarten Brock <sourceforge.brock AT dse.nl>
* as/link/aslink.h: added LKOBJEXT
* as/link/hc08/link_hc08.dsp,
* as/link/hc08/Makefile.bcc,
* as/link/hc08/Makefile.in,
* as/link/mcs51/aslink.dsp,
* as/link/mcs51/Makefile.bcc,
* as/link/mcs51/Makefile.in: moved lkamof51.c and lkdata.c
* as/link/hc08/lkaomf51.c, as/link/mcs51/lkaomf51.c,
* as/link/lkaomf51.c: merged and moved
* as/link/hc08/lkdata.c, as/link/mcs51/lkdata.c,
* as/link/z80/lkdata.c,
* as/link/lkdata.c: merged and moved
* as/link/hc08/lkmain.c,
* as/link/mcs51/lkmain.c: cosmetic changes
* as/link/z80/lkeval.c, as/link/lkeval.c: merged
* as/link/lklex.c: use LKOBJEXT
* as/link/z80/lklist.c, as/link/lklist.c: merged,
ANSI-fied functions, removed bubble-sorts
* as/link/z80/lksym.c, as/link/lksym.c: merged,
ANSI-fied functions
* as/link/z80/linkgbz80.dsp,
* as/link/z80/linkz80.dsp,
* as/link/z80/Makefile.in: added lkaomf51.c and lknoice.c,
moved lkdata.c, lkeval.c, lkhead.c, lklex.x, lklist.c, lksym.c
* as/link/z80/lkhead.c,
* as/link/z80/lklex.c: deleted
* as/link/z80/lklibr.c: moved LKOBJEXT to aslink.h
* as/link/z80/lkmain.c: added copyfile()
2007-03-13 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* device/include/mcs51/P89LPC925.h: Added missing P1_6 and P1_7.
2007-03-13 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/lib/_strlen.c: assembler version for mcs51
2007-03-13 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic18f2221.h,
* device/include/pic16/pic18f2321.h,
* device/include/pic16/pic18f2331.h,
* device/include/pic16/pic18f4221.h,
* device/include/pic16/pic18f4321.h,
* device/include/pic16/pic18f4331.h: fixed config byte location names
* support/scripts/inc2h-pic16.pl: removed debug output, emit
consistently named config byte locations
2007-03-13 Borut Razem <borut.razem AT siol.net>
* src/Makefile.in, sim/ucsim/avr.src/Makefile.in,
sim/ucsim/hc08.src/Makefile.in, sim/ucsim/s51.src/Makefile.in,
sim/ucsim/xa.src/Makefile.in, sim/ucsim/z80.src/Makefile.in,
as/link/z80/Makefile.in, as/z80/Makefile.in:
introduced LDFLAGS
2007-03-11 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/lib/printfl.c: 13 bytes less __data mem (12 more __idata)
* device/lib/printf_large.c: pointer was converted to generic
pointer for mcs51 models other than model-small (Maarten noticed)
2007-03-10 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* device/include/mcs51/ADuC84x.h: Added.
2007-03-10 Borut Razem <borut.razem AT siol.net>
* src/SDCC.lex, src/SDCCutil.[ch], src/SDCCval:
fixed RFE #1624219: double backslashes in filenames;
functions hexEscape(), octalEscape() and copyStr() moved from
SDCCval.c to SDCCutil.c and made them glovbally available
2007-03-09 Borut Razem <borut.razem AT siol.net>
* src/SDCC.lex, src/SDCCast.c. src/SDCCglobl.c, src/SDCCsymt.c,
src/SDCCval.c: fixed bugs #1676768: Wrong line number reported and
1673361: Missaligned comments in output files
2007-03-09 Raphael Neider <rneider AT web.de>
* device/include/pic/pic14devices.txt: fixed confsiz of 16f91[3467]
2007-03-09 Raphael Neider <rneider AT web.de>
* src/pic/gen.c,
* src/pic/glue.c,
* src/pic/ralloc.c: suppress undesired debug output
* src/SDCCmain.c (linkEdit): initialize c to quieten compiler
2007-03-08 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/lib/printf_large.c: 6 bytes less __data mem (6 more __idata)
2007-03-07 Borut Razem <borut.razem AT siol.net>
* device/lib/pic16/libdev/pic18f[24][34]31.c:
search include files in the current directory
2007-03-04 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCglue.c (emitMaps, glue),
* src/SDCCmem.c (initMem, allocDefault): added x_abs for initialized
absolute xdata
* support/regression/tests/absolute.c: added xdata test
2007-03-03 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCmain.c (parseCmdLine): only set options.xstack_loc for mcs51,
added condition to macro, fixes bug 1666080
2007-03-02 Raphael Neider <rneider AT web.de>
* src/pic/gen.c (genGenPointerSet): removed bogus assertion
2007-02-28 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/lib/mcs51/crtxclear.asm: pdata segment of 256 byte would not
be cleared. Unconditionally set __XPAGE
* src/hc08/gen.c: --no-gen-comments (RFE #1493816) for hc08
2007-02-27 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/SDCCglobl.h,
* src/SDCCmain.c,
* src/mcs51/gen.c,
* src/mcs51/rtrack.c,
* src/ds390/gen.c,
* doc/sdccman.lyx: added --no-gen-comments
* src/mcs51/peeph.def: added 192.b, disabled 185
2007-02-25 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (genCast): fixed typo
* device/lib/pic16/Makefile.subdir: only install existing files
* device/lib/pic16/libdev/Makefile.in: build serially, avoid races
2007-02-25 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/mcs51/crtcall.asm: new, added for indirect calls
* device/lib/mcs51/crtclear.asm,
* device/lib/mcs51/crtxclear.asm: renumbered labels
* device/lib/mcs51/Makefile.in: added crtcall.asm
* doc/sdccman.lyx: documented mcs51 crt* library startup code
* src/mcs51/gen.c (movc): removed,
(aopGet, genPlusBits): clear a after loading the carry (possibly from
acc.x or psw.x),
(toCarry, genSend, genRet): added function toCarry,
(genPcall): use "lcall @a+dptr" for functions w/o parameters,
(assignBit, genAssign, genCast): added function assignBit
* src/mcs51/Makefile.bcc: added rtrack.c
* src/mcs51/ralloc.h: made valueKnown a bitfield
* src/mcs51/rtrack.c (getReg, rtrackUpdate): added getReg,
fixed "jbc acc" and "cpl acc" bug, enhanced "cjne", "jnz" and "djnz",
disabled InvalidateAllRx for lcall __gptrput, added "xch a,rn"
* src/pic/pcode.c (FixRegisterBanking): fixed warning used uninitialized
* src/z80/gen.c: added AOP_IS_PAIRPTR,
(_pop): only pop valid pairs, see gencjneshort,
(gencjneshort): return pair that still needs to be popped, restructured,
(gencjne, genCmpEq): call _pop
2007-02-23 Raphael Neider <rneider AT web.de>
* device/include/pic/pic14devices.txt: 16f684 has only one config word
2007-02-22 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* device/include/mcs51/P89LPC925.h: Added.
2007-02-18 Raphael Neider <rneider AT web.de>
* src/pic/glue.c (emitInitVal): fixed #1659894 (SIGSEGV on arrays)
2007-02-17 Borut Razem <borut.razem AT siol.net>
* support/cpp2/directives.c, support/cpp2/version.c:
synchronized with GCC CPP 4.1.2
2007-02-15 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/rtrack.h,
* src/mcs51/rtrack.c: added register tracking for the mcs51 port,
by checking the strings passed by emitcode() to the assembler.
Feel free to change. This in part addresses RFE #482179.
Set environment variable SDCC_RTRACK to enable.
* src/mcs51/gen.c: inserted hooks
* src/mcs51/ralloc.h: added two members to struct regs
* support/regression/tests/regtrack.c: added
2007-02-14 Borut Razem <borut.razem AT siol.net>
* src/SDCC.y: fixed bug #1291133: duplicate members across enum(s)
* Makefile.in: applied patch from Makefile related part of
#1469393: Compiler does not initialize static data
2007-02-12 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCicode.c (geniCodeAssign): return (itemp) right instead of left
for better fix of bug 1273984, compiles pic16 rand.c
2007-02-12 Borut Razem <borut.razem AT siol.net>
* src/pic16/main.c: fixed pic16 standard library directory bug
2007-02-11 Maarten Brock <sourceforge.brock AT dse.nl>
* src/hc08/gen.c (genSwap): fix swap regression test
2007-02-10 Borut Razem <borut.razem AT siol.net>
* src/SDCCsymt.c: fixed bug #1159134: invalid duplicate declarations
with same scope
* support/regression/tests/bug-1654060.c: added regression test for
#1654060
2007-02-09 Bernhard Held <bernhard AT bernhardheld.de>
* src/mcs51/gen.c (genRet): fixed RFE 1652561: added code for bit to
bit moves in return statement
2007-02-09 Borut Razem <borut.razem AT siol.net>
* src/SDCC.y: fixed bug #1654060 typedef within function causes
syntax error
2007-02-07 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (aopPut): use direct name for pushing registers
* src/SDCCmain.c (parseCmdLine): dbuf_s path must be initialised
2007-02-07 Raphael Neider <rneider AT web.de>
* src/pic16/devices.inc,
* device/include/pic16/pic18fregs.h,
* device/include/pic16/pic18f[24][34]31.h,
* device/lib/pic16/libdev/pic18f[24][34]31.c,
* device/lib/pic16/pics.all: added 18f[24][34]31 family
* device/lib/pic16/libio/i2c.ignore: do not build i2c
2007-02-07 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/printf_large.c (_print_format): fixed compare/assign bug, how
can this have lived here for so many years?
* src/SDCCicode.c (ast2iCode): return left instead of right for assignment,
fixes bug 1273984, see also patch 1645121, thanks Gnther Jehle
* support/regression/tests/bug1273984.c: new, added, thanks Gnther Jehle
2007-02-06 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCBlock.c (addiCodeToeBBlock): fixed bug 1652207: GOTO icodes
appended by loop induction must be at the very end of the eBBlock
2007-02-05 Kevin Vigor
* src/ds390/gen.c, src/ds390/main.c: Address bug 1469393.
2007-02-05 Borut Razem <borut.razem AT siol.net>
* support/regression/fwk/lib/timeout.c: native WIN32 port,
implemented #1651830 Reg. tests: rewrite timeout.c to use WIN32 API
2007-02-03 Borut Razem <borut.razem AT siol.net>
* src/SDCC.y, src/SDCCmain.c, src/SDCCglobl.h, doc/sdccman.lyx:
applied patch #1646602 option to set default signedness of char to
unsigned, added -funsigned-char command line option,
thanks to Gunther Jehle
* device/lib/Makefile.in: added the -f option to rm so it doesn't
prompt for file deletion a few hundred times (especially the
subversion files, which have ro permissions so it asks for
confirmation), thanks to Simon McAuliffe;
added {} + option to find in order to remove multiple files from a
single rm commad
2007-02-02 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* device/include/mcs51/SST89x5xRDx.h: Added.
2007-02-02 Raphael Neider <rneider AT web.de>
* src/pic/glue.c (emitSymbolSet): check sym->etype before use
* src/regression/Makefile: use --no-pcode-opt, ignore failing tests
2007-02-01 Raphael Neider <rneider AT web.de>
* src/pic/glue.c (picglue,emitSymbolSet,showAllMemmaps): emit the
config words again
2007-01-31 Borut Razem <borut.razem AT siol.net>
* support/Util/dbuf_string.h: added ATTRIBUTE_PRINTF to dbuf_printf()
if compiled with GCC. Thanks to Raphael Neider
2007-01-31 Raphael Neider <rneider AT web.de>
* src/pic/pcode.c (isValidIdChar,bankCompare): fuzzy matching of
operand names, handles name and (name + n) for all n,
(sameBank): restructured, also check bank allocation policy,
* src/pic/glue.c (emitPseudoStack): fixed printf arguments,
(pic14_operandsAllocatedInSameBank): check whether to operands
will be allocated into the same bank (i.e., section) to reduce
BANKSEL overhead, queried from pcode.c:sameBank,
(pic14printLocals): reintroduced clustering registers into a single
section: all compiler generated symbols will now reside in one
bank (per file), reducing BANKSEL overhead and code size,
(showAllMemmaps): use local dbuf where possible
2007-01-29 Raphael Neider <rneider AT web.de>
* src/pic/gen.c (popGetExternal): simplified, mark symbol as used,
(call_libraryfunc): retrieve/create symbol and mark as used,
(genFunction): mark defined functions as non-extern and add again
to code memmap for later output
* src/pic/glue.c (emitPseudoStack): put into own subroutine,
(pic14printLocals): reworked for new symbol emission,
(emitIfNew,pic14_constructAbsMap,emitIvalLabel,emitIvals,emitInitVal,
showAllMemmaps): reworked symbol output using dbufs, added handling
of string literals (still incomplete),
(picglue): removed symbol emission, moved into showAllMemmaps,
(emitSymbolSet): new workhorse for symbol output,
(pic14emitMaps,pic14printPublics,pic14printExterns): commented out
2007-01-29 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c, src/SDCCutil.c: dbuf_splitFile: file extension
component contains the extension separator.
2007-01-28 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/cmd.src/cmdutil.cc: NUL device is detected as CG_FILE type
on WIN32
* src/SDCCdwarf2.c, src/SDCCglobl.h, src/SDCCmain.c, src/SDCCutil.c,
src/SDCCutil.h, src/avr/gen.c, src/ds390/gen.c, src/hc08/gen.c,
src/mcs51/gen.c, src/pic/device.c, src/pic/gen.c, src/pic/pcode.c,
src/pic/pcodepeep.c, src/pic/ralloc.c, src/pic16/device.h,
src/pic16/gen.c, src/pic16/main.c, src/pic16/pcode.c,
src/pic16/pcodepeep.c, src/pic16/ralloc.c, src/xa51/gen.c,
src/z80/gen.c, support/Util/MySystem.c:
accept slash and backslash as directory separator on WIN32 and
Cygwin ports
2007-01-28 Raphael Neider <rneider AT web.de>
* src/pic16/devices.inc,
* device/include/pic16/pic18f[24][23]21.h,
* device/include/pic16/pic18fregs.h,
* device/lib/pic16/libdev/pic18f[24][23]21.c,
* device/lib/pic16/pics.all: added support for the 18f[24][23]21 family
* device/lib/pic16/libio/adc.ignore,
* device/lib/pic16/libio/i2c.ignore,
* device/lib/pic16/libio/usart.ignore: do not build I/O lib for new
family, as gputils do not yet support the devices
* device/lib/pic16/Makefile.subdir: ignore errors on install
* support/scripts/inc2h-pic16.pl: script to generate pic16 device
headers and libraries from gputils .inc files
2007-01-26 Paul Stoffregen <paul AT pjrc.com>
* doc/sdccman.lyx: add printf_fast_f precision limitation note
2007-01-26 Paul Stoffregen <paul AT pjrc.com>
* doc/sdccman.lyx: add printf benchmarks
2007-01-25 Paul Stoffregen <paul AT pjrc.com>
* device/lib/printf_fast.c: fix %c, char promoted to int
* device/lib/printf_tiny.c: fix %c, char promoted to int
2007-01-25 Paul Stoffregen <paul AT pjrc.com>
* device/lib/printf_fast.c: fix float overflow check, bug #1525093
2007-01-25 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* support/regression/tests/swap.c: 64 bit hosts failed
* doc/sdccman.lyx: added preliminary mcs51 printf feature matrix
2007-01-25 Raphael Neider <rneider AT web.de>
* src/pic/pcode.c (sameBank,FixRegisterBanking): optimize banksels
based on absolute register address, patch by Alex Blond
2007-01-22 Raphael Neider <rneider AT web.de>
* src/pic/glue.c (pic14emitRegularMap): mark initialized symbols as
emitted, do not emit them again...
2007-01-22 Raphael Neider <rneider AT web.de>
* src/regression/bank1.c, src/regression/compare6.c,
src/regression/add.c: cosmetic changes
* src/pic/pcode.h: moved GPTRTAG_* here from gen.c
* src/pic/gen.c: fixed global zero and one,
(aopForSym): removed unued code,
(aopGet): assert aop is defined, check and use `index' of
pCodeImmd operands (fixes #1630908),
* src/pic/pcode.c (get_op): added output of generic pointer tag,
(register_reassign): prevent accidental register unification,
(ReuseReg): cosmetic changes (also above)
* src/pic/glue.c (pic14_constructAbsMap,pic14emitRegularMap,
pic14emitStaticSeg): do not emit initialized data,
(printIval*): replaced with working versions,
(pic14createInterruptVect,picglue): use idata for initialized data,
now init data should work in all modules (not only main()),
* device/lib/pic/libsdcc/idata.c: NEW, handle initialized data
2007-01-21 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/configure.in: introduced macro DD_COPT_NO_IGNORE,
use -fPIC or -fpic if they are supported and not ignored
* src/SDCCval.c: fixed bug introduced by me in rev. #4577
* support/cpp2/libcpp/lex.c: fixed gcc 4.1.1 warnings
2007-01-20 Borut Razem <borut.razem AT siol.net>
* src/SDCC.lex, src/SDCCmain.c, sdc/SDCCglobl.h, doc/sdccman.lyx:
implemented RFE #1470316: allow "$" in variable names
2007-01-20 Raphael Neider <rneider AT web.de>
* device/include/pic/pic14regs.h: reverted accidental wipe of the file
2007-01-20 Raphael Neider <rneider AT web.de>
* device/lib/pic/libdev/devices.txt: device list for mkall.sh
* device/lib/pic/libdev/mkall.sh: script to rebuild all device libs
* device/lib/pic/libdev/pic14ports.txt: device PORT specifications
* support/scripts/inc2h.pl: fixed major .inc parsing bugs,
applied patch from Robert Tate (#1629249) to add PORTs and TRISs
* device/lib/pic/libdev/pic*.c,
* device/include/pic/pic*.h: regenerated with enhanced inc2h.pl
* device/lib/pic/libdev/Makefile.in: show progress
2007-01-19 Bernhard Held <bernhard AT bernhardheld.de>
* doc/sdccman.lyx: updated "configure options" for autoconf 2.6
* support/scripts/sdcc_cygwin_mingw32,
* support/scripts/sdcc_mingw32,
* support/scripts/build.mak: replaced --datadir by --datarootdir for
conformance with autoconf 2.6
2007-01-19 Raphael Neider <rneider AT web.de>
* src/pic/device.c (register_map): fixed list construction
* src/pic/gen.c (genDivOneByte,genModOneByte): accept result > 1 byte,
(genMod): removed case for genModbits,
(genModbits): removed as now unused/unimplemented
* src/pic/glue.c (picglue): prevent name clash with sources 'init.c'
2007-01-18 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* support/regression/tests/swap.c: added in response to #1638622
* doc/sdccman.lyx: synced version, minor changes
2007-01-18 Borut Razem <borut.razem AT siol.net>
* SDCClabel.c: fixed bug #1638651: wrong linenumber presented in warning,
thanks to Gunther Jehle
* src/asm.c: don't die if the file drfined in #line couldn't be opened
* src/SDCC.lex, src/SDCCglobal.h, src/SDCCicode.c, src/SDCCsymt.c,
src/SDCCval.c: removed redundant definitions of currFname and mylineno;
use filename in lineno instead.
* SDCCast.c: removed MSVC warning C4018: '==' : signed/unsigned mismatch,
print the file name in ast_print()
2007-01-18 Borut Razem <borut.razem AT siol.net>
* support/Util/dbuf_string.c: removed (PTR) cast since it is not
defined in MSVC
* src/SDCC.lex: stringLiteral() returns const char pointer,
EOF detection in stringLiteral(), fixed asmbuf memory leak,
fixed column counting
* src/SDCCval.[ch]: constVal(), value *strVal() and charVal()
accept const char pointer as parameter
* src/SDCCdwarf2.c: corrected buffer size
2007-01-17 Borut Razem <borut.razem AT siol.net>
* support/Util/dbuf_string.c: fixed for amd64
2007-01-15 Borut Razem <borut.razem AT siol.net>
* src/pic16/ralloc.c, src/pic/ralloc.c, src/SDCC.y:
removed terminal symbol ELIPSIS, since it was never generated by the
lexer and it was wrongly used in parameter_identifier_list rule
2007-01-15 Raphael Neider <rneider AT web.de>
* doc/sdccman.lyx: updated PIC14/16 command line args, updated PIC14
code page and data banking description
* src/pic/genarith.c,
* src/pic/gen.h: removed bit arithmetic functions,
updated exit(1) to exit(EXIT_FAILURE)
* device/lib/pic16/libsdcc/stack/stack.S: default to 256 byte stack
* device/include/pic16/pic18f2455.h,
* device/lib/pic16/libdev/pic18f2455.c: added PORTD, LATD, LATE,
TRISD and TRISE, fixed/added some bit names
* device/lib/pic16/libdev/pic18f{2550,4550,4455}.c,
* device/include/pic16/pic18f{2550,4550,4455}.h: simply include
updated pic18f2455.{c,h} instead of duplicating them
2007-01-14 Borut Razem <borut.razem AT siol.net>
* as/mcs51/asnoice.c, as/hc08/asnoice.c: fixed bug #1447412:
Cannot debug files that contain spaces in the path name
by converting spaces in asm file name to underscores
2007-01-13 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: fixed format errors
2007-01-10 Borut Razem <borut.razem AT siol.net>
* src/SDCC.lex, src/SDCCmain.c: fixed bug #1631895:
codeseg/constseg #pragma fail
* suppoprt/cpp2/Makefile.bcc: reenable Borland C compilation
* suppoprt/cpp2/configure.in, suppoprt/cpp2/libcpp/lex.c,
suppoprt/cpp2/Makefile.in, suppoprt/cpp2/sdcpp-opts,
suppoprt/cpp2/sdcpp.[ch]: house cleaning
2007-01-09 Borut Razem <borut.razem AT siol.net>
* get rid of diagnistic.[ch], pretty-print.[ch],
c-pretty-print.[ch], ... used just for error, warning, ...
message formatting
* suppoprt/cpp2/pretty-print.[ch], suppoprt/cpp2/diagnostic.[ch],
suppoprt/cpp2/diagnostic.def, suppoprt/cpp2/input.h,
suppoprt/cpp2/pretty-print.[ch]:
removed
* suppoprt/cpp2/Makefile.in, suppoprt/cpp2/opts.c,
suppoprt/cpp2/sdcpp-opts.c, suppoprt/cpp2/sdcpp.[ch],
suppoprt/cpp2/sdcpp.dsp:
changed
2007-01-08 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/printf_large.c (output_float): removed recursion,
use smaller buffer on stack for mcs51,
fixed bug printing 1.96
* support/regression/tests/snprintf.c: added test
2007-01-07 Borut Razem <borut.razem AT siol.net>
* use dynamic memory buffers instead temporary files
* support/Util/dbuf_string.c, support/Util/dbuf_string.h:
added
* src/Makefile.in, src/SDCC.lex, src/SDCCast.c, src/SDCCast.h,
src/SDCCcse.c, src/SDCCglobl.h, src/SDCCglue.c, src/SDCCglue.h,
src/SDCCicode.c, src/SDCCicode.h, src/SDCCmain.c, src/SDCCmem.c,
src/SDCCmem.h, src/SDCCpeeph.c, src/SDCCpeeph.h, src/SDCCsymt.c,
src/SDCCsymt.h, src/SDCCutil.c, src/asm.c, src/asm.h, src/avr/gen.c,
src/avr/main.c, src/ds390/gen.c, src/ds390/main.c, src/hc08/gen.c,
src/hc08/main.c, src/izt/gen.c, src/mcs51/gen.c, src/mcs51/main.c,
src/pic/device.c, src/pic/gen.c, src/pic/glue.c, src/pic/main.c,
src/pic/ralloc.c, src/pic16/gen.c, src/pic16/glue.c,
src/pic16/main.c, src/pic16/ralloc.c, src/port.h, src/src.dsp,
src/xa51/gen.c, src/xa51/main.c, src/z80/gen.c, src/z80/main.c,
support/Util/dbuf.c, support/Util/dbuf.h:
modified
* .version, sdcc.spec: bumped version to 2.6.4
2007-01-07 Maarten Brock <sourceforge.brock AT dse.nl>
* src/port.h: added TARGET_Z80_LIKE macro
* src/SDCCmain.c (linkEdit): use TARGET_Z80_LIKE,
output PSEG location if --xram-loc or --xstack-loc was used
* as/link/mcs51/lkarea.c (lnksect2): set segment address afterwards
2007-01-07 Maarten Brock <sourceforge.brock AT dse.nl>
* as/as_gbz80.dsp, as/z80/as_gbz80.dsp,
* as/as_z80.dsp, as/z80/as_z80.dsp,
* as/asx8051.dsp, as/mcs51/asx8051.dsp,
* sdcc.dsw: moved project files into subdir
* as/hc08/as_hc08.dsp,
* as/hc08/Makefile.bcc,
* as/hc08/Makefile.in,
* as/mcs51/Makefile.bcc,
* as/mcs51/Makefile.in,
* as/z80/Makefile.bcc,
* as/z80/Makefile.in,
* as/link/mcs51/Makefile.bcc: use as/strcmpi.c
* as/hc08/asm.h,
* as/mcs51/asm.h,
* as/z80/asm.h: added as_strcmpi() and as_strncmpi() prototypes
* as/hc08/asmain.c,
* as/hc08/assym.c,
* as/mcs51/asmain.c,
* as/mcs51/assym.c,
* as/z80/assym.c: removed include "strcmpi.h"
* as/hc08/strcmpi.c,
* as/hc08/strcmpi.h,
* as/mcs51/strcmpi.c,
* as/mcs51/strcmpi.h,
* support/Util/strcmpi.c,
* support/Util/strcmpi.h: removed files
* as/strcmpi.c: added as_strncmpi()
2007-01-05 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* sdcc.dsw: Added some dependencies on project config.dsp
2007-01-05 Maarten Brock <sourceforge.brock AT dse.nl>
* as/link/mcs51/lkarea.c (lnkarea2, lnksect2): replaced [di]seg_ap->a_addr
with [di]ram_start to fix a regresion
2007-01-03 Bernhard Held <bernhard AT bernhardheld.de>
* configure.in: added missing mcs51 in status output
* Makefile.in: add support/regression to SDCC_EXTRA to distclean this
directory
* debugger/mcs51/clean.mk (distclean): remove config.h
* src/clean.mk (clean): remove SDCCy.c, SDCCy.h, SDCClex.c
* support/cpp2/Makefile.in (clean): remove s-options, optionlist,
options.h, s-options-h and options.c
* support/cpp2/clean.mk: unused, removed
* Makefile.common.in,
* main_in.mk,
* as/Makefile.in,
* as/hc08/Makefile.in,
* as/hc08/clean.mk,
* as/mcs51/Makefile.in,
* as/mcs51/clean.mk,
* as/z80/clean.mk,
* as/z80/conf.mk,
* as/z80/Makefile.in,
* as/z80/clean.mk,
* as/link/Makefile.in,
* as/link/hc08/Makefile.in,
* as/link/hc08/clean.mk,
* as/link/mcs51/Makefile.in,
* as/link/mcs51/clean.mk,
* as/link/z80/Makefile.in,
* as/link/z80/clean.mk,
* as/link/z80/conf.mk,
* debugger/mcs51/Makefile.in,
* debugger/mcs51/clean.mk,
* device/include/Makefile.in,
* device/lib/Makefile.in,
* device/lib/mcs51/Makefile.in,
* device/lib/pic/Makefile.in,
* device/lib/pic/Makefile.common.in,
* device/lib/pic/Makefile.subdir,
* device/lib/pic/Makefile.rules,
* device/lib/pic16/libio/Makefile.in,
* device/lib/pic16/Makefile.subdir,
* device/lib/pic16/libdev/Makefile.in,
* device/lib/pic16/Makefile.rules,
* device/lib/pic16/Makefile.common.in,
* sim/ucsim/avr.src/Makefile.in,
* sim/ucsim/main_in.mk,
* sim/ucsim/cmd.src/Makefile.in,
* sim/ucsim/doc/Makefile.in,
* sim/ucsim/gui.src/Makefile.in,
* sim/ucsim/gui.src/obsolete/portmon.src/Makefile.in,
* sim/ucsim/gui.src/serio.src/Makefile.in,
* sim/ucsim/hc08.src/Makefile.in,
* sim/ucsim/libltdl/Makefile.in,
* sim/ucsim/s51.src/Makefile.in,
* sim/ucsim/sim.src/Makefile.in,
* sim/ucsim/sim.src/conf.mk,
* sim/ucsim/xa.src/Makefile.in,
* sim/ucsim/z80.src/Makefile.in,
* src/Makefile.in,
* src/clean.mk,
* src/port.mk,
* support/cpp2/Makefile.in,
* support/librarian/Makefile.in,
* support/librarian/clean.mk,
* support/makebin/Makefile.in,
* support/makebin/clean.mk,
* support/packihx/Makefile.in,
* support/regression/Makefile.in,
* support/regression/ports/ds390/spec.mk,
* support/regression/ports/gbz80/spec.mk,
* support/regression/ports/hc08/spec.mk,
* support/regression/ports/mcs51/spec.mk,
* support/regression/ports/mcs51-large/spec.mk,
* support/regression/ports/mcs51-medium/spec.mk,
* support/regression/ports/mcs51-xstack-auto/spec.mk,
* support/regression/ports/pic14/spec.mk,
* support/regression/ports/pic16/spec.mk,
* support/regression/ports/mcs51-stack-auto/spec.mk,
* support/regression/ports/ucz80/spec.mk,
* support/regression/ports/xa51/spec.mk,
* support/regression/ports/z80/spec.mk: fixed for autoconf 2.6x by
adding a slash after $(top_builddir) and/or adding @datarootdir@
* configure.in,
* debugger/mcs51/configure.in,
* device/lib/pic/configure.in,
* device/lib/pic16/configure.in,
* sim/ucsim/configure.in,
* support/cpp2/configure.in,
* support/packihx/configure.in: changed AC_PREREQ to 2.60
* configure,
* debugger/mcs51/configure,
* device/lib/pic/configure,
* device/lib/pic16/configure,
* sim/ucsim/configure,
* support/cpp2/configure,
* support/packihx/configure: generated with autoconf 2.60
2007-01-02 Maarten Brock <sourceforge.brock AT dse.nl>
* as/link/hc08/lkihx.c (newArea),
* as/link/hc08/lkrloc.c: renamed newArea() to ihxNewArea()
2007-01-02 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: documented #pragma sdcc_hash
* support/cpp2/sdcpp.c: allow_naked_hash (value of #pragma sdcc_hash)
initialized to 0
* support/cpp2/c-ppoutput.c: fixed warning: no newline at end of file
2007-01-01 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (createDo): backPatchLabels() needs falseLabel in
empty 'while'-loop to work correctly, see regression test 'while.c'
* support/regression/tests/while.c: added
2007-01-01 Borut Razem <borut.razem AT siol.net>
* support/cpp2/libcpp/directives.c, support/cpp2/libcpp/identifiers.c,
support/cpp2/libcpp/init.c, support/cpp2/libcpp/sdcpp-opts.c,
support/cpp2/libcpp/sdcpp.c:
sdcpp specific pragma/directive/option handling moved to sdcpp.c
* doc/sdccman.lyx: reference to the GCC 4.1.1 CPP Manual
* support/cpp2/libcpp/mkdeps.c: synchronized with GCC CPP 4.1.1
2006-12-31 Borut Razem <borut.razem AT siol.net>
* SDCPP synchronized with GCC CPP release version 4.1.1,
currently the latest release:
* support/cpp2/libcpp, support/cpp2/libcpp/include,
support/cpp2/libcpp/include/cpp-id-data.h
support/cpp2/libiberty/fopen_unlocked.c
support/cpp2/libiberty/md5.c
support/cpp2/md5.h
support/cpp2/opt-functions.awk
support/cpp2/opt-gather.awk
support/cpp2/optc-gen.awk
support/cpp2/opth-gen.awk:
added
* support/cpp2/Makefile.in, support/cpp2/auto-host_vc_in.h,
support/cpp2/c-incpath.c, support/cpp2/c-incpath.h,
support/cpp2/c-ppoutput.c, support/cpp2/c-pretty-print.c,
support/cpp2/c-pretty-print.h, support/cpp2/cppdefault.c,
support/cpp2/cppdefault.h, support/cpp2/diagnostic.c,
support/cpp2/diagnostic.h, support/cpp2/except.h,
support/cpp2/hwint.h, support/cpp2/input.h,
support/cpp2/intl.h, support/cpp2/move-if-change,
support/cpp2/opts.c, support/cpp2/opts.h,
support/cpp2/output.h, support/cpp2/prefix.c,
support/cpp2/prefix.h, support/cpp2/pretty-print.c,
support/cpp2/pretty-print.h, support/cpp2/sdcpp-opts.c,
support/cpp2/sdcpp.c, support/cpp2/sdcpp.dsp,
support/cpp2/sdcpp.h, support/cpp2/sdcpp.opt,
support/cpp2/sdcppa.dsp, support/cpp2/symcat.h,
support/cpp2/version.c:
modified
* support/cpp2/libcpp/charset.c, support/cpp2/libcpp/directives.c,
support/cpp2/libcpp/errors.c, support/cpp2/libcpp/expr.c,
support/cpp2/libcpp/files.c, support/cpp2/libcpp/identifiers.c,
support/cpp2/libcpp/include/cpplib.h, support/cpp2/libcpp/include/line-map.h,
support/cpp2/libcpp/include/mkdeps.h, support/cpp2/libcpp/include/symtab.h,
support/cpp2/libcpp/init.c, support/cpp2/libcpp/internal.h,
support/cpp2/libcpp/lex.c, support/cpp2/libcpp/line-map.c,
support/cpp2/libcpp/macro.c, support/cpp2/libcpp/mkdeps.c,
support/cpp2/libcpp/symtab.c, support/cpp2/libcpp/system.h,
support/cpp2/libcpp/traditional.c, support/cpp2/libcpp/ucnid.h,
support/cpp2/libiberty/hashtab.c, support/cpp2/libiberty/hashtab.h:
moved
* support/cpp2/cppcharset.c, support/cpp2/cpperror.c,
support/cpp2/cppexp.c, support/cpp2/cppfiles.c,
support/cpp2/cpphash.c, support/cpp2/cpphash.h,
support/cpp2/cppinit.c, support/cpp2/cpplex.c,
support/cpp2/cpplib.c, support/cpp2/cpplib.h,
support/cpp2/cppmacro.c, support/cpp2/cpptrad.c,
support/cpp2/cppucnid.h, support/cpp2/hashtab.c,
support/cpp2/hashtab.h, support/cpp2/hashtable.c,
support/cpp2/hashtable.h, support/cpp2/line-map.c,
support/cpp2/line-map.h, support/cpp2/mkdeps.c,
support/cpp2/mkdeps.h, support/cpp2/options_vc_in.c,
support/cpp2/options_vc_in.h, support/cpp2/opts.sh,
support/cpp2/system.h:
deleted / moved
2006-12-31 Borut Razem <borut.razem AT siol.net>
* configure.in, configure: fixed bug #1538756: configure dies if bison
and flex are not installed, 2nd try
2006-12-30 Bernhard Held <bernhard AT bernhardheld.de>
* src/mcs51/peeph.def: renamed rule 400 to 500, moved rule 253.x to
400.x for better code in RFE 899102
2006-12-30 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCpeeph.c (deadMove),
* src/port.h,
* src/mcs51/peep.h: renamed 'op' by 'reg'
* src/mcs51/peep.c (isFunc, isCallerSaveFunc): added,
(scan4op): small change for removeDeadMove(), added support for
'callee saves' and/or PACLL function calls,
(removeDeadMove): added, removes superflous 'mov r%1,%2',
(removeDeadPopPush): renamed from mcs51DeadMove(), common parts
left in new dispatcher mcs51DeadMove()
(mcs51DeadMove): dispatcher for removeDeadPopPush() and new
removeDeadMove()
* src/mcs51/peeph.def: added rule 301 removing superflous 'mov r%1,%2'
2006-12-30 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* support/cpp2/options_vc_in.h, support/cpp2/options_vc_in.c,
support/cpp2/sdcppa.dsp: create 'options.h' and 'options.c' under MSVC.
2006-12-30 Borut Razem <borut.razem AT siol.net>
* support/cpp2/spacs.h: deleted from svn
* configure.in, configure: fixed bug #1538756: configure dies if bison
and flex are not installed
2006-12-29 Maarten Brock <sourceforge.brock AT dse.nl>
* src/z80/gen.c (assignResultValue): fixed bug when registers overlap,
with this z80 passes printf float test when enabled
* support/regression/tests/bug1057979.c: typo disabled ds390 float test
2006-12-28 Borut Razem <borut.razem AT siol.net>
* support/cpp2/config.in, support/cpp2/configure.in,
support/cpp2/configure, support/cpp2/Makefile.in:
fix for the solaris build
2006-12-27 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCC.y (type_specifier2, pointer),
* src/SDCCsymt.h,
* src/SDCCsymt.c (mergeSpec, checkSClass),
* support/Util/SDCCerr.c,
* support/Util/SDCCerr.h: Parse and validate the restrict keyword
* support/valdiag/valdiag.py: Allow test cases to specify
required language standard
* support/valdiag/tests/restrict.c: New file to test restrict keyword
* support/valdiag/tests/tentdecl.c: Supress empty source file error
2006-12-27 Borut Razem <borut.razem AT siol.net>
* support/cpp2/cppmain.c, support/cpp2/mbchar.[ch]: removed
* support/cpp2/libiberty/Makefile.in, support/cpp2/libiberty/sdcpp.dsp:
mbchar removed
* support/cpp2/libiberty/getpwd.c, support/cpp2/sdcpp.h:
fixed for borland C
* support/cpp2/libiberty/Makefile.bcc: updated
* src/pic16/main.c: fixed #pragma udata handling
* src/mcs51/mcs51.dsp: added peep.[ch] to the project
2006-12-26 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCpeeph.c: made labelHashEntry global,
made pcDistance, FBYNAME static,
(pcDistance): made static, use isComment and isLabel,
(deadMove): added,
(getLabelRef): added, extracted from labelRefCount(),
(labelRefCount): use new getLabelRef(),
(callFuncByName): made static, added deadMove,
use isComment and isLabel,
(newPeepRule): made static, set isLabel,
(isLabelDefinition): added parameter isPeepRule to allow '%' in
labels from peephole rules,
(buildLabelRefCountHash): speed up by running isLabelDefinition() only
when isComment or isLabel is set
* src/SDCCpeeph.h: added "isLabel" and "visited" to struct lineNode,
added labelHashEntry, isLabelDefinition, labelHash and getLabelRef
to make them global
* src/mcs51/peep.h: added
* src/mcs51/peep.c: added, implements mcs51DeadMove()
* src/port.h: added peep->deadMove to port structure
* src/mcs51/main.c: initialize peep->deadMove with mcs51DeadMove
* src/mcs51/peeph.def: renumbered rule 300 to 400, added new rule 300
deadMove, finally removed no. 1 and 2
* src/mcs51/gen.c,
* src/pic/gen.c,
* src/z80/gen.c,
* src/z80/ralloc.c,
* src/pic16/gen.c,
* src/ds390/gen.c,
* src/hc08/gen.c: mark lines with isComment or isLabel
* sim/ucsim/s51.src/uc390hw.cc: don't waist 65535 ticks before CKRDY
* .version,
* sdcc.spec: bumped version to 2.6.3
2006-12-26 Borut Razem <borut.razem AT siol.net>
* support/cpp2/Makefile.in: added dependency on options.h
* configure: regenerated
* support/cpp2/sdcpp.opt, support/cpp2/move-if-change: svn:eol-style native
* support/cpp2/Makefile.in: added vasprintf.c
2006-12-25 Borut Razem <borut.razem AT siol.net>
* SDCPP synchronized with GCC CPP release version 3.4.6,
the latest release before 4.x:
* support/cpp2/Makefile.in, support/cpp2/config.h,
support/cpp2/configure, support/cpp2/configure.in,
support/cpp2/cppdefault.c, support/cpp2/cppdefault.h,
support/cpp2/cpperror.c, support/cpp2/cppexp.c,
support/cpp2/cppfiles.c, support/cpp2/cpphash.c,
support/cpp2/cpphash.h, support/cpp2/cppinit.c,
support/cpp2/cpplex.c, support/cpp2/cpplib.c,
support/cpp2/cpplib.h, support/cpp2/cppmacro.c,
support/cpp2/cpptrad.c, support/cpp2/except.h,
support/cpp2/hashtable.c, support/cpp2/hashtable.h,
support/cpp2/hwint.h, support/cpp2/intl.h,
support/cpp2/line-map.c, support/cpp2/line-map.h,
support/cpp2/mkdeps.c, support/cpp2/mkdeps.h,
support/cpp2/output.h, support/cpp2/prefix.c,
support/cpp2/prefix.h, support/cpp2/sdcpp.dsp,
support/cpp2/system.h, support/cpp2/version.c:
modified
* support/cpp2/c-incpath.c, support/cpp2/c-incpath.h,
support/cpp2/c-ppoutput.c, support/cpp2/c-pretty-print.c,
support/cpp2/c-pretty-print.h, support/cpp2/cppcharset.c,
support/cpp2/cppucnid.h, support/cpp2/diagnostic.c,
support/cpp2/diagnostic.def, support/cpp2/diagnostic.h,
support/cpp2/hashtab.c, support/cpp2/hashtab.h,
support/cpp2/input.h, support/cpp2/libiberty/getpwd.c,
support/cpp2/libiberty/vasprintf.c, support/cpp2/libiberty/xmemdup.c,
support/cpp2/move-if-change, support/cpp2/opts.c,
support/cpp2/opts.h, support/cpp2/opts.sh,
support/cpp2/pretty-print.c, support/cpp2/pretty-print.h,
support/cpp2/sdcpp.opt, support/cpp2/sdcpp-opts.c,
support/cpp2/win32, support/cpp2/win32/dirent.c,
support/cpp2/win32/dirent.h:
added
* support/cpp2/sdcpp.c: renamed from sdcppmain.c
* support/cpp2/sdcpp.h: renamed from sdcc.h
* sdcppinit.c: deleted
2006-12-23 Borut Razem <borut.razem AT siol.net>
* support/cpp2/cpphash.h, support/cpp2/cpplex.c,
support/cpp2/cpplib.[ch], support/cpp2/sdcppinit.c, doc/sdccman.lyx,
preproc.c: an other try to fix bug #982435: introduced
-pedantic-parse-number command line option and pedantic_parse_number
pragma
2006-12-21 Maarten Brock <sourceforge.brock AT dse.nl>
* as/link/mcs51/lkarea.c (lnkarea2): handle absolute areas, restructured
BSEG handling,
(lnksect2): use --data-loc and --idata-loc as lower bound for ramstart,
corrected overlayed areax addresses, warn about memory overlaps
* as/mcs51/asmain.c (asmbl): create a new area for every .org directive
* src/avr/main.c,
* src/ds390/main.c,
* src/hc08/main.c,
* src/mcs51/main.c,
* src/pic16/main.c,
* src/pic/main.c,
* src/xa51/main.c,
* src/z80/main.c,
* src/port.h: added xabs_name and iabs_name
* src/SDCCglue.c (emitRegularMap): allocate for absolutes with initializer
(glue, emitMaps): create and emit maps d_abs and i_abs
* src/SDCCglue.h: cosmetic changes
* src/SDCCmain.c (setDefaultOptions): idata can start below 0x80
* src/SDCCmem.h,
* src/SDCCmem.c (initMem): added x_abs, i_abs and d_abs
(allocDefault): put absolute, initialized globals in them
* support/regression/tests/absolute.c: added absolute bdata test
* device/lib/printf_large.c (output_float): moved fpBuffer to stack/xdata
2006-12-20 Borut Razem <borut.razem AT siol.net>
* support/cpp2/cpphash.h, support/cpp2/cpplex.c: fixed bug #982435
* support/regression/tests/preproc.c: renamed from bug-1351710.c,
added regression test for bug #982435
2006-12-18 Borut Razem <borut.razem AT siol.net>
* src/SDCCutil.c: fixed a bug in (get_pragma_token)
* src/pic16/main.c, src/SDCC.lex, src/z80/main.c:
small cosmetic changes
* src/SDCC.lex: (stringLiteral) fixed bug #1351710
* support/regression/tests/bug-1351710.c: added regression test
2006-12-18 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: added the long missed iCode table
"<where is figure II?>", added links to wiki
2006-12-17 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx, src/pic16/main.c, src/pic/main.c, src/port.h,
src/SDCC.lex, src/SDCCutil.[ch], src/z80/main.c,
support/Util/SDCCerr.[ch]: removed deprecated pragmas,
unified table driven pragma handling, pragma argument type checking
* support/Util/dbuf.c: (dbuf_set_size) allow to set size equal to the
current one - version 1.1.3
* src/SDCCmain.c: (setParseWithComma) substituted brain damaged strtok
2006-12-13 Raphael Neider <rneider AT web.de>
* src/pic/device.h: removed AssignedMemory structure and macros
* src/pic/device.c: removed global finalMapping (linker assigns
memory locations),
(register_map): add SFRs to remembered memRanges
(addMemRange,isSFR,dump_map,dump_sfr,mapRegister,assignRegister,
assignFixedRegisters,assignRelocatableRegisters): removed,
(setMaxRAM,validAddress): adapted accordingly,
(pic14_hasSharebank,pic14_getSharedStack): only report and use
reasonably sized sharebanks,
* src/pic/ralloc.c (writeUsedRegs): stripped down (remove?),
(allDefsOutOfRange): removed unused code,
* src/pic/main.c (_process_pragma): removed memmap/maxram pragma
handling
* src/pic/pcode.c (register_reassign): removed recursion warning,
fired far too often,
* src/pic/glue.c (emitSymbolToFile,pic14_constructAbsMap): modified
to use existing pic14_stringInSet() to avoid duplicate symbols,
tidied up the code a bit,
(pic14printLocals): added in symmetry to printExterns, replaces
writeUsedRegs more or less,
(picglue): call new pic14_printLocals(),
* device/include/pic/pic*.h: removed #pragma memmap directives,
information gathered from include/pic/pic14devices.txt
* support/scripts/inc2h.pl: do not emit #pragma memmap lines
2006-12-10 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/C8051F520.h: fixed buggy CPT0MX
2006-12-11 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* device/include/mcs51/cc2430.h: fixed missing ';'
2006-12-10 Raphael Neider <rneider AT web.de>
* device/lib/pic16/libc/stdio/vfprintf.c,
* device/lib/pic16/libc/stdio/printf_small.c,
* device/lib/pic16/libc/stdio/printf_timy.c: pop int from stack for
char arguments, as char varargs are cast to int by the caller,
hopefully fixes #1604915 (other device libraries are still affected)
2006-12-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/ralloc.c (packRegsForAssign),
* src/hc08/ralloc.c (packRegsForAssign): fixed bug #1605880
2006-12-10 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/malloc.h: removed init_dynamic_memory
* device/lib/malloc.c: made init_dynamic_memory static and automatically
call it once from malloc. Also use _sdcc_heap[] from _heap.c
* device/lib/_heap.c: new, added, contains _sdcc_heap[]
* device/lib/libsdcc.lib,
* device/lib/Makefile.in,
* support/regression/ports/mcs51-xstack-auto/spec.mk: added _heap.c
* doc/sdccman.lyx: documented use of new _heap.c
* support/regression/tests/malloc.c: removed init_dynamic_memory
* src/cdbFile.c(spacesToUnderscores): new function,
(cdbWriteEndFunction, cdbWriteCLine): use spacesToUnderscores, fixes bug
1068030
* device/include/tinibios.h: removed defines for putchar and getchar
* device/lib/ds390/Makefile.in: added putchar.c
* device/lib/ds390/putchar.c: new, added, fixes bug 1465671
2006-12-09 Borut Razem <borut.razem AT siol.net>
* support/cpp2/sdcc.h: prevent multiple inclusion
* support/cpp2/options.h: deleted
2006-12-08 Borut Razem <borut.razem AT siol.net>
* support/cpp2/sdcc.h: removed x*alloc() macros
* support/cpp2/libiberty.h: uncommented out x*alloc() declarations
* support/cpp2/Makefile.bcc, support/cpp2/Makefile.in,
support/cpp2/sdcpp.sdc: x*alloc files added to the project
* support/cpp2/system.h: moved #include "sdcc.h"
* support/cpp2/libiberty/xexit.c, support/cpp2/libiberty/xmalloc.c,
support/cpp2/libiberty/xstrdup.c, support/cpp2/libiberty/xstrerror.c:
added
* support/cpp2/sdcppinit.c: added -isysroot, -fsigned-char,
-funsigned-char options
* support/cpp2/sdcppmain.c: fixed bug 1611411
2006-12-07 Borut Razem <borut.razem AT siol.net>
* support/cpp2/cpplib.c: reverted sdcpp special handling of _Pragma()
directive
2006-12-06 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCsymt.c (addDecl): fixed bug 1609244
* src/SDCCmain.c (linkEdit): fixed bug 1609279
* doc/sdccman.lyx,
* .version: bumped to 2.6.2 because a) it's been a while
b) the linker sources have moved c) the preprocessor is upgraded
2006-12-04 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* support/regression/tests/snprintf.c: some checks
* lib/src/printf_large.c: %bc: read char instead of int from stack
2006-12-03 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/cc2430.h: inserted _XPAGE
2006-12-02 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* device/include/mcs51/cc2430.h: added
2006-12-02 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/asm/default/features.h,
* device/include/asm/ds390/features.h,
* device/include/mcs51/at89s53.h,
* device/include/ser.h,
* device/include/ser_ir.h,
* device/include/serial.h: changed keywords to double underscore variants,
fixes bug 1590261 some more, thanks Steven Borley
2006-12-01 Raphael Neider <rneider AT web.de>
* src/pic/pcode.c (register_reassign): do not crash on recursive code
but emit warning (recursion is not supported for pic14)
2006-11-30 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peeph.def: added 101.a,b (moves to int/long xdata)
* doc/sdccman.lyx: various small changes, acknowledged Sourceforge
2006-11-30 Raphael Neider <rneider AT web.de>
* src/pic/device.c (dump_sfr): always emit symbols
* src/pic/glue.c (pic14printPublics): fixed typo
2006-11-30 Raphael Neider <rneider AT web.de>
* src/pic/device.c (create_pic,ram_map): add memRange entries to PIC
(pic14_getSharebankSize, pic14_getSharebankAddress): replaced with
(pic14_hasSharebank,pic14_isShared,pic14_allRAMShared,
pic14_getSharedStack): NEW, evaluate the memRange entries to locate
a sharebank, use a non-shared bank for the stack if none available
* src/pic/device.h (struct memRange): added linked list next field,
added prototypes for above functions
* src/pic/ralloc.c (initStack): handle shared and banked stacks,
(typeRegWithIdx): accept fixed and unfixed stack registers
* src/pic/pcode.c (pCodeInitRegisters): use new functions to create
the stack, handle shared and banked stack (except for WSAVE),
(insertBankSel): removed useless optimization (will never fire),
(FixRegisterBanking): added optimization for devices with only one
possibly aliased bank of memory, like 16f84
* src/pic/glue.c (pic14_constructAbsMap): back to udata_ovr, as some
devices have no SHAREBANK in the linker script
* device/include/pic/pic14devices.txt: documented memmap
* device/lib/pic/libdev/Makefile.in: removed --stack-loc again
2006-11-30 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (transferRegReg, loadRegFromAop, forceStackedAop,
storeRegToAop, freeAsmop, genPlusIncr, genPlus, genPointerGetSetOfs,
genAnd, genOr, genXor, genLeftShiftLiteral, genRightShiftLiteral,
genhc08Code): switched most of the D (debug) macros to DD (detailed
debug) macros to better control clutter in the generated .asm file.
* src/hc08/gen.c: (forceStackedAop, genUminus, genLeftShift,
genRightShift): fixed bug with non-constant bit shift stored to
a volatile result (SF Open Discussion forum thread #1616749).
Single byte case is not yet optimized.
2006-11-28 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/asm/mcs51/features.h,
* device/include/malloc.h,
* device/include/stdio.h: changed keywords to double underscore variants,
fixes bug 1590261
2006-11-27 Borut Razem <borut.razem AT siol.net>
* support/cpp2/cppexp.c, support/cpp2/hashtable.h,
support/cpp2/Makefile.in, support/cpp2/cppfiles.c,
support/cpp2/output.h, support/cpp2/cppinit.c,
support/cpp2/cpplib.c, support/cpp2/cpplib.h,
support/cpp2/Makefile.bcc, support/cpp2/cpphash.c,
support/cpp2/cppdefault.c, support/cpp2/system.h,
support/cpp2/cpphash.h, support/cpp2/cpplex.c,
support/cpp2/cppdefault.h, support/cpp2/mbchar.c,
support/cpp2/prefix.c, support/cpp2/except.h,
support/cpp2/hwint.h, support/cpp2/cppmacro.c,
support/cpp2/line-map.h, support/cpp2/sdcpp.dsp,
support/cpp2/sdcc.h, support/cpp2/mkdeps.c,
support/cpp2/version.c, support/cpp2/cppmain.c,
support/cpp2/version.h, support/cpp2/hashtable.c,
support/cpp2/cpperror.c:
synchronized with GCC CPP release version 3.3.6,
the latest where cppmain.c still exists.
* support/cpp2/cpptrad.c, support/cpp2/sdcppmain.c,
support/cpp2/sdcppinit.c: added
2006-11-27 Borut Razem <borut.razem AT siol.net>
* support/cpp2/cpplex.c:
fixed _asm ... _endasm handling bug, introduce with GCC CPP
synchronization
* support/cpp2/cpplib.c: removed definitions of unused variables
2006-11-26 Borut Razem <borut.razem AT siol.net>
* support/cpp2/libiberty.h: commented out x*alloc() declarations
since they are redefined by macros in support/cpp2/sdcc.h
* support/cpp2/sdcc.h: x*alloc macro redefinition
2006-11-25 Borut Razem <borut.razem AT siol.net>
* support/cpp2/cppexp.c, support/cpp2/hashtable.h,
support/cpp2/configure, support/cpp2/Makefile.in,
support/cpp2/cppfiles.c, support/cpp2/output.h,
support/cpp2/cppinit.c, support/cpp2/cpplib.c,
support/cpp2/config.h, support/cpp2/cpplib.h,
support/cpp2/Makefile.bcc, support/cpp2/cpphash.c,
support/cpp2/cppdefault.c, support/cpp2/config.in,
support/cpp2/system.h, support/cpp2/cpplex.c,
support/cpp2/cpphash.h, support/cpp2/mbchar.c,
support/cpp2/cppdefault.h, support/cpp2/prefix.c
support/cpp2/hwint.h, support/cpp2/mbchar.h,
support/cpp2/prefix.h, support/cpp2/cppmacro.c,
support/cpp2/configure.in, support/cpp2/intl.h,
support/cpp2/sdcpp.dsp, support/cpp2/acconfig.h,
support/cpp2/sdcc.h, support/cpp2/mkdeps.c,
support/cpp2/version.c, support/cpp2/cppmain.c,
support/cpp2/ansidecl.h, support/cpp2/libiberty.h,
support/cpp2/hashtable.c, support/cpp2/aclocal.m4,
support/cpp2/cpperror.c,
support/cpp2/libiberty/safe-ctype.c,
support/cpp2/libiberty/safe-ctype.h,
support/cpp2/libiberty/splay-tree.c,
support/cpp2/libiberty/obstack.c,
support/cpp2/libiberty/lbasename.c,
support/cpp2/libiberty/splay-tree.h,
support/cpp2/libiberty/obstack.h:
synchronized with GCC CPP release version 3.2.3,
the latest before integration of cpp into gcc
* support/cpp2/except.h, support/cpp2/line-map.c,
support/cpp2/line-map.h,
support/cpp2/libiberty/hex.c,
support/cpp2/libiberty/concat.c,
support/cpp2/libiberty/filenames.h: added
* support/cpp2/intl.c: deleted
2006-11-24 Borut Razem <borut.razem AT siol.net>
* src/SDCC.y: enabled compilation of empty source file
* support/Util/SDCCerr.[ch]: added sdcc warning 190 -
"ISO C forbids an empty source file"
* device/lib/_startup.c, device/lib/printf_tiny.c: disable warning 190
if all the code is ifdefed out.
2006-11-24 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (genPcall): fix for bug #1601032
2006-11-23 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/c8051f000.h, device/include/mcs51/C8051F000.h,
* device/include/mcs51/c8051f018.h, device/include/mcs51/C8051F018.h,
* device/include/mcs51/c8051f020.h, device/include/mcs51/C8051F020.h,
* device/include/mcs51/c8051f040.h, device/include/mcs51/C8051F040.h,
* device/include/mcs51/c8051f060.h, device/include/mcs51/C8051F060.h,
* device/include/mcs51/c8051f120.h, device/include/mcs51/C8051F120.h,
* device/include/mcs51/c8051f200.h, device/include/mcs51/C8051F200.h,
* device/include/mcs51/c8051f300.h, device/include/mcs51/C8051F300.h,
* device/include/mcs51/c8051f310.h, device/include/mcs51/C8051F310.h,
* device/include/mcs51/c8051f320.h, device/include/mcs51/C8051F320.h,
* device/include/mcs51/c8051f326.h, device/include/mcs51/C8051F326.h,
* device/include/mcs51/c8051f330.h, device/include/mcs51/C8051F330.h,
* device/include/mcs51/c8051f340.h, device/include/mcs51/C8051F340.h,
* device/include/mcs51/c8051f350.h, device/include/mcs51/C8051F350.h,
* device/include/mcs51/c8051f410.h, device/include/mcs51/C8051F410.h:
Renamed to all upper case as per the standard set by SiLabs
2006-11-23 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/C8051F520.h: new, added
* device/include/mcs51/compiler.h: added link about predefined macros
2006-11-23 Raphael Neider <rneider AT web.de>
* src/regression/Makefile: add -L path to fresh library
* src/regression/simulate: emphasize FAILED output
* src/regression/create_stc: output _failures from gpsim
* src/regression/compare4.c,
* src/regression/rotate6.c: fixed char literals,
all compile, all run =8-D
* src/pic/pcode.h: added isPCASMDIR macro
* src/pic/gen.c (genAnd): fixed bit offset
* src/pic/ralloc.c (allocNewDirReg,allocDirReg,allocRegByName,
packBits): unified register numbering schemes,
(newReg): do not insert stack registers into hash table,
(initStack): unpinned pseudo stack, simplified,
(typeRegWithIdx): fixed retrieval of stack registers,
* src/pic/pcode.c (addpCodeComment,sameBank): added,
(pCodeReplace): removed invalid assertion,
(insertPCodeInstruction): fixed newly added labels,
(insertBankSwitch,BankSelect,IsBankChange,DoBankSelect,
FixRegisterBankingInFlow,compareBankFlow,FixBankFlow,
DumpFlow): removed unsed (broken?) code,
(insertBankSel): prevent STATUS from being BANKSELed,
(FixRegisterBanking): rewritten from scratch, implemented generic
optimizations (suppress BANKSELs to same register and to registers
present in all banks),
(AnalyzeBanking): update flow after BANKSELection
* src/pic/glue.c (pic14_constructAbsMap): emit pseudo stack in
sharebank, let linker place it, mark STKxx symbols as emitted
2006-11-21 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/regression/arrays.c,
* src/regression/bank1.c,
* src/regression/bool2.c,
* src/regression/compare7.c,
* src/regression/compare8.c,
* src/regression/compare9.c,
* src/regression/compare10.c,
* src/regression/configword.c,
* src/regression/for.c,
* src/regression/mult1.c,
* src/regression/pointer1.c,
* src/regression/rotate6.c,
* src/regression/string1.c,
* src/regression/struct1.c,
* src/regression/Makefile: make PIC14 regression tests run again
(3 fail, 6 won't compile)
2006-11-21 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic18f4550.h,
* device/include/pic16/pic18f4455.h,
* device/lib/pic16/libdev/pic18f4550.c,
* device/lib/pic16/libdev/pic18f4455.c: fixed #1578591 and #1595144
* configure.in: removed superfluous closing bracket
2006-11-21 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* device/lib/expf.c: Fixed bug 1599523: result of expf(x) is
always positive.
2006-11-21 Raphael Neider <rneider AT web.de>
* src/pic/device.{c,h}: added pic14_getPIC()
* src/pic/gen.c (continueIfTrue,jumpIfTrue): added PIC code,
(genAnd): added PIC code for one case, fixes #1597044
* src/pic/pcode.c (BankSelect): Ohoh, added generic optimization for
SFRs that are present in all banks (e.g., STATUS)
2006-11-20 Raphael Neider <rneider AT web.de>
* src/pic/pcode.c: changed inverted ops for DECFSZ/DECFSZW and
INCFSZ/INCFSZW and declared them as changing Z bit,
(insertPCodeInstruction): correctly invert the above instructions,
fixes #1599333,
(DoBankSelect): don't panic on po_immediates
2006-11-14 Maarten Brock <sourceforge.brock AT dse.nl>
* as/link/aslink.h,
* as/link/mcs51/lkihx.c (newArea),
* as/link/mcs51/lkrloc.c: renamed newArea() to ihxNewArea()
* as/link/mcs51/lkihx.c (ihx): output reset vector as start address
2006-11-11 Raphael Neider <rneider AT web.de>
* src/pic/pcode.c (newpCodeOpBit): search SymbolTab for referenced
bitfield symbols, fixes #1579535 (once more...).
2006-11-09 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* support/regression/generate-cases.py,
* support/regression/fwk/include/testfwk.h,
* support/regression/fwk/lib/testfwk.c: used code pointers,
(about 50kByte less code generated for mcs51)
2006-11-06 Borut Razem <borut.razem AT siol.net>
* debugger/mcs51/acinclude.m4, debugger/mcs51/aclocal.m4,
debugger/mcs51/configure: fixed failed check because the function
rl_function_of_keyseq isn't in Readline 5.2. Thanks to Ilya Goldberg
who submitted the patch for gpsim.
* debugger/mcs51/configure.in: removed the result message
* debugger/mcs51/Makefile.in: fixed the config.status warning
"... seems to ignore the --datarootdir setting"
2006-11-03 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/c8051f020.h,
* device/include/mcs51/c8051f040.h,
* device/include/mcs51/c8051f060.h,
* device/include/mcs51/c8051f120.h: added PS0, fixed bug 1589279
* src/z80/gen.c (gencjneshort),
* src/z80/peeph.def: applied patch 1571373, thanks Philipp Krause
2006-10-31 Borut Razem <borut.razem AT siol.net>
* debugger/mcs51/acinclude.m4, debugger/mcs51/aclocal.m4,
debugger/mcs51/configure: get readline version
2006-10-30 Borut Razem <borut.razem AT siol.net>
* debugger/mcs51/sdcdb.c: replaced hardcoded "/" with DIR_SEPARATOR_STRING
* debugger/mcs51/acinclude.m4, debugger/mcs51/aclocal.m4,
debugger/mcs51/configure: locate readline even when cross compiling
* support/scripts/sdcc.nsi: include readline5.dll into the setup package
2006-10-29 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* device/include/mcs51/serial_IO.h: putchar() and getchar() using
serial port.
2006-10-29 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/malloc.h,
* device/lib/calloc.c,
* device/lib/free.c,
* device/lib/malloc.c,
* device/lib/realloc.c: moved definition of struct into sources
* support/regression/tests/malloc.c: use void* for init_dynamic_memory()
2006-10-29 Maarten Brock <sourceforge.brock AT dse.nl>
* as/asx8051.dsp: corrected output directories
* as/link/hc08: new directory for hc08 linker
* as/hc08/aslink.h, as/link/aslink.h,
* as/hc08/aslink.mak, as/link/hc08/aslink.mak,
* as/hc08/clean.mk, as/link/hc08/clean.mk,
* as/hc08/link_hc08.dsp, as/link/hc08/link_hc08.dsp,
* as/hc08/lkaomf51.c, as/link/hc08/lkaomf51.c,
* as/hc08/lkarea.c, as/link/hc08/lkarea.c,
* as/hc08/lkdata.c, as/link/hc08/lkdata.c,
* as/hc08/lkelf.c, as/link/hc08/lkelf.c,
* as/hc08/lkihx.c, as/link/hc08/lkihx.c,
* as/hc08/lklibr.c, as/link/hc08/lklibr.c,
* as/hc08/lkmain.c, as/link/hc08/lkmain.c,
* as/hc08/lkmem.c, as/link/hc08/lkmem.c,
* as/hc08/lkrloc.c, as/link/hc08/lkrloc.c,
* as/hc08/lks19.c, as/link/hc08/lks19.c,
* as/hc08/Makefile.aslink, as/link/hc08/Makefile.aslink,
* as/hc08/Makefile.bcc, as/link/hc08/Makefile.bcc,
* as/hc08/Makefile.in, as/link/hc08/Makefile.in,
* as/link/hc08/conf.mk,
* configure,
* configure.in,
* Makefile.in,
* sdcc.dsw: moved hc08 linker to as/link/hc08
* as/hc08/lkeval.c, as/link/mcs51/lkeval.c, as/link/lkeval.c,
* as/hc08/lkhead.c, as/link/mcs51/lkhead.c, as/link/lkhead.c,
* as/hc08/lklex.c, as/link/mcs51/lklex.c, as/link/lklex.c,
* as/hc08/lklist.c, as/link/mcs51/lklist.c, as/link/lklist.c,
* as/hc08/lknoice.c, as/link/mcs51/lknoice.c, as/link/lknoice.c,
* as/hc08/lksym.c, as/link/mcs51/lksym.c, as/link/lksym.c,
* as/link/mcs51/aslink.dsp,
* as/link/mcs51/Makefile.in: factored out the common files
* as/hc08/lkstore.c: deleted, use the one already in as/link/
* as/clean.mk: extra cleaning common files
* as/link/mcs51/strcmpi.c, as/strcmpi.c: moved
* as/link/mcs51/strcmpi.h: deleted, moved protoype to aslink.h
* as/mcs51/asm.h: include sdccconf.h or sdcc_vc.h
2006-10-29 Raphael Neider <rneider AT web.de>
* src/pic/ralloc.c (newReg): create aliases for registers with
multiple names to fix #1579535 and #1584001,
(regWithIdx,dirregWithName): resolve aliases on lookup
* src/pic/pcode.c (DoBankSelect): die with error message on failing
bankselect
* device/lib/pic/libdev/Makefile.in: move pseudo stack down to 0x4f
to prevent build errors on small devices
2006-10-28 Raphael Neider <rneider AT web.de>
* src/pic/gen.c (genFunction,genCall): drop "same code page"
assumption within interrupt handlers, fixes #1584940
* src/pic/glue.c (pic14_constructAbsMap): mark absolute symbols as
"emitted" to avoid emitting them again in udata
2006-10-27 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* device/lib/_putchar.c, device/lib/_getchar.c, device/lib/inituart.c:
Removed.
2006-10-26 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* device/lib/_putchar.c, device/lib/_getchar.c, device/lib/inituart.c:
Initialize uart only if SM0 and SM1 are zero. Also, use flag to turn
on/off CR to CRLF conversion.
2006-10-25 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: updated IRQ section
2006-10-24 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* device/lib/serial_io.c: removed
* device/lib/_putchar.c, device/lib/_getchar.c, device/lib/inituart.c
replacements for serial_io.c
2006-10-24 Maarten Brock <sourceforge.brock AT dse.nl>
* src/z80/main.c (_process_pragma, _parseOptions): fixed bug 1583318
2006-10-24 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* device/lib/serial_io.c: Default putchar() and getchar() for
mcs51 uses serial port.
2006-10-23 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (movc): improved check for 0 and 1, see RFE 1582704
2006-10-23 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* support/regression/ports/mcs51/support.c: smaller
_sdcc_external_startup()
* device/lib/mcs51/crtxclear.asm: don't check high byte of l_PSEG
2006-10-20 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/gbz80/crt0.s,
* device/lib/gbz80/crt0_rle.s,
* device/lib/gbz80/div.s,
* device/lib/gbz80/fstubs.s,
* device/lib/gbz80/heap.s,
* device/lib/gbz80/mul.s,
* device/lib/gbz80/putchar.s,
* device/lib/gbz80/stubs.s,
* device/lib/z80/crt0.s,
* device/lib/z80/crt0_rle.s,
* device/lib/z80/div.s,
* device/lib/z80/fstubs.s,
* device/lib/z80/heap.s,
* device/lib/z80/mul.s,
* device/lib/z80/putchar.s,
* device/lib/z80/stubs.s: reverted, I was mistaken
2006-10-20 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peeph.def: peephole 238.x added check for notvolatile
* support/regression/ports/mcs51/support.c: removed race
condition on TI in _putchar allowing to use serial port mode 0
2006-10-20 Borut Razem <borut.razem AT siol.net>
* debugger/mcs51/sdcdb.c: replaced isblank() with isspace()
2006-10-19 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/gbz80/crt0.s,
* device/lib/gbz80/crt0_rle.s,
* device/lib/gbz80/div.s,
* device/lib/gbz80/fstubs.s,
* device/lib/gbz80/heap.s,
* device/lib/gbz80/mul.s,
* device/lib/gbz80/putchar.s,
* device/lib/gbz80/stubs.s,
* device/lib/z80/crt0.s,
* device/lib/z80/crt0_rle.s,
* device/lib/z80/div.s,
* device/lib/z80/fstubs.s,
* device/lib/z80/heap.s,
* device/lib/z80/mul.s,
* device/lib/z80/putchar.s,
* device/lib/z80/stubs.s: removed all leading underscores from area names
2006-10-17 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/ports/mcs51/support.c: use highest baudrate so the
regression tests are not waiting in the simulator for simulated
transmission of debug output
2006-10-16 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/lib/printf_large.c: slightly smaller
* doc/sdccman.lyx: do not use spaces within html links
2006-10-16 Borut Razem <borut.razem AT siol.net>
* configure.in, configure, sdccconf_in.h, src/SDCCglobal,
debugger/mcs51/Makefile.in, debugger/mcs51/sdcdb.[ch],
debugger/mcs51/aclocal.m4, debugger/mcs51/acinclide.m4,
debugger/mcs51/config.h.in, debugger/mcs51/configure.in,
debugger/mcs51/configure:
[ 1185668 ] add gnu readline support to sdcdb - enabled
2006-10-16 Raphael Neider <rneider AT web.de>
* src/pic/pcode.c (BankSelect): another fix on (partial) BANKSELs,
fixes #1577882, removes close to all banking optimizations
2006-10-15 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCsymt.c (checkSClass): no error for uninitialised absolute
variables in code memory
* support/regression/tests/absolute.c: added test for this
2006-10-15 Raphael Neider <rneider AT web.de>
* src/pic/pcode.c (InsertBankSel): suppress BANKSELs for one bank
devices,
(BankSelect): emit BANKSEL before touching linker-placed regs,
fixes #1570934
2006-10-10 Raphael Neider <rneider AT web.de>
* src/SDCCmain.c (optionsTable): accept --stack-size for PICs,
* src/pic/device.c (pic14_getSharebankSize,pic14_getSharebankAddress),
* src/pic/main.c (_pic14_parseOptions),
* src/pic/main.h: mostly reverted to previous state, now use results
from SDCCmain.c's argument parsing
2006-10-10 Borut Razem <borut.razem AT siol.net>
* debugger/mcs51/break.[ch], debugger/mcs51/cmd.c,
debugger/mcs51/sdcdb.[ch], debugger/mcs51/simi.c:
[ 1185668 ] add gnu readline support to sdcdb -
prepared for READLINE, not enabled yet,
thanks to <tal.bav AT gmail.com>
2006-10-10 Raphael Neider <rneider AT web.de>
* src/pic16/pcode.c (pic16_pCode2str): use isACCESS_BANK macro
* src/pic16/devices.inc,
* device/include/pic16 (pic18f[24]620.h),
* device/include/pic18fregs.h,
* device/lib/pic16/pics.all,
* device/lib/pic16/libdev/pic18f[24]{620,525}.c): added support for
18f2620, 18f4620, 18f2525, and 18f4525 devices, thanks to
Gary Plumbridge and Anton Strobl
2006-10-10 Raphael Neider <rneider AT web.de>
* src/pic/main.c (_pic14_parseOptions): added --stack-loc=NUM and
--stack-siz=NUM options to configure the argument passing stack
* src/pic/main.h: added stackLocation and stackSize to pic14_options_t
* src/pic/device.c (mapRegister): catch out-of-memory SIGSEGVs,
(pic14_getSharebankSize): obey --stack-siz=NUM,
(pic14_getSharebankAddress): obey --stack-loc=NUM
2006-10-08 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: added to the manual
* doc/figures/ddd_example.png: added (neither pdflatex nor
most browsers seem to like the .eps file)
2006-10-06 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCglue.c (tempfileandname): changed un*x tmp search paths
to /tmp and /var/tmp acc. LSB
* src/SDCCast.c (addCast): Fixed bug 1571231: promote in case of
RESULT_TYPE_IFX
* support/regression/tests/onebyte.c: added test
2006-10-05 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* src/mcs51/gen.c: emitcode for "add a,0x%02x" requires only 8 bits.
2006-10-05 Borut Razem <borut.razem AT siol.net>
* partially fixed [ 1570701 ] peephole - not replacing code from multiline macros,
thanks to dfulab:
- sdcc.dsw: changed property eol-style to CRLF
- support/scripts/resource.rc: replaced references to "afxres.h" with "winres.h"
2006-10-04 Raphael Neider <rneider AT web.de>
* device/include/pic/{pic16f84.h,pic16f84a.h},
* device/lib/pic/libdev/{pic16f84.c,pic16f84a.c}: added PORT[AB]_bits
from patch #1522504, thanks to Robas Teodor
2006-10-02 Maarten Brock <sourceforge.brock AT dse.nl>
* as/link/z80/lkarea.c: essentially reverted lnksect() to #4380 which
fixes bug 1566015
2006-10-01 Maarten Brock <sourceforge.brock AT dse.nl>
* src/pic16/glue.c (pic16emitMaps),
* src/pic/glue.c (pic14emitMaps): hopefully fixed bug 1568779
* device/lib/gets.c: fixed bug 1568829,thanks Philipp Krause
* device/lib/pic16/libc/string/memcpypgm2ram.c,
* device/lib/pic16/libc/string/memcpyram2ram.c: fixed bug 1568836, thanks
Philipp Krause
* as/mcs51/asmain.c (asmbl, newdot): fixed problems with absolute areas
* as/link/mcs51/lkmem.c (summary2): reverted, do do count abs segments
2006-09-30 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* support/librarian/sdcclib.c: Added option -l.
* as/link/mcs51/lkmem.c: don't use absolute segments to compute memory
usage totals.
* device/lib/make51lib.bat: added. Allows building mcs51 libraries easily
using Windows command prompt.
2006-09-30 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/libsdcc.lib: added module rand
* src/ds390/ralloc.c (rematStr),
* src/hc08/ralloc.c (rematStr),
* src/mcs51/ralloc.c (rematStr),
* src/z80/ralloc.c (rematStr): made output more consistent
* src/mcs51/gen.c: cosmetic changes
2006-09-30 Maarten Brock <sourceforge.brock AT dse.nl>
* src/port.h: added mem.cabs_name to PORT
* src/ds390/main.c,
* src/hc08/main.c,
* src/mcs51/main.c,
* src/pic16/main.c,
* src/pic/main.c,
* src/xa51/main.c,
* src/z80/main.c: added cabs_name initializers
* src/SDCCglue.c (emitStaticSeg): allocate and initialize absolute
constants
(emitMaps): emit absolutes in code memory into cabs_name
* src/SDCCmem.c,
* src/SDCCmem.h: added memory map c_abs and defined CABS_NAME
* src/ds390/gen.c (genCodePointerGet): fixed bug if left is a literal
* support/regression/fwk/include/testfwk.h: added define for at
* support/regression/tests/absolute.c: added, new
2006-09-29 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genPlusIncr, genMinusDec, genAddrOf): small
optimizations, see also patch 887161 by Stas Sergeev
* src/mcs51/peeph.def(104, 207, 209, 212): disabled as they do not seem
to be necessary anymore,
(102, 103, 104, 127): renamed all occurances of bp to _bp
2006-09-27 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/at89c51snd1c.h: fixed MSK_SREQ definition
thanks Weston T. Schmidt for patch 1555221
* src/mcs51/peeph.def: renamed rule 257 to 257.a, added 257.b
* src/SDCCicode.c(geniCodeMultiply): small optimization
2006-09-26 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/stdlib.h: added rand prototypes
* device/lib/rand.c: new, added
* device/lib/Makefile.in: added rand.c
* src/z80/peeph.def,
* src/z80/peeph-gbz80.def,
* src/z80/peeph-z80.def: updated conditonals, fixed bug 1565908
2006-09-20 Raphael Neider <rneider AT web.de>
* device/lib/pic16/libio/i2c/i2cnack.c (i2c_nack): fixed ACKDT bit
2006-09-19 Maarten Brock <sourceforge.brock AT dse.nl>
* as/link/aslink.h: cosmetic changes
* as/link/mcs51/Makefile.in,
* as/link/z80/Makefile.in: fixed build on CF where VPATH is used
2006-09-17 Maarten Brock <sourceforge.brock AT dse.nl>
* as/link/aslink.h,
* as/link/mcs51/aslink.h,
* as/link/z80/aslink.h: merged and moved to as/link/
* as/link/lkstore.c,
* as/link/mcs51/lkstore.c: moved to as/link/
* as/link/clean.mk: remove *.o
* as/link/mcs51/alloc.h: deleted
* as/link/mcs51/lkarea.c: added lnksect prototype
* as/link/mcs51/lkdata.c,
* as/link/mcs51/lklex.c,
* as/link/mcs51/lkmain.c: renamed as_getline to lk_getline
* as/link/mcs51/lkmem.c,
* as/link/mcs51/lknoice.c: removed include strcmpi.h
* as/link/mcs51/lksym.c: include stdlib.h instead of malloc.h or alloc.h
* as/link/mcs51/aslink.dsp,
* as/link/mcs51/Makefile.aslink,
* as/link/mcs51/Makefile.bcc,
* as/link/mcs51/Makefile.in: updated for moved files
* as/link/z80/lkarea.c,
* as/link/z80/lkhead.c,
* as/link/z80/lklex.c,
* as/link/z80/lklibr.c,
* as/link/z80/lklist.c,
* as/link/z80/lkmain.c,
* as/link/z80/lkrloc.c,
* as/link/z80/lksym.c: synced with mcs51
* as/link/z80/lkdata.c,
* as/link/z80/lkeval.c,
* as/link/z80/lkihx.c,
* as/link/z80/lks19.c: cosmetic changes
* as/link/z80/Makefile.in,
* as/link/z80/linkgbz80.dsp,
* as/link/z80/linkz80.dsp: updated for moved files
2006-09-16 Borut Razem <borut.razem AT siol.net>
* debugger/mcs51/sdcdb.c: partially fixed
[ 1203664 ] sdcdb fails to open files w. two "." periods
* debugger/mcs51/simi.c, debugger/mcs51/symtab.c,
debugger/mcs51/symtab.h: fixed indenting
* configure.in, configure: up to date with latest Maarten's changes
2006-09-15 Maarten Brock <sourceforge.brock AT dse.nl>
as/link/mcs51
as/aslink.dsp, as/link/mcs51/aslink.dsp,
as/link/mcs51/aslink.h, as/mcs51/aslink.h,
as/link/mcs51/aslink.mak, as/mcs51/aslink.mak,
as/link/mcs51/lkaomf51.c, as/mcs51/lkaomf51.c,
as/link/mcs51/lkarea.c, as/mcs51/lkarea.c,
as/link/mcs51/lkdata.c, as/mcs51/lkdata.c,
as/link/mcs51/lkeval.c, as/mcs51/lkeval.c,
as/link/mcs51/lkhead.c, as/mcs51/lkhead.c,
as/link/mcs51/lkihx.c, as/mcs51/lkihx.c,
as/link/mcs51/lklex.c, as/mcs51/lklex.c,
as/link/mcs51/lklibr.c, as/mcs51/lklibr.c,
as/link/mcs51/lklist.c, as/mcs51/lklist.c,
as/link/mcs51/lkmain.c, as/mcs51/lkmain.c,
as/link/mcs51/lkmem.c, as/mcs51/lkmem.c,
as/link/mcs51/lknoice.c, as/mcs51/lknoice.c,
as/link/mcs51/lkrloc.c, as/mcs51/lkrloc.c,
as/link/mcs51/lks19.c, as/mcs51/lks19.c,
as/link/mcs51/lkstore.c, as/mcs51/lkstore.c,
as/link/mcs51/lksym.c, as/mcs51/lksym.c,
as/link/mcs51/Makefile.aslink, as/mcs51/Makefile.aslink,
as/link/mcs51/alloc.h,
as/link/mcs51/clean.mk,
as/link/mcs51/conf.mk,
as/link/mcs51/Makefile.bcc,
as/link/mcs51/Makefile.in,
as/link/mcs51/readme.390,
as/link/mcs51/strcmpi.c,
as/link/mcs51/strcmpi.h,
as/mcs51/clean.mk,
as/mcs51/Makefile.bcc,
as/mcs51/Makefile.in,
configure,
Makefile.in,
sdcc.dsw: moved mcs51 linker to as/link/mcs51
2006-09-14 Maarten Brock <sourceforge.brock AT dse.nl>
* as/link,
* as/link/Makefile.in,
* as/link/z80/linkgbz80.dsp,
* as/link/z80/linkz80.dsp,
* configure,
* link,
* link/clean.mk,
* link/Makefile.in,
* link/README,
* link/z80,
* link/z80/aslink.h,
* link/z80/clean.mk,
* link/z80/conf.mk,
* link/z80/linkgbz80.dsp,
* link/z80/linkz80.dsp,
* link/z80/lkarea.c,
* link/z80/lkdata.c,
* link/z80/lkeval.c,
* link/z80/lkgb.c,
* link/z80/lkgg.c,
* link/z80/lkhead.c,
* link/z80/lkihx.c,
* link/z80/lklex.c,
* link/z80/lklibr.c,
* link/z80/lklist.c,
* link/z80/lkmain.c,
* link/z80/lkrloc.c,
* link/z80/lks19.c,
* link/z80/lksym.c,
* link/z80/Makefile.in,
* Makefile.in,
* sdcc.dsw: moved link/ to as/link/
2006-09-11 Maarten Brock <sourceforge.brock AT dse.nl>
* as/mcs51/i51mch.c (machine): fixed warning
2006-09-10 Maarten Brock <sourceforge.brock AT dse.nl>
* as/mcs51/i51mch.c (machine): S_DJNZ fixed bug 1554318
2006-09-09 Borut Razem <borut.razem AT siol.net>
* debugger/mcs51/sdcdb.c, debugger/mcs51/simi.c:
sdcdb WIN32 native port
* src/clean.mk: fixed
2006-09-08 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: SDCDB and ucSim are available on Win32 platforms.
2006-09-08 Raphael Neider <rneider AT web.de>
* src/pic16/main.c (_pic16_linkEdit,pic16_linkCmd),
* src/pic/main.c(_pic14_do_link, linkCmd): pass "-w" and "-r"
to gplink to disable processor mismatch warning and to allow
the use of devices with only aliased (shared) memory banks,
(_pic16_genAssemblerPreamble): include pXXX.inc on --mplab-comp
2006-09-07 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* doc/sdccman.lyx: Some re-formating plus example on using
#pragma preproc_asm +/-
2006-09-07 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: added SDCDB executables in a separate
section
2006-09-06 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: fixed Error: unterminated string parsing
line at sdcc.nsi:153
* sdcc/debugger/mcs51/simi.c: argsToCmdLine() fixes
2006-09-05 Borut Razem <borut.razem AT siol.net>
* configure.in, configure: support for winsock2
* debugger/mcs51/break.h, debugger/mcs51/cmd.c,
debugger/mcs51/cmd.h, debugger/mcs51/sdcdb.c,
debugger/mcs51/sdcdb.h, debugger/mcs51/simi.c,
debugger/mcs51/simi.h, debugger/mcs51/symtab.c,
debugger/mcs51/symtab.h: sdcdb WIN32 native port
2006-09-05 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCopt.c (cnvToFcall): fixed bug 1551947 by updating OP_USES
and OP_DEFS
* support/regression/tests/bug1551947.c: new, added
* src/SDCCsymt.h: strings are char* not byte*
2006-09-05 Raphael Neider <rneider AT web.de>
* device/lib/pic16/libdev/pic18f4550.c,
device/include/pic16/pic18f4550.h: added PORTD/TRISD
declarations/definitions from patch #1520949
2006-09-05 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (genPackBits): fix assignment to 8-bit,
byte-aligned bitfields, fixes #1539278
2006-09-05 Raphael Neider <rneider AT web.de>
* src/pic/gen.c (genReceive): skip unreferenced arguments,
fixes #1544120
2006-09-04 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: move ucSim executables to a separate section
* support/scripts/sdcc_cygwin_mingw32: don't disable ucsim,
-mno-cygwin is a part of the compiler name
* support/scripts/sdcc_mingw32: don't disable ucsim
2006-09-03 Borut Razem <borut.razem AT siol.net>
* sdcc.spec: corrected for 2.6.0. Thanks to Christer Weinigel.
* device/lib/Makefile.in device/lib/clean.mk: small but essential corrections
2006-09-03 Raphael Neider <rneider AT web.de>
* src/pic/ralloc.c,
* src/pic/pcode.c (InitReuseRegs): allocate registers with pseudo
indices >= 0x1000 to disambiguate them from fixed regs __at(addr),
fixes #1550049
2006-09-01 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/cmd.src/cmdutil.cc: #include <sys/time.h> and <unistd.h>
to make ppc-osx happy
2006-08-31 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/cmd.src/newcmdposix.cc: #include <assert.h>
* sim/ucsim/cmd.src/newcmd.cc: #include <ctype.h>
* sim/ucsim/cmd.src/newcmd.cc: #include <ctype.h>
* support/regression/ports/ds390/spec.mk,
support/regression/ports/mcs51/spec.mk,
support/regression/ports/xa51/spec.mk: introduced DEV_NULL variable.
To run regression tests in mingw environment:
make DEV_NULL=NUL CC=gcc
2006-08-30 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/cmd.src/newcmdposix.cc, sim/ucsim/cmd.src/newcmdposixcl.h,
sim/ucsim/cmd.src/newcmdwin32.cc, sim/ucsim/cmd.src/newcmdwin32cl.h,
sim/ucsim/app.cc, sim/ucsim/appcl.h, sim/ucsim/configure,
sim/ucsim/configure.in, sim/ucsim/ddconfig_in.h, sim/ucsim/error.cc,
sim/ucsim/errorcl.h, sim/ucsim/option.cc, sim/ucsim/optioncl.h,
sim/ucsim/utils.cc, sim/ucsim/utils.h, sim/ucsim/cmd.src/Makefile.in,
sim/ucsim/avr.src/avr.cc, sim/ucsim/avr.src/avrcl.h,
sim/ucsim/cmd.src/bp.cc, sim/ucsim/cmd.src/bpcl.h,
sim/ucsim/cmd.src/cmdconf.cc, sim/ucsim/cmd.src/cmdgui.cc,
sim/ucsim/cmd.src/cmdmem.cc, sim/ucsim/cmd.src/cmdset.cc,
sim/ucsim/cmd.src/cmdsetcl.h, sim/ucsim/cmd.src/cmdstat.cc,
sim/ucsim/cmd.src/cmduc.cc, sim/ucsim/cmd.src/cmduccl.h,
sim/ucsim/cmd.src/cmdutil.cc, sim/ucsim/cmd.src/cmdutil.h,
sim/ucsim/cmd.src/command.cc, sim/ucsim/cmd.src/commandcl.h,
sim/ucsim/cmd.src/get.cc, sim/ucsim/cmd.src/getcl.h,
sim/ucsim/cmd.src/info.cc, sim/ucsim/cmd.src/newcmd.cc,
sim/ucsim/cmd.src/newcmdcl.h, sim/ucsim/cmd.src/set.cc,
sim/ucsim/cmd.src/show.cc, sim/ucsim/cmd.src/timer.cc,
sim/ucsim/hc08.src/hc08.cc, sim/ucsim/hc08.src/hc08cl.h,
sim/ucsim/s51.src/Makefile.in, sim/ucsim/s51.src/interrupt.cc,
sim/ucsim/s51.src/interruptcl.h, sim/ucsim/s51.src/pca.cc,
sim/ucsim/s51.src/pcacl.h, sim/ucsim/s51.src/port.cc,
sim/ucsim/s51.src/portcl.h, sim/ucsim/s51.src/serial.cc,
sim/ucsim/s51.src/serialcl.h, sim/ucsim/s51.src/timer0.cc,
sim/ucsim/s51.src/timer0cl.h, sim/ucsim/s51.src/timer1.cc,
sim/ucsim/s51.src/timer1cl.h, sim/ucsim/s51.src/timer2.cc,
sim/ucsim/s51.src/timer2cl.h, sim/ucsim/s51.src/uc390.cc,
sim/ucsim/s51.src/uc390cl.h, sim/ucsim/s51.src/uc390hw.cc,
sim/ucsim/s51.src/uc390hwcl.h, sim/ucsim/s51.src/uc51.cc,
sim/ucsim/s51.src/uc51cl.h, sim/ucsim/s51.src/wdt.cc,
sim/ucsim/s51.src/wdtcl.h, sim/ucsim/sim.src/hw.cc,
sim/ucsim/sim.src/hwcl.h, sim/ucsim/sim.src/mem.cc,
sim/ucsim/sim.src/memcl.h, sim/ucsim/sim.src/obsolete.cc,
sim/ucsim/sim.src/obsolete.h, sim/ucsim/sim.src/sim.cc,
sim/ucsim/sim.src/simcl.h, sim/ucsim/sim.src/stack.cc,
sim/ucsim/sim.src/stackcl.h, sim/ucsim/sim.src/test_mem_speed.cc,
sim/ucsim/sim.src/uc.cc, sim/ucsim/sim.src/uccl.h,
sim/ucsim/xa.src/xa.cc, sim/ucsim/xa.src/xacl.h,
sim/ucsim/z80.src/z80.cc, sim/ucsim/z80.src/z80cl.h:
ucsim WIN32 native port
2006-08-30 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* doc/sdccman.lyx: added note on dynamic memory heap initialization
2006-08-27 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genAnd, genOr, genXor): fixed bug 1546986
* src/ds390/gen.c (aopGetUsesAcc): handle AOP_DPTR2 and AOP_DPTRn too
2006-08-26 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (genAnd, genOr, genXor): fixed bug 1546986
* support/regression/tests/bug1546986.c: new, added
* as/mcs51/.cvsignore,
* debugger/mcs51/.cvsignore,
* src/.cvsignore: deleted
2006-08-25 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* device/include/mcs51/P89c51RD2.h: fixed bug 1546936 (error in sbit
definitions)
2006-08-20 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/cmd.src/newcmd.cc, sim/ucsim/cmd.src/newcmdcl.h:
removed cl_listen_console::match(), cl_console::match(),
restructured cl_commander::proc_input()
2006-08-16 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/cmd.src/newcmd.cc, sim/ucsim/cmd.src/newcmdcl.h,
sim/ucsim/cmd.src/cmdutil.cc, sim/ucsim/cmd.src/cmdutil.h,
sim/ucsim/sim.src/mem.cc, sim/ucsim/sim.src/uc.cc: code cleaning
2006-08-14 Borut Razem <borut.razem AT siol.net>
* support/regression/Makefile.in,
support/regression/ports/pic14/gpsim.cmd,
support/regression/ports/pic14/spec.mk,
support/regression/ports/pic14/support.c:
added pic14 regression test
2006-08-14 Maarten Brock <sourceforge.brock AT dse.nl>
* as/doc/asxhtm.html: documented changed ABS behaviour
* as/doc/README: fixed some typos
2006-08-13 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/float_trans.c: disabled test if __STDC_IEC_559__
not defined on host
2006-08-12 Borut Razem <borut.razem AT siol.net>
* support/regression/fwk/include/testfwk.h,
support/regression/fwk/lib/testfwk.c,
support/regression/generate-cases.py,
support/regression/Makefile.in:
regression test framework does not depend on function pointers and
variable arguments
2006-08-09 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/stddef.h: c temporary hack to fix bug 1518273
2006-08-09 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* device/include/mcs51/cc2510fx.h: added
* src/z80/z80.dsp, src/gbz80/gbz80.dsp: added support/Util/strcmpi.ch
to projects.
2006-08-09 Maarten Brock <sourceforge.brock AT dse.nl>
* as/z80/assym.c (mlookup): ignore case when looking up mnemonics
* as/z80/Makefile.in: added strcmpi.c
* as/z80/z80adr.c: added upper case registers and lower case conditionals
* support/Util/strcmpi.ch: added with intention to remove from mcs51/hc08
2006-08-08 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/gbz80/asm_strings.s,
* device/lib/gbz80/crt0_rle.s,
* device/lib/gbz80/div.s,
* device/lib/gbz80/mul.s,
* device/lib/gbz80/shift.s,
* device/lib/z80/asm_strings.s,
* device/lib/z80/crt0_rle.s,
* device/lib/z80/div.s,
* device/lib/z80/mul.s,
* device/lib/z80/shift.s: changed to all lower case menmonics except the
flags which are all upper case
2006-08-07 Maarten Brock <sourceforge.brock AT dse.nl>
* as/z80/asm.h: made CASE_SENSITIVE 1
* link/z80/aslink.h: made CASE_SENSITIVE 1
* src/z80/gen.c (throughout): made all conditionals upper case
* support/regression/tests/bug1503067.c: new
2006-08-07 Maarten Brock <sourceforge.brock AT dse.nl>
* src/z80/gen.c (aopPut): fixed bug !*ixy should be !*iyx,
(shiftIntoPair): added case 2 for PAIR_IY,
(setupToPreserveCarry): replaced parameters with iCode and check if
PAIR_DE is in use to fix bug 1399290,
(genPlus, genMinus): updated call to setupToPreserveCarry
* support/regression/tests/bug1399290.c: new
2006-08-06 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/Makefile.in (Z80SOURCES): enabled float support
* sim/ucsim/z80.src/inst.cc (inst_rst): generate breakpoint on RST8,ACC==0
* src/ds390/gen.c (shiftRLong),
* src/hc08/gen.c (shiftLLong, shiftRLong): fixed bug 1533966
* src/mcs51/gen.c (sameReg): changed to sameByte,
(xch_a_aopGet): new,
(shiftL2Left2Result, shiftR2Left2Result, shiftRLeftOrResult, shiftLLong,
shiftRLong): fixed bug 1533966
* src/z80/gen.c (shiftR2Left2Result, shiftL2Left2Result, genlshTwo,
genLeftShiftLiteral, genrshTwo, genRightShiftLiteral): fixed bug 1533966
* support/regression/Makefile.in: disabled z80, enabled ucz80
* support/regression/tests/float_trans.c: enabled test for z80 and host
* support/regression/tests/shifts2.c: new, for testing bug 1533966
2006-08-01 Borut Razem <borut.razem AT siol.net>
* src/mcs51/gen.c, src/dc390/gen.c: fixed warning:
comparison is always false due to limited range of data type
on PPC64 machine (openpower-linux1) where "char = unsigned char"
2006-08-01 Maarten Brock <sourceforge.brock AT dse.nl>
* sim/ucsim/hc08.src/hc08mac.h: removed faulty and unused add_u16_disp
* sim/ucsim/hc08.src/hc08.cc: removed faulty and unused int8
* sim/ucsim/z80.src/z80mac.h (add_u16_disp): use explicit signed char cast
* sim/ucsim/z80.src/z80.cc: removed faulty and unused int8
2006-07-31 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/configure, sim/ucsim/cmd.src/newcmdcl.h,
sim/ucsim/cmd.src/newcmd.cc, sim/ucsim/cmd.src/cmdutil.cc,
sim/ucsim/z80.src/Makefile.in, sim/ucsim/configure.in,
sim/ucsim/hc08.src/Makefile.in, sim/ucsim/hc08.src/hc08.cc,
sim/ucsim/ddconfig_in.h, sim/ucsim/s51.src/Makefile.in,
sim/ucsim/s51.src/uc51cl.h, sim/ucsim/s51.src/serialcl.h,
sim/ucsim/s51.src/uc51.cc, sim/ucsim/s51.src/serial.cc,
sim/ucsim/app.cc, sim/ucsim/avr.src/Makefile.in:
enable ucsim mingw compilation. Serial port is disabled,
since it uses termios.h API, which is not available on native
WIN32
2006-07-31 Borut Razem <borut.razem AT siol.net>
* Small Device C Compiler 2.6.0 released
* support/scripts/sdcc.nsi: added FULL_DOC option
* .version, doc/sdccman.lyx: changed sdcc version to 2.6.1
2006-07-28 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: remove $INSTDIR/include/asm/pic16/*.h
* doc/INSTALL.txt: updated
2006-07-27 Borut Razem <borut.razem AT siol.net>
* device/lib/pic/Makefile.in, device/lib/pic/Makefile.subdir,
device/lib/pic/libdev/Makefile.in: fixed bug
[ 1438354 ] pic libsdcc: distclean doesn't work
* device/lib/pic16/Makefile.in, device/lib/pic16/Makefile.subdir,
device/lib/pic16/libio/Makefile.in: fixed bug
[ 1438344 ] pic16 lib: clean doesn't work properly
* doc/knownbugs.html removed [ 1438354 ] and [ 1438344 ] from the list
2006-07-26 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/pic/libsdcc/fsdiv.c,
* device/lib/pic/libsdcc/fsmul.c,
* device/lib/pic16/libsdcc/float/fsdiv.c,
* device/lib/pic16/libsdcc/float/fsmul.c,
* device/lib/_fsdiv.c,
* device/lib/_fsmul.c: bugfix, handle too large and too small numbers
* support/regression/tests/bug1520966.c: added
* doc/knownbugs.html: removed [ 1520966 ] from the list
2006-07-25 Borut Razem <borut.razem AT siol.net>
* configure.in, configure, sdccconf_in.h: fixed bug
[ 1519095 ] regression test onebyte.c fails on ppc64 host
* doc/knownbugs.html: removed [ 1519095 ] from the list
2006-07-25 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/knownbugs.html: added, contains list of known bugs at release
* device/include/mcs51/compiler.h: fixed SFR32 for SDCC
2006-07-23 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/compiler.h: added SFRX for xdata based special
function registers and corrected defaults with additional warning
* device/lib/malloc.c: cosmetic changes
* device/lib/realloc.c: bugfix for bug #1496907, Thanks Efim Monyak
* src/ds390/ralloc.c (getRegBitNoSpil): reenabled,
(fillGaps): and used it
2006-07-20 Raphael Neider <rneider AT web.de>
* src/pic/device.c (addMemRange,assignRegister): suppress verbose
output unless SDCCPICDEBUG is set
* device/lib/pic16/Makefile.rules (%.lib target): suppress verbose
output if SILENT is set
2006-07-11 Borut Razem <borut.razem AT siol.net>
* doc/README.txt: updated
2006-07-10 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: added device/include/asm/pic/features.h and
device/lib/src/pic/libm/*.c and device/lib/src/pic16/libsdcc/stack/*.S
in WIN32 installation
* .version, sdcc.spec, doc/sdccman.lyx: changed sdcc version to 2.6.0 -
release candidate 1
2006-07-08 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/XC866.h: added sbit definitions for Px_x, P1_x, P2_x
* src/pic16/glue.c (initPointer): fixed bug 1496419 for pic16
2006-07-06 Maarten Brock <sourceforge.brock AT dse.nl>
* src/hc08/gen.c (genAddrOf): fixed bug when offset on stack is >127
2006-07-06 Borut Razem <borut.razem AT siol.net>
* support/regression/tests/bitfields.c:
fixed bug [ 1518322 ] regression test bitfields fails on ppc hosts
* support/regression/tests/constantRange.c:
fixed bug [ 1518317 ] regression test constantRange fails on alpha host
2006-07-04 Borut Razem <borut.razem AT siol.net>
* src/configure.in, src/configure, src/Makefile.in, as/z80/Makefile.in,
src/port.mk,
src/avr/Makefile.in, src/ds390/Makefile.in, src/ds400/Makefile.in,
src/hc08/Makefile.in, src/mcs51/Makefile.in, src/pic16/Makefile.in,
src/pic/Makefile.in, src/xa51/Makefile.in, src/z80/Makefile.in:
reverted changes from 2006-07-03
* Makefile.common.in: added @CPPFLAGS@ to CPPFLAGS
* support/regression/Makefile.in, support/regression/ports/host/spec.mk:
added CPPFLAGS, used by the host port
2006-07-03 Bernhard Held <bernhard AT bernhardheld.de>
* support/regression/valdiag/tests/switch.c,
* support/regression/valdiag/tests/constantRange.c: adapted to gcc 4
* support/regression/tests/libmullong.c: fixed for host
* support/regression/ports/host/spec.mk: disable all warnings for host,
SDCC runs with --less-pedantic too
2006-07-03 Borut Razem <borut.razem AT siol.net>
* src/configure.in, src/configure, src/Makefile.in, as/z80/Makefile.in:
defined CPPFLAGS
* src/port.mk: defined CPPFLAGS, renamed to src/port.mk.in
* src/avr/Makefile.in, src/ds390/Makefile.in, src/ds400/Makefile.in,
src/hc08/Makefile.in, src/mcs51/Makefile.in, src/pic16/Makefile.in,
src/pic/Makefile.in, src/xa51/Makefile.in, src/z80/Makefile.in:
include ../port.mk
* sim/ucsim/main_in.mk, sim/ucsim/avr.src/Makefile.in,
sim/ucsim/gui.src/Makefile.in, sim/ucsim/hc08.src/Makefile.in,
sim/ucsim/s52.src/Makefile.in, sim/ucsim/sim.src/Makefile.in,
sim/ucsim/xa.src/Makefile.in: ignore header files for dependencies
2006-07-02 Raphael Neider <rneider AT web.de>
* src/pic16/devices.inc,
* device/include/pic16/pic18fregs.h,
* device/include/pic16/pic18f4550.h,
* device/lib/pic16/pics.all,
* device/lib/pic16/libdev/pic18f4550.c: added support for 18f4550
2006-07-01 Bernhard Held <bernhard AT bernhardheld.de>
* as/hc08/lkaomf51.c (OutputName),
* as/mcs51/lkaomf51.c (OutputName),
* as/z80/asmain.c (asmbl),
* src/ds390/main.c (asmLineNodeFromLineNode),
* src/hc08/ralloc.c (hc08_assignRegisters),
* src/mcs51/main.c (asmLineNodeFromLineNode),
* src/xa51/ralloc.c (checkRegMask),
* src/xa51/gen.c (emitcode),
* src/z80/gen.c (_emit2),
* src/SDCCast.c (searchLitOp),
* src/SDCCglobl.h,
* support/packihx/packihx.c,
* support/Util/MySystem.c (split_command): fix gcc 4 warnings
* src/ds390/gen.c (aopPutUsesAcc),
* src/ds390/ralloc.c (getRegBitNoSpil): unused, therefore disabled
* support/regression/tests/libmullong.c (mullong_wrapper),
* src/SDCCsymt.c (powof2),
* src/SDCCast.c,
* src/SDCCicode.c: renamed TYPE_WORD by TYPE_TARGET_INT and so on
* src/SDCCsymt.h: added TYPE_TARGET_*
* src/SDCCutil.c (doubleFromFixed16x16, fixed16x16FromDouble),
* src/SDCCutil.h (doubleFromFixed16x16, fixed16x16FromDouble): moved to
SDCCast because 1) header problems 2) this is the right place
* src/SDCCast.c (doubleFromFixed16x16, fixed16x16FromDouble): added
* src/SDCCval.h (doubleFromFixed16x16, fixed16x16FromDouble): added
prototype
2006-06-29 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCicode.h: removed buggy semicolon in unused macro
* src/SDCClrange.c (findPrevUseSym, rlivePoint): fixed bug #1486853,
search for previous definiton of auto symbols too,
(findPrevUse): fixed logic of emitWarnings
2006-06-26 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (genFunction, genEndFunction): also preserve
PCLATH and PCLATU on interrupts, potentially fixes #1505141
2006-06-25 Raphael Neider <rneider AT web.de>
* device/lib/pic/libm: NEW, added math library functions
* device/lib/pic/libsdcc: NEW; added float support functions
* device/lib/pic/{Makefile.in,configure.in,configure}: added libm/
* device/include/pic/{limits.h,errno.h,sdcc-lib.h,float.h,math.h}:
NEW, added math related headers
* device/include/asm/pic/features.h: NEW
* src/pic/gen.c (emitpcode_real): emit warning on NULL pCodeOp,
(popGet): allow larger offsets for AOP_PCODE,
(genDataPointerSet): handle literals explicitly, more debug output,
(genAssign): fixed for float using aopLiteral ;-)
* src/pic/glue.c (pic14createInterruptVect): inserted pagesel before
GOTO initialisation routine
* src/pic/pcoderegs.c (pCodeRegMapLiveRangesInFlow): set wasUsed
flag on registers, fixes #1469043 (local variables do not work)
* src/pic/main.c (_pic14_do_link),
* src/pic16/main.c (_pic16_linkEdit): use fullDstFileName if
available
2006-06-25 Borut Razem <borut.razem AT siol.net>
* device/lib/pic16/libc/stdio/sprintf.c: return the number of
characters printed (not including the trailing '\0' used to end
output to strings). Problem detected in regression test bug-927659.c.
NOTE: printf() family functions should return int instead
unsigned int!
* device/lib/pic16/libc/stdio/vfprintf.c: "%%" prints "%", unknown
specifier are printed as themselves
* sdcc/support/regression/tests/bug1057979.c: pic16 printf doesn't
support flags, width and precision specifiers
2006-06-24 Borut Razem <borut.razem AT siol.net>
* sdcc/support/regression/tests/bitvars.c: added gbz80, pic16 and pic16
to the list of sdcc tagrets not supporting bit type
* sdcc/support/regression/tests/bug-905992.c.c: excluded regression
testfor pic16 due to bug:
[ 1511794 ] pic16: regression test bug-895992.c fails
2006-06-24 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genCmp): optimization for RFE 1162453
* src/SDCCglue.c (initPointer), fixed bug 1496419
* support/regression/tests/bug1496419.c: new, added
2006-06-22 Borut Razem <borut.razem AT siol.net>
* support/regression/ports/pic16/support.c: use gpsim usart module from
libgpsim_modules library
2006-06-21 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* device/include/mcs51/at89c51ed2.h: Fixed bug 1510144 changed
IP0H to IPH0.
2006-06-19 Raphael Neider <rneider AT web.de>
* src/pic/glue.h,src/pic16/glue.h: added prototypes
* src/pic/glue.c,src/pic16/glue.c (pic1x_stringInSet,
pic1x_emitSymbolIfNew): NEW, check for a string in a set,
(pic14printExterns,pic14printPublics,pic16printPublics,
pic16_printExterns): use new functions to emit symbols
(picglue,pic16glue): emit publics before emitting externs
* src/pic/gen.c,src/pic16/gen.c (genFunction): remember the names of
locally defined functions to avoid bug #1443651
* support/regression/tests/bug-716242.c: removed pic16 workaround
* support/regression/ports/pic16/spec.mk: ignore errors during build
2006-06-19 Raphael Neider <rneider AT web.de>
* src/pic/glue.h: added pic14aopLiteral prototype
* src/pic/glue.c (pic14aopLiteral): return unsigned int
* src/pic/gen.c: removed stdint.h dependency
(aopGet): use Safe_strdup()
(bitpatternFromVal): removed, replaced use with pic14aopLiteral
(genDataPointerSet): use pic14aopLiteral()
* src/pic16/glue.h, src/pic16/glue.c, src/pic16/gen.c: similar changes
for pic16; thanks to Bernhard and Maarten
2006-06-18 Borut Razem <borut.razem AT siol.net>
* support/regression/tests/structflexarray.c: flexible array members
not supported by gcc < 3
* sim/ucsim/configure, sim/ucsim/configure.in: do not compile serio
GUI tool by default
* src/pic/gen.c: don't include [p]strdin.h on solaris
* support/Util/pstdint.h: added svn attributes
* support/regression/tests/constantRange.c,
support/regression/tests/rotate.c: include inttypes.h instead
stdint.h on solaris, added svn attributes
2006-06-18 Raphael Neider <rneider AT web.de>
* src/SDCCsymt.c (initCSupport): change return type of divschar to
int for PIC16
* src/pic16/genarith.c (genAddLit): sign-extend via standard routine
(pic16_genMinusBits): simplified sign-extension
(pic16_genUMult8XLit_8,pic16_genUMult8X8_8): renamed to
pic16_genMult8XLit_n resp. pic16_genMult8X8_n, fixed and
adjusted to correctly handle mixed-signed operands, disabled
now unused multiplciation routines
* src/pic16/gen.c (pic16_pushpCodeOp): fixed to handle literals
(assignResultValue): added argument denoting the size of the result
as returned by the function (fixes upcasts in assigning from
function calls: char foo(); int i = foo();)
(genCall,genPcall,genGenPointerGet,genReceive): pass size of
function result to assignResultValue
(genMult): disabled inlined multiplication code
(genDiv): augmented to also handle the modulus operator, fixed to
handle mixed-signed operands correctly
(genMod): simply call genDiv, disabled unused code
(genAssign): fixed missing (sign-)extension on result
* src/pic16/main.c (_hasNativeMulFor): accept literals [-128..256) as
valid char operands, allow signed operands for native code, added
division and modulo operator handling
* device/lib/pic16/libsdcc/char/divschar.c: divschar returns an int
As a consequence, onebyte.c (if split into two files) and muldiv.c
pass regression tests.
2006-06-17 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/Makefile.in: two runs of makeindex seem needed to get
correct page references in the index of sdccman.pdf
* doc/sdccman.lyx: mentioned cmon51, added links, small changes
2006-06-17 Borut Razem <borut.razem AT siol.net>
* sdcc/device/lib/Makefile.in: corrected PORTINCDIR path
2006-06-17 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: updated, added (porting source code, debugging),
mentioned ec2drv and paulmon
2006-06-16 Maarten Brock <sourceforge.brock AT dse.nl>
* as/mcs51/lkarea.c (lnkarea2): clear new xdatamap, bugfix for two
consecutive abs areas
(find_empty_space, allocate_space): added map to handle codemap or
xdatamap,
(lnksect2): renamed rloc to locIndex, fixed bug 960060 by handling
absolute idata and xdata
* as/mcs51/lkmem.c (summary2): updated legend
2006-06-16 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (shiftR2Left2Result): fixed bug #1507127
2006-06-13 Maarten Brock <sourceforge.brock AT dse.nl>
* debugger/mcs51/cmd.c (cmdListFunctions): fixed bugs 1181163 and
1208515
* src/SDCClrange.c (findPrevUse): fixed bug 1294475
2006-06-13 Vangelis Rokas <vrokas AT users.sourceforge.net>
* src/port.h (struct PORT): added field gp_tags, to hold the tag
value of generic pointers,
* src/avr/main.c,
src/ds390/main.c,
src/hc08/main.c,
src/izt/i186.c,
src/izt/tlcs900h.c,
src/mcs51/main.c,
src/pic/main.c,
src/pic16/main.c,
src/xa51/main.c,
src/z80/main.c: PORT structure, added elements for gp_tags field,
* src/SDCCsymt.h: replaced hardwired values of GPTYPE_* macros with
fields in the PORT structure of each port,
* src/SDCCast.c (decorateType): allow processing of generic pointers
for PIC16 port (FPTRSIZE equals GPTRSIZE), also set GPTYPE_NEAR for
S_FIXED symbols
2006-06-12 Maarten Brock <sourceforge.brock AT dse.nl>
* link/z80/lkgb.c,
* link/z80/lkgg.c,
* src/pic16/gen.c,
* src/pic16/main.c,
* src/pic16/pcode.c,
* src/pic/main.c,
* src/pic/pcoderegs.c,
* src/SDCCicode.c,
* src/SDCCmain.c,
* src/SDCCsymt.c: replaced all exit(-1) by exit(EXIT_FAILURE) to fix
bug 1504689 on minGW
2006-06-12 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/lib/printf_tiny.c: fixed bug #1465675 (%x format specifier)
2006-06-12 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (backPatchLabels): fixed bug #1504636
2006-06-11 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/printf_large.c (OUTPUT_CHAR, _output_char): added and used
for optimization
2006-06-11 Vangelis Rokas <vrokas AT users.sourceforge.net>
* src/pic16/gen.c (genCast): fixed bug with assignment of a pointer
to a char variable. Fixed bug #1504211
* device/include/pic16/adc.h,
device/include/lib/pic16/libio/adc/adcopen.c: applied patch #1364387
and fixed bug #1364390
2006-06-10 Borut Razem <borut.razem AT siol.net>
* CVSROOT: removed the CVS left-over
2006-06-10 Maarten Brock <sourceforge.brock AT dse.nl>
* as/hc08/asmain.c (asexit),
* as/hc08/lkmain.c (lkexit),
* as/mcs51/asmain.c (asexit),
* as/mcs51/lkmain.c (lkexit),
* src/SDCCglue.c (DEFSETFUNC),
* src/SDCCmain.c (linkEdit, assemble),
* support/librarian/sdcclib.c (AddRel),
replaced unlink() by standard C remove()
* src/SDCC.y: replaced removePostIncDecOps() by createRMW()
* src/SDCCast.c (replaceAstWithTemporary, createRMW,
gatherImplicitVariables): new, added to fix bug 608752,
(createFunction): added gatherImplicitVariables()
* src/SDCCast.h: added createRMW prototype
* src/SDCCsymt.h (struct symbol): added infertype
* support/regression/tests/bug608752.c: new, added
2006-06-10 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (pic16_aopOp): use WREG as destination even for
multibyte dummy reads (fixes #1503234)
2006-06-10 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/compiler.h: new, added header file to enable
creating common sfr definition header files for different compilers
2006-06-05 Raphael Neider <rneider AT web.de>
* src/pic16/{pcode.h,genarith.c}:
introduced pCodeOp combining any two pCodeOps (previously only
two register operands could be combined), removed pcop2 from
pCodepReg, replaced pCodeOpReg2 with pCodeOp2, fixes #1492366
* src/pic16/pcodepeep.c (pic16_pCodeOpCopy): added case for PO_TWO_OPS
* src/pic16/gen.c (pic16_popGet2,pic16_popGet2p,pic16_popCombine2):
rewritten to use new PO_TWO_OPS
* src/pic16/main.c (_hasNativeMulFor): cover more cases natively,
* src/pic16/pcode.c (pic16_newpCodeOpImmd): initialize rIdx field,
(pic16_newpCodeOp): catch invalid attempts on PO_TWO_OPS,
(pic16_newpCodeOp2): NEW, create combined pCodeOp,
(pic16_get_op): embraced return arg to allow #define return(x),
added new case for combined opcodes
(pic16_get_op2): reduced to use pic16_get_op() on second pCodeOp,
(pic16_pCode2str,pic16_getRegFrompCodeOp,
pic16_getRegFromInstruction2): fixed/added handling of new pCodeOp
2006-06-04 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCval.c (checkConstantRange): added
* src/SDCCval.h: added checkConstantRange
* support/Util/SDCCerr.c,
* support/Util/SDCCerr.h: replaced unused W_IF_NEVER_TRUE and
W_IF_ALWAYS_TRUE by W_COMP_RANGE and W_LIT_OVERFLOW
* src/SDCC.y: moved early 'condition transformations' to SDCCast.c
* src/SDCCast.c (decorateType): added checkConstantRange,
added 'condition transformations' from SDCC.y so that now W_COMP_RANGE
can be emitted with the correct always true/false warning,
added optimization for double '!';
result of decorateType() must be assigned back to the tree, because
decorateType() can change the tree
* src/SDCCicode.c (geniCodeLogic),
(geniCodeAssign): replaced new checkConstantRange, added warnings,
(checkConstantRange): removed, it was only a fragment which never
emitted a warning
* src/SDCCsymt.c (computeType): fixed promotion for
"-1 < (unsigned bit) b"
* src/pic/ralloc.c (packRegsForAssign),
* src/pic16/ralloc.c (packRegsForAssign),
* src/hc08/ralloc.c (packRegsForAssign),
* src/z80/ralloc.c (packRegsForAssign): ported fix for bug #930931
from mcs51
* src/mcs51/ralloc.c (packRegsForAssign): removed outcommented source
* support/regression/tests/constantRange.c: added
* support/valdiag/tests/constantRange.c: added
* support/valdiag/valdiag.py: added -DPORT_HOST=1
2006-06-02 Borut Razem <borut.razem AT siol.net>
* support/regression/ports/pic16/support.c: increase stack size
to 255 bytes
* support/regression/Makefile.in: sort tests by name so that the
resutlts can be compared on different machines / platforms
2006-06-02 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/printf_large.c (output_digit): optimized further, Tnx Frieder
* src/ds390/gen.c (emitLabel): new, added,
(genDjnz): fixed stack overflow bug,
(throughout): cosmetic changes to sync with mcs51/gen.c,
replaced emitcode("", "%05d$:", lbl->key + 100) with emitLabel(lbl)
* src/mcs51/gen.c (genEndFunction): small optimization,
(throughout): cosmetic changes to sync with ds390/gen.c
2006-06-02 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/printf_large.c (output_digit, calculate_digit): optimized,
(_print_format): fixed printing pointers
* src/mcs51/gen.c (emitLabel, movb): new, added,
(genAssign): small optimization,
(genDjnz): fixed stack overflow bug,
(throughout): replaced sprintf with SNPRINTF,
replaced mcs51_regWithIdx with REG_WITH_INDEX,
replaced emitcode("mov", "b,...") with MOVB(...),
replaced emitcode("", "%05d$:", lbl->key + 100) with emitLabel(lbl),
replaced D(emitcode("; genXXX", "")) with D(emitcode(";", "genXXX"))
* src/mcs51/peeph.def: added rules 140 and 264
* src/SDCCmem.c (allocLocal): store register declared locals in DSEG/OSEG
so they may get optimized into registers
2006-05-30 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCmain.c (optionsTable, parseCmdLine): handle --use-stdout
immediately when encountered,
(printUsage): always use stderr even on windows
2006-05-30 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (isLoopCountable): fixed bug #1478316
(processParms): fixed bug #1247551
* src/SDCCmain.c (printVersionInfo, printOptions, printUsage,
parseCmdLine, main): print '--version' to stdout,
print 'help' to stdout if --help is given,
print 'help' to stderr and exit with EXIT_FAILURE if no or bad
arguments are given; fixed --help
2006-05-27 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCcse.c (findPointerSet): fixed bug #1493710
* support/regression/tests/bug-1493710.c: added
2006-05-27 Borut Razem <borut.razem AT siol.net>
* support/regression/fwk/lib/testfwk.c: define array in _printn() as
static instead auto
* support/regression/ports/pic16/support.c: increase stack size
from default 64 bytes to 128 bytes
* support/regression/tests/staticinit.c,
support/regression/tests/float.c: regression tests fully enabled
for pic16 port by putting the initialized data arrays into the code
section
* support/regression/ports/pic16/spec.mk: don't link default libraries.
This was changed by mistake in the previous version.
2006-05-28 Vangelis Rokas <vrokas AT users.sourceforge.net>
* src/pic16/gen.c (genFunction, genEndFunction): some
beautifications, fixed bug with falsely restoring FSR2 in large
stack model, thanks to Beau E. Cox for reporting the bug
2006-05-26 Maarten Brock <sourceforge.brock AT dse.nl>
* debugger/mcs51/break.c,
* debugger/mcs51/cmd.c (throughout): removed unused variables and labels,
use %p to print pointers, made address variables unsigned
* debugger/mcs51/cmd.c (infoSymbols): added missing parameter to printf
* debugger/mcs51/symtab.c (parseSymbol): must return something
* src/mcs51/gen.c (aopForSym): small optimization,
moved declarations mcs51_ptrRegReq and mcs51_nRegs to ralloc.h,
(freeAsmop): added missing break,
(aopPut): removed parameter bvolatile, determine it inside the function,
(saveRegisters, unsaveRegisters): small optimization,
(genIpush): removed pointless check,
(throughout): replaced Safe_calloc, strcpy with Safe_strdup,
replaced sprintf with SNPRINTF,
replaced strcpy with strncpyz,
updated aopPut calls,
replaced D(emitcode("; genXXX", "")) with D(emitcode(";", "genXXX"))
* src/mcs51/ralloc.h: added declarations mcs51_ptrRegReq and mcs51_nRegs
2006-05-24 Borut Razem <borut.razem AT siol.net>
* support/regression/tests/bug-221100.c: fixed xdata problem caused by
modification of test for the pic16 port, put the array to the code
memory for pic16port; thanks to Maarten Brock and Frieder Ferlemann
2006-05-23 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
* src/pic/gen.c: MSC 6 does not have <stdint.h>. Use pstdint.h instead.
* support/Util/pstdint.h: added
2006-05-22 Borut Razem <borut.razem AT siol.net>
* src/regression/Makefile: removed bool2.c test, added -q linker option
* src/regression/add2.c, src/regression/add3.c, src/regression/bool1.c,
src/regression/bool3.c, src/regression/nestfor.c, src/regression/ptrfunc.c,
src/regression/compare.c, src/regression/or1.c, src/regression/compare2.c,
src/regression/while.c, src/regression/compare3.c, src/regression/compare4.c,
src/regression/compare5.c, src/regression/sub2.c, src/regression/rotate1.c,
src/regression/rotate2.c, src/regression/rotate3.c, src/regression/rotate4.c,
src/regression/switch1.c, src/regression/rotate5.c, src/regression/for.c,
src/regression/add.c, src/regression/sub.c, src/regression/call1.c:
define SUPPORT_BIT_TYPES 0, removed unused bit variables
2006-05-22 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (pic16_storeForReturn): fragile fix for
bug #1492360 (problematic due to generic pointers, see code)
2006-05-22 Borut Razem <borut.razem AT siol.net>
* support/regression/ports/pic16/specs.mk: removed stack size linker
directive
* support/regression/tests/array.c,
support/regression/tests/bitopcse.c,
support/regression/tests/bug-908454.c,
support/regression/tests/malloc.c: modified for pic16 regression test
* support/regression/tests/bitfields.c:
pic16 - excluded bitfileds of size > 8
* support/regression/tests/bp.c: pic16 - reduced data size
* support/regression/tests/bug-221100.c: pic16 - reduced data size
* support/regression/tests/bug-460010.c:
pic16 - used the absolute address the fits in memory
* support/regression/tests/bug-716242.c:
bug [ 1443651 ] pic 16: redefining symbol that cannot be redefined.
* support/regression/tests/float.c:
pic16 - excluded - data size too big
* support/regression/tests/onebyte.c:
pic16 - bug [ 1444425 ] onebyte.c regression tes fails on pic16
* support/regression/tests/shifts.c:
pic16 - function names probably have to differ in first X characters
(gpasm limitation?)
* support/regression/tests/staticinit.c:
pic16 - excluded some tests due error: no target memory available for
section ".idata"
2006-05-22 Borut Razem <borut.razem AT siol.net>
* support/Util/dbuf.c: fixed bug #1489008 fix dbuf_c_str(),
second try. Thanks Stas Sergeev once more.
2006-05-21 Maarten Brock <sourceforge.brock AT dse.nl>
* src/hc08/gen.c (transferAopAop): aop forced to stack was not restored,
(genLeftShift, genRightShift): fixed bug 1491627
* src/hc08/peeph.def (rules 7, 8.x): added
* support/regression/tests/shifts.c (ShiftLeftByParam,
ShiftRightByParam, testShiftByParam): added to test variable shifting
2006-05-20 Raphael Neider <rneider AT web.de>
* src/pic/gen.c (bitpatternFromVal): fixed for 64-bit machines
* src/pic16/ralloc.c (newReg): use correct name in hashtable,
(allocReg): add only new registers to dynAllocRegs,
(pic16_assignRegisters): do not reset dynrIdx, fixes bugs
#1489055, #1445850, and probably #1483693
2006-05-19 Vangelis Rokas <vrokas AT users.sourceforge.net>
* src/pic16/glue.c (pic16_emitConfigRegs, pic16_emitIDRegs): fixed
bug in for-loop that didn't emit the last of CONFIG and ID registers
2006-05-18 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genCodePointerGet): inc dptr instead of loading acc
with offset
* src/mcs51/peeph.def (186.x): updated and reenabled to fix bugs
1489016, 1434401 and 1490124
* src/ds390/peeph.def (186.x, 227.x): updated and reenabled to fix bugs
1489016, 1434401 and 1490124
2006-05-17 Borut Razem <borut.razem AT siol.net>
* support/Util/dbuf.c: fixed bug #1489008 fix dbuf_c_str(),
thanks Stas Sergeev
2006-05-15 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/P89c51RD2.h,
* device/include/mcs51/P89LPC901.h,
* device/include/mcs51/P89LPC922.h,
* device/include/mcs51/P89LPC932.h: added, thanks Omar Espinosa
2006-05-14 Vangelis Rokas <vrokas AT users.sourceforge.net>
* device/lib/pic16/libsdcc/stack/{stack.S, Makefile.in}: add workaround
to fix missing stack pragma in compiled binary object file,
2006-05-14 Bernhard Held <bernhard AT bernhardheld.de>
* support/packihx/configure.in,
* support/packihx/configure: removed warning, autoconf >= 2.5x can
determine sizeof basic types even while cross compiling
2006-05-13 Bernhard Held <bernhard AT bernhardheld.de>
* src/avr/gen.c (aopop),
* src/ds390/gen.c (aopOp),
* src/hc08/gen.c (aopOp),
* src/mcs51/gen.c (aopop),
* src/pic16/gen.c (pic16_aopOp),
* src/pic/gen.c (aopOp),
* src/z80/gen.c (aopop): fix for bug #1479882; use new, exclusive asmop
if size of operand is smaller than spill location
2006-05-12 Borut Razem <borut.razem AT siol.net>
* *.dsw, *.dsp: changed property svn:eol-style to CRLF since they
have to have CR/LF line endings even if they are checked out on *nix
or on WIN32 in cygwin binmode
2006-05-12 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/sdccman.lyx: documented numeric ranges, WEBDOC #1442369
* device/include/ds80c390.h: added sfr16 definitions
* src/ds390/gen.c,
* src/ds390/gen.h,
* src/ds390/main.c,
* src/ds390/ralloc.c,
* src/ds390/ralloc.h: changes all over the place to sync with mcs51
fixing several bugs and adding sfr16/sfr32, reentrant bit params,
bit returning functions
* support/regression/tests/sfr16.c: enabled test on ds390
2006-05-11 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (asmopToBool, genIfx): fix for bug #1429722
* src/hc08/gen.c (storeRegToAop): fix for bug #1439894
2006-05-11 Maarten Brock <sourceforge.brock AT dse.nl>
* sim/ucsim/sim.src/memcl.h: added get_decoder() to cl_address_space
* sim/ucsim/sim.src/mem.cc: implemented cl_address_space::get_decoder,
(cl_address_space constructor): removed expensive initialization,
(cl_address_space::get_cell): extended for late initialization,
(cl_address_space::*): use late initialization,
(cl_address_decoder::activate): removed expensive initialization,
This reduced regression test running time by 25%
2006-05-11 Bernhard Held <bernhard AT bernhardheld.de>
* packihx/,
* configure.in,
* configure,
* sdcc.dsw,
* Makefile.bcc,
* Makefile.in,
* support/packihx/Makefile.in,
* support/packihx/clean.mk,
* support/packihx/Makefile.bcc,
* support/packihx/PackIhx.dsp: moved packihx to support/packihx
2006-05-11 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCval.c (valNot): fix for regression test failure
of not.c on big endian hosts
2006-05-10 Maarten Brock <sourceforge.brock AT dse.nl>
* device/inlcude/mcs51/msc1210.h: new, added, thanks Philippe Latu
2006-05-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* device/lib/mcs51/Makefile.in: changed string comparison operator
to = for POSIX compliance; == is bash extension
2006-05-10 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/hc08/_mulint.c: applied patch 1485428, thanks
kosmonaut_pirx
2006-05-09 Vangelis Rokas <vrokas AT users.sourceforge.net>
* src/pic16/gen.c (pic16_freeAsmop): release any temp registers
allocated by aopForSym thus fixing bug #1478657 about failed testfwk.c
* src/pic16/main.c (_pic16_keywords): added 'sfr16' keyword,
* src/pic16/ralloc.c (pic16_allocWithIdx): also a fix for bug exposed by
bug report #1478657,
2006-05-05 Borut Razem <borut.razem AT siol.net>
* doc/Makefile.in: remove of WARNINGS and labels.pl immediately after
making the html
2006-05-02 Borut Razem <borut.razem AT siol.net>
* doc/Makefile.in: removed *.ind dependency since there is no rule to
create *.ind, which made make to fail if invoked with -j 2
2006-05-01 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCglue.c (emitRegularMap): partial fix for bug 1477149, thanks
Hubert Sack for patch 1479782
2006-05-01 Vangelis Rokas <vrokas AT users.sourceforge.net>
* src/pic16/glue.c (pic16_printIvalStruct): fixed bug #1445929
2006-05-01 Raphael Neider <rneider AT web.de>
* src/pic/device.c (sanitise_processor_name): only remove p(ic) prefix,
(create_pic): store only prefix-free device name,
(init_pic): check for device names with "16" prefix,
(list_valid_pics),
* src/pic/device.h (struct PIC_device),
* src/pic/main.c (_pic14_genAssemblerPreamble): adapted to single
stored device name,
* device/include/pic/pic12f{635,675,629,683}.h,
* device/lib/pic/libdev/pic12f{635,675,629,683}.c: NEW device libraries
* device/lib/pic/libdev/Makefile.in: allow pic12* devices,
* device/include/pic/pic16f505.h,
* device/lib/pic/libdev/pic16f505.c: removed
* device/include/pic/pic14devices.txt: added support for pic12f
devices, removed unsupported non 16-bit devices
[above changes provided by patch from Zik Saleeba]
* src/pic/*, src/pic16/*, device/include/pic16/*,
device/lib/pic/**, device/lib/pic16/**: obfuscated email address
2006-05-01 Borut Razem <borut.razem AT siol.net>
* configure.in, configure, doc/Makefile.in:
sync with nightly build makefile - latex, dvipdf and dvips
not needed any more
2006-04-30 Bernhard Held <bernhard AT bernhardheld.de>
* support/scripts/sdcc.nsi: removed all Readmes and Makefiles
in the library source
2006-04-30 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/ports/hc08/spec.mk: fixed bug 1478892
2006-04-28 Raphael Neider <rneider AT web.de>
* src/pic16/pcode.c (pic16_newpCodeOpLit12),
* src/pic16/gen.c (pic16_popGetLit12): NEW, create 12 bit literal,
(pic16_loadFSR0): handle 12 bit literals correctly, fixes #1440527
* src/pic16/pcode.h: added prototype for pic16_newpCodeOpLit12()
2006-04-28 Bernhard Held <bernhard AT bernhardheld.de>
* device/lib/pic/libdev/Makefile.in,
* device/lib/hc08/Makefile.in,
* device/lib/gbz80/Makefile.in,
* device/lib/z80/Makefile.in,
* device/lib/ds390/Makefile.in,
* device/lib/ds400/Makefile.in: added srcdir to include search path,
thanks to Borut for the bug report
* configure.in,
* configure: always create doc/Makefile independent from --enable-doc
* Makefile.in: always install from directory doc independent from
--enable-doc
* device/lib/pic/Makefile.in: added libdev again, it was erroneously
removed
* device/lib/pic/libdev/Makefile.in: fixed VPATH build
* doc/Makefile.in: install *.txt if present
* device/include/Makefile.in (install): added installation of pic/*.inc
and pic/*.txt files again, they were erroneously removed
2006-04-28 Raphael Neider <rneider AT web.de>
* src/pic/{gen.c,main.h,pcode.c},
* src/pic16/{gen.c,pcode.c}: quietened compiler warnings
concerning signedness with casts
2006-04-28 Raphael Neider <rneider AT web.de>
* src/pic/gen.c (genFunction): set global pic14_hasInterrupt on
definition of an interrupt handler,
* src/pic/glue.c (pic14_emitInterruptHandler): moved output of
interrupt handler stuff from picglue() to separate routine,
(picglue): enabled definition of intr handlers in files w/o main()
2006-04-26 Maarten Brock <sourceforge.brock AT dse.nl>
* support/librarian/sdcclib.c: moved include <limits.h> up to enable
compilation with MSVC 2005 Express Edition (VC8)
2006-04-26 Bernhard Held <bernhard AT bernhardheld.de>
* device/lib/Makefile: fixed build of gbz80 lib
2006-04-26 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/bug-460010.c,
* support/regression/tests/bug-524691.c,
* support/regression/tests/bug-716242.c: removed conditional defines
that are already in testfwk.h
2006-04-25 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (AccAXRrl1, AccAXLrl1): changed to real rotate by 1,
(AccAXRsh1): added, shift right by 1,
(AccAXLsh, AccAXRsh, AccAXRshS): updated for AccAXRrl1, AccAXRsh1 and
AccAXLrl1
* support/regression/tests/rotate.c: use <stdint.h> and enabled ds390
2006-04-25 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (decorateType): partial fix for RFE 1475769,
remove cast to same type
* src/SDCCast.c (decorateType): fix for RFE 1475742,
optimize 'ifx (op == 0)' resp. 'ifx (op != 0)'
* as/z80/Makefile,
* link/z80/Makefile: removed, they have moved to
Makefile.in files
* configure,
* configure.in: replaced duplicate message about ucsim by missing sdcpp
* install-sh: fix bug #1204398 by setting umask 0022
* device/lib/Makefile: separate build of z80 and gbz80 lib
2006-04-24 Bernhard Held <bernhard AT bernhardheld.de>
Enabled VPATH feature: changed nearly all Makefiles (149 files).
See sdccman.lyx '2.4.10 VPATH feature' about how to use it.
One basic decision: e.g. src/clean.mk includes further files. In order
to make this work there are two solutions:
- rename another dozen clean.mk to clean_in.mk, add srcdir to them and
run configure on them. This way they can use
'include $(srcdir)/port-clean.mk'
- always include clean.mk by the Makefile at the same level. To avoid
that `make clean` tries to include and build Makefile.dep the
MAKECMDGOALS are examined (see e.g. src/Makefile.in). This has been
implemented, because now even `make uninstall` doesn't create
Makefile.in. clean.mk could be eliminated by pasting it in
Makefile.in.
* debugger/mcs51/Makefile.in: build own objects from library sources
(SLIB, SDCC) in current directory
* configure, configure.in: renamed --disable-device-lib-build in
--disable-device-lib; added --enable-doc, the required tools are
searched by configure; added result message; the toolchain for the
belonging ports are now only built, if the port is enabled.
* support/regression/*: all output is written in directory gen, because
the fwk and ports directories don't livet in the build tree using vpath
* doc/sdccman.lyx: renamed --disable-device-lib-build to
--disable-device-lib, added --enable-doc, added section VPATH
* sim/ucsim/configure.in,
* sim/ucsim/configure.in: hc08 couldn't be disabled, now hc08 and
z80 are enabled by default
2006-04-24 Raphael Neider <rneider AT web.de>
* src/pic/device.c (pic14_assignConfigWordValue): remember assignments
to config word, "pic14_"-prefixed some extern functions
(pic14_emitConfigWord): emit __config directive(s) if assignment to
config word has been found
* src/pic/device.h: added prototypes
* src/pic/pcode.c: added "pic14_"-prefix where needed
* src/pic/ralloc.c (IS_CONFIG_ADDRESS,pic14_assignRegisters): cosmetic
fixup
* src/pic/glue.c (pic14_constructAbsMap): handle assignments to config
words,
(pic14emitRegularMap): ignore config words,
(pic14createInterruptVect): moved generating __config directives away
(picglue): have __config directives emitted
2006-04-24 Borut Razem <borut.razem AT siol.net>
* doc/Makefile: sync with nightly build makefile
2006-04-24 Raphael Neider <rneider AT web.de>
* src/pic/pcoderegs.c (OptimizeRegUsage): do not optimize
registers that have not been assigned proper liveranges,
fixes #1469504 and #1474602,
(pCodeRegOptimizeRegUsage): fixed typo in comment
2006-04-24 Borut Razem <borut.razem AT siol.net>
* device/examples/main8051.c: deleted - it was removed from CVS
24.mar.2000 and after that modified 18.feb.2001, so it reappered
after the transition to Subversion
* src/SDCCalloc.h: deleted - it was removed from CVS
3.feb.2001 and after that modified 18.feb.2001, so it reappered
after the transition to Subversion
* sim/ucsim/cpu.gif, sim/ucsim/interrupt.gif, sim/ucsim/new.gif,
sim/ucsim/serial1.gif, sim/ucsim/serial2.gif,
sim/ucsim/term_cpuopt.gif, sim/ucsim/timers.gif, sim/ucsim/wins.gif,
sim/ucsim/post.jpg, sim/ucsim/UCsim.jpg: corrected
2006-04-22 Maarten Brock <sourceforge.brock AT dse.nl>
* as/asx8051.dsp: added mcs51/strcmpi.h
* as/hc08/as_hc08.dsp: added asm.h, m6808.h, strcmpi.h
* as/hc08/aslink.h: updated lnksect prototype
* as/hc08/asm.h,
* as/mcs51/asm.h: added a_addr to struct area and s_org to struct sym
* as/hc08/asmain.c,
* as/mcs51/asmain.c (asmbl): init dot.s_org for S_ORG,
(newdot): handle A_ABS
* as/hc08/asout.c,
* as/mcs51/asout.c (outarea): output address
* as/hc08/lkaomf51.c,
* as/mcs51/lkaomf51.c: disabled unused array UsageType
* as/hc08/m08pst.c,
* as/mcs51/i51pst.c,
* as/z80/z80pst.c: "ABS" is not A_OVR
* as/hc08/lkarea.c (newarea): read a_addr,
(lnkarea): added codemap array, sort absolute areas to the front,
combine all GSINITx/GSFINAL,
(find_empty_space, allocate_space): new functions,
(lnksect): return next address, handle absolute sections
* as/mcs51/lkarea.c (newarea): read a_addr,
lnksect2 prototype changed,
(lnkarea2): define codemap unsigned, combine all GSINITx/GSFINAL,
(find_empty_space, allocate_space): new, factored out of lnksect2,
(lnksect2): return next address, handle absolute sections
* as/hc08/lkhead.c,
* as/mcs51/lkhead.c (newhead): head is absolute but not overlay
* as/hc08/lklibr.c (addfile, fndsym),
* as/mcs51/lklibr.c (addfile, buildlibraryindex, fndsym): prevent
index out of range and detect both '\' and '/'
* device/include/mcs51/c8051f200.h: added _XPAGE, removed bad comment
* device/include/stdbool.h: removed SDCC_ds390 from check to pass
regression tests (ds390 cannot return bool yet)
* doc/sdccman.lyx: changed version number, document changed --no-peep,
document critical interrupts on z80, document changed SDCC define
* src/asm.c (_asxxxx_mapping): fixed .org directive,
(_a390_mapping): added .org directive
* src/hc08/gen.c (transferAopAop): made bytemask log to fix warning,
(genMultOneByte): fixed warnings
* src/hc08/hc08.dsp: lowered warning level to 2 to suppress pedantic
ones
* src/pic16/device.c: removed newReg prototype, removed BYTE_IN_LONG
* src/pic16/gen.c (pic16_popGetLabel): made parameter key signed,
(pic16_genLeftShiftLiteral, genRightShiftLiteral): fixed warnings
* src/pic16/gen.h: changed prototype for pic16_popGetLabel
* src/pic16/main.c: removed newReg prototype
* src/pic16/pcode.c,
* src/pic16/pcode.h (pic16_emitDB): changed parameter c to int to fix
warnings
* src/pic16/pic16.dsp: lowered warning level to 2 to suppress pedantic
ones
* src/pic16/ralloc.c
* src/pic16/ralloc.h (newReg): changed type to int and size to unsigned
to fix warnings
* src/pic/pcode.c (allocInternalRegister): changed parameter optype
from short to PIC_OPTYPE
* src/pic/pic.dsp: lowered warning level to 2 to suppress pedantic ones
* src/pic/ralloc.c (newReg, allocInternalRegister): changed parameter
optype from short to PIC_OPTYPE
* src/port.h: made int_size unsigned to fix warnings
* src/SDCC.y: fixed warning on MSVC
* src/SDCCicode.c (getArraySizePtr): return unsigned int
* src/SDCCopt.c (convertToFcall): fixed warnings
* src/SDCCsymt.h: removed double prototype for genSymName
* src/xa51/ralloc.c (allocReg): made size unsigned int, type int and
offset int to fix warnings
2006-04-22 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx, */Makefile, */Makefile.in:
references to CVS replaced with Subversion
2006-04-21 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx, */Makefile, */Makefile.in:
references to CVS replaced with Subversion
2006-04-19 Borut Razem <borut.razem AT siol.net>
* src/version.awk: adapted for svn
* /asxxxx/asxhtml/*.gif: set property svn:mime-type to image/gif
sim/ucsim/doc/*.gif: set property svn:mime-type to image/gif
sim/ucsim/doc/*.jpg: set property svn:mime-type to image/jpeg
/binutils-avr/etc/*.vi, *.jin: removed all properties
support/scripts/sdcc.ico: set property svn:mime-type to image/x-icon
2006-04-19 Borut Razem <borut.razem AT siol.net>
* CVS to Subversion migration completed
2006-04-18 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: removed unexisting ${DEV_ROOT}/lib/pic/*.o,
${DEV_ROOT}/lib/src/pic/libdev/*.S, ${DEV_ROOT}/lib/src/pic/libdev/*.inc
2006-04-17 Borut Razem <borut.razem AT siol.net>
* device/include/Makefile.in: added pic/*.inc to the installation
2006-04-15 Bernhard Held <bernhard AT bernhardheld.de>
* support/regression/collate-results.py: fixed output in case of
a valdiag error
* support/regression/generate-cases.py: fixed splitting of pathnames
with dots
* as/hc08/lklibr.c (addfile),
* as/mcs51/lklibr.c (addfile): fixed off-by-one bug
2006-04-11 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (getFreePtr, pic16_popRegFromString),
* src/pic16/ralloc.c (pic16_allocregWithName): removed debug output
* src/pic16/pcode.c (assignValnums): fixed #1460578
2006-04-11 Raphael Neider <rneider AT web.de>
* device/lib/pic/libdev/*.c,
* device/include/pic/*.h: replaced sfr and data with __sfr and __data,
fixes #1468739, enables compilation in --std-c99 mode
* support/scripts/inc2h.pl: emit __sfr/__data instead of sfr/data
2006-04-11 Raphael Neider <rneider AT web.de>
* src/pic/device.c (find_device): removed debug output
(list_valid_pics): enabled verbose listing of supported devices
* device/include/stdbool.h: define bool as char for pic14/16 as well
2006-04-07 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/SDCC.y: allow using brackets here: "__interrupt (1) __using (1)"
2006-04-07 Maarten Brock <sourceforge.brock AT dse.nl>
* .version: bumped version to 2.5.6
* src/pic/ralloc.c (newReg): MSVC doesn't support __builtin_return_address
2006-04-06 Raphael Neider <rneider AT web.de>
* .version: bumped version to 2.5.6 (pic14 ABI changed)
* src/SDCCmain.c: add -DSDCC_PROCESSOR=<id> for pic14 port
* src/pic/glue.c (emitSymbolToFile,pic14_constructAbsMap,
pic14emitRegularMap,pic14emitMaps): moved output for absolute symbols to
pic14_constructAbsMap
(pic14printPublics): declare absolute global symbols as global
(pic14createInterruptVect),
* src/pic/ralloc.c (IS_CONFIG_ADDRESS): support second config word,
(newReg): assume new registers unused, use correct name in
hashtable (reg->name instead of name), more debugLog output
* src/pic/device.h (PIC_device): added fields for verbose output
* src/pic/device.c: moved device definition to pic14devices.txt,
added routines for runtime parsing of pic14devices.txt,
added support for second config word
* src/pic/main.c (_process_pragma): removed #pragma maxram,
(_pic14_keywords): no longer accept "bit" and "sbit" keywords
(_pic14_initPaths): add search paths with "pic" suffix (not "pic14")
(_pic14_parseOptions): moved pCodeInitRegisters here
(_pic14_do_link): add "pic$(ARCH).lib" to linker arguments
* src/pic/pcode.c (AnalyzeBanking): bail out on unset processor,
(pCodeInitRegisters): rewrapped comments, perpared new approach to
handling the pseudo stack
* device/lib/Makefile.in: ignore failures in objects-pic16,
* device/lib/pic/{configure,configure.in,Makefile}: added libdev/
* device/lib/pic/NEWS: document new dependency on picXXX.lib
* device/lib/pic/Makefile.subdir,
* device/lib/pic16/Makefile.subdir: improved clean rules
* device/lib/pic/libdev/: NEW, pic14 device libraries
* device/lib/pic/libsdcc/_gptr{get,put}{1,2,3,4}.S: use _X not X
* device/lib/pic/libsdcc/macros.inc: use _X not X, declare default SFRs
* device/include/Makefile.in: create subdir and install pic14 headers
* device/include/pic/p16f_common.inc: removed unused declarations
* device/include/pic/pic16*.h: added header files for 100+ 14 bit
PICs from inc2h.pl v1.6,
replaced BIT_AT macros with struct declarations
* device/include/pic/pic14devices.txt: definition of supported devices,
all above improvements contributed by Zik Saleeba, thanks
* support/scripts/inc2h.pl: removed BIT_AT, replaced with structs
* support/scripts/sdcc.nsi: also install pic14 device libraries and
headers
2006-04-06 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/c8051f410.h: added interrupt numbers,
* device/include/mcs51/c8051f200.h: old SiLabs mcu completes the list,
thanks to Charles Olds
2006-04-06 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* debugger/mcs51/cmd.c (infoRegisters): show return address on stack
2006-04-06 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCpeeph.c (labelIsReturnOnly): fixed bug 1464657
* src/mcs51/gen.c (genJumpTab): fixed bug in medium model
* support/regression/bug1464657.c: added, new test
2006-04-05 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCmain.c (preProcess): implemented RFE 1449908, define SDCC as the
version number
2006-04-05 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCpeeph.c (initPeepHole): implemented RFE 1460196, when both
--no-peep and --peep-file <file> are used don't use default rules but
do use the <file>
2006-04-05 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genCall): fixed bug 1457608
2006-03-30 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: reverted to version 1.129 of december as my latest
changes seem to cause (trigger?) problems with the build system.
2006-03-29 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCpeeph.c (operandsLiteral): new, added,
(callFuncByName): inserted operandsLiteral
* src/mcs51/peeph.def: reenabled 132.e, added extra check to 132.x
2006-03-28 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: added paragraph "Use of SDCC in Education"
* src/mcs51/peeph.def: disabled rule 132.e fixing bug #1453093
2006-03-24 Maarten Brock <sourceforge.brock AT dse.nl>
* src/z80/gen.c (genFunction, genEndFunction): fixed bug 1160666,
implemented patch 1120823 Thanks to Willy De la Court (normal
interrupts need an interrupt number now if they are made critical),
and enabled nesting of critical functions though not for gbz80
(genCritical, genEndCritical): added functions
(genZ80Code): added cases for CRITICAL and ENDCRITICAL
* src/z80/mappings.i: added "ei" to all mappings
2006-03-20 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* sim/ucsim/cmd.src/newcmdcl.h: applied patch fixing GCC 4.1 build
submitted by the Debian SDCC maintainer Aurelien Jarno:
"Credits goes to Martin Michlmayr, who rebuilt the whole Debian
archive with gcc 4.1 on mips and wrote the patch"
2006-03-16 Raphael Neider <rneider AT web.de>
* src/pic16/genarith.c (genAddLit): simplified and fixed case where
the left operand is shorter than the result (c* = lit-c* + int),
fixes bug #1450796
* src/pic16/gen.c (genRightShift): check IS_SYMOP before accessing
OP_SYMBOL
2006-03-14 Vangelis Rokas <vrokas AT users.sourceforge.net>
* src/.version: increased version number to 2.5.5
* src/SDCCmain.c (linkEdit): do not test for PIC16 target since, PIC16
linking is done manually in pic16 port's _linkEdit,
* src/SDCCsymt.c (compStructSize): for target PIC16 and shell variable
PIC16_PACKED_BITFIELDS, compact bitfield structures as much as possible,
* src/pic16/gen.c (aopForSym): when direct register name is WREG then
allocate asmop as AOP_ACC,
(aopForRemat): added parameter 'bool result' in function declaration,
(pic16_aopGet): return AOP_ACC when accessing WREG,
(pic16_popGetTempReg): minor modification,
(pic16_popRegFromIdx): first try with 'pic16_regWithIdx' then with
'pic16_allocWithIdx',
(genPcall): removed ftype, usage of OP_SYM_TYPE asserted error when
calling function in absolute addresses,
(genAssign): take into account AOP_ACC asmop,
* src/pic16/pcode.c (pic16_newpCodeOpReg): minor modifications,
* src/pic16/pcoderegs.c: some debug functions and lines added,
* src/pic16/ralloc.c (decodeRegType): added but commented out,
* (pic16_typeRegWithIdx): search 'pic16_dynInternalRegs' for given
register too,
* (pic16_findFreeReg, pic16_findFreeRegNext): allocate new register via
call to allocReg, not by manually allocating a new one,
(pic16_assignRegisters): now before going through the register
allocating functions mark all registers as free. This eliminates some
side effects resulting from peephole parser done earlier in the backbone
2006-03-13 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCicode.c (geniCodeLogic),
* src/SDCCast.c (decorateType): applied patch by Bernhard for rfe 1422617
2006-03-10 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (sameReg): new, checks if two aop regs are the same,
(genSend): bugfix, do not allocate and free twice,
(shiftRLong): handle partially overlapping aops
* support/regression/tests/bitopcse.c: fixed warning redefined idata
2006-03-08 Borut Razem <borut.razem AT siol.net>
* support/regression/fwk/include/testfwk.h: added defines for xdata, idata
for pic16
2006-03-08 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/bug1409955.c: new, added
* src/mcs51/gen.h: changed asmop.freed:1 to asmop.allocated for tracking
* src/mcs51/gen.c (newAsmop): set asmop.allocated to 1,
(aopForSym, aopOp): increment asmop.allocated if reused,
(freeAsmop): decrement asmop.allocated and check for zero instead of
using asmop.freed,
(freeForBranchAsmop): use asmop.allocated instead of asmop.freed,
(genNot, genCpl, genUminus, genMinus, genMult, genDiv, genMod, genCmpGt,
genCmpLt, genAndOp, genOrOp, genAnd, genOr, genXor, genRRC, genRLC,
genGetHbit, genGetAbit, genGetByte, genGetWord, genSwap,
genLeftShiftLiteral, genLeftShift, genRightShiftLiteral,
genSignedRightShift, genRightShift, genDataPointerGet,
genPagedPointerGet, genFarPointerGet, genCodePointerGet,
genGenPointerGet, genDataPointerSet, genAssign, genCast): free asmop's
in reverse order from allocation,
(genPlus, genCmpEq): free asmop's in reverse order from allocation and
added swappedLR to keep track
* support/regression/fwk/include/testfwk.h: added defines for xdata, idata,
pdata & code for GCC, z80, gbz80 & hc08
* support/regression/tests/zeropad.c: moved defines to testfwk.h
2006-03-08 Raphael Neider <rneider AT web.de>
* src/pic16/main.c (_hasNativeMulFor): fixed bug #1444425
2006-03-07 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/c8051f410.h: new SiLabs mcu
* src/ds390/peeph.def: disabled 186.d and 227.a as fix for #1434401
* support/regression/tests/array.c: added parenthesis, made arrays unsigned
2006-03-06 Borut Razem <borut.razem AT siol.net>
* support/regression/ports/pic16/spec.mk: link with libm18f.lib,
made the linker quiet
2006-03-06 Vangelis Rokas <vrokas AT users.sourceforge.net>
* src/pic16/gen.c (genPcall): fixed bug #1443644
* src/pic16/device.h (struct pic16_options_t): added 'int CATregs' flag
which dumps before the function entry point a data byte which represents
the number of the local variables used by the specified function, added
'xinst' for initial support for Extended Instruction Support,
* src/pic16/gen.c (aopForSym, pic16_aopGet): beautifications,
(pic16_testStackOverflow): do not prefix GSTACK_TEST_NAME with
port->fun_prefix anymore (may change later),
(genFunction, genEndFunction): do not store/restore local registers for
_main (this should take care the --main-return command line option in
the future),
(genOr): removed some legacy pic-port instructions,
* src/pic16/genarith.c (genAddLit): re-enabled old code because
performing operations with SFR's causes data to be written more than
once to each SFR. Perhaps SFRs should be handled in special cases...
* src/pic16/glue.c: macros BIG_ENDIAN and BYTE_IN_LONG are moved to
pcode.h
* src/pic16/main.c (_process_pragma): stack bound checking did not take
into account for stack starting position,
(struct OPTIONS pic16_optionsTable): added command line argument
--extended or -y for Extended Instruction Support,
* src/pic16/ralloc.c (pic16_decodeOp): added case for FUNCTION,
(deassignLRs): *** perhaps the most important change, old 'for' code
(commented out for reference), didn't account for some registers which
were left marked 'not free' after a pointer operation. The change
reduces register usage a lot in some cases
2006-03-04 Borut Razem <borut.razem AT siol.net>
* support/regression/ports/hc08/spec.mk: remove *.asm in traget
_clean
* support/regression/tests/bug-524697.c: decreased array size for
mcs51 to fit into the internal RAM
* support/regression/Makefile.in: a little bit more verbose
2006-03-03 Borut Razem <borut.razem AT siol.net>
* support/regression/fwk/lib/testfwk.c,
support/regression/fwk/include/testfwk.h: introduced function
_prints(), nonrecursive _printn(), call _initEmu() from main()
* support/regression/ports/gbz80/support.asm,
support/regression/ports/ucz80/support.asm,
support/regression/ports/z80/support.asm,
support/regression/ports/ds390/support.c,
support/regression/ports/hc08/support.c,
support/regression/ports/host/support.c,
support/regression/ports/mcs51/support.c,
support/regression/ports/xa51/support.c: added empty _initEmu()
function
* support/regression/ports/pic16/gpsim.cmd,
support/regression/ports/pic16/spec.mk,
support/regression/ports/pic16/support.c,
support/regression/Makefile.in: added pic16 regression test
2006-03-01 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (genPcall,pic16_derefPtr,genGenPointerGet,
genConstPointerGet): use safe way of generating MOVFF to cover
literals as well as registers, fixes bug #1440527
* src/pic16/glue.c (pic16_printIvalBitFields): prevent NULL pointer
dereference
(pic16_printIvalUnion,pic16_isUnion): NEW, handle initialized unions
more correctly, fixes bug #1232186
(pic16_printIval): use pic16_printIvalUnion() for initialized unions
* src/pic16/main.c (_pic16_linkEdit): reorder linker arguments to make
gplink guess the correct processor in more cases, applied patch
from Till Riedel attached to and fixing bug #1436552
2006-02-20 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* support/regression/tests/array.c: added, contains check for #1434401
* src/mcs51/peeph.def: disabled 186.d as temporary fix for #1434401
2006-02-16 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/at89s8253.h: new, thanks to Krzysztof Polomka
* device/include/mcs51/at89S8252.h: fixed, thanks to Krzysztof Polomka
* device/include/mcs51/c8051f326.h,
* device/include/mcs51/c8051f340.h: new SiLabs mcu's
* device/include/mcs51/c8051f000.h,
* device/include/mcs51/c8051f018.h,
* device/include/mcs51/c8051f020.h: used () with __at, renamed IDLE,STOP to
PCON_IDLE,PCON_STOP and added sfr16 definitions
2006-02-14 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genPlus, genMinus, genMult, genGetAbit, genGetByte,
genGetWord): fixed bug 1409955
2006-02-14 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/hc08/mc68hc908gp32.h,
* device/include/hc08/mc68hc908jb8.h: removed AWUL, added PTA6 & PTA7
2006-02-13 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (constExprValue): return NULL if not a value
* src/SDCCglue.c (printIvalArray): fixed bug 1225568
* src/hc08/gen.c(genUnpackBits, genUnpackBitsImmed): fixed bug 1019480
* support/regression/tests/bitfields.c: enabled signed bitfield for all
2006-02-13 Borut Razem <borut.razem AT siol.net>
* src/regression/ptrarg.c: added, fails due to bug #1430967
* src/regression/Makefile: ptrarg.c added, ...
2006-02-12 Maarten Brock <sourceforge.brock AT dse.nl>
* src/z80/gen.c (genUnpackBits): fixed bug 1019480
* support/regression/tests/bitfields.c: enabled signed bitfield for z80
2006-02-11 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c: Added "sdcc: Calling linker..." if --verbose,
print "Processor: xxx" message to stdout only if --verbose
2006-02-11 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCglue.c (printIvalStruct): fixed bug 1426356 union initializer
* support/regression/tests/bug1426356.c: added
* support/regression/tests/bitfields.c: removed 2 tests
2006-02-10 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/at89c51snd1c.h: updated comments, see patch 1428901
* device/include/mcs51/c8051f330.h,
* device/include/mcs51/c8051f350.h: used () with __at, renamed IDLE,STOP to
PCON_IDLE,PCON_STOP and added sfr16 definitions
* device/lib/_divsint.c,
* device/lib/_divuint.c,
* device/lib/_divulong.c,
* device/lib/_divulong.c: renamed a,b to x,y to avoid confusion, fixed
register bank bug for small stackauto
2006-02-09 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/fwk/lib/timeout.c: include <stdlib.h> for exit()
2006-02-08 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/ports/mcs51-xstack-auto/spec.mk: forgot -I(...)/mcs51
* all.dsp: corrected several bin paths
* device/include/mcs51/c8051f120.h,
* device/include/mcs51/c8051f300.h,
* device/include/mcs51/c8051f310.h: used () with __at and renamed IDLE,STOP
to PCON_IDLE,PCON_STOP
* device/include/mcs51/c8051f320.h: see above, also added sfr16 definitions
* device/lib/printf_large.c (output_float): fixed bug 1388703
* support/regression/tests/bug1057979.c: added test for bug 1388703
2006-02-08 Raphael Neider <rneider AT web.de>
* src/pic/pcode.c (pciTRIS): fixed typo,
(BuildFlow,LinkFlow_pCode): added (disabled) debug output,
(LinkFlow): fixed handling of flows that end in a call,
(ReuseReg): perform safety check earlier
* src/pic/pcoderegs.c (pCodeRegMapLiveRangesInFlow): fixed
to work with flows at the beginning of a pBlock,
fixes #1426557 (Symbol not previously defined),
(pic14_ReMapLiveRanges): NEW, destroy and rebuild register
usage information
(RemoveUnusedRegisters): update register usage info
* src/pic/ralloc.c (newReg): prevent duplicate registers from being
created, reuse existing ones instead
* src/pic/gen.c (genPcall): fixed #1424719
2006-02-07 Bernhard Held <bernhard AT bernhardheld.de>
* link/z80/lkmain.c,
* link/z80/lklex.c,
* link/z80/lkdata.c,
* link/z80/aslink.h: fixed build on current cygwin:
replaced getline() by lk_getline()
2006-02-01 Borut Razem <borut.razem AT siol.net>
* src/regression/add.c, src/regression/add2.c, src/regression/add3.c,
src/regression/add4.c, src/regression/and1.c, src/regression/and2.c,
src/regression/arrays.c, src/regression/b.c, src/regression/bank1.c,
src/regression/bool1.c, src/regression/bool2.c,
src/regression/bool3.c, src/regression/call1.c,
src/regression/compare.c, src/regression/compare10.c,
src/regression/compare2.c, src/regression/compare3.c,
src/regression/compare4.c, src/regression/compare5.c,
src/regression/compare6.c, src/regression/compare7.c,
src/regression/compare8.c, src/regression/compare9.c,
src/regression/configword.c, src/regression/for.c,
src/regression/inline.c, src/regression/mult1.c,
src/regression/nestfor.c, src/regression/or1.c,
src/regression/pointer1.c, src/regression/ptrfunc.c,
src/regression/rotate1.c, src/regression/rotate2.c,
src/regression/rotate3.c, src/regression/rotate4.c,
src/regression/rotate5.c, src/regression/rotate6.c,
src/regression/rotate7.c, src/regression/string1.c,
src/regression/struct1.c, src/regression/sub.c,
src/regression/sub2.c, src/regression/switch1.c,
src/regression/while.c, src/regression/xor.c,
src/regression/create_stc, src/regression/simulate,
src/regression/rt.sh, src/regression/Makefile: reenabled Scott's PIC14
regression tests
* src/regression/gpsim_assert.h: added
2006-01-28 Bernhard Held <bernhard AT bernhardheld.de>
* src/ds390/gen.c (unsaveRegisters): fixed literal function pointer
((void (code *) (void)) 0) ();
* as/hc08/aslex.c,
* as/hc08/aslink.h,
* as/hc08/asm.h,
* as/hc08/asmain.c,
* as/hc08/lkdata.c,
* as/hc08/lklex.c,
* as/hc08/lkmain.c,
* as/mcs51/aslex.c,
* as/mcs51/aslink.h,
* as/mcs51/asm.h,
* as/mcs51/asmain.c,
* as/mcs51/lkdata.c,
* as/mcs51/lklex.c,
* as/mcs51/lkmain.c,
* as/z80/aslex.c,
* as/z80/asm.h,
* as/z80/asmain.c: fixed build on current cygwin:
replaced getline() by as_getline()
2006-01-27 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCC.y: fixed bug #716242, exchanged pointer and function
declarator in the symbol chain
* src/SDCCsymt.h,
* src/SDCCsymt.c (processFuncPtrArgs): added, removes "(void)"
parameter list for function pointers
* src/SDCCast.c (decorateType): added call of processFuncPtrArgs()
* support/regression/tests/bug-716242.c: added
2006-01-20 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCicode.c (geniCodeAdd, geniCodeArray): use char for array
offset if possible
* src/SDCCast.c (getLeftResultType): 255 fits in char, not 256
2006-01-18 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (backPatchLabels): fixed bug #1408066: made it
inifinitely recurseable, added static
* support/regression/tests/bug-1408066.c: added
2006-01-17 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCicode.h,
* src/SDCCicode.c (newiTempPreheaderLabel, newiTempLoopHeaderLabel):
renamed, added possibility to create "postLoopLbl"-labels
* src/SDCCBBlock.c (iCodeBreakDown): renamed newiTempPreheaderLabel to
newiTempLoopHeaderLabel
* src/SDCCloop.c (newInduction, newRegion, backEdges, insertIntoLoop,
isNotInBlocks, addToExitsMarkDepth, createLoop, dominatedBy,
addDefInExprs, assignmentsToSym, isOperandInvariant, pointerAssigned,
hasNonPtrUse, loopInvariants, addressTaken, findInduction,
findDefInRegion, mergeRegions, ifMerged, mergeInnerLoops): made static,
(pinduction, pregion, hasIncomingDefs, findLoopEndSeq): disabled,
(basicInduction): fixed bug #136564, made static,
(loopInduction): changed parameter of basicInduction, made static,
(addPostLoopBlock): added
* src/SDCCloop.h: removed backEdges, pregion, pinduction,
loopOptimizations, addressTaken, findDefInRegion, hasIncomingDefs,
findLoopEndSeq
* support/regression/tests/bug-136564.c: added
* support/regression/ports/mcs51-xstack-auto/spec.mk: added
--std-sdcc99 to LIBSDCCFLAGS
2006-01-16 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCicode.c (geniCodeIfx): fix bug 1406131: always false
while loop
* support/regression/tests/bug-1406131.c: added
2005-12-31 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (decorateType): fix promotion of unary minus
* src/SDCCsymt.c (computeType): beautified
* src/SDCCval.c (cheapestVal): beautified, old non-Ansi version removed,
(valUnaryPM, valComplement): fix sign and promotion,
(valNot): ANSI: result type is int (SDCC: unsigned char)
* support/regression/tests/uminus.c: speedup by removing superflous
test case 'int'
* support/regression/tests/onebyte.c: added promotion and signedness
tests for unary minus
* support/regressions/tests/bug-477927.c: disable warning about
uninitialized variables
* support/regression/tests/not.c: added
2005-12-28 Bernhard Held <bernhard AT bernhardheld.de>
* device/lib/Makefile.in: added --std-sdcc99 to CFLAGS
* src/mcs51/gen.c (gen51Code): show final register usage after
fillGaps in asm with --i-code-in-asm
* src/SDCClrange.c (sequenceiCode, setLiveFrom, setLiveTo,
markLiveRanges, markAlive, findNextUseSym, findNextUse, unvisitBlocks,
incUsed, rliveClear, adjustIChain): made static,
(setFromRange): excluded because it's unused,
(findPrevUseSym, markWholeLoop): added,
(findPrevUse): rewritten; fixes bug 895992; now a complete search
through all branches of predecessors enables sdcc to emit the warning
W_LOCAL_NOINIT, marking of outermost loop was incomplete,
(rlivePoint): made static, added parameter emitWarnings which is only
true during the first run out of two,
(findRecursiveSucc, findRecursivePred): removed,
(computeLiveRanges): made static, added parameter emitWarnings,
(dumpIcRlive): added for debugging only
* src/SDCClrange.h: added boolean parameter to computeLiveRanges(),
removed prototype of setFromRange()
* src/SDCCopt.c (eBBlockFromiCode): added new parameter emitWarnings
in call of computeLiveRanges()
* support/regression/tests/bug-895992.c: added
* support/regression/tests/bug-971834.c: added
* support/valdiag/tests/bug-895992.c: added
* support/valdiag/tests/bug-971834.c: added
2005-12-18 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c: added IS_DIRECT macro for "direct" operands,
(genUnpackBits): improved code for direct operands,
(genPackBits): improved code for literal assignment to bitfields
and for direct destination operands (no FSR indirection),
prevented redundant AND, fixes #1362800,
(AccLsh): added parameter to disable masking of the result
* src/pic16/pcode.c (pic16_safepCodeUnlink): fixed to work with
skip instructions with side-effects (like incfsz),
(pic16_pCodeIsAlive): suppress verbose output unless pcode_verbose,
* src/pic16/pcoderegs.c (RemoveRegsFromSet): removed annoying warning
* device/lib/pic16/Makefile.common.in: added --asm=@GPASM@ to CC,
fixes #1375263
2005-12-11 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCicode.c (geniCodeAssign): fixed bug 11369874, don't use
volatile variables as spill location
2005-12-10 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCcse.c (findCheaperOp): fixed bug 1376320, copy signedness to
replacing literals
* support/regression/tests/bug-1376320.c: added
2005-12-08 Raphael Neider <rneider AT web.de>
* src/pic/device.c: renamed is_shared to pic14_is_shared
* src/pic/gen.c (genIfx): re-enabled handling of sbits
* src/pic/glue.c (emitSymbolToFile): added workaround for sbits,
(is_valid_identifier): added for above workaround
2005-12-07 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/Makefile.in: fixed to enable port-specific-objects
* device/lib/ds390/i2c390.c (BitOutI2C): optimized by making bout unsigned
char, thanks Hubert Sack
* doc/sdccman.lyx: documented --xstack-loc,
elaborated a bit more on interrupts and pitfalls,
removed "setjmp/longjmp unsupported",
documented some unsupported C99 features
* src/SDCCmain.c (linkEdit): adapted default lib path for --stack-auto
* src/SDCCpeeph.c (readRules): inserted patch 1367130 for finding missing
if, thanks Hubert Sack
* src/mcs51/gen.c (genEndFunction): enabled "pop psw" for regbank 0 isr
* support/regression/Makefile.in: test-mcs51-stack-auto no longer needs to
make make_library
* support/regression/get_ticks.py: new, get cpu cycles and code size, so
regression tests can report resource usage (rfe 700441)
* support/regression/collate-results.py: report resource usage
* support/regression/ports/ds390/spec.mk,
* support/regression/ports/hc08/spec.mk,
* support/regression/ports/mcs51/spec.mk,
* support/regression/ports/ucz80/spec.mk: run sim output through get_ticks
* support/regression/ports/ds390/uCsim.cmd,
* support/regression/ports/hc08/uCsim.cmd,
* support/regression/ports/mcs51/uCsim.cmd,
* support/regression/ports/ucz80/uCsim.cmd: inserted "state" to report time
* support/regression/ports/mcs51-stack-auto/spec.mk: no need to build the
library, use the default one
* support/regression/ports/mcs51-xstack-auto/spec.mk: inserted rules for
building the library
2005-12-06 Maarten Brock <sourceforge.brock AT dse.nl>
* config.dsp: added dependency on .version and configure_vc.awk
* device/include/setjmp.h: updated for --stack-auto and --xstack
* device/include/mcs51/at89c51snd1c.h: corrected line endings
* device/include/mcs51/XC866.h: added, thanks Llewellyn van Zyl
* device/lib/_setjmp.c: updated for --stack-auto and --xstack
* device/lib/libsdcc.lib: added _setjmp
* src/SDCCast.c (createIvalCharPtr): fixed warnings,
(decorateType): fixed bug 1372851,
(optimizeGetHbit): fixed warning
* src/SDCCglue.c (printIvalChar, printIvalArray): adapted for flexible
array initialisation
* support/regression/tests/bug1057979.c: added test for bug 1358192
* support/regression/tests/setjmp.c: added, test for setjmp/longjmp
2005-12-03 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: added /SOLID option to "SetCompressor lzma"
command since the NSIS was upgraded to version 2.11 on CF x86-linux2
2005-11-29 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (createIvalStruct, createIvalArray, createIvalPtr,
createIval): implement symbol independant "flexible array member",
(createIvalCharPtr): implemented flexible array initialisation with a
string
* src/SDCCsymt.c (copyStruct): removed,
(getSize): fixed misleading comment,
(getAllocSize): removed, the additional allocation size is now in
sym->flexArrayLength,
(checkStructFlexArray): new, syntax checks for flexible array members,
(compStructSize): added syntax checks for "flexible array members"
(copyStruct): removed,
(copyLinkChain): removed inefficient fix for bug 770487
* src/SDCCglue.c (emitRegularMap): getAllocSize has been removed
* src/SDCCsymt.h: added structdef.b_flexArrayMember and
symbol->flexArrayLength
* src/SDCCerr.c,
* src/SDCCerr.h: added W_INVALID_FLEXARRAY, W_C89_NO_FLEXARRAY,
E_FLEXARRAY_NOTATEND and E_FLEXARRAY_INEMPTYSTRCT
* support/regression/tests/structflexarray.c: added
* support/valdiag/tests/structflexiblearray.c: added
2005-11-29 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (decorateType): fixed bug 1368489
* support/Util/SDCCerr.c,
* support/Util/SDCCerr.h: added warning W_CMP_SU_CHAR
2005-11-28 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/include/mcs51/at89c51snd1c.h: added file submitted by
Weston T. Schmidt <schmidtw AT users.sourceforge.net>, patch #1368001
2005-11-27 Borut Razem <borut.razem AT siol.net>
* support/cpp2/cppinit.c, support/cpp2/cpplib.h, support/cpp2/mkdeps.c,
support/cpp2/mkdeps.h: added command line option
-obj-ext=<extension> to SDCPP to define object file externion, used
for generation of make dependencies (-M)
* src/SDCCmain.c: pass -obj-ext=<extension> to SDCPP
2005-11-26 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: added small-stack-auto libraries,
added missing device/lib/mcs51/crt*.asm, pic and pic16 sources,
added pic and pic16 libraries
2005-11-26 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* device/include/float.h: Corrected typo in prototype of __fsgt
2005-11-25 Borut Razem <borut.razem AT siol.net>
* sdcc/device/lib/Makefile.in, sdcc/device/lib/incl.mk:
added creation of model-mcs51-stack-auto libraries
2005-11-24 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCsymt.c (copyLinkChain): fixed bug 770487, copy structdef
and fields-list too
* src/SDCCast.c (createIvalArray): removed obsolete comment
2005-11-24 Borut Razem <borut.razem AT siol.net>
* sdcc/device/lib/Makefile.in: remove all unnecessary files, 2nd try...,
added missing device/lib/mcs51/crt*.asm sources
2005-11-23 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (createIvalCharPtr): fixed bug 1348271
2005-11-22 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_fs2schar.c,
* device/lib/_fs2sint.c,
* device/lib/_fs2slong.c: optimized inline asm
2005-11-21 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* device/lib/_fs2slong.c, device/lib/_fs2sint.c, device/lib/_fs2char.c:
Better handling of floats between -1.0 and 0.0.
2005-11-20 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peeph.def: added missing "if"s as noted by Hubert Sack.
(the missing "if"s prohibited removal of redundant labels)
2005-11-19 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* device/lib/_fs2slong.c, device/lib/_fs2sint.c, device/lib/_fs2char.c:
Properly convert floats between -1.0 and 0.0 to long, int, and char
types (max integer value of negative floats tends to zero).
* device/lib/modff.c, device/lib/ceilf.c, device/lib/floorf.c:
Removed changes made so to work properly with floats between
-1.0 and 0.0, as the problem is fixed in _fs2slong.c, _fs2sint.c,
and _fs2char.c
2005-11-18 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCcse.c (ReplaceOpWithCheaperOp): minor fix for debugging only
* src/mcs51/gen.c (genUnpackBits): better code and a fix,
(genCast) cosmetic change
* src/ds390/gen.c (genUnpackBits, ): ported from mcs51
* src/ds390/ralloc.c (packRegsForAssign): ported fix for bitfields
from mcs51
* support/regression/tests/bitfields (testSignedBitfields): added
2005-11-18 Borut Razem <borut.razem AT siol.net>
* sdcc/device/lib/Makefile.in: remove all unnecessary files
* device/lib/pic/Makefile.rules, device/lib/pic16/Makefile.subdir:
introduced SILENT option to make building of pic16 libraries less
2005-11-18 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* device/lib/modff.c, device/lib/ceilf.c, device/lib/floorf.c:
Now they work properly with floats between -1.0 and 0.0
* device/lib/printf_large.c: Removed temporary patch for bug 1358192
2005-11-18 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCicode.c (printOperand): added missing else
2005-11-18 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCsymt.c (computeType): fixed bug 1358192: added missing else,
reformatted for better readability
* src/mcs51/gen.c (genUnpackBits): initial, incomplete support for
signed bitfields
2005-11-17 Borut Razem <borut.razem AT siol.net>
* device/lib/pic16/Makefile.rules, device/lib/pic16/Makefile.subdir:
introduced SILENT option to make building of pic16 libraries less
verbose - used for nightly snapshot build
* doc/sdccman.lyx: documented that SDCDB and ucSim are currently not
available on Win32 platforms.
* sdcc/device/lib/Makefile.in: added library sources for mcs51, small,
medium, large, pic and pic16
2005-11-16 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* device/lib/printf_large.c: Temporary patch for bug 1358192:
printf("%f"...) sets fraction to zero.
2005-11-16 Raphael Neider <rneider AT web.de>
* src/pic/pcode.c (LinkFlow): handle empty flows correctly,
fixes #1357221
* src/pic/gen.c (genIfx): implemented for CARRY bit
* src/pic16/gen.c (genAssign,genCast): fixed assigning/casting
to generic pointers, fixes #1357332,
(pic16_movLit2f): NEW,
(pic16_storeForReturn,genDataPointerSet): use pic16_movLit2f
2005-11-14 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCmain.c (parseCmdLine): fixed bug 1356800, thanks rsudjian
2005-11-11 Raphael Neider <rneider AT web.de>
* src/pic/gen.c: handle FPOINTERS like POINTERS everywhere
* src/pic16/gen.c (pic16_derefPtr): now works for non-pointers as well,
compute pointer's type from operand,
(genUnpackBits,genPackBits): handle FPOINTERS correctly, re-indented,
improved single bit reads, fixes bug #1353379
2005-11-09 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: added lib/pic to the package
2005-11-08 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCval.c (valUnaryPM): fixed bug 1350699
2005-11-06 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/bug1348008.c: added
* src/mcs51/gen.c (saveRBank, unsaveRBank): fixed bug 1348008
* support/regression/tests/bug1337835.c: updated comment
2005-11-06 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/error.cc, sim/ucsim/errorcl.h,
sim/ucsim/sim.src/stack.cc, sim/ucsim/sim.src/stackcl.h,
sim/ucsim/sim.src/uc.cc, sim/ucsim/sim.src/uccl.h,
sim/ucsim/sim.src/mem.cc, sim/ucsim/sim.src/memcl.h,
sim/ucsim/cmd.src/set.cc, sim/ucsim/cmd.src/show.cc:
dynamic construction of cl_error_class and derivates - 2.nd try
2005-11-05 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/sim.src/error.cc: fixed uninitialized class member variable
bug, which caused Bus Errors on sparc solaris
2005-11-04 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/error.cc, sim/ucsim/errorcl.h,
sim/ucsim/sim.src/stack.cc, sim/ucsim/sim.src/stackcl.h,
sim/ucsim/sim.src/uc.cc, sim/ucsim/sim.src/uccl.h,
sim/ucsim/sim.src/mem.cc, sim/ucsim/sim.src/memcl.h,
sim/ucsim/cmd.src/cmdconf.cc: dynamic construction of cl_error_class
and derivates to resolve the initialization problem on OSX
2005-11-02 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/cmd.src/cmdutil.cc, sim/ucsim/cmd.src/newcmd.cc:
corrected typo - #include <winsock2.h>
2005-11-02 Maarten Brock <sourceforge.brock AT dse.nl>
* src/asm.c (printILine): always close tmpFile, thanks Beau E. Cox,
(_asxxxx_mapping): added org directive for future enhancements
2005-11-01 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/app.cc, sim/ucsim/cmd.src/cmdutil.cc, sim/ucsim/cmd.src/newcmd.cc:
enabled sockets on WIN32
* sim/ucsim/cmd.src/newcmd.cc: fixed bug with uninitialized variables
2005-10-31 Borut Razem <borut.razem AT siol.net>
* support/regression/generate-cases.py: escape backslashes in {testcase}:
WIN32 backslash path delimiters should be escaped when used in C strings
* support/regression/tests/bitfields.c: exclude failing assertions for
__CYGWIN32__ and __MINGW32__ hosts
2005-10-30 Borut Razem <borut.razem AT siol.net>
* src/SDCCutil.c: corrected double comparison typo
2005-10-30 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/medium/Makefile: added for new memory model medium
* device/include/asm/mcs51/features.h: updated for medium/pdata
* device/include/mcs51/c8051f120.h: added sfr16/sfr32 definitions,
added Multiply & Accumulate sbit's and MAC0_PAGE define
* device/include/mcs51/c8051f300.h: added sfr16 definitions
* device/include/mcs51/c8051f310.h: added sfr16 definitions
* device/lib/_mullong.c: update for medium model
* device/lib/incl.mk: added medium model
* doc/sdccman.lyx: documented medium model
* src/SDCCast.c (isBitAndPow2): simplified using updated powof2
* src/SDCCicode.c (geniCodeMultiply, geniCodeDivision): use updated powof2
* src/SDCCmain.c (optionsTable, linkEdit): enabled medium model
* src/SDCCmem.c (allocIntoSeg): set iaccess for pdata symbols,
(allocParms): set SCLS and OCLS to pdata for medium model
* src/SDCCsymt.c (processFuncArgs): use default_local_map and set iaccess
for pdata,
(powof2): return <0 if not power of 2
* src/avr/gen.c (genBitWise): use updated powof2
* src/mcs51/gen.c (genMinusDec): use acc if necessary,
(shiftR2Left2Result): small optimization in setup, save acc when storing,
(shiftLLeftOrResult): use B if necessary
* src/mcs51/main.c (_mcs51_finaliseOptions, mcs51_port): added medium model
* src/mcs51/peeph.def: renamed 226 to 226.b, added 226.a
* src/pic/main.c (_pic14_do_link): made void parameter list explicit
* support/regression/Makefile.in: added test-mcs51-medium
* support/regression/ports/mcs51-medium/spec.mk: added to test medium model
2005-10-28 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCsymt.c (compStructSize): make bitfields without (un)signed
specifier unsigned
* device/lib/time.c (mktime): fixed bug 1334315
2005-10-28 Raphael Neider <rneider AT web.de>
* device/include/pic/p16f_common.inc: added common declarations
* src/pic/ralloc.c (initStack): moved regs *r to block start for Alpha
2005-10-27 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (getTempRegs): return 0 if not enough registers found,
(aopPutUsesAcc): added to predict accumulator use,
(assignResultValue): save acc if necessary,
(genMinusDec): store result if indirectly addressed,
(genDivOneByte): save acc if necessary,
(movLeft2Result): bugfix if left already in acc,
(genAnd, genOr, genXor, shiftL2Left2Result, shiftR2Left2Result): pay more
attention to accumulator use (esp. pdata),
(genReceive): receive pdata correctly
* src/SDCCicode.c (isOperandInPagedSpace): added to detect pdata operands
* src/SDCCicode.h: added isOperandInPagedSpace prototype
2005-10-27 Raphael Neider <rneider AT web.de>
* doc/sdccman.lyx: corrected version (should be 2.5.4 not 2.5.5)
2005-10-27 Raphael Neider <rneider AT web.de>
* .version: changed version to 2.5.4
* doc/sdccman.lyx: changed version to 2.5.4, added some remarks to PIC14
* device/lib/pic/libsdcc/{_mulint.c,_mullong.c}: use unsigned literals,
(_divschar.c,divuchar.c,_mulchar.c,_modschar.c,_moduchar): NEW,
arithmetics support routines
* device/lib/pic/Makefile.rules: have assembler sources preprocessed
* device/lib/Makefile.in: also create installdir for pic
* src/SDCCopt.c (cnvToFcall): mark support routines `extern' for
pic14 port as well
* src/pic/device.c (dump_sfr): rewritten to delegate register
placement to the linker (use `extern sym' rather than sym EQU addr),
(validAddress): fixed to check last specified address
* src/pic/gen.c (aopForSym): added code to deal with array (useless?),
(popGetLit): truncate literal value to 8 bit,
(popGet): moved assert to more appropriate place
(popGetExternal): create pCode operand from and mark the according
symbol as being `extern'
(popGetAddr): added sanity check on immediate's offset, provide
GPOINTER tag on demand
(aopPut): fixed for immediates,
(mov2w_op): move operand's address or contents to WREG (depending on
operand type), safer variant of mov2w,
(movwf,call_libraryfunc): NEW, handy abbreviations,
(get_argument_pcop,get_return_val_pcop,pass_argument,
get_returnvalue): interface for accessing function parameters and
return values,
(assignResultValuei,genRet): use new parameter/return value interface
(pic14_getDataSize): back to old version handling generic pointers,
(pic14_toBoolean,genNot,genCpl,genCmpEq,genOrOp): heavily rewritten,
provided implementation and/or fixed old one,
(genMultOneByte,genDivOneByte,genModOneByte): implemented as library
calls, removed legacy 8051 reference code
(AccLsh,AccRsh): rewritten and fixed to deal with signed operands
(loadSignToC): NEW, move the operands sign bit to CARRY,
(genGenericShift): NEW, replaces genLeftShift, genRightShift and
genRightShiftSigned, accepts negative shift counts,
(setup_fsr): load FSR and adjust IRP (indirect memory access),
(emitPtrByteGet,emitPtrByteSet): rewritten, now works with
generic pointers, __data pointers and __code pointers,
(genUnpackBits,genPackBits): rewritten to work with generic pointers
and signed bitfields, limit bitfields to 8 bit,
(genDataPointerGet): fixed number of bytes read,
(genGenPointerGet,genConstPointerGet): fixed bitfield access,
(genPointerGet,genPointerSet): fixed handling of __code pointers,
pointers to constant data are no longer assumed to point to __code
space, removed invalid pointer types,
(bitpatternFromVal): retrieve the PICs representation of an integer
or float literal,
(genDataPointerSet): fixed assigning to po_immediate operands,
(genGenPointerSet): implemented as library call,
(genIfx): fixed incorrect condition,
(genAddrOf): limit generic pointers' addresses to 2 bytes,
provide GPOINTER tag according to destination's storage class,
(genCast): added code to handle casting to generic pointers, added
sign-/zero extension of the result
(aop_isLitLike,op_isLitLike): fixed handling of immediates
* src/pic/gen.h: added macros to access IRP bit in STATUS register
* src/pic/genarith.c (genAddLit): use min(result's,left's) size, sign
extend the result
* src/pic/glue.c (is_shared_address,is_shared): check whether a given
address/register resides in the shared banks
(emitSymbolToFile): improved to handle global and `pinned' symbols,
put all variables into separate sections (have the linker arrange
them)
(picglue): put init code and interrupt handlers in separate sections
* src/pic/main.c: added port specific options table, modified to PORT
structure to make GPOINTERs 3 byte, added pic14_options
(_pic14_do_link): private linking routine (update paths to libraries,
add libsdcc.lib by default)
* src/pic/main.h: declare pic14_options
* src/pic/pcode.c: fixed instructions i/o relations,
(RegCond): reverted to correct version,
(newpCodeOpLit): truncate literals to 8 bit,
(genericPrint): added debug output,
(getRegFromInstruction): fixed for various operand types, simplified
(BuildFlow): fixed broken handling of isntructions with labels
(LinkFlow): start at last instruction in flow (skip trailing comments),
pass the flow on to the next instruction after CALL
(pCodeReplace): NEW, replace a pCode and move meta data to the new one
(insertPCodeInstruction): fixed inserting after a skip instruction,
(DoBankSelect): fixed for labeled instructions
(OptimizepBlock): honor --nopeep switch
(AnalyzeFlow,ReuseReg): prevent crash on source files with no function
* src/pic/pcodepeep.c (pCodePeepMatchRule): prevent NULL pointer accesses
* src/pic/pcoderegs.c (regIsLocal): NEW, check visibility of a register
(pCodeOptime2pCodes): allow disabling this optimization via
--no-pcode-opt due seldomly occuring bugs, fixed some conditions
but is still buggy), started implementation of a dataflow based
pCode optimization (CSE + dead code elimination)
(pCodeRegMapLiveRangesInFlow): removed bogus inCond
* src/pic/ralloc.c (initStack): renamed stack registers to STK%d, the new
names are independant of the stack location and therefore portable across
devices
2005-10-27 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/ralloc.c (bitType): added to detect bit variables,
(selectSpil): fixed bug 1337835 by not spilling bit variables
* support/regression/tests/bug1337835.c: added test for this bug
* src/mcs51/peeph.def: restart after rule 3.c,
addded rules 263.x to optimize loading constants
2005-10-26 Raphael Neider <rneider AT web.de>
* src/SDCCsymt.c (compStructSize): allow signed bitfields for PIC ports
* src/pic16/gen.c (genUnpackBits): support signed bitfields,
(genAssign): emit warning when casting literals to generic pointer
type, also applies when taking the address of a fixed variable,
(genCast): improved casting to generic pointers
* src/pic16/glue.c (pic16emitStaticSeg): fixed(?) handling of fixed
extern variables, added verbose error message
* device/include/pic16/{string.h,errno.h}: added #pragma library c
2005-10-26 Bernhard Held <bernhard AT bernhardheld.de>
* src/mcs51/gen.c (genMinus): fixed bug 1270906: reverse subtraction,
carry must be complemented too
* src/mcs51/peeph.def: addded rule 262 to remove double cpl c, which
could be emitted by genMinus
* src/SDCCval.c (constVal): fixed bug 1305065
2005-10-25 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (addCast): added promotion for bit variables
(decorateType): emit W_COMPLEMENT before the problem vanishes behind
promotion casts + optimisation
(optimizeGetWord): fix warning 'i' might be used uninitialized
* src/mcs51/gen.c (genCpl): removed W_COMPLEMENT
* src/ds390/gen.c (genCpl): removed W_COMPLEMENT
2005-10-24 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCicode.c (ast2iCode): reverted to 1.224 because of regression:
all chars are promoted to int; promotion should be handled in SDCCast.c
2005-10-15 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* device/lib/_strcmp.c: Fixed bug 1326457
2005-10-11 Raphael Neider <rneider AT web.de>
* device/lib/pic16/libio/i2c.ignore: added 1320, fixes broken builds
* device/lib/pic16/libdev/pic18f1320.c: added 1320's device library
2005-10-05 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCC.y (AT): fixed bug with sfr32 addresses when built with GCC
* support/regression/tests/sfr16.c: added test for the sfr32 bug
2005-10-04 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic18fregs.h, src/pic16/devices.inc,
device/lib/pic16/pics.all: added pic18f1320
* src/pic16/pcode.c (mnem2key): fixed prototype's argument mismatch
2005-09-30 Raphael Neider <rneider AT web.de>
* src/pic16/device.c (Pics16[]): moved device descriptions to devices.inc
* src/pic16/devices.inc: NEW, provides device descriptions
* src/pic16/gen.c (genInline): fixed handling of ';'-comments
2005-09-26 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCicode.c (operandOperation): added GETABIT, GETBYTE, GETWORD and
GETHBIT
2005-09-25 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/sdccman.lyx: updated Highest Order Bit documentation,
documented Any Order Bit, Higher Order Byte and Higher Order Word
* src/SDCC.y: added tokens GETABIT, GETBYTE, GETWORD
* src/SDCCast.c (optimizeGetHbit): updated to also accept bool=expr&(1<<n),
(optimizeGetAbit): new, to get any bit, not only the high bit,
(optimizeGetByte): new, to get a byte from a (long) int: expr>>(8*n),
(optimizeGetWord): new, to get a word from a long int: expr>>(8*n),
(isConformingBody): also check GETABIT, GETBYTE, GETWORD,
(decorateType): '&': also try GETABIT, GETBYTE, GETWORD optimization,
RIGHT_OP: also try GETBYTE, GETWORD optimization,
GETABIT, GETBYTE, GETWORD: decorate them,
(isShiftRightLitVal, isBitAndPowOf2): new helper functions,
(ast_print): added GETABIT, GETBYTE, GETWORD
* src/SDCCcse.c (isSignedOp): added GETABIT, GETBYTE, GETWORD
* src/SDCCicode.c (codeTable): added GETABIT, GETBYTE, GETWORD,
(geniCodeBinary): new generic binary icode,
(ast2iCode): added GETABIT, GETBYTE, GETWORD
* src/port.h: updated comment for PORT.hasExtBitOp
* src/mcs51/gen.c (genGetAbit): new, to get any single bit,
(genGetByte): new, to get a single byte,
(genGetWord): new, to get a word from a long,
(gen51Code): added GETABIT, GETBYTE, GETWORD
* src/mcs51/main.c (hasExtBitOp): added GETABIT, GETBYTE, GETWORD
2005-09-23 Raphael Neider <rneider AT web.de>
* configure.in, configure: have device/lib/pic configured
* device/lib/Makefile.in: added model-pic14
* device/lib/clean.mk: added pic/ to clean rule
* device/lib/pic: added rudimentary pic14 library providing support
functions for multiplication/division/generic pointer access
* src/SDCCopt.c (convilong): mark support functions as extern
for pic14 port as well
* src/pic/gen.c (genMult): added assertions,
(genpic14Code): emit warning on unhandled iCodes
* src/pic/main.c (_hasNativeMulFor): return true only for 8x8 bit
* src/pic/pcode.c (pCodeOpCopy),
* src/pic16/pcodepeep.c (pic16_pCodeOpCopy): fixed handling of various
pCodeOpReg-subtypes (PO_{STATUS,INTCON,PCL,PCLATH,PCLATU,BSR,
SFR_REGISTER}), made safe for future extensions
* src/pic16/pcode.c (pic16_safepCodeUnlink): allow for removal of
instructions even if preceeded by SKIP instructions (also remove
them); removed unused code
* src/pic16/pcode.h: added arg2 to pCodeOpLit to match pCodeOpLit2,
prevents leaving parts of the structure uninitialized after copying
2005-09-22 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (genMinus): fix for undetected bug introduced 3 months
ago by me
* support/regression/tests/addsub.c: added test for the bug
2005-09-21 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic18f1220.h,
device/lib/pic16/libdev/pic18f1220.c: added ECCPAS sfr and bitfield
* device/lib/pic16/Makefile.rules: added missing opening paren
* src/pic16/gen.c (pic16_genNot,pic16_genCpl): removed as these
are provided in genutils.c,
(genUminusFloat,genUminus,genCmpEq): added asserts on different
operand/result sizes,
(genCmp): assert on NULL pointers first, then check deref'ed values
* src/pic16/genutils.c (pic16_genCpl): fixed for different operand/
result size
2005-09-18 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (genFarPointerGet,genFarPointerSet): removed
as these are now unused,
(genPointerGet,genPointerSet): handle FPOINTERs like POINTERs
* src/pic16/pcode.c (pic16_symIsSpecial): assume REG_TMPs to be
local, avoids uninitialized pointer dereference on r->name
* src/pic16/ralloc.c (newReg): fixed indentation
2005-09-13 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCval.c (constVal): fixed bug 730366
* support/Util/SDCCerr.c,
* support/Util/SDCCerr.h: added warning W_INVALID_INT_CONST
2005-09-10 Maarten Brock <sourceforge.brock AT dse.nl>
* as/mcs51/lkmem.c (summary2): fixed report for absolute areas (bug 1210220)
2005-09-09 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/peeph.def (241.x): fixed bug when comparing generic pointers
2005-09-08 Maarten Brock <sourceforge.brock AT dse.nl>
* as/hc08/lkaomf51.c (OutputName): made name unsigned char,
(hex2dec): made hex_digit unsigned char, removed ascii dependance
* as/mcs51/lkaomf51.c (OutputName): made name unsigned char,
(hex2dec): made hex_digit unsigned char, removed ascii dependance
* as/mcs51/lkarea.c (lnkarea2): sort absolute areas to the front
* packihx/packihx.c (hexDigit): made c unsigned char
* as/mcs51/lklibr.c (fndsym),
* link/z80/lkgb.c (gb),
* link/z80/lklibr.c (fndsym),
* link/z80/lkrloc.c (relr),
* sim/ucsim/libltdl/ltdl.c (load_deplibs, try_dlopen),
* src/SDCC.lex (checkCurrFile, process_pragma),
* src/SDCCglue.c (spacesToUnderscores),
* src/SDCCmain.c (setParseWithComma, processFile),
* src/asm.c (tvsprintf, printCLine),
* src/avr/gen.c (emitcode, aopPut),
* src/ds390/gen.c (emitcode),
* src/hc08/gen.c (emitcode, emitinline),
* src/mcs51/gen.c (emitcode, genInline),
* src/pic/pcodepeep.c (cvt_extract_destination, cvt_extract_status,
tokenizeLineNode),
* src/pic/ralloc.c (debugLog),
* src/pic16/pcodepeep.c (cvt_extract_destination, cvt_extract_status,
tokenizeLineNode),
* src/pic16/ralloc.c (debugLog),
* src/z80/main.c (_process_pragma):
made all ctype.h function calls safe
* src/SDCCopt.c: include math.h for fabs
* src/SDCCpeeph.c: added macros ISCHARDIGIT, ISCHARSPACE and ISCHARALNUM
and used them throughout the code to make ctype.h function calls safe
* src/ds390/main.c (asmLineNodeFromLineNode),
* src/mcs51/main.c (asmLineNodeFromLineNode): made p unsigned char*
* src/pic/gen.c (DEBUGpic14_emitcode, pic14_emitcode): made lbp
unsigned char*
* src/pic/pcode.c (mnem2key): made mnem unsigned char*,
(newpCodeAsmDir): made ctype.h function calls safe
* src/pic16/gen.c (pic16_emitpcomment, DEBUGpic16_emitcode,
pic16_emitcode): made lbp unsigned char*
* src/pic16/pcode.c (mnem2key): made mnem unsigned char*,
(pic16_newpCodeAsmDir): made ctype.h function calls safe
* src/xa51/gen.c (emitcode),
* src/z80/gen.c (_emit2): made lbp unsigned char*
* support/Util/MySystem.c (split_command): made cmd_line and p unsigned
char*
2005-09-05 Raphael Neider <rneider AT web.de>
* src/pic16/ralloc.c (pic16_allocDirReg): use device specific
access bank splitpoint
2005-09-05 Raphael Neider <rneider AT web.de>
* device/lib/pic16/libc/Makefile: added (missing) string to SUBDIRS
2005-09-03 Maarten Brock <sourceforge.brock AT dse.nl>
* .version: changed to version 2.5.3
* doc/sdccman.lyx: changed version to 2.5.3,
documented --codeseg and --constseg and pragma codeseg and constseg,
documented bit parameters (reentrant) and bit returning
* src/SDCCicode.c (geniCodeReceive): fixed (possible) bug generating
currFunc->recvSize, but is this ok for all ports?
(ast2iCode): result of ~ on unsigned char must be cast to int for
bool to work
* src/SDCCmem.c (allocGlobal, allocLocal): don't put bit returning
function pointers in bit space
* src/SDCCsymt.c (checkSClass): allow bit returning function pointers,
(processFuncArgs): call port.reg_parm() with reentrancy info
* src/port.h,
* src/avr/main.c,
* src/ds390/main.c,
* src/hc08/main.c,
* src/pic/main.c,
* src/pic16/main.c,
* src/xa51/main.c,
* src/z80/main.c: port.reg_parm prototype extended with
"bool reentrant" parameter
* src/mcs51/main.c (_mcs51_regparm): use parameter reentrant instead of
options.stackAuto for allocating bit register parameters
* src/mcs51/gen.c (genNot): optimized complementing direct bit,
(genSend): set BitBankUsed if it is,
(selectRegBank): factored out of genCall for use in genPcall,
(genCall): removed redundant dtype assignmen, use selectRegBank,
(genPcall): handle returning in Carry properly, save in F0 if needed,
(genReceive): handle bit register parameters
* src/mcs51/ralloc.c (updateRegUsage): update BitBankUsed along the way,
(mcs51_assignRegisters): enable bit registers for all reentrant
functions and don't set BitBankUsed unconditionally
* src/mcs51/peeph.def (177.d): fixed bug if %2==%3
* support/regression/tests/bitvars.c: enable tests for SDCC_STACK_AUTO
* support/regression/tests/funptrs.c: added tests for BOOL and for return
2005-08-27 Borut Razem <borut.razem AT siol.net>
* device/lib/Makefile.in: cp on sparc-solaris (SunOS) and on
ppc-osx (Darwin) does not support -u option. It seems that it is
supported only on Linux - GNU cp
2005-08-25 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/gui.src/serio.src/Makefile.in,
sim/ucsim/s51.src/Makefile.in, sim/ucsim/avr.src/Makefile.in,
sim/ucsim/z80.src/Makefile.in, sim/ucsim/hc08.src/Makefile.in,
sim/ucsim/xa.src/Makefile.in: install -s changed to 2 steps:
install and strip, since the strip at /usr/ccs/bin should be used
on solaris
2005-08-24 Borut Razem <borut.razem AT siol.net>
* clean.mk, device/lib/clean.mk: find on sparc-solaris does not support -maxdepth option
2005-08-23 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCopt.c (convertToFcall): fixed modulus with divisors 1 and
ffffffffu
2005-08-23 Maarten Brock <sourceforge.brock AT dse.nl>
* as/mcs51/aslink.h: completed lkrloc.c prototypes
* as/mcs51/lkmain.c (link_main): fixed warning
* device/include/stdbool.h: ds390 has no advanced bit support yet
* src/SDCC.y: use SPEC_SHORT and renamed _signed to b_signed
* src/SDCCsymt.c: use SPEC_SHORT and renamed _signed to b_signed
* src/SDCCsymt.h (struct specifier): renamed _xxx bitfields to b_xxx
and updated their macros
* src/SDCCval.c (constVal): updated comment for renamed b_long
2005-08-22 Maarten Brock <sourceforge.brock AT dse.nl>
* as/mcs51/asdata.c: changed ctype['['] to BINOP
* as/mcs51/asexpr.c (expr): added case '[' for bit access in bdata,
(term): abused bit 15 of s_addr to indicate bit-addressable bytes,
(oprio): set priority for '['
* as/mcs51/aslink.h: added define R_BIT, and prototypes for adb_bit
and adb_24_bit
* as/mcs51/asm.h: added defines R_BIT and S_BIT
* as/mcs51/lkarea.c (lnksect2): use T for seg BIT_BANK and overlay it
* as/mcs51/lkdata.c: changed ctype['['] to BINOP
* as/mcs51/lkmain.c (Areas51): rel2 contains 12 (=C) areas now,
added overlayable BIT_BANK area
* as/mcs51/lkmem.c (summary): add BIT_BANK to BSEG_BYTES in the report,
(summary2): explain 'T' in legenda
* as/mcs51/lkrloc.c: replaced old K&R style,
(relr): added R_BIT processing,
(errmsg): added "Bit-addressable relocation error",
(adb_bit): added for converting from byte- to bit-addressable space,
(adb_24_bit): added for converting from byte- to bit-addressable space
* device/include/stdbool.h: changed BOOL to __bit for mcs51 as it can be
used in reentrant functions now even as return value
* device/lib/_gptrput.c (_gptrput): removed obsolete code
* src/SDCCast.c (resultTypePropagate): also propagate AND_OP and OR_OP,
(decorateType): case '!', GETHBIT, AND_OP, OR_OP: result in bool or char
* src/SDCCglobl.h: added indicator BitBankUsed
* src/SDCCglue.c (glue): emit area BIT_BANK with byte 'bits' and equ's for
the bit registers b0-b7
* src/SDCCicode.c (operandFromSymbol): removed IS_BITVAR check,
(geniCodeCast): fixed bug 1263853,
(geniCodeLogicAndOr): put result in bool or char,
(geniCodeReceive): added parameter func for accessing the return type,
(geniCodeFunctionBody): pass func to geniCodeReceive
* src/SDCCmain.c: added indicator BitBankUsed
* src/SDCCmem.c (allocLocal): explicitly set sclass for V_BIT
* src/SDCCsymt.c (newBoolLink): added for creating a bool/bit,
(checkSClass): don't put automatic bool/bit on stack,
(checkFunction): removed check on function cannot return bit
* src/SDCCsymt.h: added newBoolLink prototype
* src/mcs51/gen.c (rb1regs): added bit registers,
(movc): created for assigning to carry,
(pushReg, popReg): created for pushing registers,
(sameRegs): check both AOP_REG and AOP_CRY types,
(aopOp): handle bit registers,
(aopPut): optimization no self-assign,
(saveRegisters): push reg->base (bits) only once for bit registers,
and use pushReg,
(unsaveRegisters): pop reg->base only once and use popReg,
(assignResultValue): added parameter func and return in carry for bits,
(genIpush): optimization no reload in A if not changed,
(genSend): bit parameters in reentrant functions are passed in bit
registers by first assigning to bits in B, then save registers and
copy B to bits,
(genCall): handle returning in Carry properly, save it in F0 if needed,
(genPcall): updated assignResultValue call, this is not safe yet for bit
returning function !!!
(genFunction): don't generate equ's for bit registers and use pushReg,
(genEndFunction): take care of bit returning functions and use popReg,
(genRet): return bit in Carry,
(genIfx): optimize bit registers and other directly addressable bits,
(genReceive): updated assignResultValue call
* src/mcs51/main.c (_mcs51_reset_regparm): added regBitParmFlg,
(_mcs51_regparm): allow passing of upto 8 bit parameters in bit
registers when using stack-auto
* src/mcs51/ralloc.c (_G): added allBitregs,
(regs8051): added the bit registers,
(createStackSpil): use macro IS_BIT,
(getRegBit): added to allocate a bit register, else spill,
(getRegBitNoSpil): added to allocate a bit register, else a gpr,
(updateRegUsage): factored out to ease stepping while debugging,
(serialRegAssign): use updateRegUsage, only spill bits if necessary,
also allocate bit registers,
(fillGaps): handle bit registers,
(findAllBitregs): added to create bit vector with all bit registers,
(mcs51_allBitregs): returns this bit vector,
(mcs51_assignRegisters): when using stack-auto use bit registers for
passing parameters and creating local variables
* src/mcs51/ralloc.h: added B0_IDX..B7_IDX and prototype mcs51_allBitregs
2005-08-22 Borut Razem <borut.razem AT siol.net>
* device/lib/Makefile.in: replaced find option -or with -o
to make it run on solaris
2005-08-22 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (pic16_loadFromReturn): added check for AOP_PCODE,
fixes #1265442 (crash on Solaris)
2005-08-20 Borut Razem <borut.razem AT siol.net>
* configure, configure.in: added tests for libsocket and libnsl libraries,
requred by sdcdb on sparc-solaris; generate support/regression/Makefile
from support/regression/Makefile.in
* support/regression/Makefile.in: added
* device/lib/pic16/Makefile.common.in: force make to use bash shell
* sim/ucsim/libtool: regenerated on sparc-solaris
* sim/ucsim/avr.src/Makefile.in, sim/ucsim/hc08.src/Makefile.in,
sim/ucsim/s51.src/Makefile.in, sim/ucsim/xa.src/Makefile.in,
sim/ucsim/z80.src/Makefile.in: removed GNU ld specific linker options
-Wl,--start-group and -Wl,--end-group to enable ucsim compilation on
sparc-solaris, which doesn't use GNU ld linker
* device/lib/Makefile.in: cp on sparc-solaris (SunOS) does not support -u option
* as/Makefile: find on sparc-solaris does not support -maxdepth option
2005-08-19 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/peeph.def: updated comments
2005-08-16 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/lib/_gptrget.c,
* device/lib/_gptrput.c: slightly shorter
* doc/sdccman.lyx: incremented version
* src/mcs51/peeph.def: moved peephole comments to the line of first
change to better keep line correlation, reanimated 186.e
* src/mcs51/peeph.def: renamed similar peepholes by using suffixes
2005-08-16 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic/pcode.c : Pasted ".line" assembly directives patch from
David Saxton with quotes around file name.
2005-08-15 Borut Razem <borut.razem AT siol.net>
* support/regression/tests/bitfields.c, support/regression/tests/bitvars.c,
support/regression/tests/bitwise.c, support/regression/tests/literalop.c,
support/regression/tests/rotate.c, support/regression/tests/zeropad.c:
make tests run on x86_64 platform
2005-08-13 Raphael Neider <rneider AT web.de>
* device/lib/pic16/Makefile.subdir: weakened clean-intermediate rule
as it might be executed DURING a build (parallel make is wonderful)
2005-08-13 Raphael Neider <rneider AT web.de>
* device/lib/Makefile.in (port-specific-objects-pic16):
revert to cp $(PORT)/bin/*.* $(PORTDIR)
* device/lib/pic16/Makefile: added .PHONY targets, removed builddir
dependency
* device/lib/pic16/Makefile.rules: build subdirs before creating
the library, removed builddir rule, create $(builddir) early in
recurse rule, use empty recurse rule for leaf directories
* device/lib/pic16/Makefile.subdir: added phony targets, ignore
mkdir errors (race condition), removed duplicate suffix "hex"
from clean rules
* device/lib/pic16/libdev/Makefile: recursive make via + and $(MAKE)
* device/lib/pic16/libio/Makefile: create sub-make's builddir early,
prevents mkdir -p from aborting on Alpha
2005-08-12 Raphael Neider <rneider AT web.de>
* src/pic16/glue.c (pic16_print(G)PointerType): do not flush
db-statements in order to allow for arrays of pointers in code
sections to be placed without interspersed 0-padding, fixes
bug #1256215
* (emitStatistics): fixed division by zero for pic18f1220
* src/pic16/pcode.c: buffer (up to) 12 DB directives to allow for
unpadded writing of 8-bit, 16-bit, 24-bit and 32-bit values
* (pic16_emitDS): respect DB_ITEMS_PER_LINE
* (pic16_pCodeConstString): keep track of already emitted string
literals to prevent "duplicate definitions of symbol _str_NR"
* src/pic16/ralloc.c (pic16_allocRegByName): removed not so helpful
debug message
* device/lib/Makefile.in: ignore failing PIC16 library builds
* device/lib/pic16/Makefile: do not build if gputils are missing
* device/lib/pic16/Makefile.common.in: do not enforce MAKEFLAGS=-s
2005-08-10 Raphael Neider <rneider AT web.de>
* device/lib/Makefile.in: fixed copying pic16 libraries (broken by
my last commit)
2005-08-10 Raphael Neider <rneider AT web.de>
* src/*.c, src/pic16/{gen.c,glue.c,main.c}: applied Vangelis
Rokas' patch to add the new fixed point type "__fixed16x16"
* device/lib/pic16/libsdcc/fixed16x16: added Vangelis' support
functions for __fixed16x16 arithmetics
* device/lib/pic16: reimplemented the build system to support
a separate build directory, better handling of libio (create
the library in a separate subdir for each architecture) and
easier configuration (centralized in Makefile.common)
2005-08-07 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (genrshTwo): fixed sign extension
* src/pic16/device.c: added pic18f2320, 4220 and 4320
* device/include/pic16/pic18f2220.h: changed some bit definitions,
added T0CONbits
* device/include/pic16/pic18f4220.h: NEW, header for
pic18f4220 and pic18f4320
* device/include/pic16/pic18fregs.h: added new devices,
embraced Nop(), ClrWdt(), Sleep() and Reset() with do {} while(0)
* device/include/pic16/signal.h: resolved name clashes
on bit definitions, added DEF_HANDLER2(sig1,sig2,handler)
to also allow testing for interrupt enable bits, added
comments on how to use the macros
* device/lib/pic16/libdev/pic18f2220.c: added T0CONbits
* device/lib/pic16/libdev/pic18f{2320,4220,4320}.c: NEW,
register definitions for the devices
* device/lib/pic16/pics.all: added new devices
* device/lib/pic16/libc/stdlib/calloc.c: fixed zeroing
allocated memory
* device/lib/pic16/libc/stdlib/memfree: do not count
the block header as free memory
* device/lib/pic16/libc/stdlib/memmisc.c (_initHeap):
simplified and added missing end-of-blocklist-marker
(reported by Peter Onion, fixes #1252814)
* (_mergeHeapBlock): fixed loop condition
* device/lib/pic16/libc/stdlib/realloc.c: return NULL for
len==0, restructured code
* device/lib/pic16/libc/stdlib/{malloc,memfreemax}.c: cleaned
up a bit, reduced bitfield accesses, prevent endless loops
in case of heap corruption
* device/lib/pic16/libc/stdlib/x_ftoa.c: disabled
"unreferenced arguments/must return a value" warnings
* device/lib/pic16/libio/usart/ubaud.c (usart_baud):
replaced BAUDREG with SPBRG
* device/lib/pic16/libsdcc/lregs/{lrrest.c,lrst.c},
device/lib/pic16/debug/gstack/gstack.c: replaced
_naked, _asm, _endasm with __naked, __asm, __endasm
2005-08-05 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (pic16_aopGet): fixed handling of offsets in
AOP_PCODE operands, fixes multibyte union-bitfield-accesses
2005-08-05 Borut Razem <borut.razem AT siol.net>
* device/lib/Makefile.in: added missing ';'
* configure: removed ^M characters
2005-08-04 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* device/include/mcs51/at89c51ed2.h, device/include/mcs51/p89v51rd2.h,
device/include/mcs51/at89s53.h: changed to GNU Lesser General Public
License
2005-08-04 Borut Razem <borut.razem AT siol.net>
* configure.in: pic16 libraries build 2nd try - enable running
configure in device/lib/pic16
* configure: regenerated from configure.in
* device/lib/Makefile.in: create $(PORT)/bin directory
2005-08-03 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (pic16_derefPtr): NEW, single place
to get/set values via pointers
* (genUnpackBits,genPackBits): changed detection of
ptr->bitfield vs. sym.bitfield, fixed access via generic
pointers, removed dead (wrong) code for multibyte bitfields
* (genNearPointerGet, genGenPointerGet): removed useless code,
fixed bitfield detection, fixes #1250594
* (genNearPointerSet): removed useless code
* src/pic16/gen.h: renamed pic16_emitpcode to pic16_emitpcode_real
and introduced macro pic16_emitpcode that conditionally emits
the origin of the following pCode (useful for debugging SDCC)
* src/pic16/pcode.c: changed (and disabled) some debug outputs
* (createDefmap): fixed handling of LFSR for --optimize-df
2005-08-02 Borut Razem <borut.razem AT siol.net>
* device/lib/Makefile.in: pic16 libraries build enabled since
gputils-0.13.2 are now localy installed at sourceforge's compile farm
2005-08-02 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (genPackBits): removed deprecated warning
* (genGenPointerSet): fixed bitfield detection
2005-08-02 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* device/include/mcs51/msm8xc154s.h: Removed PT2 definition, now in 8052.h.
2005-07-31 Raphael Neider <rneider AT web.de>
* device/lib/pic16/libdev/pic18f458.c,
device/include/pic16/pic18f458.h: added missing T0CONbits
2005-07-29 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/msm8xc154s.h: added, thanks to Matthias Arndt
2005-07-28 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (operandsEqu): fixed bug 1246687
2005-07-23 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* device/include/mcs51/at89c51ed2.h: added.
2005-07-23 Raphael Neider <rneider AT web.de>
* src/pic/gen.h: added emitpcode macro for debugging
* src/pic/gen.c (emitpcode): renamed to emitpcode_real
and replace by macro adding debug information on demand
* (genNot): fixed to C semantics (!0 = 1; !x = 0 iff x != 0)
* (gencjne): tried to fix; replaced with correct (slower) code
* (gen{Unp,P}ackBits): fixed single bit access
* src/pic/pcode.c (AnalyzepCode): fixed DFPRINTF argument
* src/pic/pcodepeep.c (pCodeSearchCondition): fixed finding
previous instruction
* src/pic/pcoderegs.c (regIsSpecial): NEW, check whether a
register has to be handled with care (forbidding movement
of assignments/uses, removing assignments completely, ...)
* (pCodeOptime2pCodes): make use of regIsSpecial
* added lots of debugging output (commented out)
* src/pic/rallloc.c (deassignLRs): prevent operand registers
from being reused as result UNLESS it is known to work
2005-07-23 Maarten Brock <sourceforge.brock AT dse.nl>
* support/Util/dbuf.h: include <stddef.h> for size_t
* .version: changed to version 2.5.2
2005-07-23 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCloop.c (loopInvariants): fixed bug #1234048
2005-07-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (genMinus): fixed bug #1241835,
(genModOneByte): removed needless psha/pula
2005-07-22 Raphael Neider <rneider AT web.de>
* src/SDCCmain.c (linkEdit): initialized linkerScriptFileName,
have PIC14 handled like PIC16, fixes broken pic14 linker calls
* src/pic/gen.c (resolveIfx): do not "invent" labels
* (genSkipc): changed to positive logic
* (genSkipCond): removed as no longer needed
* (pic14_mov2w_regOrLit,genCmp): NEW, replacement for buggy version,
backport from PIC16
* (genLeftShift): check operands are in different registers
* src/pic/genarith.c (genPlus): replaced INCF with ADDLW as
INCF does not update CARRY...
* src/pic/main.c: fixed _linkCmd
* src/pic/pcode.c (unlinkpCode): added inactive code
* src/pic/ralloc.c (deassignLRs): keep arguments to shift operations
alive (do not assign result and operand overlapping registers)
2005-07-22 Raphael Neider <rneider AT web.de>
* src/pic/device.c (dump_sfr): replaced register declaration with
call to emitSymbolToFile() to avoid duplicate symbols
* (assignRelocatableRegisters): do not declare external symbols
* src/pic/ralloc.c (allocNewDirReg): fixed to get size of arrays
right (take size of type, not etype)
* (allocDirReg): fixed call to allocNewDirReg() to pass OP_SYM_TYPE
* (writeUsedRegs): also dump dynDirectRegs (e.g. local variables)
* (packRegsForAccUse): disabled assignment of WREG as
the result reg to prevent occurence of just fixed #1235003,
fixes #1242954
* src/pic/glue.c (emitSymbolToFile): NEW, central place to declare
symbols (avoids duplicate symbols in .asm file)
* (pic14emitRegularMap): use emitSymbolToFile()
* src/pic/gen.c (aopOp): fixed spillLocation handling
* (gen{Unp,P}ackBits): fixed acquiring bit-operands
* (genDataPointerSet): removed unneccessary variables/output
2005-07-22 Maarten Brock <sourceforge.brock AT dse.nl>
* as/mcs51/lkarea.c: enlarged codemap for banked memory
* device/lib/mcs51/crtbank.asm: added # to 0x0F
2005-07-21 Raphael Neider <rneider AT web.de>
* src/pic/gen.c (aopOp): do not generate AOP_ACC operands as pic14
architecture cannot handle them efficiently, fixes bug #1235003
* src/pic16/device.c (pic16_dump_{u,i}section,pic16_dump_int_registers):
check for empty sets before using them (fixes bug #1232190)
2005-07-19 Maarten Brock <sourceforge.brock AT dse.nl>
* as/mcs51/lkarea.c (lnkarea, lnkarea2): improved BSEG size calculation,
(lnksect2): generate warnings for memory overlap
* src/SDCC.lex (doPragma, process_pragma): added pragma's codeseg and
constseg to set the name of these segments so you can instruct the linker
to place them in banks
* src/SDCCast.c (decorateType): use new macro IS_FUNCPTR()
* src/SDCCglobl.h: added MODEL_HUGE to enum,
added code_seg and const_seg to options
* src/SDCCglue.c (emitMaps): use options.const_seg,
(createInterruptVect): put interrupt vectors in segment HOME,
(glue): put HOME before static segment and put the main glue in HOME,
(glue): use options.code_seg
* src/SDCCicode.c (geniCodeCall): use new macro IS_FUNCPTR()
* src/SDCCmain.c: added option --codeseg and --constseg to set the name of
these segments so you can instruct the linker to place them in banks
(linkEdit): use code_loc for HOME segment which should be the first
segment in code memory now
* src/SDCCmem.c: fixed more stuff like bug 1238386
* src/SDCCsymt.c (getSize): use generic pointer size for banked functions,
(changePointer): don't change function pointers to code pointers for
banked functions,
(compareType): added exceptional check for banked function pointers
* src/SDCCsymt.h: changed IFFUNC_ISBANKEDCALL, added IS_FUNCPTR
* src/hc08/main.c (_hc08_genAssemblerPreamble): put HOME first, put CSEG
after static in code memory
* src/mcs51/gen.c: added aopLiteralLong prototype,
(aopForSym): use getSize for functions,
(genCall): generate banked calls over one trampoline __sdcc_banked_call
in HOME with lsb of address in r0, msb in r1 and bank in r2, use
-Wl-bBANKSEG=0xbbaaaa option to set the address (aaaa) and bank (bb) of
the segment,
(genPcall): use call for literal function pointers and generate banked
calls over the one trampoline so there's only one place for the user to
modify according to his/hers hardware,
(genEndFunction): jump to __sdcc_banked_ret in HOME for banked functions,
(genPlusIncr): moved check icount>4 beyond inc dptr optimization
* src/mcs51/main.c: added keyword banked,
(_mcs51_genExtraAreas): put HOME first followed by GSINIT, STATIC and CSEG
* support/Util/SDCCerr.c,
* support/Util/SDCCerr.h: added E_BANKED_WITH_CALLEESAVES, registers are
needed for passing the bank and address to the trampoline
* device/lib/mcs51/crtbank.asm: added for bankswitching
* device/lib/mcs51/Makefile: added crtbank
2005-07-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcse.c (algebraicOpts): fixed loss of volatility
for fields at offset 0 of a struct or union as reported
on 2005-07-07 in the developer mailing list.
2005-07-15 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCmem.c: fixed bug 1238386
2005-07-12 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peeph.def: added labelrefcounting for peepholes
(patch #1144962), added peephole 300, enabled 259.x
* doc/sdccman.lyx: removed screenshot and provided link instead
2005-07-05 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: added section about debugging with ddd
* doc/figures/ddd_example.eps: screenshot of debugging session
2005-07-04 Raphael Neider <rneider AT web.de>
* src/pic/gen.c (genPointerGet): handle pointers to CONST values
like CODE pointers, fixes #1115683
* src/pic/pcode.c (DoBankSelect): forget LastRegIdx during function
call, fixes bugs #1232211, #1228110,
fixed wrong casts to pCodeFlow from pCodeInstructions
2005-07-04 Raphael Neider <rneider AT web.de>
* src/pic/gen.c (popGet): changed assert to allow for
bit operands
* (popGetAddr): changed signature to provide
an additional index, patched all call sites
* (genCmpEq): handle literal-like operands correctly
* (genAddrOf): added sanity checks on __code/__data pointers
* (genAssign): added handling of symbols from __code section
* (gencjne): do not generate code for comparisons whose result
is neither stored nor used, fixes bug #1171114
* (AccLsh, AccRsh): operate on operand instead of WREG
* (shift{Left,Right}_Left2ResultLit): NEW, size independant
replacement for Shift{LR}{12}Left2Result; shift (byte/int/long)
by known count
* rewrote complete shift-by-literal logic, commented unused
functions out
* (genConstPointerGet): get multiple bytes (if result size > 1),
fixed handling of non-immediate addresses
* (genPointerGet): handle CODE pointers like CONST pointers
* (genpic14Code): insert C-SRC lines as Cource-pCodes
* ({aop,op}_isLitLike): NEW, single place to decide whether an
operand is to be treated as a literal or not
* (mov2w,genPcall,genCmpEq),
src/pic/genarith.c: use aop_isLitLike() to decide between
literal/register contents
* (addSign): added missing offset
* src/pic/gen.h: remove newline after FENTRY/FEXIT comments,
only emit comment in debug-mode,
use {aop,op}_isLitLike throughout the file
* src/pic/glue.c: fix initializers for pointers (work in progress)
* src/pic/pcode.c (get_op): honor index on _const symbols
* ({reset,dump}pCodeStatistics): NEW, estimate code size
* (dumppBlock): added pCode size estimation
* src/pic/ralloc.c (deassignLRs,serialRegAssign,packRegisters):
check for IS_SYMOP before OP_SYMBOL'ing
* fixed indentation, compacted switch-statements
* (allocReg): find free register and allocate it instead of
allocating new registers all the time
* (deassignLRs): prevent POINTER_GET's from being assigned the same
registers as its operands (necessary only for multibyte GETs)
2005-07-01 Raphael Neider <rneider AT web.de>
* src/pic/gen.h: added prototypes emitpComment, popGetAddr and
debugging .asm-output macros FENTRY + FEXIT
* src/pic/gen.c (Safe_vsnprintf): NEW, is there a more generic
way... I wonder...
* (emitpComment): NEW, printf to pCode
* (popGet): added assert on too large offsets, fixed PO_IMMEDIATE's
offset handling
* (popGetAddr): NEW, variant of popGet to access an immediates
high(er) bytes instead of the n'th byte of memory they reference,
replaced popGet with popGetAddr where neccessary
* (genDataPointerGet): reactivated and fixed implementation
* (genNearPointerGet): enabled call to genDataPointerGet, fixes array-
accesses
* (genDataPointerSet): fixed multibyte assignments
* (genpic14Code): fixed --i-code-in-asm handling
* src/pic/genarith.c: fixed PO_IMMEDIATE issue using popGetAddr,
* (genPlus): fixed index-out-of-bounds error
* src/pic/pcode.c (get_op): fixed PO_IMMEDIATE's index/offset handling
* src/pic/ralloc.c: added debugging output macro FENTRY2
* (spillThis): fixed indentation, enbraced for-body for clarity
* (rematStr): commented out as now unused
* (regTypeNum): commented out special spill case (overwrites
arbitrary values)
* fixes bugs #1229346, #1216476 (both arrays) and #1115667 (SIGSEGV)
2005-06-30 Maarten Brock <sourceforge.brock AT dse.nl>
* doc/sdccman.lyx: documented sfr16/sfr32,
added example for using storage class with function pointers
* src/mcs51/gen.c (genPlusIncr): optimized small offsets from dptr
2005-06-28 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_gptrget.c: also push/pop _PSBANK, added # to 0x03
* device/lib/_itoa.c,
* device/lib/_ltoa.c: optimized codesize
* src/SDCCsymt.c (checkSClass): added sanity check for sfr at addresses,
but don't know how to suppress the double warning.
* src/mcs51/gen.c (genPlusIncr): fixed bug when incrementing volatile int's
* support/Util/SDCCerr.c,
* support/Util/SDCCerr.h: added warning W_SFR_ABSRANGE for sanity check
2005-06-27 Maarten Brock <sourceforge.brock AT dse.nl>
* as/mcs51/asexpr.c (expr): disabled warning "not in .flat24 mode",
fixed old K&R prototypes
* as/mcs51/asout.c (outrb): always output as if generating 24bit addresses
* device/lib/_gptrget.c,
* device/lib/_gptrgetc.c,
* device/lib/_gptrput.c: changed versions for new memory indicator values,
also new versions for small generic pointers and banked generic pointers
* src/port.h: added const_name
* src/SDCC.lex: added keywords sfr16, __sfr16, sfr32, __sfr32
* src/SDCC.y: added tokens SFR16, SFR32 and their sfr_attributes
* src/SDCCcse.c (findPrevIc): check all associative operators
* src/SDCCglue.c (emitMaps): use CONST_NAME if defined
* src/SDCCicode.h: added macro IS_ASSOCIATIVE
* src/SDCCmem.c: updated comments,
set far-space to 0 for pdata, results in optimized code
* src/SDCCmem.h: added macro CONST_NAME
* src/SDCCsymt.h: renumerated generic pointer types GPTYPE_... thereby
moving the info into the highest bits, see also gptrget/gptrput
* src/src.dsp: added sdcc.ico to project files
* src/avr/gen.c (genCast): fixed bug 0x%d
* src/avr/main.c (avr_port): added "CONST (CODE)" for const_name
* src/ds390/gen.c (aopForRemat, adjustArithmeticResult): disconnected direct
relation between ptr_type and DCL_TYPE,
(genCast): fixed bug 0x%d
* src/ds390/main.c (ds390_port, tininative_port, ds400_port): added "CONST
(CODE)" for const_name
* src/hc08/gen.c (genCast): fixed bug 0x%d
* src/hc08/main.c (_hc08_genAssemblerPreamble): added .area ...const_name,
(hc08_port): added "CONST (CODE)" for const_name
* src/mcs51/gen.c (aopForSym): optimized pushing ACC,
(aopForRemat, adjustArithmeticResult): disconnected direct relation
between ptr_type and DCL_TYPE,
(aopGetUsesAcc, aopGet, aopPut): changed first parameter from asmop* to
operand* and took AOP() inside function so sfr-ness can be checked,
(all over): repaired calls to aopGetUsesAcc, aopGet, aopPut to comply with
new prototype,
(genFunction, genEndFunction): optimized stack setup,
(genMinus): optimized for literals with ending zeroes (in bytes),
(genCast): fixed bug 0x%d
* src/mcs51/main.c (_mcs51_keywords): added sfr16 and sfr32,
(mcs51_port): added "CONST (CODE)" for const_name
* src/mcs51/peeph.def: made rule 226 more generic
* src/pic/main.c (pic_port): added "CONST (CODE)" for const_name
* src/pic16/main.c (pic16_port): added "CONST (CODE)" for const_name
* src/xa51/main.c (xa51_port): added "CONST (CODE)" for const_name
* src/z80/main.c (z80_port): added NULL for const_name,
(gbz80_port): added NULL for const_name
* support/regression/tests/bug663539.c,
* support/regression/tests/sfr16.c: new tests
2005-06-25 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* device/include/mcs51/p89v51rd2.h, device/include/mcs51/at89s53.h: added.
2005-06-24 Raphael Neider <rneider AT web.de>
* device/lib/pic16/libdev/pic18f[68][567]20.c:
corrected typos...
* device/include/pic16/signal.h: added USBIF
and SIG_USB
2005-06-24 Raphael Neider <rneider AT web.de>
* device/lib/pic16/libdev/pic18f2455.c,
device/include/pic16/pic18f2455.h: NEW
* device/include/pic16/pic18fregs.h,
device/lib/pic16/pics.all,
src/pic16/device.c: added 18f2455
* device/lib/pic16/libdev/pic18f[68][567]20.c,
device/include/pic16/{pic18f[68][567].h,usart.h}:
replaced MULTIPLE_USARTS define with more relaible
compatibility sfrs (for USART access)
2005-06-20 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic/pcode.c : Fixed problem when a string constant contains a "\r\n"
and the output asm file line is printed on two lines.
2005-06-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sim/ucsim/hc08.src/inst.cc (inst_condbranch): fixed simulation of
BGT, BLE, BHI, and BLS instructions
* src/hc08/gen.c (outAcc, outBitC, outBitNV, genCmpLt, genCmpGt,
genCmpEq): removed
* src/hc08/gen.c (genCmpEQorNE, genCmp, branchopCmp, nameCmp,
negatedCmp, exchangedCmp, genhc08Code): rewrite of comparison handling,
fixes bug #1216342
* src/hc08/peeph.def: added rules 2g - 2l for new conditional branches
2005-06-15 Raphael Neider <rneider AT web.de>
* src/pic16/NOTES: moved Vangelis from active developers to people to contact
* device/include/pic16/{6520.h,8520.h}: fixed configuration bits
* src/pic16/gen.c (): prevent iTemps from being considered to be in CODESPACE,
fixes bug #1221120; for symbols in CODESPACE get number of bytes to read from
OP_SYM_TYPE() instead of OP_SYM_ETYPE()
2005-06-06 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/include/mcs51/reg764.h: Changed PB0 to PBO as requested by
Marcel Telka in bug #1215704
2005-06-02 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic/pcode.c : Changed pseudo stack size to 15 to allow WSAVE to be
located in shared memory bank.
2005-05-31 Raphael Neider <rneider AT web.de>
* src/pic16/{gen.c,genarith.c}: replaced sign-extension
"CLRF, BTFSC <signbit>, DECF/COMF" with side-effect-free
"CLRF, BTFSC <signbit>, SETF"; fixes "long>>9"
2005-05-27 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_strncpy.c: fixed the fix
2005-05-26 Raphael Neider <rneider AT web.de>
* src/pic16/glue.c (pic16_printIvalChar): fixed _constant_ string
initializers with \0, bug #1208187
* src/pic/glue.c (printIvalChar): fixed (non- and constant) string
intializers with \0, bug #1208187
2005-05-26 Raphael Neider <rneider AT web.de>
* src/pic16/glue.c (pic16_printIvalChar): fixed string
initializers with \0, bug #1208187
* src/pic16/main.c (_process_pragma): added sanity checks
for stack position and size, emit warnings when appropriate
2005-05-26 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_strncpy.c: fixed not filling with \0
2005-05-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (funcOfType, funcOfTypeVarg, stringToSymbol,
createFunction),
* src/SDCC.y (external_definition, enumerator, parameter_declaration,
compound_statement),
* src/SDCCsymt.h,
* src/SDCCsymt.c (addSymChain, processFuncArgs): fixed bug #1159134
2005-05-24 Raphael Neider <rneider AT web.de>
* src/pic16/glue.c (pic16_printGPointerType): fixed #1207796
2005-05-24 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic18f{442,452,458}.h: fixed wrong
TRISE definitions, closes bug #1162453
2005-05-22 Raphael Neider <rneider AT web.de>
* src/pic16/main.c (_process_pragma): check for missing
arguments to pragmas code and udata
* device/include/pic16/pic18f{2550,4331,4455,4520}.h:
consistency fixes to match other headers (thanks to Jim Paris)
* device/lib/pic16/libio/i2c.ignore: 18f4331 provides no I2C
2005-05-21 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCicode.c (isOperandEqual): fixed missing ;
2005-05-19 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/bug1198642.c: new test
* src/SDCCicode.c (isOperandEqual): fixed bug 1198642
* src/SDCCcse.c (findPrevIc): added comment, please have a look
* support/scripts/resource.h,
* support/scripts/resource.rc,
* src/src.dsp: added sdcc.ico to project as icon for sdcc.exe
* support/scripts/sdcc.ico: added 32x32 icon
2005-05-18 Raphael Neider <rneider AT web.de>
* device/lib/pic16/libdev/pic18f*.c,
* device/include/pic16/pic18f*.h: updated "sfr" and "at X"
keywords to "__sfr" and "__at (X)"
* device/include/pic16/pic18fregs.h: added pic18f4520
* src/pic16/pcode.c (pic16_pCode2str): fixed (?) bug
#1203088 (MPLAB compatibility)
2005-05-17 Raphael Neider <rneider AT web.de>
* device/include/pic16/pic18f{2550,4331,4455,4520}.h: NEW
* device/lib/pic16/libdev/pic18f{2550,4331,4455,4520}.c: NEW
* device/lib/pic16/pics.all: added new devices
* src/pic16/device.c: added support for pic18f4520
2005-05-16 Raphael Neider <rneider AT web.de>
* src/pic16/gen.{c,h}: s/mov2f/pic16_mov2f made public
* src/pic16/genarith.c (genAddLit): fixed bug 1202480
* src/pic16/pcode.{c,h} (pic16_newpCodeOpBit_simple): NEW
convenience function for bit access
2005-05-15 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/printf_large.c: fixed bug 1193299
* support/regression/tests/bug1057979.c: added test %3.3s
2005-05-15 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/include/mcs51/8051.h,
* device/include/mcs51/8052.h: made parseable with lint
* device/include/mcs51/lint.h: added include file for (sp)lint
* doc/sdccman.lyx: added doc about use of splint (syntax checking tool)
* doc/cdbfileformat.lyx,
* doc/test_suite_spec.lyx: hardcoded date to the date of last text change
2005-05-14 Raphael Neider <rneider AT web.de>
* device/lib/pic16/Makefile.common.in: add --optimize-df to OPT_FLAGS
* device/lib/pic16/libc/stdlib/itoa.c (new)
* device/lib/pic16/libc/stdlib/Makefile: have itoa.c built
* device/lib/pic16/libio/Makefile: exclude subdir according to
${subdir}.ignore for certain PICs (lacking e.g. i2c)
* device/lib/pic16/libio/i2c.ignore (new): pic18f1220 has no I2C support
* src/pic16/gen.c (genFunction): prevent annoying warning
* src/pic16/pcode.c: renamed stack_t to dynstack_t to prevent
nameclashes on BeOS
* support/cpp2/cppmain.c (cpp_output_string): new
* support/cpp2/cpplib.c (_cpp_do__Pragma): fixed _Pragma(""),
fixes bug 1116802
2005-05-13 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c (linkEdit): fixed bug 1195202
2005-05-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* .version: changed to version 2.5.1; back to bleeding edge development
2005-05-11 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx doc/cdbfileformat.lyx doc/test_suite_spec.lyx:
generate PDF version 1.3 documents
2005-05-07 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* .version: changed to version 2.5.0
2005-04-27 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: updated weblinks, index and smaller updates
2005-04-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* doc/sdccman.lyx: changed version 2.5.0, documented --std-c89,
--std-sdcc89, --std-c99, --std-sdcc99, and the corresponding #pragmas, as
well as many smaller updates.
* .version: changed to version 2.5.0-pre1
2005-04-26 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* src/SDCCmain.c (setIncludePath): added port->target to SDCC_INCLUDE_NAME
2005-04-26 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/bug1185672.c: added
* src/mcs51/gen.c (aopGetUsesAcc, genCpl, genAnd, genOr, genXor): fixed
bug 1185672
* src/mcs51/gen.c (genCall): added comments, made it look safer
* src/mcs51/gen.c (genEndFunction): simplified
2005-04-25 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/ralloc.c (serialRegAssign): fixed bug 1189609
2005-04-14 Borut Razem <borut.razem AT siol.net>
* fixed bug 1045046 - SIGSEGV with really simple code?:
src/pic/pcode.c (pCodeInitRegisters)- pseudo stack size increased to 16
src/pic/ralloc.c (typeRegWithIdx) - error message on pseudo stack overflow
2005-04-14 Borut Razem <borut.razem AT siol.net>
* src/pic16/gen.c (genInline), src/pic16/main.c (_process_pragma),
src/pic16/device.h: temporarily disabled experimental #inline pragma
for 2.5.0 release
2005-04-14 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/z80/stdio.h,
* device/include/z80/string.h: removed these highly incomplete files so
SDCC can use the default ones in device/include/
2005-04-14 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c (genEndFunction): removed unused variable to fix
gcc warning.
* device/lib/Makefile.in: default PORTINCDIR to the mcs51 subdir to
fix sdcpp warnings.
2005-04-12 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/malloc.h: removed redundant __reentrant prototypes
* device/lib/_mullong.c: added working xstack variant in asm (C version
doesn't pass regression tests)
* device/lib/bpx.c: used __data and made bpx char for mcs51
* src/SDCCast.c (decorateType): removed unused GPTYPE_IDATA,
(createFunction): fixed bug with xstackPtr
* src/SDCCcse.c: corrected comments
* src/SDCCopt.c (convertToFcall): fixed warning in MSVC,
(killDeadCode, eBBlockFromiCode): removed unused code
* src/SDCCsymt.h: removed unused GPTYPE_GPTR and GPTYPE_IDATA,
corrected comments
* src/mcs51/gen.c (aopForSym, aopPut, toBoolean, unsaveRegisters,
assignResultValue, genCall, genFunction, genEndFunction, genAnd,
genOr, genXor, genAddrOf): fixed several bugs concerning xstack
(genModOneByte): fixed warning in MSVC
* src/mcs51/main.c (): added comments
* src/mcs51/peeph.def: changed 129 to 129.a, added 129.b, 129.c & 129.d
2005-04-12 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCmain.c (linkEdit): oops, changed one line too many
2005-04-11 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCmain.c (linkEdit): fixed bug with finding crt0.o for z80
2005-04-10 Vangelis Rokas <vrokas AT users.sourceforge.net>
* src/pic16/glue.c (printIvalChar): fixed bug when emitting
characters arrays of larger size than the declared one.
2005-04-10 Borut Razem <borut.razem AT siol.net>
* src/pic/gen.c (genInline),
src/pic/pcode.c (newpCodeAsmDir), (pCode2str),
(genericPrint), (unlinkpCodeFromBranch), (compareLabel),
(findNextInstruction), (findPrevInstruction),
(findInstructionUsingLabel),
src/pic/pcode.h: fixed bug #1164907 - Labels not being recognized
* src/pic/pcode.c (findLabel): added missing '\n'
* src/src.dsp: added SDCCdwarf2.c to the project
2005-04-09 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: added include/hc08/* h to NSIS setup
2005-04-08 Raphael Neider <rneider AT web.de>
* src/pic16/pcode.c: added helpers defmapInsertAfter (insert a new item
into the chain after a given one) and mergeDefmapSymbols (combine
defmap entries for each symbol per pcode)
* (createDefmap): have defmap entries merged in the end
* (defmapReplaceSymRef): split defmap entries covering two accesses to
a symbol before replacing one access type's symbol, merge symbols in
the end (replacement symbol might already have an entry)
* (assignValnums): keep reference to written WREG intact
2005-04-08 Raphael Neider <rneider AT web.de>
* src/pic16/pcode.c (struct defmap_s): named anonymous union (for
Alpha)
2005-04-08 Vangelis Rokas <vrokas AT users.sourceforge.net>
* src/pic16/pcode.c (pic16_get_op2): enlarged size of array b to 128
bytes
2005-04-07 Raphael Neider <rneider AT web.de>
* device/include/pic16/usart.h: added compatibility defines for
devices with more than one USART
* device/include/pic16/pic18f[68][567]20.h: activated above defines
2005-04-07 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/Makefile.in: updated for port specific include
2005-04-07 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/ports/mcs51/spec.mk: added mcs51 include
2005-04-07 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/8051.h,
* device/include/8052.h,
* device/include/at89S8252.h,
* device/include/at89c55.h,
* device/include/at89x051.h,
* device/include/at89x51.h,
* device/include/at89x52.h,
* device/include/mcs51reg.h,
* device/include/reg51.h,
* device/include/reg764.h,
* device/include/regc515c.h,
* device/include/sab80515.h: (re)moved these 12 files
* device/include/mcs51/8051.h,
* device/include/mcs51/8052.h,
* device/include/mcs51/at89S8252.h,
* device/include/mcs51/at89c55.h,
* device/include/mcs51/at89x051.h,
* device/include/mcs51/at89x51.h,
* device/include/mcs51/at89x52.h,
* device/include/mcs51/mcs51reg.h,
* device/include/mcs51/reg51.h,
* device/include/mcs51/reg764.h,
* device/include/mcs51/regc515c.h,
* device/include/mcs51/sab80515.h: and added them here
2005-04-06 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/stdarg.h: changed SDCC specific keywords to double
underlined form.
* device/include/stdint.h: changed intptr_t and uintptr_t for others than
mcs51 and ds390.
* device/include/hc08/mc68hc908gp32.h,
* device/include/hc08/mc68hc908jb8.h,
* device/include/hc08/mc68hc908jkjl.h,
* device/include/hc08/mc68hc908qy.h: fixed comments
* device/include/mcs51/README: updated
* device/include/mcs51/c8051f120.h: added PINRSF
* device/lib/pic16/libc/stdlib/crc16.c: fixed comments
* src/pic16/pcode.c: MSVC6 doesn't accept declaring new variables
amidst code. Also inline is not supported.
2005-04-06 Raphael Neider <rneider AT web.de>
* src/pic16/pcode.c (pic16_pCodeReplace): also update pcflow->end
* (createDefmap): fixed CALLs to depend on FSR1 and RETLW to restore
callers stack/frame pointers
2005-04-06 Vangelis Rokas <vrokas AT users.sourceforge.net>
* device/include/pic16/usart.h: added, missing in previous commit,
* device/include/pic16/adc.h: fixed typo,
* device/lib/pic16/libc/utils/cvtdec.S: added missing in previous
commit,
* device/lib/pic16/libc/stdlib/g_ftoa.S: modified to include
<p18fxxx.inc>
* device/lib/pic16/libc/stdio/streams.c: leave stdin, stdout
uninitialized because a bug appears with gplink
* device/lib/pic16/{some makefiles}: moved $(CSTD) from CFLAGS to
COMPILE_FLAGS and added CPPFLAGS with -nostdinc because sdcpp
complains for unrecognised option
2005-04-05 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (pic16_popCopyReg): made copying work for extended
structs as well (using memcpy)
* (genFunction): fixed comparison, used pCodeOpLabel to reduce warning
on ISRs (GOTO has no label)
* src/pic16/device.h: added OF_OPTIMIZE_DF
* src/pic16/main.c: added compiler switch --optimize-df to enable the
new data flow analysis/optimization
* src/pic16/pcode.c: added (prototypes for and implementation of)
dataflow analysis functions, fixed pCodeInstructions' inCond and
outCond values, made RCALL a branch instruction
* (pic16_unlinkpCode): keep C line if possible
* (pic16_pCodeUnlink): removed cast on left side of assignment, have
C line moved if possible
* (pic16_getRegFrompCodeOp): NEW, improved version of...
* (pic16_getRegFromInstruction,pic16_getRegFromInstruction2): changed
to use new pic16_getRegFrompCodeOp (works for more SFRs)
* (pic16_BuildFlow): fixed skip instructions with label (did not start
new flow)
* (pic16_getJumptabpCode): NEW, needed in...
* (LinkFlow): fixed handling of jumptables, calls and conditional
branches
* (pic16_InsertCommentAfter): NEW
* (pic16_pCodeReplace): made verbose and flow preserving
* (AnalyzeFlow): added call to data flow analysis
* src/pic16/pcode.h: added defmaps to pCodeFlow struct
* src/pic16/pcodeflow.h: added PCC_STATUS to mean all STATUS bits
* src/pic16/ralloc.c (packRegsForAssign): added return 1 in the end
2005-04-03 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (decorateType): fixed bug #1105626
2005-04-02 Vangelis Rokas <vrokas AT users.sourceforge.net>
* device/include/asm/pic16/features.h,
* pic18f*.h headers,
* device/include/pic16/adc.h,
* device/include/pic16/delay.h,
* device/include/pic16/i2c.h,
* device/include/pic16/malloc.h,
* device/include/pic16/stdio.h,
* device/include/pic16/stdlib.h,
* device/include/pic16/string.h,
* device/lib/pic16/libc/stdio/printf_tiny.c,
* device/lib/pic16/libc/stdio/printf_small.c,
* device/lib/pic16/libc/stdio/strmgpsim.c,
* device/lib/pic16/libc/stdio/strmmssp.c,
* device/lib/pic16/libc/stdio/strmusart.c,
* device/lib/pic16/libc/stdio/vfprintf.c,
* device/lib/pic16/libc/stdlib/ltoa.c,
* device/lib/pic16/libc/stdlib/putchar.c,
* device/lib/pic16/libc/stdlib/x_ftoa.c,
* device/lib/pic16/libc/stdlib/memchrpgm.c,
* device/lib/pic16/libc/stdlib/memchrram.c,
* device/lib/pic16/libc/stdlib/memcpypgm2ram.c,
* device/lib/pic16/libc/stdlib/memcpyram2ram.c,
* device/lib/pic16/libio/adc/adcbusy.c,
* device/lib/pic16/libio/adc/adcread.c,
* device/lib/pic16/libio/adc/adcsetch.c,
* device/lib/pic16/libio/usart/ubaud.c,
* device/lib/pic16/libio/usart/ubusy.c,
* device/lib/pic16/libio/usart/udrdy.c,
* device/lib/pic16/libio/usart/uopen.c,
* device/lib/pic16/libio/usart/uputc.c,
* device/lib/pic16/libsdcc/gptr/gptrget1.c,
* device/lib/pic16/libsdcc/gptr/gptrget2.c,
* device/lib/pic16/libsdcc/gptr/gptrget3.c,
* device/lib/pic16/libsdcc/gptr/gptrget4.c,
* device/lib/pic16/libsdcc/gptr/gptrput1.c,
* device/lib/pic16/libsdcc/gptr/gptrput2.c,
* device/lib/pic16/libsdcc/gptr/gptrput3.c,
* device/lib/pic16/libsdcc/gptr/gptrput4.c: modified all SDCC
specific keywords to double underlined form,
* device/lib/pic16/libc/Makefile.rules,
* device/lib/pic16/libsdcc/Makefile.rules,
* device/lib/pic16/libm/Makefile,
* device/lib/pic16/libio/Makefile.rules: added CSTD macro in CFLAGS
to compile with C standard set in Makefile.common
* device/lib/pic16/libc/stdlib/Makefile: added new C sources
rand.c and crc.c in compilation process,
* device/lib/pic16/libsdcc/int/divuint.c,
* device/lib/pic16/libsdcc/long/divulong.c: changed declaration of
`c' from signed to unsigned,
* device/lib/pic16/startup/crt0.c,
* device/lib/pic16/startup/crt0i.c,
* device/lib/pic16/startup/crt0iz.c: adopted to all SDCC specific
keywords to double underlined form, bug fixes in _do_cinit function
which prevented the correct initialization of the .idata segment,
* src/pic16/pcoderegs.c (insideLRBlock): fixed a bug that caused the
core to enter a infinite loop
* device/lib/pic16/libc/stdlib/rand.c, crc.c: new files
2005-04-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c (getArraySizePtr): fixed bug #1122171
2005-04-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* device/include/Makefile.in: add support for hc08 subdirectory
* device/include/hc08/: new subdirectory
* device/include/hc08/mc68hc908jkjl.h: new header contributed by
Lucas Loizaga, thanks!
* device/include/hc08/mc68hc908qy.h,
* device/include/hc08/mc68hc908gp32.h,
* device/include/hc08/mc68hc908jb8.h: moved hc08 register defs to
their own directory. Changed internal macro names to use the compiler
reserved namespace. Changed SDCC specific keywords to double
underlined form.
* device/include/math.h,
* device/include/malloc.h,
* device/include/stdarg.h,
* device/include/stdbool.h
* device/include/string.h,
* device/include/tinibios.h,
* device/include/ds400rom.h,
* device/include/8051.h,
* device/include/8052.h,
* device/include/80c51xa.h,
* device/include/at89c55.h,
* device/include/at89S8252.h,
* device/include/at89x51.h,
* device/include/at89x52.h,
* device/include/ds80c390.h,
* device/include/reg764.h,
* device/include/regc515c.h,
* device/include/sab80515.h,
* device/include/mcs51/c8051f000.h,
* device/include/mcs51/c8051f018.h,
* device/include/mcs51/c8051f020.h,
* device/include/mcs51/c8051f040.h,
* device/include/mcs51/c8051f060.h,
* device/include/mcs51/c8051f120.h,
* device/include/mcs51/c8051f300.h,
* device/include/mcs51/c8051f310.h,
* device/include/mcs51/c8051f320.h,
* device/include/mcs51/c8051f330.h,
* device/include/mcs51/c8051f350.h,
* device/include/z180.h: Changed SDCC specific keywords to double
underlined form.
2005-03-31 Vangelis Rokas <vrokas AT users.sourceforge.net>
* src/pic16/device.c (Pics16[]): added devices 18F2550, 18F4331,
18F4455,
* (pic16_assignConfigWordValue): disable testing of configuration
register value with config mask,
* src/pic16/gen.c (pic16_testStackOverflow): prefix stack test
function with port->fun_prefix,
* (genFunction): when generating a naked interrupt function never
create an absolute segment placed in interrupt vector address, place
the actual interrupt function at IVA instead, when an interrupt
function is generated with unspecified interrupt then do not create
the absolute section,
* (genGenPointerGet, genGenPointerSet, genPackBits): replace all
code for generating a call to generic pointer get/put function with
a call to function pic16_callGenericPointer(),
* src/pic16/genutils.c (pic16_callGenericPointerRW): NEW, generates
the call to the generic pointer get/put functions with prefixing the
function name with port->fun_prefix,
* src/pic16/glue.c (pic16glue): ifdef-out test of OF_LR_SUPPORT,
* src/pic16/main.c (_process_pragma): prefix function with
port->fun_prefix,
* (_pic16_finaliseOptions): define macro __18Fxxxx macro when
calling assembler, old 18Fxxxx macro is deprecated,
* src/pic16/pcode.c (unlinkpCodeFromBranch): added PC_INLINE and
PC_ASMDIR in while condition,
* (findInstruction): add PC_ASMDIR in while condition,
* (buildCallTree): prefix main with port->fun_prefix,
* (pic16_pCode2str): fixed bug that didn't emit the memory access
identifier for variable with banked access in instructions BTFSS,
BTFSC, BCF, BSF, BTG
* (AnalyzeFlow): moved call to OptimizepCode to pic16_AnalyzeBanking,
* src/pic16/pcodepeep.c (pCodeOpCompare): increase size of b to 1024,
* src/pic16/pcoderegs.c (pic16_pCodeRegoptimizeRegUsage): don't
perform optimization when enviroment variable NO_REG_OPT is set,
* (insideLRBlock): NEW, return 1 if register is inside an
INF_LOCALREGS block,
* (RemoveRegFromLRBlock): remove a register that is completely
eliminated by register optimization, but it is still left in local
register store/restore in/from stack block,
* (Remove2pcodes): after removing register, check to see if it
should be removed from local register store/restore in/from stack
block,
* src/pic16/ralloc.c (pic16_decodeOp): added decode for
DUMMY_READ_VOLATILE,
* device/include/pic16/adc.h: minor prototype modifications and
update,
* device/include/pic16/malloc.h: added GPL notice various
modifications,
* device/include/pic16/stdint.h: NEW, standard header for ints
* device/include/pic16/delay.h: NEW, header for delay functions,
delay10tcy, delay100tcy, delay1ktcy, delay10ktcy, delay100ktcy,
delay1mtcy,
* device/include/pic16/signal.h: NEW, header providing helper macros
for implementing signal handlers,
* device/include/pic16/stdio.h: added prototypes for functions,
printf, vprintf, sprintf, vsprintf, fprintf, vfprintf. Added
prototypes for stdin and stdout, added macro PUTCHAR to
automatically implement putchar function prototype,
* device/include/pic16/usart.h: modified and updated USART library,
* device/lib/pic16/libio/adc/,
* device/lib/pic16/libio/i2c: some modifications to improve library
performance,
* device/lib/pic16/libc/stdio/: modifications for the new printf*
family of functions,
* device/lib/pic16/libc/stdlib/: various modifications in the malloc
family of functions and other sources,
* device/lib/pic16/libio/usart/: NEW, c sources for the usart module
of the PIC18Fxx[28] devices,
* device/lib/pic16/libc/delay/: NEW, c sources for the delay functions,
* device/lib/pic16/libc/utils/: minor modifications in the .S sources,
* device/lib/pic16/startup/{crt0i.c, crt0iz.c}: redesign of the
_do_cinit function, because the previous failed when local variables
where not placed in the same memory bank,
* device/lib/pic16/libsdcc/char/: various modifications to improve
library performance,
* doc/sdccman.lyx: some reorganization of the PIC16 part, added many
information on the new functions of the c library and more...
2005-03-28 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCBBlock.c (iCodeBreakDown): fixed bug #1170212
2005-03-26 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (genSkipc): fixed semantics (execute branch
if condition == CARRY)
* (genCmp): adapted to new genSkipc semantics
* src/pic16/genutils.c (pic6_genCmp_special): removed side effect
on rIfx (genCmp was broken)
2005-03-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCmain.c (setDefaultOptions, optionsTable[], parseCmdLine),
* src/z80/main.c (_keywords[]),
* src/SDCCglobal.h (struct options),
* src/SDCC.y,
* src/SDCC.lex (isTargetKeyword, doPragma, pragma_tbl[]): new pragmas
to enable/disable SDCC and C99 extensions/keywords (std_c89, std_sdcc89,
std_c99, std_sdcc99). Also, equivalent command line options (--std-c89,
--std-sdcc89, --std-c99, --std-sdcc99). SDCC specific keywords are
always available in leading double underscore form. The C99 support is
mostly missing, but it's a start.
* support/regression/tests/bug-227710.c: fixed nonconforming use of
reserved identifier "__data".
2005-03-24 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/peeph.def: fixed bug 1170013
2005-03-22 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51reg.h: fixed bug 842007
2005-03-21 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcflow.c (dfNumCompare): committed the wrong version of this
last time.
2005-03-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/port.h (struct PORT),
* src/avr/ralloc.c (avr_assignRegisters),
* src/avr/main.c,
* src/ds390/ralloc.c (ds390_assignRegisters),
* src/ds390/main.c,
* src/hc08/ralloc.c (hc08_assignRegisters),
* src/hc08/main.c,
* src/mcs51/ralloc.c (mcs51_assignRegisters),
* src/mcs51/main.c,
* src/pic/ralloc.c (pic14_assignRegisters),
* src/pic/main.c,
* src/pic16/ralloc.c (pic16_assignRegisters),
* src/pic16/main.c,
* src/xa51/ralloc.c (xa51_assignRegisters),
* src/xa51/main.c,
* src/z80/ralloc.c (z80_assignRegisters),
* src/z80/ralloc.h,
* src/SDCCopt.c (eBBlockFromiCode, replaceRegEqv, killDeadCode),
* src/SDCCcse.c (ifxOptimize, cseBBlock, cseAllBlocks),
* src/SDCCcse.h,
* src/SDCCdflow.c (computeDataFlow),
* src/SDCCdflow.h,
* src/SDCCloop.c (addDefInExprs, loopInvariants, loopOptimizations),
* src/SDCCloop.h,
* src/SDCCcflow.c (*),
* src/SDCCcflow.h,
* src/SDCCBBlock.c (iCodeBreakDown, dumpEbbsToFileExt, eBBWithEntryLabel),
* src/SDCCBBlock.h (struct ebbIndex): new struct that keeps two copies
of the eBBlock list, sorted by both bbnum and dfnum. (fixes bug with
immedDom() returning wrong block; probably fixes bug #1160833)
2005-03-20 Borut Razem <borut.razem AT siol.net>
* support/scripts/inc2h.pl: WIN32 port
2005-03-19 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/makefile.in: added abs.c and labs.c
2005-03-17 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/stdint.h: added
* device/lib/abs.c: added
* device/lib/labs.c: added
* device/include/stdlib.h: added abs() and labs() prototypes
* device/lib/libsdcc.lib: added abs and labs
* device/include/float.h,
* device/lib/_fsmul.c,
* device/lib/printf_fast.c,
* device/lib/printf_tiny.c: updated comments
2005-03-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c (geniCodeSwitch, geniCodeJumpTable): fixed
bug #1164313
2005-03-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcse.c (cseBBlock): retain assignment to self when volatile
* src/SDCCast.c (isLoopCountable): fixed bug #1161985
2005-03-15 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/printf_large.c: removed inline assembly for portability and
readability. Use printf_fast if speed or size are more important.
* src/pic16/gen.c: removed conditions around use of DEBUGpc
* src/pic16/genutils.h: added define for DEBUGpc for MSVC
2005-03-15 Vangelis Rokas <vrokas AT users.sourceforge.net>
* src/pic16/genutils.c (pic16_genCmp_special): initialized offs to
prevent compiler warning
2005-03-14 Vangelis Rokas <vrokas AT users.sourceforge.net>
* device/lib/pic16/startup/crt0i.c (_cinit): local variables where
moved to level 0 and declared as static. Also they are explicit
placed in access bank. This was necessery because some times they
might cross memory bank boundaries. crt0iz.c is *NOT* updated!!!
* src/pic16/device.h: added flag OPTIMIZE_CMP to enable some compare
optimizations. Currently only compare to unsigned char is implemented,
* src/pic16/gen.c: added fReturnIdx array,
* (struct resolvedIfx) is moved to gen.h and made public,
* (struct _G): added sregsAlloc and sregsAllocSet fields,
* (aopForSym): added an optimization to directly store in stack of
the operand of a SEND iCode,
* (pic16_aopOp): don't return return registers as strings (AOP_STR)
but as registers instead (AOP_REG) using the fReturnIdx array,
* (pic16_freeAsmop): remove the freed register from the
_G.sregsAlloc field,
* (pic16_aopGet): in case AOP_STR, the compare to 'a' is changed to
a compare of 'WREG',
* (pic16_popGetTempRegCond): changed function prototype, now
function takes also a bitVector argument v which holds the current
set of registers that are allocated for stack access by aopForSym,
registers allocated in aopForSym for accessing stack symbols are not
any more part of the functions usedRegs field,
* (genCall): some times aopOp is called for a stack variable to be
send, aopForSym might perform the push, if this is true make sure
that genCall doesn't push the variable twice by testing _G.resDirect,
* (genFunction): changed testing for unspecified interrupt number
from 256 to INTNO_UNSPEC,
* modified selection scheme of frame pointer generation. Previously
if function did use local registers a frame pointer was generated,
now a frame pointer is generated only if function has arguments
(that need PLUSW2 register access), or has stack arguments, or the
compiler is not instructed to omit the frame pointer,
* (genEndFunction): before restoring local registers that were saved
in the function preamble, also restore the registers that *might*
have been allocated for stack access,
* (genRet): removed some old comments,
* (genCmp, the active (RN's) version): added a call to the
pic16_genCmp_special function to perform the compare with a more
robust and optimized way,
* (genInline): a feature has been added in inline code generation,
which allows a wildcard variable substitution when writing inline
assembly. Code is incomplete and experimental therefore undocumented,
* (genCast): changed order of aopOp for result and right to allow
aopForSym to directly load the result if possible,
* src/pic16/genutils.c (selectCompareOp, pic16_genCmp_special): NEW,
perform an optimized compare on some selected special occasions,
* src/pic16/genutils.h: declaration of resolvedIfx structure from gen.c,
* src/pic16/glue.c (pic16createInterrupVect): make sure we never
generate an IVT any more,
* src/pic16/main.c (pic16_optionsTable): added command line option
--optimize-cmp,
* (_pic16_initPaths): when calling C preprocessor define pic18fXXXX
macro too, when calling assembler define pic18fXXXX *and* __18Fxxxx
macros,
* src/pic16/NOTES: Raphael Neider added in list of active developers
* src/pic16/pcode.c (OPT_TYPE_STR): added strings jumptable_begin and
jumptable_end to prevent bug #,
* (pic16_pciADDWFC, ADDFWC, COMF, CLRF): added some missing flags in
inCond and outCond fields,
* src/pic16/pcoderegs.c (pCodeOptime2pCodes): add a fix for bug #,
* src/pic16/ralloc.c (serialRegAssign): explicit set willCS to 0 to
turn off register spilling,
* (packRegsForOneUse): synced with other ports' versions although it
is not used currently,
* (pic16_packRegisters): added an optimization while reading
structure bitfields, some registers may be saved (malloc code is
decreased by 80 bytes)
2005-03-12 Vangelis Rokas <vrokas AT users.sourceforge.net>
* src/SDCCcse.c (cseBBlock): inside 'do operand lookup' loop test if
left is a bitfield, if yes, then don't optimize assignment. Perhaps
this can be optimized more?
2005-03-10 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (pic16_loadFSR0, genPackBits, genUnpackBits,
genNearPointerGet): (hopefully) fixed access to bitfields via
pointers (p->bitN = x; and x = p->bitN; failed)
2005-03-09 Paul Stoffregen <paul AT pjrc.com>
* device/lib/printf_fast.c: fix leading zero format, eg "%02d"
2005-03-09 Raphael Neider <rneider AT web.de>
* src/SDCCopt.c (killDeadCode): fixed bug #1156016
2005-03-06 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCicode.h: moved CRITICAL and ENDCRITICAL from SKIP_IC2 to SKIP_IC
* src/mcs51/ralloc.c (willCauseSpill): added check for REG_BIT type,
(regTypeNum): set REG_BIT type if necessary
* src/mcs51/ralloc.h: added define REG_BIT, used to fix bug 1144613
* support/regression/tests/critical.c: check bug 1144613
2005-03-02 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (genRightShiftLiteral): fixed bug #1154256
2005-02-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/avr/ralloc.c (serialRegAssign),
* src/ds390/ralloc.c (serialRegAssign),
* src/hc08/ralloc.c (serialRegAssign),
* src/mcs51/ralloc.c (serialRegAssign),
* src/pic/ralloc.c (serialRegAssign),
* src/pic16/ralloc.c (serialRegAssign),
* src/xa51/ralloc.c (serialRegAssign),
* src/z80/ralloc.c (serialRegAssign): fixed bug #1105154
2005-02-22 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (decorateType): fixed bug 1124787
2005-02-20 Hubert Sack <sack AT digiplan.de>
committed by Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peeph.def: added peepholes 3.h-k and 132.a-f from
patch #1121755
2005-02-20 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/SDCCpeeph.def: new keyword "labelRefCountChange" which allows peepholes
to keep the correct label reference count when adding/removing references
to labels. A peephole file using this is appended to patch #1144962.
2005-02-14 Raphael Neider <rneider AT web.de>
* device/lib/pic16/libc/string/memccpy.c: changed 3rd argument to char
* src/SDCC.lex (process_pragma): fixed to make disable_warning work for PIC16
* src/pic16/gen.c (aopForSym, calls to pic16_aopOp): prevent unneccessary
retrievals of result operand's value on assignment
2005-02-13 Vangelis Rokas <vrokas AT otenet.gr>
* device/include/pic16/string.h: modified prototype for memccpy()
to memccpy(void *, void *, char, size_t)
* src/pic16/gen.c (genFunction, genEndFunction): reenable if-case to
check whether to omit frame pointer or not,
* (genInline): convert all occurences of "\n" to LF in inline
assembler blocks, this helps formatting the inline text,
* (pic16_loadFSR0): modified prototype,
* (genNearPointerGet, genNearPointerSet): reorganization of code,
removed some 8051 legacy code,
* (genPackBits): enabled handling bitfields exceeding one byte in size,
* src/pic16/ralloc.c (pic16_assignRegisters): clear dynrIdx variable
before allocating temporary registers in functions,
2005-02-11 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/bitvars.c: corrected the "fix"
2005-02-10 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/bitvars.c,
* support/regression/tests/bitwise.c,
* support/regression/tests/rotate.c: "fixed" problems on Alpha
2005-02-10 Raphael Neider <rneider AT web.de>
* src/pic16/pcode.c (assignToSameBank) : fixed cast to pointer of
different size for Alpha
* src/pic16/gen.c (genCmpEq) : improved compare with 0
2005-02-09 Raphael Neider <rneider AT web.de>
* src/SDCC.lex(doPragma) : save and restore warning options as well
(also added new stack plus clone- and copyAndFreeSDCCERRG())
* have #pragma less_pedantic set the errorlevel to WARNING
(fixes #1117001)
* (cloneOptimize) : fixed wrong malloc's size
* support/Util/SDCCerr.[ch] : made SDCCERRG globally accessible to
facilitate correct handling of #pragma (save|restore)
2005-02-09 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c: removed non-standard C nameless struct/union
2005-02-04 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic/gen.c : Fix for bugs #1080519 & #1115662.
2005-02-03 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/c8051f120.h: added declarations for sbit port 2,3&4
2005-02-02 Raphael Neider <rneider AT web.de>
* src/SDCCast.c (processParms): disabled W_NONRENT_ARGS for pic16 port
* src/pic16/gen.c (aopForSym): reenabled special case for function pointers
* (pic16_storeForReturn): fixed to allow returning function pointers
* (genPackBits): improved accessing full bytes, implemented for GPOINTERs
* device/include/pic16/{stddef.h,stdbool.h}: added
2005-02-02 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51/c8051f040.h: added define CPT2_PAGE
2005-02-01 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic16/pic16.dsp : Added file graph.c to make it compile under windows
* src/pic16/Makefile.bcc : Do not use this file but added file graph.c as it
appeared to be required
2005-01-31 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: added include/asm/ds390, include/asm/mcs51,
include/mcs51 and include/z80 directories to the package
2005-01-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (genFunction): fixed bug #1112752
2005-01-30 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peeph.def: adapted peephole 258.x to changed gen.c (genAnd)
2005-01-29 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/gen.c (genAnd): accessing LSB/MSB by rotating acc
2005-01-29 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/Makefile.in: create/copy mcs51 and z80 include subdirs
2005-01-27 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/c8051fxxx.h: removed these 6 files
* device/include/mcs51/c8051fxxx.h: added these 11 new files
2005-01-26 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (genAssign): fixed assignment from longs
in codespace (were cut to three bytes)
* (genDummyRead): implemented (except for CODESPACE...),
fixed bug #1108575
* src/pic16/glue.c (emitStatistics): beautified
* device/lib/pic16/libm/Makefile: added include path
2005-01-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/gen.c (aopPut): fixed bug #1103902
2005-01-25 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* device/lib/expf.c: fixed bug #1095792
2005-01-24 Vangelis Rokas <vrokas AT otenet.gr>
* device/lib/pic16/libm: added Math library sources
2005-01-24 Raphael Neider <rneider AT web.de>
* src/pic16/pcode.h: added second memory operand to pCodeOpReg
to enable upcast to pCodeOpReg2 (there is no type tag to
differenciate the two and pic16_popGet2p cast into PCOR2)
* src/pic16/main.c (_process_pragma): fixed another malloc bug
(sizeof(sectNames) changed to sizeof(sectName))
Both patches fix segfaults under MinGW.
2005-01-23 Raphael Neider <rneider AT web.de>
* src/pic16/{device.c,pcode.c}: s/free/Safe_free/g for
Safe_[mc]?alloc()'ed variables
* src/pic16/gen.c (pic16_aopOp,pic16_popGet): added handling
of (byte sized) temporaries (assign them to WREG for now)
* src/pic16/main.c (_process_pragma): fixed nasty malloc bug
(used sizeof(set *sectSyms) instead of sizeof(struct sectSym)),
this might fix SIGSEGVs on MinGW...
* src/SDCCopt.c (killDeadCode): restored original behaviour
(volatile operands might get thrown away though)
2005-01-23 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/gen.c: fixed bug #1106975,
* src/pic16/gen.c: fixed possible bug #1102572, now during TOS
pointer update, INTCON is saved, global interrupts are disabled and
restored after updateing TOS.
* src/SDCC.y, src/SDCC.lex, src/SDCCsymt.c, src/SDCCsymt.h:
* added function attribute 'shadowregs' to take advantage of shadow
registers,
* added function attribute 'wparam' as an alternative to the wparam
pragma,
* support/Utils/SDCCerr.[ch]: added error E_SHADOWREGS_NO_ISR when
user declares a non-ISR function as 'shadowregs',
* doc/sdccman.lyx: updated to reflect recent changes of pic16 port
2005-01-22 Vangelis Rokas <vrokas AT otenet.gr>
* .version: bumped version number to 2.4.8
* device/lib/pic16/pics.all: list of PIC18F devices supported by
pic16 port,
* device/lib/pic16/libio/i2c/: I2C module support library,
* device/include/pic16/i2c.h: I2C support library header,
* device/lib/pic16/libc/stdio/: standard IO support sources,
* (printf_small.c): printf_small() source, supports float print,
* (printf_tiny.c): printf_tiny() source, does not support floats,
* device/lib/pic16/Makefile.common.in: added OPT_FLAGS macro to
enable global optimizations for entire library source, other
Makefiles in the source tree are also modified to reflect this,
* device/lib/pic16/libc/stdlib/putchar.c (putchar): dummy putchar()
function,
* doc/sdccman.lyx: updated to reflect new changes,
* src/pic16/gen.c (aopForSym): don't handle sym->iaccess in
sym->onStack if-case,
* src/pic16/main.c (_pic16_keywords): commented out keywords bit,
sbit, idata, _idata, xdata, _xdata,
* added pragma library, to link an external library, (see doc),
* removed command line options, --pomit-config-words, --pomit-ivt,
--pleave-reset-vector,
* (pic16_finaliseOptions): when define macro SDCC_MODEL_{SMALL/LARGE}
when calling assembler to reflect memory model used, also define
macro STACK_MODEL_{SMALL/LARGE} when compiling and assembling to
reflect stack model used,
* src/pic16/ralloc.c (pic16_allocDirReg): when operand is allocated
on stack return NULL,
2005-01-22 Daniel Winkler <post AT danielwinkler.de>
* src/SDCCopt.c (killDeadCode): do not throw iCodes away if one
of the operands is volatile. Fixes #1020220
2005-01-22 Daniel Winkler <post AT danielwinkler.de>
* src/pic16/pcoderegs.c (pCodeOptime2pCodes): reenabled optimization
* (OptimizeRegUsage): make sure that there is really no other flow where
the first pCode is used
2005-01-22 Raphael Neider <rneider AT web.de>
* src/pic16/pcoderegs.c (pCodeOptime2pCodes): disabled optimization
to fix #1106967 (pCode->seq are not set up correctly)
2005-01-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCglue.c (glue): make sure code area is declared before the
static initialization area.
2005-01-21 Raphael Neider <rneider AT web.de>
* device/lib/Makefile.in: fixed test for pic16 install dir
* device/lib/pic16/*/Makefile*: modified compile flags to enable
optimizations
* doc/sdccman.lyx: updated banksel optimization, removed --flr-support and
added --optimize-goto compiler switch and pragma wparam documentation
* src/pic16/pcode.c (pic16_OptimizeBanksel): removed statistics dump
* src/pic16/pcodepeep.c (pic16_pCodeOpCopy): fixed copying of WREG, PRODL
and PRODH closing bug #1071770 (peephole optimizer)
2005-01-19 Raphael Neider <rneider AT web.de>
* src/SDCCglobl.h: ensure that PATH_MAX >= 2048 to guarantee
cmdLine buffers (used when calling sdcpp...) are large enough
(MAX_PATH=256 truncates arguments leading to system halts when
used in MinGW...)
* src/pic16/gen.c (pic16_sameRegs): relaxed size criterion
* (genUminus): rewritten to for efficiency
* (genNearPointer[GS]et): enforce reloading of FSR0 (was still
used uninitialized in some cases)
* (genCast): upcasting a 16bit int to a 24bit GPOINTER may not
copy the third byte from the int -- now assumes 0x80 (data memory)
* src/pic16/genarith.c (pic16_genPlus): fixed bug when swapping
operands (genAddLit expects the iCode's operands to swapped as
well), fixed leftover bytes (crashed for short left operands)
* (pic16_genMinusDec): performance improvements, removed false
PIC14 emitSKPNCs
* (pic16_genMinus): fixed to cope with differently sized operands
* src/pic16/glue.c (pic16_glue): added new banksel optimization
for --obanksel > 1
* src/pic16/pcode.c: implemented (first phase of) banksel optimization
* src/pic16/graph.[ch]: implementation of directed graphs, used by
new banksel optimization
* src/pic16/pcoderegs.c (pCodeRegMapLiveRangesInFlow): prevented
analysis for temporary registers (segfaults...)
* src/pic16/peeph.def: added rule
2005-01-18 Vangelis Rokas <vrokas AT otenet.gr>
* device/lib/pic16/libc/stdlib/x_ftoa.c: it defines x_ftoa function
which converts a float number to its ASCII representation
* device/lib/pic16/libc/utils/cnvfrac.S,cnvint.S: support
functions to convert the fractional and integer part of a float to ASCII,
* device/lib/pic16/libc/stdlib/(calloc.c,free.c, malloc.c,
realloc.c): added _MALLOC_SPEC to explicit place variables in data
ram
* device/include/asm/pic16/features.h: added _CODE, _DATA, _AUTOMEM,
_STATMEM macros,
* device/include/pic16/adc.h: added GPL info,
* src/pic16/gen.c (genIfxpCOpJump): perform an genIfxJump but using
a pCodeOp as tested operand,
* (genNearPointerGet): optimized bit testing, does not use
intermediate register for bit value, test directly instead with
BTFSS, BTFSC, works only for single bits,
* (genpic16Code): dump the name of the iCode in the asm,
* src/pic16/ralloc.c (decodeOp): removed static declaration and
renamed to pic16_decodeOp,
* (serialRegAssign): do not allocate a temporary register for iCode
sequences that test a single bit for 1/0
2005-01-12 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/pcode.[ch]: introduced pic16_stackpnt_*,
pic16_framepnt_*, pic16_stack_*, pic1_frame_* pointer variables to
access stack and frame pointers. They are initially assigned to
point at pic16_pc_fsr1[lh] and pic16_pc_fsr2[lh] variables and other
accessing SFRs. Updated all occurences of modification of stack or
frame pointer in gen.c and pcode.c,
* src/pic16/ralloc.c (serialRegAssign): fixed two bugs with
assigning of a literal value to pointers,
* src/pic16/main.c (pic16_finiliseOptions): set pre-processor define
flag STACK_MODEL_SMALL or STACK_MODEL_LARGE according to the model
selected
2005-01-11 Vangelis Rokas <vrokas AT otenet.gr>
* doc/sdccman.lyx: update documentation about stack pragma, added
some info for stack memory models
2005-01-08 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* src/pic16/gen.c (DEBUGpc): MSVC 6 does not support macro variable arguments
2005-01-08 Raphael Neider <rneider AT web.de>
* src/pic16/device.c (pic16_dump_usection): changed naming scheme for
udata sections to fix bug #1097823
2005-01-05 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (genGenericShift): added handling of differently
sized left operand and result
2005-01-04 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (genIfxJump): fixed inverted skips on CARRY
* (genIfx): fixed (?) read from uninitialized SPIL_LOC (now assumes CARRY
to hold the condition bit)
* added new version of genCmp (old code available via #define)
* added new version of genShiftLeft/genShiftRight in a generic
way, now supports shifting by negative values
* (genLeftShiftLiteral, genRightShiftLiteral): use absolute value of
shiftCount (expected by genGenericShift)
* src/pic16/genarith.c (genPlus): added code for adding CARRY+literal
* src/pic16/pcode.c (pic16_OptimizeJumps): removed annoying statistics
dump
* (pic16_newpCodeOpLit): changed to cast to unsigned char (as e.g. -32766
is an invalid literal too...)
2005-01-04 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/gen.c (aopForSym, genEndFunction): applied some fixes
from Raphael Neider,
* src/pic16/pcode.c (pic16_newpCodeOpLit): removed casting to char
for 8-bit literals. This fixes some literal operands which are sign
extended to 16-bits ints when instruction needs only 8-bits.
2004-12-31 Paul Stoffregen <paul AT pjrc.com>
* device/lib/logf.c: added mcs51 assembly version
* device/lib/expf.c: added mcs51 assembly version
* device/lib/_logexpf.c: new shared asm code for expf and logf
* device/include/math.h: add defines for assembly math library
* device/lib/Makefile.in: build new _logexpf.c
* device/lib/libfloat.lib: use new _logexpf.c
2004-12-29 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic/device.c
* src/pic/pcode.c : adjusted internal stack and pre-allocated registers for
device types which have less than 0x7f registers.
2004-12-29 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic/genarith.c : Fixed problem with subtraction where the result would not be updated when borrowing.
2004-12-28 Paul Stoffregen <paul AT pjrc.com>
* device/lib/printf_fast.c: only build on supported arch.
* device/lib/printf_tiny.c: only build on supported arch.
* device/lib/printf_fast_f.c: only build if asm float lib
* device/lib/_fsget1arg.c: only build if asm float lib
* device/lib/_fsget2args.c: only build if asm float lib
* device/lib/_fsnormalize.c: only build if asm float lib
* device/lib/_fsreturnval.c: only build if asm float lib
* device/lib/_fsrshift.c: only build if asm float lib
* device/lib/_fsswapargs.c: only build if asm float lib
* device/include/stdio.h: don't provide print_fast,
print_fast_f, print_tiny prototypes if --xstack used
2004-12-28 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/sincosf.c (sincosf): don't invert bit/bool by ~
* support/regression/ports/mcs51-stack-auto/spec.mk: added new _fs.. files
to the SOURCES
2004-12-28 Paul Stoffregen <paul AT pjrc.com>
* device/lib/printf_fast_f.c: same as printf_fast, but
with floating point enabled
* device/lib/printf_fast.c: minor tweaks
* device/include/stdio.h: add printf_fast_f
2004-12-27 Paul Stoffregen <paul AT pjrc.com>
* src/SDCCmain.c: make --float-reent default for mcs51
* device/lib/_fsadd.c: added mcs51 assembly version
* device/lib/_fssub.c: added mcs51 assembly version
* device/lib/_fsmul.c: added mcs51 assembly version
* device/lib/_fsdiv.c: added mcs51 assembly version
* device/lib/_fseq.c: added mcs51 assembly version
* device/lib/_fsneq.c: added mcs51 assembly version
* device/lib/_fsgt.c: added mcs51 assembly version
* device/lib/_fslt.c: added mcs51 assembly version
* device/lib/_fscmp.c: shared code for fseq,fsgt,fslt,fsneq
* device/lib/Makefile.in: add _fscmp to build
* device/lib/libfloat.lib: add _fscmp to build
2004-12-27 Paul Stoffregen <paul AT pjrc.com>
* device/lib/_fs2slong.c: added mcs51 assembly version
* device/lib/_fs2sint.c: added mcs51 assembly version
* device/lib/_fs2schar.c: added mcs51 assembly version
* device/lib/_fs2ulong.c: added mcs51 assembly version
* device/lib/_fs2uint.c: added mcs51 assembly version
* device/lib/_fs2uchar.c: added mcs51 assembly version
* device/lib/_slong2fs.c: added mcs51 assembly version
* device/lib/_sint2fs.c: added mcs51 assembly version
* device/lib/_schar2fs.c: added mcs51 assembly version
* device/lib/_ulong2fs.c: added mcs51 assembly version
* device/lib/_uint2fs.c: added mcs51 assembly version
* device/lib/_uchar2fs.c: added mcs51 assembly version
* device/include/float.h: added #define to select asm vs c
2004-12-26 Paul Stoffregen <paul AT pjrc.com>
* device/lib/printf_fast.c: improvements to float output
* device/include/float.h: add defines for assembly float library
* device/lib/_fsget1arg.c: receive 1 float arg
* device/lib/_fsget2args.c: receive 2 float args (reentrant)
* device/lib/_fsnormalize.c: normalize a float
* device/lib/_fsreturnval.c: return float, various helper routines
* device/lib/_fsrshift.c: right shift a float's mantissa
* device/lib/_fsswapargs.c: swap 2 floats
* device/lib/Makefile.in: build these 6 new files for mcs51
* device/lib/libfloat.lib: add these 6 files to the library
2004-12-26 Borut Razem <borut.razem AT siol.net>
* sim/ucsim/avr.src/arith_inst.cc: fixed bug #1088372- savr is not
built by gcc 3.4.2
2004-12-25 Paul Stoffregen <paul AT pjrc.com>
* device/lib/printf_tiny.c: printf for mcs51 in only 267 bytes,
and fully reentrant and register bank neutral.
* device/lib/printf_fast.c: added float (not enabled by default),
added compact/slower integer (also not enabled by default),
improved size/speed of fast integer code, other minor changes
* device/include/stdio.h, device/lib/Makefile.in,
device/lib/libsdcc.lib: integrate printf_tiny into mcs51 build
2004-12-24 Maarten Brock <sourceforge.brock AT dse.nl>
* src/pic16/pcode.c: declaring variables other than at the start of a
block is not supported in C by VC6.
2004-12-22 Vangelis Rokas <vrokas AT otenet.gr>
* applied a previous patch from Raphael Neider that wasn't included
in the previous commits, which fixes infinite loops within jumptable
improvements,
* made some fixes that previous patches introduced
2004-12-21 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/gen.c (pic16_aopGet): applied fix from Raphael Neider
that fixes an issue with AOP_PCODE asmop's offset,
* (pic16_popCopyReg): update instance field too,
* (mov2w): modified to pic16_mov2w because it conflicts with mov2w
function of pic port,
* (genCmp, genAnd, genAssign),
* src/pic16/genarith.c (genAddLit): some fixes from Raphael Neider,
2004-12-20 Vangelis Rokas <vrokas AT otenet.gr>
* src/SDCCast.c (gatherAutoInit): allow pic16 to emit static
variables initial values to idata section,
* src/SDCCicode.c (geniCodeCall): patch from ### to fix unreferenced
variables in some functions. This utilizes parmBytes field of iCode
structure to hold the offset of the variable in stack. (might be
able to use the stack field too?)
* applied patch from Raphael Neider # ### , # ###
* src/pic16/glue.c (pic16emitRegularMap): fix to print static
variable initial values in idata section,
* src/pic16/ralloc.c (pic16_allocDirReg): don't allocate register
for static variables with initial value
* src/device/lib/pic16/libsdcc/float/ulong2fs.c (__ulong2fs):
applied fix in while loop from Raphael Neider.
2004-12-19 Maarten Brock <sourceforge.brock AT dse.nl>
* src/ds390/gen.c (genCpl): fixed bit=~(char/bit) bugs, added warning
* src/ds390/main.c (_ds390_regparm): don't pass bit params in registers
* src/ds390/ralloc.c (serialRegAssign): spill bits
* src/mcs51/gen.c (genCpl): fixed bit=~(char) bugs, added warning
* support/Util/SDCCerr.c,
* support/Util/SDCCerr.h: added warning W_COMPLEMENT for using bit=~(bit)
* support/regression/tests/bitvars.c: added tests for bitwise complement(~)
* support/regression/tests/bitwise.c: added test for bitwise complement(~)
2004-12-09 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/sdcc-lib.h: inserted LGPL, added includes
asm/ds390/features.h and asm/mcs51/features.h
* device/include/asm/default/features.h,
* device/include/asm/gbz80/features.h,
* device/include/asm/z80/features.h: added empty _AUTOMEM
and _STATMEM
* device/include/asm/ds390/features.h,
* device/include/asm/mcs51/features.h: added files with defines for
_AUTOMEM and _STATMEM indicating automatic and static storage class
* device/lib/printf_large.c (_print_format): optimized & used _AUTOMEM
* doc/sdccman.lyx: version 2.4.7, updated xstack documentation
* src/SDCCicode.c (geniCodeCast),
* src/SDCCsymt.c (compareType): allow cast of data-ptr to idata-ptr
* src/SDCCloop.c (loopInduction): removed unused variable lr
* src/SDCCopt.c (convilong, convertToFcall): moved "easy special case"
to convertToFcall to include char modulo (RFE 1065037), added check
if left operand is unsigned and use abs of literal value
* src/SDCCpeeph.c (setFromConditionArgs): removed double quotes option
as it doesn't work after conversion from peephole.def to peephole.rul
* src/mcs51/gen.c (toBoolean): added check for size,
(genModOneByte): optimized code for signed char modulo a literal
power of 2 (thanks to Hubert Sack),
(genRRC): removed unnecessary "clr c",
(genRLC): replaced "add a,acc" with cheaper "rlc a"
* src/mcs51/peeph.def: renamed 115 to 115.a, added rule 115.b: another
jump optimization,
swapped rules 256.c and 256.d,
extended 256.d by using new multiple checks (thanks Erik),
added rules 256.e and 256.f,
updated rule 261.a and 261.b to new generated code
* support/regression/tests/muldiv.c: added test div/mod by a power of 2
2004-12-07 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCloop.c (basicInduction, loopInduction): fixed several
induction related bugs, including first part of bug #1074377
2004-12-05 Vangelis Rokas <vrokas AT otenet.gr>
* applied patch from bug-report #1076292,
* applied patches for genAnd and Goto-optimizations for Raphael
Neider,
* src/SDCCicode.c (printOperand): fixed !REGA source to compile and
dump a less iCode information,
* src/pic16/device.h (pic16_options_t): added field debgen,
* src/pic16/gen.h: added macros DUMP_FUNCTION_ENTRY,
DUMP_FUNCTION_EXIT, FENTRY, FENTRY2,
* src/pic16/gen.c (my_powof2): renamed to pic16_my_powof2 and made
puclic,
* (various functions): added macros FENTRY and FENTRY2 to functions,
to emit function prologue,
* (various functions): fixed indentation,
* (genNearPointerGet): fixed loading of FSR0,
* (genPackBits): applied patch from Raphael Neider to fix updating
of FSR0 and touching only the modified bits,
* src/pic16/genarith.c (various functions): added macros FENTRY to
emit function prologue in comments,
* src/pic16/pcode.h: added functions debugf2, debugf3,
* src/pic16/ralloc.c: partial fix for packForPush caused
segmentation fault,
2004-12-04 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peeph.def: added 261.a,b (16 bit rotate) by Stas Sergeev
<stsp AT users.sourceforge.net> with reversed byte order
* support/regression/tests/rotate.c: added (ds390 skips some tests)
2004-12-03 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/gen.c (genLeftShift, genRightShift): fixed second part of
bug #1074377
* src/hc08/gen.c (genrshFour, shiftRLong, shiftLLong),
* src/mcs51/gen.c (shiftLLong): Fixed some shifting bugs Frieder found
2004-12-02 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic/pcode.c : fixed a problem where banksel was not being inserted.
2004-12-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCpeeph.c (callFuncByName): support combined peephole rule
conditions,
(setFromConditionArgs): friendly operand parser for peephole rules,
(operandBaseName, operandsNotRelated): new peephole condition
"operandsNotRelated" -- similar to "operandsNotSame", but takes
architecture specific register naming into account, handles n-way
comparisons, and supports quoted literals
* src/mcs51/peeph.def: restored rule 177.d with an extra condition
2004-12-02 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peeph.def: fixed bug #1076940
2004-12-02 Slade Rich <slade_rich AT users.sourceforge.net>
* device/include/pic/pic16f877.h : added an include file for the PIC16F877 device.
2004-11-28 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
Adding support for replacing ljmps with sjmps in jumptables
generated for switch statements. For now you need to set the
environment variable SDCC_SJMP_JUMPTABLE to enable this.
Now 4 algorithms for mcs51 jumptable generation are used:
ljmp or sjmp jumptables for up to 16 cases, stack-pushing target
addresses loaded pc-relative for up to 112 cases and stack-pushing
target addresses loaded with offset from dptr for up to 256 cases.
* src/SDCCpeeph.c: added peephole conditional labelJTInRange
* src/mcs51/main.c: adapted constants for switch table generation
* src/mcs51/peeph.def: added 260.x for replacing ljmp with sjmp
2004-11-26 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/printf_large.c (_print_format): fixed bug 1073386
* support/regression/tests/bug1057979.c: added test for bug 1073386
2004-11-25 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/pcode.c: fixed bug which may produce error in non-GNU
compilers
2004-11-25 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/device.h,
* src/pic16/genarith.c,
* src/pic16/glue.c,
* src/pic16/main.c,
* src/pic16/pcode.c: applied patches #1068154 and #1070213
2004-11-24 Vangelis Rokas <vrokas AT otenet.gr>
Large cummulative patch for pic16 port.
* device/lib/pic16/gstack.h: NEW, user can specify its own handler
to call when a stack overflow occurs,
* (malloc.h): added CVS Id tag,
* (pic18f{242,252,442,452}.h): added T0CONbits structure and
variable,
* added libc directory. The current version of LibC contains string
functions, ctype functions and macros and some functions of the
stdlib set (like malloc/free/atof/atoi etc...). All functions are to
be extensively tested in the future. Standard disclaimer here.
Library is not automatically build yet. But one can build it by
invoking 'make' inside the libc directory.
* added ADC library under libio. Preliminary version yet.
* src/pic16/gen.h: added emitTOGC macro, to toggle Carry flag,
* src/pic16/gen.c (aopForRemat): asmop size is filled by
aopForRemat() now and not by pic16_aopOp(),
* (pic16_popGetTempReg): removed warning messgae when allocating
temporary registers, its a buggy feature and will be removed,
* (pic16_popGet): set register instance field in AOP_CRY,
* (pic16_outBitC): fixed for results in size greater than 1,
* (genUminusFloat): fixed for pic16, ported code from mcs51,
* (pic16_storeForReturn): optimized return of 0,
* (genCmp): experimental code for new genCmp which uses PIC18's
special compare&skip instructions. Initial tests fail some times
with variables grater than 1 byte in size, so new code is disabled,
* (genUnpackBits, genPackBits): more optimizations in reading/writing,
a single bit,
* (genCast): began a fix to optimize the casting of a bit to another
bit, now assigning a bitfield to another bitfield will fail, sorry,
* src/pic16/main.c: disabled the use of lr-support feature,
* src/pic16/pcode.h: renamed PCASMDIR to PCAD,
* added some function prototypes, added function _debugf prototype,
* src/pic16/pcode.c: (pic16_get_op): fixed emitting operands of register
bits with offset (case PO_GPR_BIT),
* (genericPrint): don't emit INFO pcode when --pcode-verbose not in
command line,
* (isBankInstruction): modified to return 0 for no banking instruction,
and 1 for banking instruction,
* (pic16_isPCinFlow): check for PCAD (assembler directives) too,
caused stop processing pCodes after a inline assembly block,
* (pic16_popCopyGPR2Bit): updated to match bitfields with offset,
* src/pic16/pcoderegs.c: fixed a bug with eliminating some temporary
registers when it shouldn't,
* src/pic16/ralloc.c (allocReg): add preliminary support for
supporting a limited set of temporary registers,
2004-11-23 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (genAssign, genPointerGetSetOfs, genDataPointerGet,
genDataPointerSet): ensure assignments always copy in MSB to LSB
order,
(loadRegFromAop): recognize CLRH optimization,
(genFunction): optimize RECEIVE iCodes in reentrant functions
2004-11-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCmain.c (parseCmdLine, optionsTable[]): fixed bug with
--out-fmt-s19 turning into --out-fmt-elf if s19 was already
selected.
* src/SDCCmain.c (linkEdit): don't define SSEG for HC08
* src/hc08/main.c (_hc08_setDefaultOptions): default xdata to be
contiguous with data
2004-11-19 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/lib/_gptrget.c (_gptrget),
* device/lib/_gptrgetc.c (_gptrgetc),
* device/lib/_gptrput.c (_gptrput): _naked allows to use ret
instead of sjmp to ret
* src/mcs51/peeph.def: added peepholes 3.d-g and 177.g,h provided
by Hubert Sack <hsack2002 AT arcor.de> in RFE #1067986, thanks
2004-11-18 Maarten Brock <sourceforge.brock AT dse.nl>
* .version: bumped version to 2.4.7
* device/lib/_gptrget.c (_gptrget): is now _naked
* device/lib/_gptrgetc.c (_gptrgetc): is now _naked
* device/lib/_gptrput.c (_gptrput): is now _naked
* src/SDCCast.c (createBlock): removed ridiculous self-assignment,
(createFunction): fixed xstack
* src/SDCCglue.c (emitMaps): set allocation required for bit area
* src/SDCCicode.c (geniCodeCast): don't change SPEC_OCLS for literal
or bit either,
(geniCodeCritical): store original interrupt state in an iTemp bit
var unless stack-auto
* src/SDCCicode.h: added CRITICAL and ENDCRITICAL to SKIP_IC2
* src/SDCCmain.c (setIncludePath): added include/target to search path
* src/SDCCmem.c (allocParms): store bit vars in bit space, not overlay
* src/SDCCsymt.c (checkFunction): don't check regbank for isr's against
prototype,
(processFuncArgs): put bit vars in bit area
* src/mcs51/gen.c (saveRegisters, unsaveRegisters, genXpush, saveRBank,
unsaveRBank): fixed xstack,
(genFunction): bugfix: replaced (global!) reentrant with fReentrant,
(genFunction, genEndFunction): fixed xstack,
(genAssign): optimization don't walk backwards through mem
* src/mcs51/main.c (_mcs51_regparm): don't pass bit params in registers
* src/mcs51/ralloc.c (createStackSpil): spill bits to bit area
* support/regression/Makefile: also make library (for stack-auto) when
making "all" and added "test-mcs51-xstack-auto"
* support/regression/fwk/lib/testfwk.c: added T2_isr prototype for mcs51
* support/regression/ports/mcs51/T2_isr.c: added this file as a stub
* support/regression/ports/mcs51/fwk.lib: added to link T2_isr stub
* support/regression/ports/mcs51/spec.mk: added rules for fwk.lib
* support/regression/ports/mcs51-stack-auto/spec.mk: replaced
make-library by MAKE_LIBRARY
* support/regression/ports/mcs51-xstack-auto/spec.mk: file added to run
regression tests for xstack
* support/regression/tests/bitvars.c: test for bit vars (bug 938782)
* support/regression/tests/critical.c: test for critical on mcs51
2004-11-18 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/ports/ucz80/spec.mk: use include and lib files from
built version of sdcc instead of installed version
2004-11-14 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (toBoolean): fixed bug 1065458
* device/lib/Makefile.in: z80 uses printf_large.c, sprintf.c and
vprintf.c now
* device/lib/printf_large.c (calculate_digit): fixed bug 1057979
* device/lib/z80/Makefile: don't use printf.c as it fails bug 1057979
WARNING: remove device/lib/build/z80/printf.o by hand when
updating from previous build!
* device/lib/z80/printf.c: updated comment
* support/regression/tests/bug1057979.c: test all ports now
* support/regression/tests/bug1065458.c: file added
2004-11-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/gen.c (genFunction, genEndFunction): avoided generating
*_start and *_end symbols for static functions
2004-11-11 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCmain.c (linkEdit): don't suppress crt0 if --nostdlib is used
and search crt0.o in all library paths,
(setIncludePath): proper handling of --nostdinc,
(setLibPath): proper handling of --nostdlib
* support/regression/Makefile,
* support/regression/ports/ds390/spec.mk,
* support/regression/ports/gbz80/spec.mk,
* support/regression/ports/hc08/spec.mk,
* support/regression/ports/mcs51/spec.mk,
* support/regression/ports/mcs51-large/spec.mk,
* support/regression/ports/mcs51-stack-auto/spec.mk,
* support/regression/ports/z80/spec.mk: use include and lib files from
built version of sdcc instead of installed version
* doc/sdccman.lyx: fixed typo in --nostdinc
2004-11-10 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic/pcode.c,
* src/pic/device.c,
* src/pic/ralloc.c,
* src/pic/gen.c : added support to generate code for struct bit fields.
2004-11-06 Maarten Brock <sourceforge.brock AT dse.nl>
* as/xa51/xa_version.h,
* device/include/errno.h,
* device/include/regc515c.h,
* device/lib/_itoa.c,
* device/lib/_ltoa.c,
* device/lib/ser_ir_cts_rts.c,
* sim/ucsim/xa.src/glob.cc,
* sim/ucsim/xa.src/inst_gen.cc,
* sim/ucsim/xa.src/xa_bit.cc,
* sim/ucsim/xa.src/xa_sfr.cc,
* sim/ucsim/z80.src/inst_dd.cc,
* sim/ucsim/z80.src/inst_fdcb.cc,
* support/scripts/keil2sdcc.pl,
* src/pic16/pic16.dsp,
* src/pic16/pic16a.dsp: corrected cvs line endings
* device/lib/printf_large.c: fixed bug 1057979
* src/pic16/gen.c: fixed non-C standard code
* src/SDCCmain.c: made --pack-iram default, added --no-pack-iram
* src/SDCCglobl.h: changed pack_iram to no_pack_iram
* support/regression/ports/mcs51/support.c: reload T1 asap
* doc/sdccman.lyx: updated for options --pack-iram and --no-pack-iram,
pdata use and clear idata startup behaviour
* support/regression/tests/bug1057979.c: added
2004-11-04 Maarten Brock <sourceforge.brock AT dse.nl>
* device/examples/ds390/ow390/ad26.h,
* device/examples/ds390/ow390/cnt1d.h,
* device/examples/ds390/ow390/crcutil.c,
* device/examples/ds390/ow390/ownet.h,
* device/examples/ds390/ow390/owsesu.c,
* device/examples/ds390/ow390/swt12.h,
* device/examples/ds390/ow390/swtoper.c,
* device/examples/ds390/ow390/temp10.h,
* device/examples/ds390/ow390/thermodl.c,
* device/examples/ds390/tinitalk/tinitalk.dsp,
* device/examples/ds390/tinitalk/tinitalk.dsw,
* device/examples/mcs51/clock/hw.h,
* device/examples/mcs51/simple2/go.bat,
* device/examples/serialcomm/windows/serial.h,
* device/examples/xa51/dummy.c,
* device/examples/xa51/hello.c,
* device/include/80c51xa.h,
* device/include/at89x051.h: corrected cvs line endings
2004-11-04 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/main.c (options): added command line --gstack, to trace
stack over/under flows,
* added pragma 'wparam' to allow passing first byte of function
parameters via WREG, syntax is #pragma wparam my_function[, func2...]
* src/pic16/gen.c (pic16_testStackOverflow): function which emits a
call to __gstack_test function and sets up the symbol as extern,
* (pic16_pushpCodeOp, pic16_poppCodeOp, pushw, pushaop, popaopidx,
* popaop): added call to pic16_testStackOverflow,
* (wParamCmp, inWparamList): NEW, test existence of a symbol in
wparamList list,
* (genCall, genPcall): now all parameters are passed via stack
except in functions that are pass to wparam pragma in which WREG is
used too,
* (genPcall): REENTRANT flag is checked to see if variable prototype
contains reentrant keyword, don't call a non-reentrant function, via
a reentrant function pointer or vice versa, functions are never
passed via WREG,
* (genJumpTab): applied patch from bug #1057478 by R.Neider and
D.Winkler,
* src/pic16/glue.c (pic16emitRegularMap): fixed bug which caused a
SIGSEGV when accessing a NULL register stucture,
* (pic16_printGPointerType): modified to handle UPPER modifier for
function initializers, changed prototype of function to simpler one,
* (pic16_printIvalFuncPtr): check to see if function is already
added in externs list,
* src/pic16/pcoderegs.c (pCodeOptime2pCodes): fixed bug which
optimized a move from W to SFR with a move to the same register
later after a CALL,
* device/lib/pic16/debug: NEW directory, contains debug features
which are enabled when linking with libdebug.lib, currently command
line option --gstack enables stack pointer tracing for over/under
flow, corresponding sources are in debug/gstack
2004-10-30 Vangelis Rokas <vrokas AT otenet.gr>
* doc/sdccman.lyx: updated SDCC version,
* (PIC16 port): update list of command line options,
* src/pic16/device.h (structure pic16_options_t): added field gstack
to enable stack overflow tracing on push/pops,
* src/pic16/device.c (statistics structure): added statistics
structure,
* (pic16_dump_access, pic16_dump_usection, pic16_dump_gsection,
pic16_dump_int_registers): increase statistics counters for each
* variable which is encountered
* (pic16_dump_usection): emit each .udata variable to its own udata
section,
* src/pic16/gen.c (assignResultValue, genCall, genPcall, genFunction):
when macro USE_WREG_IN_FUNC_PARAMS is set to 0 pass all function
parameters via stack, otherwise use old scheme,
* src/pic16/glue.c (pic16_emitStatistics): dump statistics in
assembler output file,
* src/pic16/main.c: added command line options --gstack to enable
push/pop tracing for stack overflow,
* src/pic16/pcode.c (all pCodeInstruction records for PIC18F
instructions): added size of each instruction,
* (pic16_countInstruction): estimate size of instructions in
the_pFile list, inline assembly blocks are not counted,
* (pic16_FixRegisterBanking): trace previous register usage, when
banksel optimizations is greater than 0, don't emit a redudant
banksel directive,
2004-10-26 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic/ralloc.c : fixed inefficient code produced when compiling a complimented bit operation.
* src/pic16/ralloc.c : applied same fix for pic16.
* src/pic/gen.c : tidied it up a little.
2004-10-25 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peeph.def: disabled 259.a,b for removing redundant ret,
thanks to Martin Helmling for reporting (mail on sdcc-devel 2004-10-25)
2004-10-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (reverseParms): fixed bug #1040577 (part 2)
2004-10-22 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/lib/ser_ir_cts_rts.c: integer promotion caused a call to the
non-reentrant function __modsint in the interrupt function (thus
corrupting math operations during serial I/O)
* device/lib/ser_ir.c: as above, changed buffersize
* src/mcs51/peeph.def: added 259.a,b for removing redundant ret,
256.c,d for zeroing
* doc/Makefile: added option -t for rsync
2004-10-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.h (struct ast),
* src/SDCCast.c (reverseParms, copyAst): fixed bug #1040577 (part 1)
2004-10-20 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: added include/pic16/*.h to the setup
package
2004-10-20 Vangelis Rokas <vrokas AT otenet.gr>
* device/lib/pic16/libsdcc/Makefile: added lregs directory in
makefile targets,
* device/lib/pic16/libsdcc/lregs/{Makefile,lrst.c,lrrest.c}: NEW
support functions to replace long sequences of MOVFF's from access
bank registers to stack and vice versa,
* src/pic16/device.h: added new field opt_flags, where optimization
flags can be set to enable certain features,
* src/pic16/gen.c (pic16_emitpinfo): NEW to add PC_INFO pCode in
* pBlock, (genFunction, genEndFunction): surroung loop for
saving/loading used registers in stack with PC_INFO pCodes,
INF_LREGS. Code in between can then be optimized by pCode optimizer
to support function calls,
* (genDataPointerSet): fixed bug which loaded float fields in
structures with corrupt data,
* src/pic16/genutils.c (debugf, _debugf): macro/function which emits
in a standard way debug info on stderr. Feature used for developing
and debugging only,
* src/pic16/glue.c (pic16glue): reformatted, deleted some old and
obsolete chunks of code,
* if optimization flag OF_LR_SUPPORT was set, call pic16_OptimizeLocalRegs,
* src/pic16/main.c (_pic16_parseOptions): added handler for --flr-support,
* pic16/src/pcode.c (pic16_newpCodeInfo,
* (pic16_newpCodeOpLocalRegs),
* (pic16_convertLocalRegs2Support): NEW, to support new optimization
feature,
* (pic16_pCodeConstString): printing of the initial value of a
symbol as a comment is inhibited since parsing was already done by
copyStr and output is corrupt,
* (pic16_pCode2str, genericPrint): handle PC_INFO pCode,
2004-10-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/ralloc.c (packRegisters): fixed bug #1044601
2004-10-19 Maarten Brock <sourceforge.brock AT dse.nl>
* as/mcs51/lkarea.c: removed old K&R style,
(lnksect): changed check on boundary error,
(lnksect2): changed check on boundary error,
(lnksect2): extend XSTK to end of page if size = 1
* as/mcs51/lkmain.c: removed old K&R style,
(Areas51): create l_IRAM symbol
* as/mcs51/lkmem.c (summary2): added report on PSEG and XSTK
* device/lib/Makefile.in: renamed model-mcs51-reentrant to
model-mcs51-stack-auto, added model-mcs51-xstack-auto
* device/lib/_mullong.c: added version to be compiled with xstack
* device/lib/mcs51/crtclear.asm: clear only upto --iram-size
* device/lib/mcs51/crtxclear.asm: clear pdata as well
* device/lib/mcs51/crtxstack.asm: fixed comment
* src/SDCCglue.c: maxInterrupts defaults to 0,
(emitMaps): added pdata,
(createInterruptVect): (re)moved default,
(glue): added pdata,
(glue): moved __start__xstack to XSTK with default size 1
* src/SDCCmain.c (parseCmdLine): automatically set options.intlong_rent
and options.float_rent when options.stackAuto is set,
(linkEdit): only write XDATA_NAME if provided on command line
* src/SDCCmem.h,
* src/SDCCmem.c: added pdata
* src/port.h: added pdata_name to PORT
* src/mcs51/gen.c (toBoolean): fixed for Acc use of aopGet,
(saveRegisters, unsaveRegisters): removed usage of B,
(genMinus): fixed accumulator clash,
(genJumpTab): added comment, this needs another look
* src/mcs51/gen.c: added check for "B in use" paranoia,
added pushB() and popB()
* src/mcs51/peeph.def: restart after 177.c so 177.a can get a second
chance
* src/avr/main.c,
* src/ds390/main.c,
* src/hc08/main.c,
* src/mcs51/main.c,
* src/pic/main.c,
* src/pic16/main.c,
* src/xa51/main.c,
* src/z80/main.c: (reset_regparms) made void parameter explicit and
added PSEG (PAG,XDATA) or NULL to port specifier
* src/ds390/main.c (_ds390_genIVT): moved implemented default in here
* src/mcs51/main.c (_mcs51_genIVT): moved implemented default in here,
(_mcs51_genInitStartup): removed __start__xstack equ,
(mcs51_port): moved xstack from XSEG (XDATA) to XSTK (PAG,XDATA)
* src/pic16/device.c (pic16_dump_usection, pic16_dump_isection),
* src/z80/gen.c (_rleAppend): fixed warnings
* support/regression/tests/zeropad.c: added pdata test
* .version: bumped to 2.4.6
2004-10-17 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: cross compiling of WIN32 setup.exe on Linux
as a part of nightly build
2004-10-16 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/gen.c (struct _G): added field useWreg, is set to 1 when
WREG holds the first byte function parameters,
* (aopForSym): take special case for symbols which are in FARSPACE
but in CODESPACE too,
* (assignResultValue): modified to take into account _G.useWreg,
* (genCall): don't use wreg for parameter passing when function is
declared as reentrant, too, added optimization INCF to stack
pointer when stack parameter count is 1,
* (genFunction, genEndFunction): refurnished and fixed to not using
wreg for passing parameters when function has varargs or is
reentrant, fixed bug with symbol name compare for generating
functions in absolute address,
* (pic16_storeForReturn): refurnished,
* (genCmp): began writing a new version of the function, not ready
yet, therefore it is disabled,
* (genAssign): do not read code memory when assigning a function to
a pointer function,
* src/pic16/glue.c (pic16emitStaticSeg): abSym->name is defined an
array of characters, not pointer,
* (pic16initialComments): in debug mode emit an .ident directive for
the assembler,
* (_process_pragma): emit a new warning type (internal to pic16)
when setting stack to default length, emit a similar warning when
placing a function at absolute address and address is not word aligned
* (_pic16_parseOptions): added 'return TRUE' statement,
* (_pic16_linkEdit): if compiling a source, then add the source's
file object, first in the list of objects to link,
2004-10-13 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic/pcoderegs.c : increased count on regUsedinRange to prevent unnecessary warning.
* src/pic/main.c : removed VC warning.
* src/pic/gen.c : changed comment.
2004-10-12 Vangelis Rokas <vrokas AT otenet.gr>
* device/lib/pic16/libsdcc/gptr/gptrput[234].c: an external
reference to a deprecated symbol _GPTRREG was causing failure to
link. Thanks G. M. Gallant for the info.
2004-10-12 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic/pcode.c : Applied a code patch supplied by Paul Ashmore in
comments for Bugs item #954788.
2004-10-10 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/device.c (pic16_dump_gsection,
* pic16_groupRegistersInSection): handle symbols declared to be in
access bank differently,
* src/pic16/gen.c (struct _G): added field resDirect,
* (aopForSym): if symbol on stack and iCode is '=' and result exists,
send values read from stack directly to result and don't allocate
temporary values,
* (pic16_sameRegs): fixed bug that allowed MOVFF to move between
same registers,
* (pic16_sameRegsOfs): NEW,
* (freeAsmop): if _G.resDirect is set then do not mark registers as
free because they were not allocated from temporary pool,
* pic16_popRegFromString): workaround to fix a problem with
allocating variables twice or never,
* (genGenPointerGet): using PRODL instead of FSR0H,
* (genGenPointerSet): using POSTDEC1 (that is a stack location)
instead of FSR0H,
* (genAssign): take advantage of the _G.resDirect flag,
* (genCast): around line 11844, use mov2f instead of directly
MOVFF'ing between operands to account for literal values,
* src/pic16/genutils.c: some new debug functions for gpsim have been
added,
* src/pic16/glue.c (pic16_printIvalType): fixed bug that initialized
float with integer part only,
* src/pic16/main.c (_process_pragma): handle pragma udata access to
place variables in access bank
* device/lib/pic16/libsdcc/gptr/gptr*.c: using BRA instead of GOTO,
updated sources to reflect recent changes in gen.c
2004-10-06 Vangelis Rokas <vrokas AT otenet.gr>
* device/lib/pic16/libsdcc/Makefile.rules: fixed bug concerning
sources that searched for headers in installation path, now the
device/include/pic16 is used,
* src/pic16/glue.c (pic16glue),
* src/pic16/pcode.c (pCode2str, genericPrint): don't print .file or
.line directives if not in debug mode, this suppresses assembler's
warnings for ignored directives
2004-10-05 Maarten Brock <sourceforge.brock AT dse.nl>
* src/port.h: made reset_regparms prototype void parameter explicit.
* src/SDCCsymt.c (processFuncArgs): removed argument "func".
* src/mcs51/ralloc.c (packRegisters): new fix for bugs 898889 & 979599.
* doc/sdccman.lyx: documented warning disabling and how to use
printf_large to make it print floats.
* device/include/stdbool.h: NEW
* device/lib/_atof.c,
* device/lib/_divuint.c,
* device/lib/_divulong.c,
* device/lib/expf.c,
* device/lib/printf_large.c,
* device/lib/sincosf.c,
* device/lib/sincoshf.c: used stdbool.h, all compile with stack-auto now
* device/lib/Makefile.in: added target for model-mcs51-reentrant to build
a completely reentrant lib.
2004-10-05 Vangelis Rokas <vrokas AT otenet.gr>
* device/lib/pic16/libsdcc/gptr/gptr*.c: added return statements
* device/include/pic16/stdio.h: fixed bug with colon
2004-10-03 Vangelis Rokas <vrokas AT otenet.gr>
* device/include/pic16/stdio.h,
* device/include/pic16/stdlib.h,
* device/include/pic16/math.h: NEW
* device/lib/pic16/libsdcc/gptr/*.c (gptrget*, gptrput*): functions
declared as _naked to reduce overhead
* device/lib/Makefile.in (target port-specific-objects-pic16):
changed * to *.* so to ignore the CVS directory,
* src/pic16/gen.c (pic16_freeAsmop): added code to store result of
stacked variables back in stack,
* (genEndFunction): fixed bug reported by G.M. Gallant with stack
corruption
2004-10-01 Vangelis Rokas <vrokas AT otenet.gr>
* .version: bumped version number to 2.4.5
* support/Util/SDCCerr.h: added warning W_POSSBUG2.
* support/Util/SDCCerr.c (messages structure): added entry for
W_POSSBUG2
Large cumulative patch for pic16 port and libraries.
* device/include/pic16/sdcc-lib.h,
* device/include/pic16/stdarg.h,
* device/include/asm/pic16/features.h,
* device/include/lib/pic16/libsdcc/gptr/{*.c, Makefile}: NEW,
* device/include/pic16/float.h: changes reentrant keyword with
_FS_REENTRANT, added prototype for __fsneq, included sdcc-lib.h
* device/lib/pic16/libsdcc/Makefile: added target directory gptr,
updated target build-libraries to include objects from gptr,
* device/lib/pic16/libsdcc/{char,int,long}/*.c: added macro
_IL_REENTRANT to all function headings, included sdcc-lib.h header,
* device/lib/pic16/libsdcc/float/*.c: added macro _FS_REENTRANT to
all function headings,
* src/SDCCmain.c: added global parameter userIncDirsSet,
* (parseCmdLine): when option -I is encountered add directory to
userIncDirsSet too,
* src/version.awk: added space between control and long,
* src/pic16/NOTES: added some notes for the port,
* src/pic16/gen.c: added prototype for mov2fp function,
* (fReturnpic16[]): properly named return value registers,
* (_G structure): added fields stackRegSet, fregsUsed, stack_lat,
* (aopForSym): added code to handle symbols with onStack flag set,
symbols onStack are allocated PTRSIZE bytes,
* (aopFreeAsmop): handles special case where asmops are stack objects,
* (aopGet, pic16_popGet): adde cod to handle new asmop AOP_STA,
* (pic16_popGetTempReg, pic16_popGetTempRegCond, pic16_popReleaseTempReg):
added argument lock to trace flaws in allocating temporary registers
when developing port,
* (pic16_popGetLit, pic16_popGetLit2): changed lit from unsigned to signed
* (pic16_popRegFromString): reenabled allocating a direct register
from string,
* (assignResultValue): various beautifications,
* fixed bug #1037717 (patch from R. Neider & D. Wrinkler) with mistaken
referenced function argument,
* (genIpush): reenabled to allow stacked arguments, handles only
ic->parmPush iCodes,
* (genCall, genPcall): major changes to allow for variable argument
functions, fixed a bug with falsely restoring stack pointer after
returning from call,
* (genFunction): pending code for critical function,
* (shiftR1Left2ResultSigned, shiftR1Left2Result, shiftL2Left2Result,
* (shiftR2Left2Result, shiftLLong) applied patch #1032155 from R.Neider,
* (genNearPointerGet): fixed bug with indirect reading, was always
reading from INDF0
* (genGenPointerGet, genGenPointerSet): rewrote to support generic
pointers,
* (genAddrOf): rewrote code to take address of a stacked function parameter
* (genCast): fixed casting to generic pointer type,
* src/pic16/gen.h: added AOP_STA,
* (struct asmop): added field stk,
* src/pic16/genarith.c (pic16_AopType): handle AOP_STA,
* (pic16_genPlusIncr): changed emitSKPNZ to emitSKPNZ,
* (pic16_genAddLit, pic16_genPlus): applied patch #1034042 by tecodev,
* (pic16_genMinus): fixed bug #1035119 with patch submitted by tecodev,
* src/pic16/genutils.c (pic16_genNot): removed symbol *tlbl,
* src/pic16/glue.c (pic16_printGPPointerType): fixed to support new
generic pointers,
* src/pic16/main.c (_pic16_initPaths): ignores default SDCC include
and library paths,
* (pic16_port structure): generic pointer size is set to 3,
* src/pic16/pcode.c (pic16_newpCodeOpLit): correctly print literal integer,
* (insertBankSwitch): cast to (char *) to prevent 64bit CPUs'
compiler warning,
* src/pic16/ralloc.c (allocReg): prevent allocating register when
operand is an iTemp,
2004-09-24 Martin Helmling <mh AT octo-soft.de>
* debugger/mcs51/cmd.c: set PC if a symbol at pc reg is set
* debugger/mcs51/simi.c: addapt new syntax of s51
2004-09-23 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/genutils.c (pic16_genNot): fixed bug #1032265,
* src/pic16/pcode.c: commented out some calls to free() in order to
fix bug #989576,
2004-09-23 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.h,
* src/SDCCicode.c (isiCodeInFunctionCall),
* src/avr/ralloc.c (selectSpil),
* src/pic/ralloc.c (selectSpil),
* src/pic16/ralloc.c (selectSpil),
* src/ds390/ralloc.c (selectSpil),
* src/hc08/ralloc.c (selectSpil),
* src/xa51/ralloc.c (selectSpil),
* src/mcs51/ralloc.c (selectSpil): Don't use remainSpil to spill to the
stack in the middle of a function call sequence (fixes bug #1020268)
* src/SDCCicode.c (geniCodeJumpTable): fixed error in computing the
costs associated with the minimum switch case.
2004-09-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCC.lex: fixed bug #1030549
2004-09-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcse.h (struct cseDef),
* src/SDCCcse.c (cseBBlock, newCseDef, ifFromAddrTaken): purge CSEs
over a function call if the CSE is derived from a symbol whose
address has been taken (fixes bug #1029883)
* support/regression/tests/bug-1029883: a new regression test for
this bug
2004-09-18 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (emitinline): fixed bug #1029778
* src/SDCC.y (assignment_expr): fixed the grammer so that assignment
to a cast object is no longer a syntax error ("fixes" bug #1030006,
and starts toward RFE #905167)
2004-09-17 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/gen.c (mov2f): New function to move an operand to
another without considering if it is a literal or a register,
* (pic16_sameRegs): don't check if they are both AOP_REG,
* (AccRsh): removed andmask=0 lines,
* (genLeftShift): duplicated to be improved in future versions,
* src/pic16/main.c (_process_pragma): emit stack default size in hex,
* src/pic16/pcode.c: added POC_INFSNZW, updated inverted_op fields
in POC_INCFSZ, POC_INCFSZW, POC_INFSNZ,
* (pic16initMnemonics): added initialization for POC_INFSNZW,
* (insertBankSwitch): fixed inserting banksel directives algorithm
for instructions that follow a skip instruction, this fixes a report
for broken subtraction code generation,
* src/pic16/ralloc.c (deassignLRs): do not free register if current
iCode is a left op, just in case result and right share the same
registers
2004-09-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/main.c,
* src/hc08/gen.c (genJumpTable): more efficient jump table, supports
preservation of HX
* src/hc08/gen.c (pullRegs): fixed order of HX & XA pairs
* src/mcs51/ralloc.c (packRegisters): removed the patch applied
on 2004-09-12; it was buggy
2004-09-15 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCsymt.h: removed RESULT_CHECK
* src/SDCCast.c,
* src/SDCCglue.c,
* src/SDCCval.c,
* src/pic/glue.c,
* src/pic16/glue.c: replaced RESULT_CHECK with RESULT_TYPE_NONE
2004-09-15 Vangelis Rokas <vrokas AT otenet.gr>
* src/SDCCicode.c (piCode): applied patch from Raphael Neider,
* src/pic16/device.c (pic16_assignConfigWordValues): wrong
configuration values no more rejected by compiler, they are assigned
to configuration registers with a warning message instead,
* src/pic16/glue.c (pic16_emitConfigRegs): added +1 at top-limit of
the for-loop so last conf register is emitted too,
* (_pic16_initPaths): link library libsdcc.lib by default,
* (_hasNativeMulFor): modified test for multiplication according to
Raphael Neider's remarks. Integer multiplication is also done with
support functions,
* device/include/pic16/pic18fregs.h: corrected type error in while
testing and including 18f6720 header file
2004-09-14 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/device.h (pic16_options): removed field use_crt,
* src/pic16/gen.c (genUnpackBits): added call to pic16_loadFSR0
until an optimization to handle single bits is added,
* (pic16_loadFSR0): moved before genUnpackBits,
* (genAnd): some white lines removed,
* src/pic16/main.c (_pic16_finaliseOptions): set omit_ivt and clear
leave_reset flags in pic16_options when using crt modules,
2004-09-12 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/ralloc.c (packRegisters): applied fix by Bernhard Held
for bugs 898889 & 979599. Also used some safer print instructions.
2004-09-12 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/device.h (pic16_options_t): added field use_crt,
crt_name, no_crt,
* src/pic16/genarith.c (pic16_genPlus): added an assert(0) line to
catch a probable future bug,
* src/pic16/gen.c: aopIdx function commented out,
* (genAssign): commented out old code which used aopIdx,
* src/pic16/glue.c (pic16glue): removed some legacy fragments of
code, added if conditionals to take into account the --use-crt
command line options,
* src/pic16/main.c (pic16_optionsTable): added new command line
options, --use-crt= and --no-crt,
* (_pic16_linkEdit): now the proper crt object is added in the
linker command line except than when --no-crt is specified,
* src/pic16/pcode.c,
* src/pic16/pcode.h: added some structures and functions for a new
optimization scheme to compansate for instruction overhead between
same iCodes, this scheme is currently under development and is not
working in any way,
* src/pic16/gen.c (genAnd): added patch provided by Aaron Collwell
to && operator,
* device/lib/pic16/startup/crt0i.c,
* device/lib/pic16/startup/crt0iz.c: added global char variable
__uflags to force the generation of an idata section
2004-09-12 Bernhard Held <bernhard AT bernhardheld.de>
* doc/Makefile,
* doc/clean.mk: added support for easy creation of sdcc-doc.tar.bz2
* doc/sdccman.lyx: updated sdcc version to 2.4.4
2004-09-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* doc/sdccman.lyx: fixed a problem with my new index entries (thanks
Frieder) and clarified the default code optimization mode
2004-09-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCC.lex (doPragma, process_pragma),
* src/SDCCglobl.h (struct optimize): added pragmas "opt_code_speed",
"opt_code_size", and "opt_code_balanced"
* src/SDCCmain.c (optionsTable[], printOptions, scanOptionsTable):
regrouped options by category, added support for category headers
* src/SDCCmain.c (parseCmdLine): added options "--opt-code-speed"
and "--opt-code-size"
* doc/sdccman.lyx: documented these new options and pragmas
* src/hc08/gen.c (AccLsh, AccRsh): take speed/size optimization
preference into account
2004-09-08 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCicode.c (geniCodePostInc, geniCodePreInc, geniCodePostDec,
geniCodePreDec): Fixed bug 904237 by generating a warning
* src/SDCCerr.h,
* src/SDCCerr.c: added warning W_SIZEOF_VOID
2004-09-09 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic/device.c : When no max ram set validate full memory range.
* src/pic/pcode.c,
* src/pic/pcodepeep.c : Copy C code comments to optimised replacement code.
2004-09-08 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/_gptrget.c,
* device/lib/_gptrput.c: updated comment
* device/lib/calloc.c,
* device/lib/free.c,
* device/lib/malloc.c,
* device/lib/realloc.c: added LGPL, made them reentrant-safe
* src/SDCCcse.c (cseBBlock),
* src/SDCCicode.c (printOperand, geniCodeArray),
* src/SDCCicode.h (struct operand): fixed bug 868103
* support/regression/tests/bug-868103.c: added
* src/SDCCast.c (searchLitOp),
* src/SDCCcse.h (struct cseDef),
* src/SDCCglue.c (printIvalArray, spacesToUnderscores),
* src/SDCCicode.h (struct operand),
* src/SDCCsymt.h (struct sym_link),
* src/avr/gen.c (hasInc),
* src/ds390/gen.c (hasInc),
* src/hc08/gen.c (genPlusIncr, hasInc),
* src/mcs51/gen.c (hasInc),
* src/pic16/glue.c (pic16_printIvalChar),
* src/pic16/ralloc.c (regWithIdx),
* src/xa51/gen.c (hasInc) : removed warnings
* src/SDCCast.c (createBlock): added comment ???
* src/hc08/ralloc.c: updated comments
2004-09-07 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: updated section on switch statements, added
section about semaphore locking
* doc/Makefile: added option -info for latex2html
* device/lib/_gptrget.c,
* device/lib/_gptrput.c: __XPAGE instead of P2 in outcommented code
2004-09-06 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic/device.h,
* src/pic/device.c,
* src/pic/port.c : Changed PIC14 code to not set bit RP1 when
maxram is less than 0x100.
2004-09-06 Slade Rich <slade_rich AT users.sourceforge.net>
* Bug fixes for PIC14 - signed RSHIFT problem. Patch supplied by Allen(agschrum).
2004-09-06 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/port.h,
* src/mcs51/main.c,
* src/ds390/main.c,
* src/z80/main.c,
* src/hc08/main.c,
* src/pic/main.c,
* src/pic16/main.c,
* src/avr/main.c,
* src/xa51/main.c
* src/SDCCicode.c (geniCodeJumpTable): Better logic to determine if a
a jump table is the best form for a switch statement, including
automatic insertion of missing cases to make the case range
continuous. Developed in collaboration with Frieder Ferlemann.
2004-09-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/ralloc.c (canDefAccResult): multi-byte shift is unsafe for
accumulator result if it needs sign extension
2004-09-02 Maarten Brock <sourceforge.brock AT dse.nl>
* src/hc08/ralloc.c (canUseAccOperand): fixed comparison bug
2004-09-02 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/gbz80/printf.c,
* device/lib/z80/printf.c: removed define for NULL
2004-09-02 Maarten Brock <sourceforge.brock AT dse.nl>
* as/xa51/xa_link.c,
* device/examples/ds390/ow390/ad26.c,
* device/examples/ds390/ow390/cnt1d.c,
* device/examples/ds390/ow390/counter.c,
* device/examples/ds390/ow390/ds2480.h,
* device/examples/ds390/ow390/ds2480ut.c,
* device/examples/ds390/ow390/findtype.c,
* device/examples/ds390/ow390/gethumd.c,
* device/examples/ds390/ow390/owllu.c,
* device/examples/ds390/ow390/ownetu.c,
* device/examples/ds390/ow390/swt12.c,
* device/examples/ds390/ow390/swtloop.c,
* device/examples/ds390/ow390/temp.c,
* device/examples/ds390/ow390/temp10.c,
* device/examples/ds390/ow390/thermo21.c,
* device/examples/ds390/ow390/tinilnk.c,
* device/examples/ds390/ow390/tstfind.c,
* device/examples/serialcomm/windows/serial.cpp,
* device/examples/serialcomm/windows/test_serialcomm.cpp,
* device/include/reg51.h: fixed line endings for cvs
2004-09-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/ralloc.c (canDefAccResult, canUseAccOperand,
packRegsForAccUse, packRegisters): new accumulator register
packing algorithm
* support/regression/ports/hc08/support.c (_putchar): suppress
warning of unused variable
* src/SDCCicode.c: added SWAP entry to codeTable
2004-09-01 Maarten Brock <sourceforge.brock AT dse.nl>
* device/lib/sprintf.c: forgot to add this file before previous commit
2004-09-01 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/gen.c (genPackBits): added operand right in function
parameters, load result directly if p_type is POINTER (that is
called by genNearPointerSet)
* (genUnPackBits): added operand left in function parameters,
* (genNearPointerGet, genNearPointerSet): prevent the loading of
FSR0 if accessing bitfields,
2004-08-31 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/stdio.h: added NULL, size_t, typedef pfn_outputchar,
_print_format; updated printf, sprintf, vsprintf
* device/include/asm/default/features.h: corrected comment/define
* device/lib/Makefile.in: added sprintf.c
* device/lib/libsdcc.lib: added sprintf module
* device/lib/printf_large.c,
* device/lib/vprintf.c,
* device/lib/sprintf.c: totally refactored printf_large and vprintf
into these 3 files
* support/regression/Makefile: changed ALL_PORTS into a usefull default
* support/regression/ports/mcs51-stack-auto/spec.mk: added sprintf
* support/regression/tests/bug-927659.c: removed dummy putchar, enabled
hc08 test
* support/regression/tests/zeropad.c: define idata as data for hc08
2004-08-31 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCpeeph.c (labelIsReturnOnly): support hc08 rts opcode also
* src/SDCCpeeph.c (buildLabelRefCountHash): assume function entry point
labels are referenced at least once (even if a reference is not found)
* src/hc08/gen.c (emitcode): set isComment flag for comments
* src/hc08/peeph.def: added rules 5a..5f (optimize redundant immediate
loads), rules 6a..6b (optimize jumps to return)
2004-08-30 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* device/lib/acosf.c (acosf),
* device/lib/asinf.c (asinf),
* device/lib/atanf.c (atanf),
* device/lib/ceilf.c (ceilf),
* device/lib/cosf.c (cosf),
* device/lib/coshf.c (coshf),
* device/lib/cotf.c (cotf),
* device/lib/fabsf.c (fabsf),
* device/lib/floorf.c (floorf),
* device/lib/log10f.c (log10f),
* device/lib/logf.c (logf),
* device/lib/sinf.c (sinf),
* device/lib/sinhf.c (sinhf),
* device/lib/sqrtf.c (sqrtf),
* device/lib/tanf.c (tanf),
* device/lib/tanhf.c (tanhf),
* device/include/math.h: defined _FLOAT_FUNC_REENTRANT macro and
replaced all instances of "reentrant" in the library functions
defined in math.h with this macro.
* support/regression/tests/float_trans.c: reenabled test for hc08
2004-08-30 Bernhard Held <bernhard AT bernhardheld.de>
* device/lib/pic16/Makefile.common.in: added MODELFLAGS again, it was
erroneously deleted
2004-08-30 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (loadRegFromAop): better use of clra & clrx
* src/hc08/gen.c (genAnd, genOr): fixed bug with conditional when
multi-byte volatile operands are used
* src/hc08/gen.c (shiftRLong): fixed bug with wrong rotate direction
* src/hc08/main.c (_hc08_genAssemblerPreamble): moved the built-in
initialization to area GSINIT0 so that it would always precede
any static initializers in GSINIT
* support/regression/tests/zeropad.c: fixed idata define for hc08
* support/regression/tests/bug-927659.c,
* support/regression/tests/float_trans.c: disabled tests for hc08
pending missing library routines
* .version: increased version number to 2.4.4 - hc08 port now passes
regression tests
2004-08-29 Bernhard Held <bernhard AT bernhardheld.de>
* device/lib/pic16/Makefile.common.in: added $(MM) to fix `make clean`
* Makefile.common.in,
* as/Makefile,
* as/hc08/Makefile.in,
* as/mcs51/Makefile.in,
* as/z80/Makefile.in,
* debugger/mcs51/Makefile.in,
* device/include/Makefile.in,
* device/lib/Makefile.in,
* doc/Makefile,
* link/Makefile,
* link/z80/Makefile.in,
* packihx/Makefile.in,
* sim/ucsim/main_in.mk,
* sim/ucsim/avr.src/Makefile.in,
* sim/ucsim/doc/Makefile.in,
* sim/ucsim/gui.src/serio.src/Makefile.in,
* sim/ucsim/hc08.src/Makefile.in,
* sim/ucsim/s51.src/Makefile.in,
* sim/ucsim/xa.src/Makefile.in,
* sim/ucsim/z80.src/Makefile.in,
* src/Makefile.in,
* support/cpp2/Makefile.in,
* support/librarian/Makefile,
* support/makebin/Makefile: added DESTDIR to the install path proposed
by "Maciej 'Agaran' Pijanka" <agaran AT pld-linux.org>
* doc/sdccman.lyx: added DESTDIR documentation
2004-08-29 Vangelis Rokas (vrokas AT otenet.gr>
* src/pic16/gen.c (genFunction, genEndFunction): fixed return
instruction for interrupt handlers, use fast returns when returning
from high priority interrupts
2004-08-29 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (genAnd, genOr, transferAopAop, rmwWithAop): optimized
code generation
* src/hc08/gen.c (genrshFour, genCpl): fixed bugs
* src/hc08/gen.c (genMultOneByte, genDivOneByte, genModOneByte): fixed
bugs, ported much of Bernhard's code from mcs51
* src/mcs51/gen.c (genSend),
* src/hc08/gen.c (genSend): fixed bug with lost SEND iCodes if more
than one when calling a reentrant function
* device/lib/_mullong.c: defined an alternate struct layout for big
endian ports (hc08)
2004-08-28 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (shiftL2Left2Result): fix for bug-500536 regression
test
2004-08-28 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.c (processFuncArgs): make sure parameter types
are sane and complete before asking the port its prefered parameter
passing method (fixes bug #1017633)
* device/lib/hc08/_ret.c: added "data" storage class to _ret2
and _ret3
2004-08-27 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (genPackBitsImmed, genUnpackBitsImmed): fix offset
problem in bitfields >= 8 bits.
2004-08-27 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCsymt.c: undid changes that were not meant to be committed
2004-08-27 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/ports/hc08spec.mk: REENTRANT must be reentrant
2004-08-27 Maarten Brock <sourceforge.brock AT dse.nl>
* src/hc08/gen.c (genUminusFloat): fixed bug where only 3 bytes were
copied and wrong bit got inverted
2004-08-27 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (genPointerSet, genFarPointerSet): moved code from
genFarPointerSet into genPointerSet; eliminated genFarPointerSet
* src/hc08/gen.c (genPointerGet, genFarPointerGet): moved code from
genFarPointerGet into genPointerGet; eliminated genFarPointerGet
* src/hc08/gen.c (genPackBitsImmed): generate optimized code for
assignments to bitfields at known addresses
* src/hc08/gen.c (genUnpackBitsImmed): generate optimized code for
reads from bitfields at known addresses
* src/hc08/ralloc.c (packRegisters),
* src/hc08/gen.c (genPointerGet, genUnpackBits, genUnpackBitsImmed,
genhc08Code): optimize pointer get values used as conditionals
* src/hc08/peeph.def: added rules 2e & 2f to optimize bit test
and branch
2004-08-24 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c (genPointerGet, genNearPointerGet, genPagedPointerGet,
genFarPointerGet, genCodePointerGet, genGenPointerGet, genUnpackBits),
* src/mcs51/ralloc.c (packRegisters): optimize pointer get values used
as conditionals
2004-08-22 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peeph.def: peepholes 248.i-m for xdata bitfields
2004-08-21 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/ralloc.c (packRegsForOneuse): fixed bug #1012650 and some
related problems
2004-08-21 Bernhard Held <bernhard AT bernhardheld.de>
* sim/ucsim/cmd.src/Makefile.in: run lex only if $(PRJDIR)/devel exists
2004-08-18 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/ralloc.c (packRegsForAssign): ported some bug fixes from the
mcs51 port
2004-08-16 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic/gen.c: Restored fn genRet as previous fix was incorrect.
2004-08-14 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/gen.c (genJumpTab): jumptables for more than 16 switch
cases use more compact code.
2004-08-13 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic/gen.c: Fixed problem with fn returning a variable bigger than a char.
2004-08-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCClrange.c (findPrevUse): fixed bug #1007371
2004-08-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.h,
* src/SDCCsymt.c (changePointer, checkDecl, addSymChain): changed
parameter of changePointer() from symbol* to sym_link*
* src/SDCCast.c (decorateType): call changePointer() for CAST op
* src/SDCCsymt.c (compareType): void* type is castable to other
pointers, but not necesarily an exact match.
* src/SDCCicode.c (geniCodeCast): allow void* casting here since it
is no longer blindly treated as an exact match.
* src/SDCCval.c (valCastLiteral): treat missing type as cast to void
2004-08-12 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic/glue.c: Added struct initialisation fn printIvalStruct.
2004-08-11 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic/gen.c,
* src/pic/pcode.c,
* src/pic/ralloc.h,
* src/pic/ralloc.c: Printing rIdx on internal verbose debug.
2004-08-10 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic/device.c,
* src/pic/device.h,
* src/pic/device.c: Will no longer exit if #pragma maxram has not been defined.
2004-08-06 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c (emitcode): fixed bug #992819
2004-08-05 Maarten Brock <sourceforge.brock AT dse.nl>
* src/pic/ralloc.c (deassignLR): allthough pic port is buggy already,
there's no need to make it worse
2004-08-05 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/ralloc.c (deassignLR),
* src/ds390/ralloc.c (deassignLR),
* src/hc08/ralloc.c (deassignLR),
* src/z80/ralloc.c (deassignLR),
* src/pic/ralloc.c (deassignLR),
* src/pic16/ralloc.c (deassignLR),
* src/avr/ralloc.c (deassignLR),
* src/SDCClrange.c (findRecursiveSucc, findRecursivePred, findPrevUse,
rlivePoint): fixed another part of bug #971834
2004-08-04 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/main.c: enabled "critical" keyword
* src/z80/mappings.i,
* src/z80/gen.c (genFunction, genEndFunction): support for interrupt
functions (fixes bug #979646)
* doc/sdccman.lyx: added a subsection explaining z80 interrupt support
2004-08-04 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* src/mcs51/gen.c (genInline): Add \n for labels, not DOS/WIN dirs
such as c:\mydir.
2004-08-03 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCloop.c (loopInvariants): fixed bug 983545, hope this
doesn't disable too much optimizations
2004-08-02 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic/glue.c Disabled "WARNING: function 'main' undefined" when -S option is used.
2004-08-02 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCClrange.c (rlivePoint): fixed bug 988568, thanks to anonymous
2004-08-02 Slade Rich <slade_rich AT users.sourceforge.net>
* src/pic/gen.c tidied up tabs
* src/pic/genarith.c tidied up tabs and fixed bug with literal multiple where same register was used for hi and low byte
* src/pic/main.c tidied up tabs
* src/pic/pcode.c tidied up tabs and disabled verbose code generation
* src/pic/pcoderegs.c tidied up tabs
* src/pic/ralloc.c tidied up tabs
2004-07-30 Vangelis Rokas <vrokas AT otenet.gr>
* src/SDCCmem.c (allocGlobal): don't turn S_REGISTER storage class
to S_FIXED for pic16 port and when symbol is not in level 0,
allocate for S_REGISTER storage class and pic16 port, too,
* src/pic16/device.h: prototype for checkSym,
* src/pic16/device.c (pic16_dump_access, checkSym): NEW,
* (pic16_assignConfigWordValue): test the value and the mask to
validate that the value is suitable for the configuration word,
* src/pic16/glue.c (pic16_printIvalFuncPtr): use 'externs' to
collect extern declared symbols, don't emit symbol twice, check
first if symbol is in publics set first,
* src/pic16/main.c (_pic16_keywords[]): added keyword 'register',
* added command line '--fstack' which enables an experimental
feature for stack access, too buggy to be used yet...
* src/pic16/ralloc.c (pic16_accessregWithName): NEW,
* (pic16_allocDirReg): when register has storage class S_REGISTER
allocate in pic16_dynAccessRegs,
* device/include/pic16/pic18f????.h: modified configuration word
naming convention, words started as CONFIG0H but should be CONFIG1H
2004-07-29 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/mcs51reg.h: fixed bug 970993
2004-07-27 Maarten Brock <sourceforge.brock AT dse.nl>
* added lib/calloc.c, lib/free.c, lib/realloc.c, include/stddef.h
* updated lib/malloc.c, lib/libsdcc.lib, lib/Makefile.in, include/malloc.h
* src/SDCC.lex (doPragma): added pragma disable_warning <nnn>
* src/SDCCmain.c (parseCmdLine): added option --disable-warning <nnn>
* src/ds390/gen.c (genPlusIncr): fixed bug when incrementing generic pointers
* support/Util/SDCCerr.c (vwerror): suppress disabled warnings and output
error/warning numbers,
added function setWarningDisabled()
* support/Util/SDCCerr.h: added setWarningDisabled() and MAX_ERROR_WARNING
* support/regression/ports/mcs51-stack-auto/spec.mk: added dependencies
_memcmp.c _memmove.c calloc.c realloc.c free.c
* support/regression/tests/malloc.c: added tests for new functionality
* support/regression/tests/zeropad.c: added tests for truncated initializers
and initialized char arrays starting with '\x0'
* src/mcs51/peeph.def: fixed regression, added peephole 177.f
2004-07-26 Bernhard Held <bernhard AT bernhardheld.de>
* support/valdiag/tests/overflow.c: fixed warning on (1 >> 40)
2004-07-26 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: updated example in section "Absolute Addressing"
* src/mcs51/peeph.def: added contributed fix for "bug" #995347 as
peephole 177.e. Thanks to anonymous
2004-07-25 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/glue.c (pic16_printIvalFuncPtr): when an extern
function isn't used in the source but referenced as a
variable initializer then declare it as extern in .asm file
2004-07-24 Vangelis Rokas <vrokas AT otenet.gr>
* .version: increased version number to 2.4.3
Adding version extension according to ChangeLog CVS revision
* src/Makefile.in (target all): added dependency 'version.h'
* (rule version.h): added rule to create version.h from ChangeLog,
* (rule dep): added dependency version.h,
* src/version.awk: AWK script to create version.h
* src/SDCCdwarf2.c (dwWriteModule),
* src/SDCCglue.c (initialComments),
* src/SDCCmain.c (printVersionInfo): modified to write after
version string the version extension number,
* src/SDCCutil.c: included "version.h"
* (getBuildNumber): NEW, returns SDCC's ChangeLog minor revision
number,
* src/SDCCutil.h: added prototype for getBuildNumber
* src/SDCCmain.c (parseCmdLine): when sOpt is 'I' add rest in
includeDirsSet, too,
* src/SDCCsymt.c (checkSClass): don't emit error when a variable,
const char [] is found in function prototype...
* src/pic16/genarith.c (pic16_genUMult8XLit_8): optimization to omit
moving to WREG with source is already in WREG,
* src/pic16/gen.h: added AOP_FSR0 and AOP_FSR2 in enum,
* src/pic16/gen.c (getFreePtr): updated to look for FSR0 and FSR2,
* (aopForSym): stack'ed symbols are partially supported, added
if-clause to support symbols in FARSPACE,
* (sameRegs): added test for AOP_ACC to see if registers are same,
* (pic16_freeAsmop): added case for AOP_FSR0 and AOP_FSR2,
* (pic16_aopGet): added case for AOP_FSR0 and AOP_FSR2,
* (pic16_popRegFromString): will not allocate a new register if it
doesn't find one by name, bug may have introduced...
* (pic16_popGet): added case for AOP_FSR0 and AOP_FSR2,
* (genIpush): revived to use pic16 port's stack,
* (genAddrOf): added incomplete case for stack'ed operand,
* (genCast): optimized a pair of MOVFW,MOVWF to MOVFF
* src/pic16/genutils.c (pic16_genNot): almot new vesrion for NOT,
can handle multibyte operands,
* src/pic16/glue.c (pic16_printIval*): some debug info added,
* (pic16initialComments): added message for MPLAB compatibility
mode enabled,
* src/pic16/main.h: prototype for pic16_mplab_comp,
* src/pic16/main.c (pic16_optionsTable): new option --mplab-comp,
which enabled MPLAB compatibility mode (i.e. no #LINE/#FILE, BANKED)
* (_pic16_linkEdit): NEW, handles link stage, transferred here
because of increased complexity of procedure,
* (_process_pragma): stack pragma changed to format 'stack pos len',
emit symbol '_stack_end' to conform with gplink,
* src/pic16/pcode.c (pic16_newpCodeOpBit): using pic16_regWithName
to search for register,
* (pic16_get_op, pic16_get_op2): added case for PO_W, PO_WREG and
PO_GPR_REGISTER,
* (pic16_pCode2str): when in MPLAB compatibility mode, comment out
#LINE directives and replace 'B' with 'BANKED' in instruction opcodes
* (pic16_getRegFromInstruction, pic16_getRegFromInstruction2): added
case for PO_GPR_REGISTER,
* (pic16_AnalyzeBanking): removed the old message for inc2h.pl, past
dies, the new era is ahead !...
* src/pic16/ralloc.c: added hash reposits pic16_dynAllocRegNames and
pic16_dynInternalRegs,
* (pic16_allocregWithName, pic16_procregWithName, pic16_regWithname): NEW,
* (pic16_allocDirReg): minor optimizations and bug fixes,
* (pic16_allocWithIdx): when searching pic16_dynProcessorRegs use fixed,
* device/lib/pic16/startup/crt0*.c: extern definition of stack_end,
load stack and frame pointer with address of 'stack_end' symbol
2004-07-23 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/glue.c (pic16emitStaticSeg): fixed bug with files
without source code but only variable initializers
2004-07-20 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/glue.c (pic16emitRegularMap): unused functions marked as
external are not declared as extern to reduce overhead while linking
2004-07-20 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (decorateType): removed buggy fix for bug #979599
2004-07-11 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCglue.c (printIvalArray): fixed bug #984229, thanks to Phuah
Yee Keat for the patch
* src/SDCCast.c (decorateType): fixed bug #979599
* src/ds390/gen.h: removed local fReturnSizeDS390
* src/ds390/gen.c: made fReturnSizeDS390 signed short to remove a warning
* src/ds390/gen.c (genAnd, genOr, genXor),
* src/mcs51/gen.c (genAnd, genOr, genXor): generate better optimized code
2004-07-04 Vangelis Rokas <vrokas AT otenet.gr>
* src/SDCCmain.c (linkEdit): modifications only for pic16 port,
add relFilesSet to $3, manipulate $2 to handle linking of object
files without source files in command line,
* device/include/pic16 (all headers): added ID location macros,
* src/pic16/device.c (struct PIC16_device Pics16[]): added field
entries for ID location bytes,
* (pic16_assignIdByteValue): NEW,
* src/pic16/device.h: new structures idRegInfo_t and idBytesInfo_t,
added field dumpcalltree to pic16_options_t,
* src/pic16/gen.c (genCmp): fixed bug case so a temporary register
is used instead of pic16_Gstack_base_addr, check if (ifx) before
emitting rFalseIfx label after check_carry label,
* src/pic16/glue.c (PIC16_IS_IDLOC_ADDRESS, PIC16_IS_HWREG_ADDRESS,
pic16_emitDIRegs), NEW
* (pic16glue): dump .calltree file when option --calltree found,
* src/pic16/main.c (OPTION _pic16_optionsTable): new option --calltree
* (_pic16_genAssemblerPreamble): emit ID locations after
configuration registers,
* (pic16_linkCmd): modifications of the link command,
* src/pic16/pcode.c (pic16_pciMOVFF): PCC_REGISTER replaces PCC_REGISTER2
* (pic16_pCodeInitRegisters): don't init stack registers,
* (pic16_findPrevInstruction): fixed bug,
* (pic16_getRegFromInstruction, pic16_getRegFromInstruction2): fixed
bug with immediate registers,
* (buildCallTree): traces stack push and pop,
* (pct2): dump also stack usage for each function,
* src/pic16/ralloc.c (dynrIdx): registers names start from 0x00
* (pic16_allocDirReg): various modifications,
* (pic16_typeRegWithIdx): when searching pic16_dynProcessorRegs set
fixed to 1,
2004-07-02 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/pcode.c: removed buggy double colon
2004-07-01 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: added include/pic16 to setup
2004-06-30 Vangelis Rokas <vrokas AT otenet.gr>
* device/lib/Makefile.in: fixed bug in target objects-pic16,
* device/lib/pic16/Makefile: prefixed with dash (-) command under
target 'clean',
* doc/sdccman.lyx: changed version to 2.4.2 and added some port
specific command line arguments. Also added sample lkr script
for placing a variable at a specific memory bank.
* src/pic16/device.c (pic16_dump_gsection): NEW, to dump variables
at a specific memory bank,
* (pic16_dump_isection): fixed bug which caused string literals to
be omitted when dumping idata section,
* (pic16_groupRegistersInSection): added code to handle registers
in specific memory banks,
* src/pic16/gen.c: labelOffset is prefixed with pic16_ and made
public, all references are renamed too,
* (pic16_aopGet): removed switch cases for AOP_R0,AOP_R1,AOP_DPTR,
AOP_DPTR2,
* (pic16_storeForReturn): added case to handle when dest is WREG,
* src/pic16/genarith.c (pic16_pCodeOpSubType): NEW,
* src/pic16/glue.c (pic16emitRegularMap): when adding a register in
pic16_rel_udata, check to see if that register is marked as being
a member of a specific memory bank,
* (pic16_printIvalCharPtr): added code to add string literals either
to code or the idata sections,
* src/pic16/main.c (_process_pragma): added \n to WHITE constant,
also accept the 'udata' pragma,
* src/pic16/main.h: new structure types sectName and sectSym
* src/pic16/pcode.c: added new pCodeInstruction entry for BANKSEL
* (newpCodeOpBit): added PIC_OPTYPE subt in function prototype,
* (pic16_findPrevInstruction): fixed, it returned nothing,
* (insertBankSwitch): fixed to emit banksel/skip and skip/banksel
instruction combinations,
* (pic16_FixRegisterBanking): heavily reorganised,
* (pic16_AnalyzeBanking): if generating banksel directives is
disabled, then don't call FixRegisterBanking at all,
* src/pic16/ralloc.c (bitEQUs, aliasEQUs, allDefsOutOfRange):
completely removed,
* (pic16_writeUsedRegisters): added call to pic16_dump_gsection
2004-06-29 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCglue.c (printChar): fixed bug #973350, patch provided by
Phuah Yee Keat <yk.phuah AT nestac.com>
2004-06-28 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/glue.c (pic16createInterruptVect): function now emits
correctly the IVT even if it is relocated to some other location
2004-06-28 Vangelis Rokas <vrokas AT otenet.gr>
* device/include/pic16/pic18fregs.h: added case for pic18f2220.h
* device/include/pic16/pic18f2220.h: NEW,
* device/lib/pic16/libdev/pic18f2220.c: NEW,
* device/lib/pic16/libdev/Makefile: added 18f2220 in DEVS,
* src/pic16/device.c (struct Pics16): added info for 18f2220,
* src/pic16/device.h (struct pic16_options): added ivt_loc and
nodefaultlibs, ivt_loc is the location of the interrupt vector
table, and nodefaultlibs signs that default libraries should not be
linked in link stage,
* src/pic16/gen.c (genFunction): relocate interrupt vector functions
according to --ivt-loc argument,
* src/pic16/main.c (_process_pragma): emit '_stack' as public symbol
when pragma stack is found,
2004-06-25 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peeph.def: added peepholes 182.d (return 0.0),
256 (range check), 257 (do while), 258.a-f (bit banging
f.e. on 3-wire SPI bus)
2004-06-21 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCClrange.c (findNextUseSym): fixed a live range bug with
variables used exclusively within a loop
2004-06-21 Bernhard Held <bernhard AT bernhardheld.de>
* src/mcs51/gen.c (genCpl): quick fix for bug #974835
2004-06-21 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCClrange.c (computeClash): fixed bug #971834
2004-06-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c (genCmp): fixed bug #975903
* src/hc08/gen.c (operandsEqu),
* src/ds390/gen.c (operandsEqu),
* src/z80/gen.c (operandsEqu),
* src/pic/gen.c (operandsEqu),
* src/pic16/gen.c (operandsEqu),
* src/mcs51/gen.c (operandsEqu): fixed bug #976283
* src/SDCCmain.c (parseCmdLine): report --unknown-option only once
2004-06-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcse.c (cseBBlock): fixed bug #966963
2004-06-12 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/gen.c (genPointerGet): added E_INTERNAL_ERROR for
default case in switch statement,
* glue.c (pic16_initPointer): expr is initialised via decoarteType
to eliminate problem with initialisation of pointers, but problem
still exists,
* (pic16_pointerTypeToGPByte): removed, no needed for pic16,
* (emitStaticSegment): removed various lines emitting debug info,
* src/pic16/pcode.c, src/pic16/pcode.h, src/pic16/ralloc.h:
added processor registers for utilizing EEPROM,
* src/pic16/pcode.c (pic16_emitDB): number of DBs emitted is not
configurable and set 8
2004-06-08 Vangelis Rokas <vrokas AT otenet.gr>
* .version: increased version number to 2.4.2,
Cumulative patch for pic16 port
* src/pic16/device.c: changed scheme to dump initial values for
variables in idata segment, all print_idata* functions were removed,
now the pic16_printIval* will be called,
* src/pic16/glue.c: (pic16_initPointer, pic16_pointerTypeToGPByte,
* _pic16_printPointerType, pic16_printPointerType,
* pic16_printGPointerType, pic16_printIvalArray, pic16_printIvalStruct,
* pic16_printIvalBitFields, pic16_printIvalFuncPtr, pic16_printIvalPtr:
NEW, similar to the respective functions in SDCCglue.c,
* src/pic16/pcode.c (pic16_emitDB, pic16_flushDB): reverted to old
way, emitting hex bytes,
* (pic16_emitDS): NEW, emits a string for pointer initialisation,
2004-06-08 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/avr/ralloc.c (serialRegAssign),
* src/xa51/ralloc.c (serialRegAssign),
* src/pic/ralloc.c (serialRegAssign),
* src/pic16/ralloc.c (serialRegAssign),
* src/hc08/ralloc.c (serialRegAssign),
* src/z80/ralloc.c (serialRegAssign),
* src/ds390/ralloc.c (serialRegAssign),
* src/mcs51/ralloc.c (serialRegAssign): fixed bug #964479
2004-06-08 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c (geniCodeJumpTable): fixed bug #967601
* src/SDCCpeeph.c (labelIsReturnOnly): fixed bug #966505
2004-06-07 Vangelis Rokas <vrokas AT otenet.gr>
Cumulative patch for pic16 port:
* src/pic16/device.h (typedef PIC16_device) modified fields for
defining microcontrollers,
* src/pic16/device.c: added new info for all devices in Pics16 array,
* src/pic16/gen.c (genPcall): fixed bug that caused the return label
to be optimised out by the pCode optimiser,
* src/pic16/glue.c (pic16emitRegularMap): treat implicit aggragates
specially, bug reported by G.M. Gallant,
* src/pic16/pcode.c (pic16_newpCodeLabelFORCE): NEW, marks a label
as force'd so that cannot be optimised out by pCode optimiser,
* src/pic16/pcode.c,
* src/pic16/pcodepeeph.c,
* src/pic16/pcoderegs.c: many modifications to re-enable peepholes,
they are disabled by default, but can be enabled explicit with
command argument --denable-peeps, for testing,
* device/lib/pic16/startup/Makefile: added --no-peep,--pomit-config-words,
--pomit-ivt in COMPILE_FLAGS
2004-06-06 Maarten Brock <sourceforge.brock AT dse.nl>
* src/pic16/pcode.c (pic16_emitDB): removed double semicolon which fails
compilation on MSVC
2004-06-06 Maarten Brock <sourceforge.brock AT dse.nl>
* device/include/sab80515.h: added sfr P6, changed GPL to LGPL
2004-06-06 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
device/include/sab80515.h: fixed bug #967492, DAPR is defined at adress
0xd8, but the correct adress is 0xda. Thanks to anonymous for reporting
2004-06-06 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/device.c (pic16_assignConfigWord): fixed bug that
would only assign 0x300001 register.
2004-06-05 Vangelis Rokas <vrokas AT otenet.gr>
* device/lib/pic16/startup/Makefile: added $(MODELFLAGS)
in COMPILE_FLAGS. Thanks to G. Gallant for report.
2004-06-05 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: minor changes, mentioned beta vendor support
for ds80c400
* src/mcs51/peeph.def: ran unexpand -a over peeph.def
* src/mcs51/peeph.def: removed obsolete peephole 100.a,
added peephole 254 (left shift), 255 (jump table)
2004-06-04 Vangelis Rokas <vrokas AT otenet.gr>
* device/lib/Makefile.in: removed comment line with model-pic16,
* (target port-specific-objects-pic16): the libraries and objects
are copied to the build directory form the device/lib/pic16/bin
directory
Cumulative patch concerning pic16 port:
* library directory has been re-organized,
* added support for PIC18F1220,
* added headers and library sources for chips 18f1220,18f6520,
18f6620,18f6680,18f6720,18f8520,18f8620,18f8680,18f8720
* configuration registers setting has changed, now each supported
device has a complete description of the registers it uses,
* all initialisations are moved to idata sections, these section
can be absolute or relocatable,
* fixed initialisation of codespace variables,
* fixed warning about PCLATU and gpsim,
* src/pic16/gen.c (genCmp): now can handle partially iCodes with no ifx,
* (genAssign): use table reads when assigning from variables in codespace,
* src/pic16/glue.c (pic16emitStaticSeg): fixed to correctly initialise
char/int variables placed in codespace,
* (pic16_emitConfigRegs): NEW, emits a list with configuration
registers set in .asm file, no need for --pomit-config-words anymore,
* (pic16glue): some 8051 legacy segments are commented out
(to be removed completely),
* added support for alternative assembler and linker with --asm=
and --link= command line arguments,
* peepholes are disabled automatically in the port, no need to
specify on command line,
* port supports natively char/int/long multiplication, but converts
all divisions to support functions,
* main.c: pic16_linkCmd and pic16_asmCmd changed to force output
to the file set in variable $2,
* pcode.c (pic16_emitDB, pic16_flushDB): modified to print printable
strings in ASCII format and not in hex,
* ralloc.c (serialRegAssign): added a triplet of conditional calls
to pic16_allocDirReg for IC_RESULT, IC_LEFT and IC_RIGHT so to
allocate proper register if iCodes aren't temporary,
2004-06-02 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/zeropad.c: added TEST_G macro for alpha
2004-06-02 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/gen.c (genPcall): warning about gpsim and PCLATU
is commented out
2004-06-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (genPointerGetSetOfs): disabled optimization if
computed address is reused
* src/hc08/gen.c (genPackBits): fixed offsets in assignments to
multi-byte bitfields
2004-06-01 Maarten Brock <sourceforge.brock AT dse.nl>
* src/z80/gen.c: (genArrayInit): must check for pointers too
2004-06-01 Maarten Brock <sourceforge.brock AT dse.nl>
* support/regression/tests/zeropad.c: never meant to commit the
nestedstruct test: removed, added check for GCC version
2004-05-31 Maarten Brock <sourceforge.brock AT dse.nl>
* src/SDCCast.c (createIvalArray): fixed bug 770487 SIGSEGV
* src/SDCCglue.c (emitRegularMap): fixed bug 770484 allocation problem
* src/SDCCglue.c (initPointer, printIvalType, printIvalStruct,
printIvalArray, printIvalFuncPtr, printIvalPtr, printIval): fixed
bugs 928906 and 954082 half-empty initializers
* src/SDCCsymt.h,
* src/SDCCsymt.c (getAllocSize): added for above fix
* src/z80/gen.c (genArrayInit): fixed bug 741044
* support/regression/tests/zeropad.c: added tests
2004-05-30 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/device.c (pic16_dump_section): corrected bug which
caused some symbols of the libraries to be misplaced
2004-05-28 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/glue.c,
* src/pic16/ralloc.h,
* src/pic16/ralloc.cc: prefixed IS_CONFIG_ADDRESS with PIC16_
to fix conflict with pic port
2004-05-28 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/glue.c (pic16emitStaticSeg): do not print as publics or
externs configuration variables,
* src/pic16/ralloc.h,
* src/pic16/ralloc.cc: IS_CONFIG_ADDRESS is made public and added
prototype in header, commented out some debug messages
2004-05-26 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/glue.c,
* src/pic16/main.c,
* src/pic16/pcode.c: added gpasm directives #FILE/#LINE
for gpasm COFF object generation. Thanks to D. Hawkins for
his patch info
2004-05-25 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/ds390/main.c,
* src/mcs51/main.c: fixed sort order of mnemonics (thanks to Maarten
Brock for spotting this)
* src/ds390/gen.c (genEndFunction),
* src/mcs51/gen.c (genEndFunction): always save psw if function is an
interrupt handler and critical. Disable push/pop optimizations when
peephole optimizations disabled.
2004-05-25 Vangelis Rokas <vrokas AT otenet.gr>
Updated pic16 library sources and headers.
* device/lib/pic16/pic18f*/ ,
* device/include/pic16/*.h: modified to handle structured SFR
definitions
2004-05-25 Vangelis Rokas <vrokas AT otenet.gr>
* src/port.h (PORT structure): added hook initPaths, now each
port can declare its own default search paths,
which can been seen with the --print-search-dirs option,
see pic16 port for example,
* src/SDCCmain.c (setBinPaths, setIncludePaths, setLibPath,
setDataPaths): test to options.printSearchDirs is ifdef'ed out,
* (doPrintSearchDirs): NEW, replaces in a central manner the
printing of search dirs which was split in set*Paths functions,
* (main): added call to port->initPaths and doPrintSearchDirs,
* src/avr/main.c,
* src/ds390/main.c,
* src/hc08/main.c,
* src/izt/i186.c,
* src/izt/tlcs900h.c,
* src/mcs51/main.c,
* src/pic/main.c,
* src/pic16/main.c: modified port structures to reflect addition of
initPaths hook,
* src/pic16/device.c (regCompare): registers are finally sorted by name,
* (pic16_dump_section): for registers in same address reserve memory once,
* src/pic16/device.h (struct PIC16_device): changed variable gen_banksel
to no_banksel,
* src/pic16/genarith.c (pic16_genPlus): added code to handle cases where
result is greater in size than right or left,
* (pic16_genUMult8X8_8): there are some cases where the result can
be 16 bits size, so handle these,
* src/pic16/gen.c: changed some pic16_emitpcomment to DEBUGpic16_emitcode,
* (pic16_outBitC): modified to emit pcodes,
* (pic16_storeForReturn): using is_LitOp to see if operand is literal
or not,
* (genDivOneByte): implemented algorithm to divide 8-bits,
* (genCmp): uncommented goto, but issues still exist,
* (genAnd): fixed a bug with variables >8bits,
* (genPackBits): optimization added that uses BCF/BSF to change a
single bit,
* (genAssign): fixed bug when assigning floating point literals,
* src/pic16/glue.c (pic16glue): added assembler directive 'code' before
__sdcc_gsinit_startup label,
* src/pic16/main.c (_pic16_init): removed search directory
initialisations,
* (_pic16_initPaths): NEW, used to initialise search directories,
* (_hasNativeMulFor): support functions for all except char/int
multiplication, and char division,
* (PIC16_port struct): modified entry for native mul support,
* src/pic16/pcode.c (insertBankSwitch): modified to support the renamed
no_banksel option,
* (buildCallTree): call to register_usage is ifdef'ed out,
2004-05-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* device/include/string.h: applied Stas Sergeev's patch to make this
header file compatible with the preprocessor -Wundef option
* src/SDCCmain.c (main): abort compilation if preprocessor reports
failure (fixes bug #941458)
2004-05-21 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCopt.c (killDeadCode): fixed bug #907733
* support/Util/SDCCerr.c: reworded E_AUTO_ASSUMED diagnostic to clarify
that the variable, not the function, should be static
* src/SDCCval.c (valCastLiteral): fixed bit initialization from literal
to be consistent with non-literal case
2004-05-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (isConformingBody): fixed bug #949967
* src/SDCCopt.c (cnvToFcall, cnvToFloatCast, cnvFromFloatCast,
convilong): fixed bug #952086
2004-05-18 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCmem.c (allocVariables): fixed bug #955321
2004-05-18 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/main.c (_hc08_genAssemblerEnd),
* src/SDCCdwarf2.c (dwOpenFile, dwCloseFile, dwWriteFunction,
dwWriteModule, dwWriteCLine, dwWriteALine, dwarf2FinalizeFile):
completely eliminated the use of a temporary file
* src/SDCCdwarf2.c (dwWriteAttr): fixed bug with location list offset
when more than one file linked
* src/SDCCloop.c (pointerAssigned): fixed bug #954163
2004-05-17 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCval.c (valForArray): applied Maarten Brock's patch #947682
which fixes bug #543481
* support/regression/tests/bug-751703.c: fixed comments left from a
cut and paste error
* src/SDCCdwarf2.c (dwCloseFile): don't explicitly close a temp file
* src/SDCCdwarf2.c (dwTagFromType): added bitfield support
* src/SDCCdwarf2.c (dwWriteSymbolInternal): handle extern within local
scopes
* src/SDCCdwarf2.c (dwWriteLineNumber): line number deltas are signed
* src/SDCCmain.c (processFile, parseCmdLine): non-alphanumeric chars
are now changed to underscores in moduleName
2004-05-15 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* as/mcs51/lkmem.c: better fix for bug #954173
2004-05-15 Maarten Brock <sourceforge.brock AT dse.nl>
committed by Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/include/c8051f020.h: newly added SiLabs (Cygnal) header file
* device/include/c8051f000.h,
* device/include/c8051f120.h,
* device/include/c8051f300.h,
* device/include/c8051f310.h,
* device/include/c8051f320.h: updated (added _XPAGE, CAPN, CAPP,
PWM16) and detab'ed
2004-05-15 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: mentioned sourceforge's delay between web frontend
and mailing lists, doc'ed --no-peep-comments, removed reference
to knoppix (newest version has no LyX/LaTeX), other minor changes
* src/SDCCglue.c (glue): save 2 bytes stack space with
option --main-return. The ljmp could probably be avoided too
2004-05-14 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* as/mcs51/lkmem.c, as/mcs51/lkaomf51: fixed bug 954173
2004-05-14 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.h: added IS_AUTO(symbol) test macro
* src/SDCCopt.c (isLocalWithoutDef),
* src/SDCCicode.c (operandFromSymbol): use the IS_AUTO test macro
which adds a !IS_EXTERN codition. Fixes bugs #877426 and #751703.
(credit to Maarten Brock for patch #949363, on which this is based)
* support/regression/tests/bug-751703.c: some test cases of extern used
within inner scopes.
2004-05-14 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCdwarf2.c (dwMatchTypes): structs must have matching
SPEC_STRUCT
* src/SDCCdwarf2.c (dwTagFromType): fix to handle recursive
struct definitions
* src/SDCCdwarf2.c (dwWriteModule, dwNewDebugSymbol, dwWriteEndFunction,
dwWriteLabel): fix to create valid debugger symbols even when
the module name has non-alphanumeric symbols in it
* src/SDCCdwarf2.c (dwWriteSymbolInternal): better detection for
when a variable's allocation has been optimized away
2004-05-13 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (hc08_emitDebuggerSymbol),
* src/hc08/main.c,
* src/mcs51/gen.c (mcs51_emitDebuggerSymbol),
* src/mcs51/main.c,
* src/ds390/gen.c (ds390_emitDebuggerSymbol),
* src/ds390/main.c,
* src/z80/gen.c (z80_emitDebuggerSymbol),
* src/z80/main.c,
* src/pic/gen.c (pic14_emitDebuggerSymbol),
* src/pic/main.c,
* src/pic16/gen.c (pic14_emitDebuggerSymbol),
* src/pic16/main.c,
* src/avr/gen.c (avr_emitDebuggerSymbol),
* src/avr/main.c,
* src/xa51/gen.c (xa51_emitDebuggerSymbol),
* src/xa51/main.c,
* src/SDCCdebug.c (emitDebuggerSymbol),
* src/SDCCdebug.h,
* src/port.h: added a debugger struct to the port struct. Added a
callback for defining debugger symbols
* src/SDCCast.c (createLabel),
* src/SDCC.y (labeled_statement): mark all compiler generated labels
with isitmp = 1
* src/SDCCicode.h,
* src/SDCCicode.c (geniCodeFunctionBody): added a link from the FUNCTION
iCode back to the ast for the function
* src/hc08/ralloc.c (hc08_assignRegisters),
* src/hc08/ralloc.h: define a regs struct for the stack pointer. Removed
unneeded fields from the regs struct.
* src/hc08/gen.c (transferRegReg, genFunction, genEndFunction): use the
pushReg() & pullReg() functions instead of emitcode()
* src/hc08/gen.c (genLabel, genhc08Code),
* src/SDCCdebug.h: Added additional debugger hooks needed for DWARF
* src/cdbFile.c (cdbWriteLabel, cdbWriteScope): Added stubs for unneeded
debugger hooks
* src/hc08/gen.c (genEndFunction, genhc08Code),
* src/hc08/gen.h,
* src/mcs51/gen.c (genEndFunction, gen51Code),
* src/mcs51/gen.h,
* src/ds390/gen.c (genEndFunction, gen390Code),
* src/ds390/gen.h,
* src/z80/gen.c (genEndFunction, genZ80Code),
* src/z80/gen.h,
* src/z80/z80.h,
* src/pic/gen.c (genEndFunction, genpic14Code),
* src/pic/gen.h,
* src/pic16/gen.c (genEndFunction, genpic16Code),
* src/pic16/gen.h,
* src/avr/gen.c (genEndFunction, genAVRCode),
* src/avr/gen.h,
* src/xa51/gen.c (genEndFunction, genXA51Code),
* src/xa51/gen.h,
* src/cdbFile.c (cdbWriteFunction, cdbWriteEndFunction): moved cdb
specific code to cdbFile.c and out of the backend code generators
* as/hc08/lkmain.c (main): removed OMF51 support from link-hc08
* as/hc08/lkarea.c (lnkarea): areas with NOLOAD attribute default
starting address is now 0
* as/hc08/asm.h,
* as/hc08/m08pst.c,
* as/hc08/asmain.c (asmbl): implemented the .sleb128 and .uleb128
assembler directive for DWARF support
* as/hc08/lkelf.c (elf): only increment address when rtflg[] set
* src/src.dsp,
* src/Makefile.in,
* src/SDCCdwarf2.c: preliminary DWARF (ver 2) debugger data generator
2004-05-04 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (genJumpTab, emitcode, genhc08code): fixed stack error
and inappropriate peephole optimization in jump tables
2004-04-30 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* as/hc08/m08pst.c,
* src/SDCCglue.c: sdccopt works for the hc08 port now
2004-04-27 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCicode.c (geniCodePreInc, geniCodePreDec): fixed bug #942130
2004-04-27 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* as/hc08/lkelf.c: sdccconf.h is not available in WIN32
2004-04-24 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCpeeph.c (replaceRule): support empty replacement peephole
rules
* src/SDCCmain.c,
* src/SDCCglobl.h,
* src/SDCCpeeph.c (getPeepLine): new option --no-peep-comments omits
comments from the peephole optimizer replacement rules
* src/SDCCmem.c (printAllocInfoSeg): give actual location of spilled
symbols
* src/SDCCcse.c (updateSpillLocation),
* src/SDCCopt.c (killDeadCode, findReqv): better tracking of register
equivalents
* src/hc08/ralloc.c (regTypeNum): pseudo symbols must be in DATA only
* src/hc08/main.c (_hc08_finaliseOptions): made pointers to stack
objects far pointers
2004-04-23 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.h: a missing part of my last change
* src/pic/ralloc.c (regTypeNum),
* src/pic16/ralloc.c (regTypeNum): fixed statement/declaration order
2004-04-23 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.h,
* src/SDCCicode.c (aggrToPtrDclType),
* src/SDCCptropt.h,
* src/SDCCptropt.c (ptrBaseRematSym, ptrPseudoSymSafe,
ptrPseudoSymConvert),
* src/pic/ralloc.c (regTypeNum),
* src/pic16/ralloc.c (regTypeNum),
* src/hc08/ralloc.c (regTypeNum),
* src/ds390/ralloc.c (regTypeNum),
* src/mcs51/ralloc.c (regTypeNum): check for dependancy hazards before
creating pseudo symbols (fixed bugs #777768, #930484, and #933966)
2004-04-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* link/z80/lkmain.c (afile),
* as/hc08/lkmain.c (afile),
* as/mcs51/lkmain.c (afile): fix suggested by Maarten Brock to
prevent a pointer problem when a filename has no directory and
no extension specified.
2004-04-21 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* link/z80/lkmain.c (afile): allow periods in directory names
* link/z80/lkmain.c (afile),
* as/mcs51/lkmain.c (afile),
* as/hc08/lkmain.c (afile): allow linker script file to have an
extension other than ".lnk"
* link/z80/lklex.c (getfid),
* link/z80/lkmain.c (parse),
* as/mcs51/lklex.c (getfid),
* as/mcs51/lkmain.c (parse),
* as/hc08/lklex.c (getfid),
* as/hc08/lkmain.c (parse): Support comments in the linker script
file on lines by themselves and after filenames
2004-04-20 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* as/link_hc08.dsp: Added as/hc08/lkelf.c to project.
2004-04-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/peeph-z80.def: removed some peephole rules that don't
work with multibyte arithmetic (fixed bug #937126)
* src/mcs51/peeph.def: fixed peephole rules 150-158 to apply only
to registers and not global variables
* src/SDCCicode.c (geniCodeAssign, ast2iCode, geniCodePostInc,
geniCodePreInc, geniCodePostDec, geniCodePreDec,
geniCodeLogicAndOr, geniCodeConditional): enforce strict lvalue
checking for assignments not internally generated (fixed bug #931895)
* src/SDCC.y (postfix_expr): ignore typedefs when looking for a
structure member (fixed bug #930072)
2004-04-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCmain.c (linkEdit),
* src/hc08/main.c (_hc08_parseOptions),
* as/hc08/Makefile.in,
* as/hc08/aslink.h,
* as/hc08/asm.h,
* as/hc08/m08pst.c,
* as/hc08/lkrloc.c (relr, rele),
* as/hc08/lkarea.c (lnkarea)
* as/hc08/lkmain.c (afile, parse),
* as/hc08/lkelf.c: support for ELF output
* as/hc08/lks19.c (s19),
* as/hc08/lkihx.c (ihx): ignore areas with the NOLOAD attribute
2004-04-17 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* as/mcs51/lkihx.c: Fixed bug #899105.
2004-04-16 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* doc/sdccman.lyx: Added instructons on how to convert MSVC .dsw and
.dsp files from Unix to DOS.
2004-04-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* doc/sdccman.lyx: removed the ANSI-C noncompliance note regarding
function pointers; we have been compliant for several months now.
* src/mcs51/ralloc.c (serialRegAssign): enabled part of my 2004-04-13
change that was accidently commented out
* src/mcs51/gen.c (freeAsmop, getFreePtr, freeForBranchAsmop, genIfxJump,
genCmpEq, jmpTrueOrFalse, genCmp, genAnd, genOr, genXor, genIfx): fixed
bug #922319
2004-04-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c: output of all of the internal debugging information
is now controlled by the D() macro; it is disabled by default
2004-04-13 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/ralloc.c (serialRegAssign, fillGaps, allocThisReg): try
harder to keep the same registers during a CAST iCode
* src/SDCCopt.c (optimizeCastCast, eBBlockFromiCode): casts of char to
long via int can be done in a single cast, if the signedness is
correct.
* support/regression/tests/bug-927659.c: fixed to avoid conflict with
putchar() in tinibios.c in ds390's library
2004-04-12 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (decorateType): fixed bug #898889,
cast result of a literal complement too
* src/mcs51/ralloc.c (packRegsForAssign): fixed bug #930931,
fixed check for bitfields
2004-04-11 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCicode.c (geniCodeLogic): made it static,
(geniCodeLogicAndOr): added in order to fix bug #905492,
(ast2iCode): fixed bug #905492
* support/regression/tests/bug-905492.c: added
* src/SDCCast.c (decorateType): don't decorate/process parms twice,
(processParms): fixed bug #927659: don't copy parms, this will clear
decorated flag
* support/regression/tests/bug-927659.c: added
2004-03-29 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (addCast): don't cast float to char
* device/lib/libsdcc.lib: added _memmove
2004-03-28 Bernhard Held <bernhard AT bernhardheld.de>
* device/lib/large/Makefile: fixed parallel execution by
replacing `make` by `$(MAKE)`
2004-03-28 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (genPointerGetSetOfs): correctly handle 1 byte array
offsets (fixes bug #923936)
2004-03-26 Bernhard Held <bernhard AT bernhardheld.de>
* device/lib/small/Makefile: fixed parallel execution by
replacing `make` by `$(MAKE)`
2004-03-23 Bernhard Held <bernhard AT bernhardheld.de>
* device/lib/vprintf.c (vsprintf): minor optimization, see bug #801101
2004-03-23 Scott Dattalo <scott AT dattalo.com>
* src/pic/gen.c (genCpl): multi-byte complements were not working.
* src/regression/Makefile: Regression test was not running.
2004-03-23 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (resultTypePropagate, decorateType): avoid promotion to int for
complement if possible
* src/SDCCval.c (valComplement),
* src/SDCCicode.c (operandOperation): fixed complement of literal
* support/regression/tests/onebyte.c (testComplement): added
2004-03-22 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (processParms): fixed bug #920866; decorateType() can
return an optimized tree; actually replace actParm with the new tree
* src/SDCCast.h: added some parantheses to remove side effects
* support/regression/tests/bug-920866.c
2004-03-21 Scott Dattalo <scott AT dattalo.com>
* src/pic/gen.c, src/pic/gen.h, src/pic/genarith.c, src/pic/pcode.c:
Bit operands were not being handled properly in the pic14 port.
(now src/regression/add.c passes again).
2004-03-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCC.y (labeled_statement): case and default no longer require
a following statement (RFE #893037)
2004-03-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c (pushSide, genSignedRightShift, genDjnz, geniPush):
use MOVA macro to avoid "mov a,acc" when peephole optimizer is
disabled (fixes bug #916294)
* sim/ucsim/s51.src/mov.cc (inst_mov_a_addr): Throw an error on
"mov a,acc"; patch provided by Lenny Story
* device/include/mc68hc908gp32.h: header contibuted by Juan Gonzalez
2004-03-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c (genFunction): optimize RECEIVE in reentrant
functions
* src/ds390/gen.c (genFunction, genEndFunction),
* src/ds390/ralloc.c (ds390_assignRegisters),
* src/mcs51/gen.c (genFunction, genEndFunction, mcs51_assignRegisters):
* src/mcs51/ralloc.c (mcs51_assignRegisters): Skip optimizing registers
pushed if there are parameters passed on the stack. Also, a cleaner
way to decide if r0/r1 should be pushed/popped. (Together they fix
bug #918693)
2004-03-18 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* doc/sdccman.lyx,
* device/lib/mcs51/crtpagesfr.asm,
* device/lib/mcs51/crtxinit.asm,
* device/lib/mcs51/crtxstack.asm: Changed name of _PAGESFR to _XPAGE
to avoid confusion with Si Lab's SFRPAGE register.
2004-03-17 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCglue.c (emitMaps): allow public sfr variables
* src/SDCCglue.c (initialComments): include compiler build date
with compiler version and put the timestamp of the generated
assembly file on a serperate line to be less confusing.
* src/port.h: added genInitStartup hook
* src/avr/main.c,
* src/ds390/main.c,
* src/hc08/main.c,
* src/pic/main.c,
* src/pic16/main.c,
* src/xa51/main.c,
* src/z80/main.c: genInitStartup initialize as NULL (default to
historical behaviour)
* src/SDCCglue.c (glue): _sdcc_gsinit_startup is now port specific.
* src/mcs51/main.c: (_mcs51_genInitStartup, _mcs51_genExtraAreas,
_mcs51_genXINIT, _mcs51_genRAMCLEAR): link initialization code from the
library instead of hard coding it into the compiler.
* support/regression/ports/mcs51-stack-auto/spec.mk,
* src/SDCCmain.c (linkEdit): added mcs51.lib to the link libraries
* device/lib/mcs51/Makefile,
* device/lib/small/Makefile,
* device/lib/large/Makefile,
* device/lib/mcs51/crtpagesfr.asm,
* device/lib/mcs51/crtstart.asm,
* device/lib/mcs51/crtxclear.asm,
* device/lib/mcs51/crtxinit.asm,
* device/lib/mcs51/crtclear.asm,
* device/lib/mcs51/crtxstack.asm: move most of the mcs51 C runtime
startup/initialization out of src/SDCCglue.c and src/mcs51/main.c
and into user configurable files.
* device/lib/clean.mk: clean mcs51 directory too
* support/regression/tests/longlit.c: added static to T1 declaration
* doc/sdccman.lyx: documented _PAGESFR sfr for customizing pdata
accesses in the initialization code
2004-03-14 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* device/include/mc68hc908qy.h: corrected declarations of FLBPR and
OSCTRIMVAL as noted in bug #916008
2004-03-14 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCloop.c (basicInduction): fixed bug with loop induction
in loops with multiple exits (reported as incorrect registers
used by Martin Helmling in Sdcc-user list)
2004-03-12 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/ds390/main.c (_ds390_genAssemblerPreamble): cosmetic change,
made ds390 register extensions look less like error messages
2004-03-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCglue.c (printIvalPtr): fixed bug with pointer initializer
reported by Adam Wozniak in Sdcc-user list
2004-03-10 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (decorateType): fixed with bug and promotion in
arithmetic optimizations, added debug output
2004-03-09 Bernhard Held <bernhard AT bernhardheld.de>
* device/lib/time.c (mktime): fixed bug reported by Bert Thomas
* sdcc.spec: updated and split sdcc into 3 rpms
* src/SDCCast.c (decorateType): &|^ don't need addCast(); addCast() is
needed for literals of LEFT_OP and '+'
* src/SDCCicode.c (geniCodeLogic): I must have been braindead when I
introduced RESULT_TYPE_NOPROM
(geniCodeMultiply): fixed logic for decision if mul is optimized to
left shift
* src/SDCCsymt.c (computeType): op is int; added RESULT_TYPE_OTHER;
limited promotion to int only for '*'
* src/SDCCsymt.h (computeType): op is int, removed RESULT_TYPE_NOPROM
2004-03-09 Hans Dorn <hjdorn AT users.sourceforge.net>
* src/pic16/gen.c (genSkip),
(genc16bit2lit), (gencjneshort): commented out
(is_LitOp): new helper function, checks operand type
(genCmpEq): rewritten
2004-03-08 Bernhard Held <bernhard AT bernhardheld.de>
* support/regression/tests/bug-908454.c: added
2004-03-07 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (addCast): fixed bug #908454 by promoting bits to char
* src/SDCCicode.c (usualBinaryConversions): op needs int type
(geniCodeCast): cosmetic, don't preserve bit storage class
(geniCodeLeftShift): added promotion
(geniCodeLogic): fixed regression
* src/SDCCsymt.c (computeTypeOr): accept bits too
(compareType): 2nd part of fix for bug #908454, needed for bitfields
2004-03-07 Borut Razem <borut.razem AT siol.net>
* support/Util/findme.c: alloca() replaced with malloc()/free() pair
2004-03-06 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/ralloc.c (pic16_genPackRegisters): reverted to old
version of pic16_genPackRegisters which does not check if ic is a
CAST operator,
* src/pic16/gen.c (ifxForOp): disabled new and untested code in
function cause string1.c regression test fails
2004-03-06 Bernhard Held <bernhard AT bernhardheld.de>
* sim/ucsim/configure.in,
* sim/ucsim/configure,
* sim/ucsim/doc/Makefile.in: use docdir
* src/SDCC.y: fixed sbit atrributes
* src/SDCCast.c (getResultTypeFromType): added support for bitfields
* src/SDCCast.c (decorateType): |^& need special promotion handling
* src/SDCCast.h,
* src/SDCCsymt.h: moved definition of RESULT_TYPE
* src/SDCCsymt.h (computeType),
* src/SDCCicode.c: computeType() needs op
* src/SDCCsymt.c (checkTypeSanity),
* doc/sddman.lyx: "plain" bitfields are unsigned
* src/SDCCsymt.c (computeTypeOr): added
* src/SDCCsymt.c (computeType): added support for bitfields, fixed
|^& ops
* src/SDCCval.c (val*): computeType() needs op
* src/SDCCval.c (valCastLiteral): fixed casting of bitfields
* support/regression/tests/onebyte.c: added tests for |^&
2004-03-06 Hans Dorn <hjdorn AT users.sourceforge.net>
* src/pic16/gen.c: (genpic16Code) use copy of printILine's output
for writing icode into asm output.
2004-03-05 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/device.c: added some debug lines enabled
with macro DEBUG_CHECK,
* src/pic16/genarith.c: more debug in genPlus,
* (pic16_genUMult8XLit_16, pic16_genUMult8X8_16): removed,
* (pic16_genUMult16X16_16, pic16_genUMult16XLit_16): NEW,
* src/pic16/gen.c: added prototypes for pic16_genMult16X16_16,
* (aopForSym): onStack symbols are re-placed in data memspace,
and onStack flag is cleared,
* (pic16_popGetTempReg, pic16_popReleaseTempReg): modified to
copy temporary pcodeop,
* (genPcall): added warning for not updating PCLATU,
* (genFunction): removed test with IFFUNC_CALLEESAVES, its
always true for pic16 port,
* (genMultOneWord): NEW, supports integer multiplication,
* (genMult): modified to call genMultOneWord,
* (ifxForOp): added warning when return NULL,
* src/pic16/glue.c (pic16emitRegularMap): symbol implicit
flag is set before call to operandFromSymbol for implicit
added structures,
* src/pic16/main.c (_pic16_finaliseOptions): options.float_rent,
options.intlong_rent are set by default,
* (_hasNativeMulFor): modified to allow port generation of integer
multiplication,
* src/pic16/ralloc.c (pic16_allocDirReg): commented out line which
set regtype to REG_SFR for all registers, restricting seting the
accessBank flag for registers 0<= r < 0x80 and 0xf80<=r<=0xfff,
2004-03-05 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peephole.def: added 251.b and 253.x. 253.x are applied
more than 500 times in the regression tests
2004-03-05 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/Util/SDCCerr.h,
* support/Util/SDCCerr.c,
* src/SDCC.y (struct_or_union_specifier, enum_specifier,
enumerator_list),
* src/SDCCsymt.c (addSymChain): show location of oriignal definition
for symbol conflicts.
* support/valdiags/tests/enum.c,
* support/valdiags/tests/tentdecl.c,
* support/valdiags/tests/struct.c: expect possible error messages
referring to original symbol definitions.
* src/SDCC.y (struct_or_union_specifier, struct_declarator),
* src/SDCCsymt.h,
* src/SDCCsymt.c (promoteAnonStructs): support anonymous struct/union
2004-03-03 Hans Dorn <hjdorn AT users.sourceforge.net>
* src/pic16/gen.c (gencjne): fixed for right=REG / left=LIT
2004-02-03 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/ralloc.c (newReg): fixed bug #908929
2004-03-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/ds390/gen.c: added missing #include "main.h"
2004-03-02 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/device.c (checkAddSym): NEW, adds a symbol to set while
checking if symbol is already in set,
* src/pic16/device.h: prototype for checkAddSym,
* src/pic16/gen.c: (_G): added entry interruptvector,
* (assignResultValue): removed some commented out lines,
* (genFunction): check for ISR via sym->type, absolute section for
interrupt code is created via a new pBlock, the goto instruction is
placed now correctly at the interrupt vector position, changed all
references from ivec to _G.interruptvector,
* WREG,STATUS,BSR are not saved in stack upon an entry to interrupt
is the interrupt is a high priority one, same for return from ISR,
* src/pic16/glue.c: changed all calls of addSetHead for publics and
externs to calls of checkAddSym,
* src/pic16/pcode.c (pic16_pBlockConvert2*): emit warning when
pic16_pcode_verbose flag is set,
* src/pic16/pcode.h: extern to pic16_pcode_verbose,
* src/pic16/pcoderegs.c: message about how many registers are saved
will only be emitted if pic16_pcode_verbose flag is set,
2004-03-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/ds390/ralloc.h,
* src/ds390/ralloc.c (ds390_regWithIdx),
* src/ds390/gen.c (emitcode),
* src/ds390/main.h,
* src/ds390/main.c (instructionSize, ds390newAsmLineNode, updateOpRW,
ds390opcodeCompare, asmLineNodeFromLineNode, getInstructionSize,
ds390operandCompare, getRegsRead, getRegsWritten,
initializeAsmLineNode): customized instruction size calculation for
ds390, started basis for some register optimizations
* src/ds390/gen.c (gen390Code, emitcode): associate iCodes with
corresponding assembly output
* src/ds390/gen.c (genFunction, genEndFunction): added case to handle
missing push/pop of r0/r1. Optimized push/pops
2004-03-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/main.c (instructionSize): fixed ACALL size
* src/mcs51/main.c (updateOpRW): fixed bug with @dptr, @a+dptr operands
2004-03-01 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/device.c (pic16_dump_section): fixed a bug that allowed
the sorting of rlist with NULL elements
* (print_idataType, print_idata): NEW to create idata sections
* src/pic16/device.h: idataSymSet new variable
* src/pic16/gen.c (genFunction): fixed some bugs in string
comparing, improved the absolute section creation for ISRs,
added FSR0L/FSR0H in registers that are saved in an ISR,
* (genInline): fixed the processing of inline snippets,
now they undergo no process by the peephole optimizer
* src/pic16/glue.c (pic16emitRegularMap): symbols with initialiser
are placed in idataSymSet,
* (pic16emitStaticSeg): extern symbols are added in externs,
* src/pic16/ralloc.c (pic16_allocDirReg): work around to reduce bank
switching when aboslute variables are placed in access bank memory
* (pic16_writeUsedRegs): added call to pic16_dump_idata,
* (packRegsForSupport,packRegsForAccUse,packRegsForOneuse):
commented out with #if,
* (pic16_packRegisters): reintroduce the check for CAST because some
symbols are not correctly handled,
* src/pic16/pcode.h: changed the definition of pCodeAsmDir to hold a
pCodeInstruction instead of pCode,
* src/pic16/pcode.c (pic16_newpCodeAsmDir): modified for the new
pCodeAsmDir definition,
* (pic16_pCode2str, genericPrint): when an AsmDir pcode has a NULL
directive, then the argument directive is emitted without the leading
tab, hack for inline labels which must be in the first column,
* (compareLabel,pic16_findNextInstruction),
* (pic16_findPrevInstruction): added case for PO_ASMDIR,
* (insertBankSwitch): modified for the new pCodeAsmDir,
2004-03-01 Hans-Juergen Dorn <hans.dorn AT apl-landau.de>
patch applied by Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/gen.c (pic16_popGet): case PO_DIR, adds the offset to
instance,
* (pushSide): commented out with #if,
* (assignResultValue): fixed some typos in saving
registers,
* (genPcall): FIXED and sync'ed with genCall,
* (genDataPointerGet,genDataPointerSet): using offset not leoffset
* (genNearPointerGet): fixed to handle some more cases,
implementation scheme via table reads,
* (genConstPointerGet): modified to access code memory correct,
* (genCodePointerGet,genNearPointerSet,genGenPointerSet): modified
and improved to handle some cases
* glue.c (printIvalType,printIvalChar,emitStaticSeg): use "DB"
instead of "RETLW" for init data
* src/pic16/ralloc.c (pic16_allocDirReg): warning when a symbol is
not IN_DIRSPACE, work around to reduce bank switching when aboslute
variables are placed in access bank memory (<0x80 and >=0xf80),
* src/pic16/pcode.c: added SFRs TBLPTR, TABLAT, added opcodes TBLRD,
TBLRD_POSTINC,TBLRD_POSTDEC,TBLRD_PREINC,TBLWT,TBLWT_POSTINC,
TBLWT_POSTDEC,TBLWT_PREINC
* Fixed initialisation of BSR, set "alias" for SSAVE to "0"
* (pic16_emitDB,pic16_flushDB): New functions to generate "DB"
directives
* (pic16_pCodeConstString): use "DB" instead of "RETLW"
* src/pic16/pcode.h: added TBLRD*,TBLWT*, added pic16_emitDB,
pic16_flushDB, made pic16_newpCodeAsmDir public, added TBLPTR, TABLAT
* src/pic16/ralloc.h: added IDX_BSR,IDX_TBLPTR*,IDX_TABLAT
2004-02-29 Borut Razem <borut.razem AT siol.net>
* src/Makefile.in, src/SDCCutil.c, support/Util/findme.c,
support/Util/findme.h, support/Util/system.h: enhance binary relative
search for lib and include by using findProgramPath()
2004-02-28 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCpeeph.h,
* src/SDCCpeeph.c (pcDistance),
* src/port.h,
* src/mcs51/ralloc.h,
* src/mcs51/ralloc.c (mcs51_regWithIdx),
* src/mcs51/main.h,
* src/mcs51/main.c (instructionSize, asmLineNode, updateOpRW,
mcs51opcodeCompare, asmLineNodeFromLineNode, getInstructionSize,
mcs51operandCompare, getRegsRead, getRegsWritten): made instruction
size calculation port specific, started basis for some register
optimizations
* src/mcs51/gen.c (genFunction, genEndFunction): added case to handle
missing push/pop of r0/r1. Optimized push/pops
* src/mcs51/ralloc.c (packregisters): fixed bug #727095
* device/lib/_modsint.c (_modsint),
* device/lib/_modslong.c (_modslong): fixed sign of result in non-asm
and stack version so regression tests pass
2004-02-26 Bernhard Held <bernhard AT bernhardheld.de>
* src/Makefile.in (dep): include SLIBOBJS in dependency check
* src/SDCCast.c (decorateType): catch another small optimization
with '?' operator
* src/SDCCsymt.c (computeType): added comments and cosmetic changes
* src/SDCCval.c (valMult, valDiv, valMod, valPlus, valMinus, valShift):
modified to finally use computeType() all over SDCC,
see Feature Request #877103
* src/SDCCval.h: cosmetic
* src/SDCCicode.c (operandOperation): fixed EQ_OP bug, now same as in
valCompare(); regression tested in muldiv.c
* support/regression/tests/muldiv.c (testMod): mod sign follows
dividend only
2004-02-23 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (decorateType): fixed bug #902362
* doc/INSTALL.txt: fixed install instructions for win32
2004-02-21 Bernhard Held <bernhard AT bernhardheld.de>
* device/include/Makefile.in (install): fixed by replacing spaces
by tabs
* doc/README.txt,
* doc/INSTALL.txt: updated for release
* doc/sdccman.lyx: added warning for --xstack being buggy
2004-02-20 Bernhard Held <bernhard AT bernhardheld.de>
* src/pic16/ralloc.c (packRegsForAccUse): disabled functions with #if
to eliminate build warnings.
* src/pic16/gen.c (pic16_popGet): fixed for gcc 2.95.4
2004-02-20 Vangelis Rokas <vrokas AT otenet.gr>
Hans-Juergen Dorn <hans.dorn AT apl-landau.de>
* doc/sdccman.lyx: removed PIC16 from PIC16 Port Specific Options,
removed -penable-stack, added comment for stack pragma, added
warning for not initializing the stack/frame registers, removed
comment at interrupts section
Stack is made permanent, there is no ability to disable stack usage.
* src/pic16/device.h,
* src/pic16/device.c: removed all references to USE_STACK macro,
* src/pic16/device.c (pic16_dump_section): when no elements in
rlist, free rlist before return,
* (pic16_dump_int_registers): NEW, internal registers are a new set
of general purpose registers reused by each function,
* (checkAddReg): returns 1 if registers is added to set,
* (pic16_groupRegistersInSection): when a registers is of type
PO_GPR_TEMP add it in pic16_int_regs and not in pic16_rel_udata,
* src/pic16/device.h: memRange and Assigned Memory are deleted,
SRCASECMP macro is moved here from device.c
* src/pic16/genarith.c (pic16_pCodeOpType): added cases for
PO_PCLATU, PO_PRODL, PO_PRODH,
* (pic16_pCodeOpType, genMinus,
changed compares to "a" register, with AOP_ACC,
* (pic16_genPlus): fixed some bugs and indented properly,
* (pic16_addSign): changed size to size+offset in the MOVWF
instruction,
* (pic16_genUMult8XLit_8): NEW, uses processor MULLW instruction to
multiply 8-bit operand by literal, result is 8-bit,
* (pic16_genUMult8X8_8): NEW, uses processor MULWF instruction to
multiply 2 8-bit operand, result is 8-bit,
* (pic16_genMult8X8_8): modified to call genUMult8X*_8 functions and not
genUMult8X*_16,
* src/pic16/gen.c: changed accUse to contain WREG only,
* (pic16_emitcomment): renamed to pic16_emitpcomment,
* (aopForSym): allocated dir register when IN_DIRSPACE(space) is,
true, do not use immediate addressing any more unless sym is a
pointer in codespace,
* (aopForRemat): do not use immediate addressing when symbol not in
codespace and when symbol's address is requested,
* (aopOp): for-loop in if(sym->accUse) is modified for the new
accUse size (= 1),
* (aopGet): added case for AOP_ACC and don't return "accumulator
bug" but WREG instead,
* (popGetTempReg): pushes contents of temporary register in stack,
* (popReleaseTempReg): pops contents of temporary register from
stack. Use popGetTempReg/popReleaseTempReg in aligned pairs,
* (pic16_popGet): separated case AOP_ACC to return register WREG
from processor registers, AOP_PCODE not checks if pcop is PO_DIR
or PO_IMMEDIATE and initializes their instance/offset appropriately,
* The whole issue with aopForSym,aopForRemat,popGet) is to minimize
the use of immediate pointers to certain cases only.
* (pic16_pushpCodeOpReg, pic16_poppCodeOpReg): use pic16_popGet2p,
* (pic16_loadFromReturn, pic16_storeForReturn: NEW,
* (assignResultValue, genCall, genRet): modified to use the new
function return value scheme with WREG,PRODL,PRODH,FSR0L and FSR0,
genPcall is still broken,
* (genFunction): added code to create 'A' type pBlocks when
interrupt functions are generated, code not extensively tested yet,
ISRs push WREG,STATUS,BSR,PRODL,PRODH,FSR0L,FSR0H registers on stack,
* (genEndFunction): modified so ISRs pop stored registers from stack,
* (genMultOneByte): cleanup,
* (AccRsh): added flag andmask, to and result with appropriate mask,
* (genUnpackBits,genPackBits): fixed and can handle bit fields,
* (genDataPointerGet): fixed and reenabled its use,
* (genNearDataPointerGet): bugs fixed,
* (genDataPointerSet): bugs fixed,
* src/pic16/genutils.c: added functions pic16_DumpValue,pic16_DumpAop,
pic16_DumpSymbol, pic16_DumpOp,
* src/pic16/genutils.h: function prototypes for the above functions,
* src/pic16/glue.c: new flags initsfpnt, to initialize stack/frame
pointers,
* (pic16emitRegularMap): many many many improvements, but needs a
major cleanup,
* src/pic16/main.c: enable_stack in pic16_options is removed,
* (_pic16_parseOptions): removed command line options -penable-stack,
* (_process_pragma): emit stack symbol only when stack pragma is
processed,
* src/pic16/pcode.c: pic16_pc_fsr0 is removed, all operations are
redirected to FSR0L/FSR0H pair,
* (pic16_get_op, pic16_get_op2): modifications and improvements,
* (pic16_getRegFromInstruction, pic16_getRegFromInstruction2): added
cases PO_PRODL,PO_PRODH, pic16_getRegFromInstruction2 returns sane
for immediates,
* (insertBankSwitch): modified to handle cases like: (alfa + 1)
* (dumpPicOptype): NEW,
* src/pic16/pcode.h: added PO_PCLATU,PO_PRODL,PO_PRODH in enum,
* src/pic16/pcoderegs.c (pCodeRegMapLiveRangesInFlow): fixed bug
with movff instruction,
* src/pic16/ralloc.c: renamed typeRegWithIdx to pic16_typeRegWithIdx,
added pic16_int_regs, some packRegsFor* functions are commented out,
because produce errors,
* src/pic16/NOTES: minor modifications
2004-02-18 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* as/mcs51/aslink.h, as/mcs51/lkarea.c, as/mcs51/lkdata.c, as/mcs51/lkmain.c,
as/mcs51/lkmem.c, src/SDCCglob.h, src/SDCCmain.c: added options --stack-size and
--pack-iram.
* doc/sdccman.lyx: described options --stack-size and --pack-iram.
* as/mcs51/lkaomf51.c: fixed bug #895763
2004-02-17 Bernhard Held <bernhard AT bernhardheld.de>
* device/include/c8051f320.h: added. Contributed by Maarten Brock.
2004-02-17 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* doc/sdccman.lyx: added details about the HC08 storage classes and
interrupts, fixed the register usage info for z80 & gbz80
2004-02-17 Vangelis Rokas <vrokas AT otenet.gr>
* doc/sdccman.lyx: added more pic16 port documentation
* device/include/pic16/: added header pic18fregs.h
2004-02-16 Bernhard Held <bernhard AT bernhardheld.de>
* doc/sdccman.lyx: added Vangelis' contribution
2004-02-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCClrange.c (rlivePoint): live range of SEND operand should
extend to the next CALL or PCALL, not just to the next CALL.
2004-02-16 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/gen.c (genInline): fixed bug #896482 with inline assembly
2004-02-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/ralloc.c (packRegsForAssign, reassignAliasedSym): fixed
bug #895752 and a better fix for bug #716790
2004-02-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.c (processFuncArgs): fixed bug #896796
2004-02-14 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: minor changes, minor changed
2004-02-13 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCicode.c (usualBinaryConversions): removed pic16 from ports
which can't handle SDCC_NEWONEBYTEOPS,
(geniCodeMultiply): removed conversion from mult to shift for pic14
and pic16
2004-02-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.h,
* src/hc08/gen.c (storeRegToAop, aopOp, aopAdrStr, accopWithAop,
rmwWithAop): Ported my 2003-10-02 fix for bug #663539 to the hc08,
thus fixing bug #895406
2004-02-11 Bernhard Held <bernhard AT bernhardheld.de>
* device/lib/_modsint.c,
* device/lib/_modslong.c: sign follows divisor only
* src/hc08/gen.c (genMultOneByte): if result size is 1,
signs or signedness can be ignored
* src/SDCCast.c (addCast): cosmetic - added lineno to CAST
* src/SDCCast.c (resultTypePropagate): added even more ops: +, - and *,
added optimization for IFX,
(decorateType): Mult/Div/ModOneByte ops can handle all kind of signed
arguments;
reenabled optimization for IFX, which was removed on 2004-01-11
* src/SDCCast.h: added return type IFX
* src/SDCCicode.c: Mult/Div/ModOneByte ops can handle all kind of signed
arguments with 8 or 16 bit results; pic14 and pic16 ports use old
promotion behaviour; env. var. SDCC_NEWONEBYTEOPS selects the new,
SDCC_OLDONEBYTEOPS selects the old behaviour
* src/SDCCsymt.c (computeType): type2 can be NULL (for LEFT_OP);
changed again and commented promotion rule
* src/SDCCval.c (valDiv): promotion no longer necessary
* src/ds390/gen.c (genMultOneByte) (genDivOneByte) (genModOneByte),
* src/mcs51/gen.c (genMultOneByte) (genDivOneByte) (genModOneByte):
rewritten
* support/regression/tests/onebyte.c: added
2004-02-11 Vangelis Rokas <vrokas AT otenet.gr>
* gen.c (genInline): reverted to old code for assemnling inline
code because of bug reported James Chadd
2004-02-10 Vangelis Rokas <vrokas AT otenet.gr>
* ralloc.h: missing declarations from previous patch,
seems that patch for ralloc.h was never applied, fixed
2004-02-10 Hans-Juergen Dorn <hans.dorn AT apl-landau.de>
patch committed by Vangelis Rokas <vrokas AT otenet.gr>
* pcode.c,
* pcode.h,
* ralloc.h: added FSR0L, FSR0H and other missing PIC16 SFR's for
indirect addressing. Marked FSR0 as deprecated
* gen.c (pointerCode): commented out, not needed now
(pic16_popGet2p): new MOVFF helper function
(genGenPointerGet),
(genGenPointerSet): reimplemented with MOVFF and POSTINC0
(shiftRLong): removed duplicate debugging info
2004-02-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/ds390/gen.c (genNearPointerGet),
* src/mcs51/gen.c (genNearPointerGet): allow the genDataPointerGet()
optimization with bits, but not bitfields.
* src/ds390/ralloc.c (packRegisters),
* src/mcs51/ralloc.c (packRegisters): fixed bug #884453 & #880832
2004-02-09 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCcse.c (algebraicOpts): copy operands before modification
2004-02-09 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.h,
* src/SDCCicode.c (operandFromSymbol),
* src/mcs51/ralloc.c (verifyRegsAssigned, serialRegAssign),
* src/ds390/ralloc.c (verifyRegsAssigned, serialRegAssign),
* src/z80/ralloc.c (verifyRegsAssigned, serialRegAssign),
* src/hc08/ralloc.c (verifyRegsAssigned, serialRegAssign),
* src/pic/ralloc.c (verifyRegsAssigned, serialRegAssign),
* src/pic16/ralloc.c (verifyRegsAssigned, serialRegAssign): fixed
bug #892038
* src/SDCCast.c (createIvalStruct, createIvalArray, gatherAutoInit),
* src/SDCCglue.c (emitRegularMap, printIvalStruct, printIvalArray,
printIvalCharPtr, printIvalPtr, printIval, emitStaticSeg, emitOverlay)
* src/SDCCsymt.c (newSymbol),
* src/SDCC.y (struct_or_union_specifier, enum_specifier,
enumerator_list),
* src/SDCCval.h,
* src/SDCCval.c (newiList): fixed bug #885705
2004-02-08 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* doc/sdccman.lyx: added section 3.1.4: sdcclib.
* as/mcs51/lkmem.c: report the size of the stack in .mem file.
2004-02-08 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/include/c8051f120.h,
* device/include/c8051f300.h,
* device/include/c8051f310.h: added/updated header files for Silicon
Laboratories (formerly Cygnal) CPUs. Contributed by Maarten Brock.
* doc/sdccman.lyx: minor changes, recommended diff -Naur and diff -u
in new section Submitting patches
2004-02-08 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c (genNearPointerGet, genPagedPointerGet,
genFarPointerGet, genCodePointerGet, genGenPointerGet,
genNearPointerSet, genPagedPointerSet, genFarPointerSet,
genGenPointerSet),
* src/ds390/gen.c (genNearPointerGet, genPagedPointerGet,
genFarPointerGet, genCodePointerGet, genGenPointerGet,
genNearPointerSet, genPagedPointerSet, genFarPointerSet,
genGenPointerSet),
* src/pic16/gen.c (genNearPointerGet, genPagedPointerGet,
genFarPointerGet, genCodePointerGet, genGenPointerGet,
genNearPointerSet, genPagedPointerSet, genFarPointerSet,
genGenPointerSet),
* src/pic/gen.c (genNearPointerGet, genPagedPointerGet,
genFarPointerGet, genCodePointerGet, genGenPointerGet,
genNearPointerSet, genPagedPointerSet, genFarPointerSet,
genGenPointerSet): fixed bug #892400
* src/pic16/gen.c (genSkipz, AccRol): disabled functions with #if 0
to eliminate build warnings.
* src/SDCCast.c (processParms),
* src/SDCC.y (function_declarator2, declarator2_function_attributes):
fixed bug 751859
* support/valdiag/valdiag.py: added GCC to the list of defines active
when compiling with gcc
2004-02-07 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/Util/SDCCerr.h,
* support/Util/SDCCerr.c,
* src/SDCCast.c (decorateType, sizeofOp): complain when sizeof is used
with an incomplete type (fixed bug #883734)
* src/SDCCicode.c (geniCodeCast): fixed bug #890510
2004-02-07 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/pic16/gen.c (genCmpEq, shiftRLong): fixed declarations
2004-02-06 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (decorateType),
* src/SDCCicode.c (geniCodeParms, geniCodeCall): fixed bugs in my ANSI
function pointer implementation
* support/regression/tests/funptrs.c: added tests to verify both forms
of function pointers work correctly. Added tests to verify parameters
are passed in the correct order.
2004-02-06 Vangelis Rokas <vrokas AT otenet.gr>
* device.c (regCompare): registers are sorted by ascending
address and increasing size,
* main.c (_pic16_finaliseOptions): removed the declaration
of compiler macro MCU. Now a macro of the format pic18fxxxx
will be defined from the command line
2004-02-06 Hans-Juergen Dorn <hans.dorn AT apl-landau.de>
patch committed by Vangelis Rokas <vrokas AT otenet.gr>
* pcode.c (pic16initMnemonics): fixed typo in assignment to PCOP_RLNCF
PCOP_RLCF was overwritten!
* gen.c (genSkip): commented out calls to pic16_emitcode,
* (genCmpEQ): fixed "long" compares, only high word did get compared,
* (genlshTwo),
* (genRRC): added debugging info,
* (shiftL2Left2Result): Fixed bug, if offr > offl. Result got
overwritten while shifting,
* (shiftR2Left2Result): Fixed bug, if offr < offl. Result got
overwritten while shifting,
* (AccLsh),
* (AccRsh),
* (shiftLLeftOrResult),
* (shiftRLeftOrResult),
* (shiftRLong),
* (shiftLLong): Implemented with pic16_emitpcode
* (genlshFour): Replaced pic16_aopPut with pic16_emitpcode,
* (genLeftShift): Fixed bug, operand for shift by variable always
was "and"ed with 0x0f,
* (genLeftShiftLiteral),
* (genrshTwo),
* (genRightShiftLiteral): added debugging info,
* (genrshFour): added comment,
* (genRightShift): determined signedness from operand "left"
instead of "result"
2004-02-04 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c (geniCodeParms),
* src/SDCCast.c (decorateType, processParms): support for ANSI-style
function pointers, fixed function pointer bugs #861242 and #861896
2004-01-31 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/include/c8051f000.h,
* device/include/c8051f120.h,
* device/include/c8051f300.h: added header files for Silicon
Laboratories (formerly Cygnal) CPUs. Contributed by Maarten Brock.
2004-01-31 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (processParams): added new type flow and restructured
(gatherAutoInit): added new type flow
(addCast): cosmetic changes
(getLeftResultType): added new type flow for array indices, patch
provided by Stas, see FR #877103
(decorateType): SDCC_NEWTYPEFLOW removed, new type flow is now standard;
array index patch by Stas
* src/SDCCast.h: added prototype getResultTypeFromType()
* src/SDCCval.h,
* src/SDCCval.c (resolveIvalSym) (resolveIvalSym),
* src/pic/glue.c (pic14emitStaticSeg),
* src/pic16/glue.c (pic16emitStaticSeg),
* src/SDCCglue.c (emitRegularMap) (emitStaticSeg): added new type flow
for initialization of symbols
* src/SDCCicode.c (geniCodeArray): removed warning W_ARRAY_BOUND
* support/Util/SDCCerr.h:
* support/Util/SDCCerr.c: replaced W_ARRAY_BOUND by W_IDX_OUT_OF_BOUNDS
* .version: bumped version number to 2.3.8
* device/include/Makefile.in (install),
* doc/Makefile (install): changed to 'rm `find ...`' construct to
avoid warnings
2004-01-30 Bernhard Held <bernhard AT bernhardheld.de>
* support/regression/tests/libmullong.c: fixed for 64 bit hosts
Slade Rich fixed an optimization bug
* src/pic/pcodepeep.c,
* src/pic/pcoderegs.c
* doc/Makefile (install): added test for directory
2004-01-30 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/ralloc.c (getRegPtr, getRegGpr),
* src/ds390/ralloc.c (getRegPtr, getRegGpr),
* src/pic/ralloc.c (getRegPtr, getRegGpr),
* src/pic16/ralloc.c (getRegPtr, getRegGpr),
* src/z80/ralloc.c (getRegGpr): fixed bug #883361
* as/mcs51/asexpr.c (term),
* as/hc08/asexpr.c (term): fixed bug #887146
2004-01-29 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/gen.c (genMult): handle single byte result product
* src/SDCCopt.c (killDeadCode): never convert ADDRESS_OF iCode to
DUMMY_READ_VOLATILE (fixed bug #886367)
2004-01-27 Bernhard Held <bernhard AT bernhardheld.de>
* support/regression/tests/libmullong.c: fixed logic, on little endian
hosts we ended without a mullong_wrapper()
2004-01-27 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* ChangeLog: changed "@" to " AT " in hopes of reducing spam and
virus/worm forged address usage.
2004-01-27 Bernhard Held <bernhard AT bernhardheld.de>
Fixed promotion, it should be done on AST level:
* src/SDCCast.c (addCast): added promotion to int
(decorateType): updated call to upCast()
* src/SDCCicode.c (geniCodeLeftShift): removed call to
usualUnaryConversions()
2004-01-26 Michael Hope <michaelh AT juju.net.nz>
* support/regression/tests/literalop.c (mulWrapper): Added a
wrapper to remove integer overflow warnings.
* support/regression/tests/float_trans.c: Made work on host.
* support/regression/ports/ucz80/spec.mk (UCZ80): Made detect the
location of sz80.
* support/regression/generate-cases.py (main): Changed from inline
to a main method.
* doc/Makefile (install): Changed to depth first to get rid of
missing directory install warning.
* as/Makefile (install-doc): Made work on Mac.
2004-01-25 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c: added an additional type flow in decorateType() of
opposite direction, see feature request #860006; it's enabled at runtime
by setting the environment variable SDCC_NEWTYPEFLOW
* src/SDCCast.h: changed prototype of decorateType()
* src/SDCCglue.c (emitRegularMap): updated call of decorateType()
* src/SDCCicode.c (geniCodeDivision) (geniCodeModulus): promotion from
'char' to 'int' can be omitted, if both operands are 'unsigned char';
see feature request #877103
* src/SDCCval.c: updated call of decorateType()
(valBitwise): fixed bug #882876
(valMinus): added promotion
(valLogicAndOr): result is unsigned
(cheapestVal) (constVal): literals from 0...255 are 'unsigned char' now
* src/SDCCsymt.c (computeType),
* src/mcs51/gen.c (genCmpGt) (genCmpLt): literal 'unsigned char'
must not cause an unsigned operation
* src/pic/glue (pic14emitRegularMap),
* src/pic16/glue.c (pic16emitRegularMap): updated call of decorateType()
2004-01-23 Bernhard Held <bernhard AT bernhardheld.de>
* src/pic/pcode.c (PCodeID): commented out left over debug code
2004-01-20 Bernhard Held <bernhard AT bernhardheld.de>
* support/valdiag/tests/overflow.c: added shift tests
* src/pic/device.c,
* src/pic/gen.c,
* src/pic/gen.h,
* src/pic/glue.c,
* src/pic/main.c,
* src/pic/pcode.c,
* src/pic/pcode.h,
* src/pic/pcodepeep.c,
* src/pic/pcoderegs.c,
* src/pic/ralloc.c,
* src/pic/ralloc.h: applied patch from Slade Rich;
added support for multiple code pages and multiple RAM banks on the
PIC 14 port. The ASM files now no longer simply assume all the
code / RAM are in the same page / bank. This means the linker can
safely allocate code/RAM of separate ASM files to different pages/banks.
* doc/sdccman.lyx: added Slade's tips
* src/mcs51/peeph.def: fixed bug #880768
2004-01-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/ralloc.c (rematStr): fixed bug #879282
* src/SDCCast.c (decorateType): fixed bug #880197
2004-01-20 Michael Hope <michaelh AT juju.net.nz>
* sim/ucsim/gui.src/serio.src/main.cc: Fixed unconditional use of
getopt.h.
* debugger/mcs51/cmd.c (getValBasic): Changed strtof to strtod as
strtof is not part of C89 and isn't included with Mac OS X.
2004-01-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/gen.c (genPlusIncr, genUminus, genMinusDec, genCmp,
shiftL2Left2Result): fixed bug #879326
(genAnd, genOr, genXor): fixed bug when result was of type AOP_CRY
(genMultOneByte): fixed bug in signed vs unsigned multiplication
* sim/ucsim/hc08.src/inst.cc (inst_clr): added missing effective
address fetch for clr instruction
* device/lib/hc08/_mulint.c: created optimized assembly version
* src/SDCCdflow.c (computeDataFlow): fixed bug #878209
2004-01-19 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCicode.c (geniCodeArray): applied patch from Stas Sergeev
proposed in FR #877103
2004-01-18 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCval.c (cheapestVal): added missing checks
* src/SDCCicode.c (usualBinaryConversions): fixed condition
* src/SDCCicode.c (geniCodeAdd): fixed part of bug #877103
2004-01-16 Klaus Flittner <klaus_flittner AT gmx.de>
* src/ds390/gen.c (aopOp3): fixed the assignment of different dptrs to
equal operands
2004-01-16 Vangelis Rokas <vrokas AT otenet.gr>
* src/SDCCmain.c (linkEdit): variable $3 of the linker command is
loaded with the linker search paths (-L arguments) and the libraries
to be linked with the current source (-l arguments). Changes
currently will affect only the pic16 port.
* src/pic16/main.c (_pic16_finaliseOptions): add to the linker
include path the port specific paths and port specific libraries,
* gplink command now contains the $3 argument,
* src/pic16/device.h,
* src/pic16/device.c,: structure PIC_device is made public and
renamed to PIC16_device, the same for variable Pics which is renamed
to Pics16. Updated all references to them.
* src/pic16/glue.c (pic16glue): corrected bug with code
initialization which bypassed the variable initializations block.
* device/lib/pic16/Makefile.rules: removed --penable-stack from
COMPILE_FLAGS and added the --nostdinc option
2004-01-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* device/include/mc68hc908jb8.h: Register defs for another member
of the hc08 family. Contributed by Bjorn Bringert - thanks!
2004-01-14 Vangelis Rokas <vrokas AT otenet.gr>
Documenting changes from previous commits.
* configure.in (version 1.56),
* configure: initially I've added AC_CONFIG_SUBDIRS(device/lib/pic16)
when generating output files to configure the pic16 library,
but now I've commented it out, since gputils aren't installed in the
SF compile farm, so library won't compile
* device/lib/Makefile.in (version 1.56): initially I've added in
target 'all' the prerequestive 'model-pic16' so it compiled the
pic16 library, but now I've commented it out for the same reasons
above,
* added targets 'model-pic16' and 'objects-pic16' to compile the
library
* added target 'port-specific-objects-pic16' to handle the
generated libraries and copy them into the build/ directory
* added target 'clean-intermediate-pic16' to clean intermediate
files into pic16 directory
* in target 'installdirs' added line to create directory pic16 in
the installation path
* device/include/Makefile.in (version 1.11): in target 'install'
added lines to copy all header files to installation path,
* in target 'installdirs' added line create directory for pic16
headers in the installation path
2004-01-13 Klaus Flittner <klaus_flittner AT gmx.de>
* src/ds390/gen.c (genCall): fixed a double use of acc and b after
a function call
2004-01-13 Bernhard Held <bernhard AT bernhardheld.de>
* configure,
* device/lib/configure.in,
* device/lib/configure: fixed for autoconf 2.57
2004-01-13 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/main.c (_parseOptions): fixed the portmode= command line
option so that it actually works. Made it specific to the z80, since
the gbz80 doesn't have these kinds of I/O ports.
2004-01-13 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* device/include/z180.h,
* device/lib/_memcpy.c,
* device/lib/_memmove.c,
* device/lib/_mulint.c,
* device/lib/ser_ir.c,
* device/lib/ser_ir_cts_rts.c,
* device/lib/_strcmp.c,
* device/lib/_strtok.c: fixed pragmas to non-deprecated form
* src/z80/main.c (_process_pragma): add support for pragmas bank and
portmode; added deprecation warning for bank= and protmode= forms.
Also, guard against buffer overflow.
* src/z80/gen.c (aopGet): generate better code for sfr banked read
2004-01-13 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/hc08/main.c (_hc08_genAssemblerPreamble): fixed bug #875487. Also
changed interrupt vector table generation to only emit declared vectors.
* device/include/Makefile.in: added missing backslash
* device/lib/pic16/Makefile.rules: add $(MODELFLAGS) to $(CFLAGS)
2004-01-13 Vangelis Rokas <vrokas AT otenet.gr>
Mainly changes to support compilation of the device libraries
* src/pic16/device.c: stack is allocated via symbol and not
via literal number. The symbol is placed in the corresponding
position of the data ram
* (pic16_dump_section): relocatable and absolute uninitialized
data are now emitted in sorted order to reduce section naming,
* src/pic16/ralloc.c (newReg): fixed bug with SFR's that
weren't marked as being in the access bank,
2004-01-13 Vangelis Rokas <vrokas AT otenet.gr>
Added portion of GNU PIC Library under the directory
device/include/pic16 and device/lib/pic16. These files
contain the declarations of SFRs for the PIC18Fxx2 devices.
The directory is initialized via configure from toplevel.
2004-01-12 Klaus Flittner <klaus_flittner AT gmx.de>
* src/ds390/gen.c (operandsEqu): fixed a little typo, that prevented
the spilllocations to be compared correctly
2004-01-12 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (decorateType): fixed bug introduced today
2004-01-12 Borut Razem <borut.razem AT siol.net>
* src/SDCC.lex, support/Util/SDCCerr.h, support/Util/SDCCerr.c,
doc/sdccman.lyx: upper case pragmas are deprecated
2004-01-12 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (decorateType): replacing 'ul > 0' by '!ul' results
in simpler and even better code
2004-01-11 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCicode.c (operandOperation): fixed bug #874819
* src/SDCCast.c (decorateType): fixed
char foo (unsigned long ul) { return ul > 0; }
2004-01-11 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: Moved and added some sections, small changes
all over. Telling LaTeX to be less strict with word spacing
to better keep the right margin. Changed some notes about
maintainance of the ports in section 3.2.1 - is it OK like this?
2004-01-11 Vangelis Rokas <vrokas AT otenet.gr>
SDCC source changes:
* src/SDCCopt.c (cntToFcall, cnvToFloatCast, cnvFromFloatCast,
convilong): modified to inform the pic16 port that builtin functions
are external
PIC16 PORT specific changes:
* src/pic16/device.c pic16_dump_equates() added,
processor registers declared internally by the port are emitted in
the translation as equates,
* src/pic16/gen.c: inline code is passed unprocessed to the
translation,
* (pic16_popGetLit2): fnuction modified to take second operand as
pCodeOp pointer and not as literal,
* (popRegFromIdx): prefixed with pic16_,
* (pic16_popCombine2): modified to receive already allocated pCode
operands,
* (pic16_pushpCodeOpReg, pic16_poppCodeOpReg): added
* (genFunction): initializes local stack frame and pushes on stack
all the registers used by this function,
* (genEndFunction): restores all registers from stack and restores
stack frame,
* src/pic16/glue.c (pic16emitRegularMap): various changes and
improvements,
* (pic16glue): changed the program startup sequence,
* added new dbName code 'A' for functions placed in absolute section
* src/pic16/main.c: added function attribute _naked,
* added pragma 'code' to place a fnuction at an absolute address,
* added command line arguments --debug-ralloc and --pcode-verbose,
* (_pic16_finiliseOptions): options.all_callee_saves is set by default
* src/pic16/pcode.c (pic16_pBlockConvert2Absolute) added,
* (pic16_newpCodeOpLit2): modified to take the second operand as
pCodeOp pointer,
* (pic16_printpBlock): modified to emit each function in a separate
section,
* (pic16_get_op): modified to use the gpasm modifiers LOW,HIGH and
UPPER for immediate operands,
* src/pic16/pcodepeeph.c: added peephole support for the LFSR
instruction,
* src/pic16/peeph.def: all peepholes with movff are commented out,
because there is a problem in the pcode peep optimizer,
* src/pic16/ralloc.c: the register allocator can now reuse local
function symbols for another function. This saves register usage.
* src/pic16/ralloc.h: added flag isLocal in structure regs,
Added file src/pic16/NOTES with information about program writing on
the current port version.
2004-01-11 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peephole.def: added peepholes 177.c,d (redundant moves)
and peephole 252 (array access)
2004-01-09 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c : fixed #872250: -l command line defined library
files are scanned before standard library files
2004-01-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (decorateType): fixed bug #874046
2004-01-09 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: remove previous installation
2004-01-09 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/SDCCglue.c (createInterruptVect): don't append 7(5) padding
bytes for last interrupt vector (mcs51)
* sdcc.spec: fixed typo
2004-01-09 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c (genFunction, genEndFunction, genReceive, getTempRegs,
gen51Code): more efficient parameter receive for --model-large
("bug" #845294)
2004-01-09 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/ds390/main.c,
* src/z80/main.c: added missed needLinkerScript flags (more than
one port structure defined in these file)
* src/ds390/gen.c (aopForSym, aopOp, operandsEqu, aopOp3): fixed
bug #795325
2004-01-08 Vangelis Rokas <vrokas AT otenet.gr>
* src/SDCCmain.c: removed various references to DEFAULT_PORT
* src/port.h: added flag needLinkerScript in port->linker
structure to inform whether to create a .lnk file or not,
* src/avr/main.c,
* src/ds390/main.c,
* src/hc08/main.c,
* src/mcs51/main.c,
* src/pic/main.c,
* src/pic16/main.c,
* src/xa51/main.c,
* src/z80/main.c: changed appropriately to configure
needLinkerScript flag
* src/pic/gen.c,
* src/pic16/gen.c (genAddrOf): fixed bug #863624
* src/pic/glue.c: added variable udata_section_name to
override default uninitialized data segment definition for
devices only with SHAREBANK memory (reported from Erik Epetrich)
* (pic14emitOverlay): modified to emit a commented overlay segment
directive when no overlay data exist
* (picglue): modified to emit uninitialized data segment
according to udata_section_name
* src/pic/main.c (_pic14_parseOptions): added command line
options --udata-section-name=[name] to override default
udata definition name
* modified _linkCmd and _asmCmd to include compiler passed
arguments via -W option
* src/pic16/main.c: added $l in _asmCmd, changed extension for
object file from '.rel' to '.o' in port->linker structure,
changed size of fptr from 2 to 3 in port structure
2004-01-07 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: update PATH
* support/scripts/sdcc.ico: craeted
2004-01-07 Bernhard Held <bernhard AT bernhardheld.de>
* device/include/Makefile.in: fix install
* doc/Makefile: fix install
2004-01-07 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.c (processFuncArgs): fixed superflous allocation noted
in bug #860505
* src/SDCCmem.c (printAllocInfoSeg, printAllocInfo): minor changes to
how the function variable allocation summary is displayed; also
include information about variables allocated to the overlay
segment
2004-01-06 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* as/mcs51/lkmain.c: Help about -Y option
* as/mcs51/lkarea.c: Fixed gcc warnings
2004-01-06 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCval.c (valShift): changed from 16 to 32 bit shift count,
fixed warning
* support/valdiag/tests/overflow.c: added
* src/SDCCast.c (decorateType),
* src/SDCCicode.c (geniCodeLeftShift): added promotion to int for
LEFT_OP (left shift)
2004-01-06 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* as/mcs51/lkmain.c: stack must be after data when option -Y is not used
(default behaviour).
2004-01-06 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
A python script to validate compiler diagnostic messages. It can be
used to verify that sdcc complains about bad c source code and
gives a good location of the error.
* support/valdiag/Makefile,
* support/valdiag/valdiag.py,
* support/valdiag/tests/*
2004-01-06 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCC.y (enum_specifier, enumerator_list, opt_assign_expr),
* src/SDCCsymt.c (newEnumType),
* src/SDCCsymt.h
* support/Util/SDCCerr.c,
* support/Util/SDCCerr.h: fixed bug #871258 and some other unreported
enum related bugs.
* support/regression/tests/enum.c: added test for enum values that
require at least 2 bytes of storage.
2004-01-06 Vangelis Rokas <vrokas AT otenet.gr>
* src/common.h: added ifndef/define/endif macros
around the header file.
Bug reported from Jesus Calvino-Fraga
2004-01-06 Bernhard Held <bernhard AT bernhardheld.de>
* sdcc.spec: updated
* device/include/Makefile.in: don't install CVS directories
* device/lib/Makefile.in: added removal of CVS directories after install
* doc/Makefile: fixed install, added local_icons
* sim/ucsim/gui.src/Makefile.in: fixed an old typo
* src/mcs51/gen.c (genRightShift): fixed bug #870788
* src/ds390/gen.c (genRightShift): fixed bug #870788
* src/SDCCast.c (decorateType): fixed bug #870781
2004-01-06 Vangelis Rokas <vrokas AT otenet.gr>
PIC16 port related changes:
* device.c: removed pic16_finalMapping and pic16_finalMappingSize,
added variable stackPos,
* gen.c: genCall, assignResultValue: added support for
pushing/retrieving function parameters to/from stack,
genFunction,genEndFunction: setup stack frame for the
generated function,
genAddrOf: will be changed according to bug 863624
* added files genutils.c and genutils.h which contain gen*
debugged and optimised functions extracted from gen.c
* glue.c: added variable 'externs' which holds extern symbols,
pic16emitRegularMap: is modified to properly handle relocatable
symbols under the new scheme,
pic16createInterruptVect: is modified
pic16printPublics: is modified to emit 'global' assembler directives,
added pic16_printExterns to print extern symbols,
pic16glue: initializes stack/frame pointer in the beginning of
the assembly output. Temporary hack, will be corrected later,
because gplink yet does not support stack and SDCC does not
yet support a type of crt0.o object to create the final binary.
* Removed many lines that contain 8051 legacy code.
* The code is finally placed under a 'code' directive.
* Added port specific options.
* _process_pragma: simplified since now we do not need *special*
include file to define SFR registers. But a separate header
will be needed. This will be developed later.
* _pic16_parseOptions: added, parses port specific options:
--pgen-banksel, --obanksel=, --pomit-config-words, --pomit-ivt,
--pleave-reset-vector, --penable-stack, --pstack-model, --debug-xtra
--preplace-udata-with=
* _pic16_setDefaultOptions: modified to initialize section names,
but hack is temporarly out of order since it needs improvement.
* _pic16_genAssemblerPreamble: configuration words are emitted by
their address instead of their name. This part is incomplete and
supports only the 18Fxx2 devices. Other devices will emit an error
during assembly since they do not contain the same set of config
registers
* _pic16_genIVT: is modified,
* pcode.c: added definitions for some hardware registers that are needed
for stack support
* added flag is2LitOp and variable pci_magic in pCodeInstruction.
All PCI entries are updated. Now LFSR is supported.
* Removed pic16_pciTRIS is mentioned by mdubuc in source
* added pic16_newpCodeOpLit2 to support instructions with
two literal arguments
* pic16_pCode2str: corrected code that emits assembler instructions
with two literal operands and those that have an access bit modifier
* genericPrint: now PC_ASMDIR pCodes, can emit a label if it exists,
this fixes a bug which caused some labels to be lost, when an
assembler directive was added, i.e. banksel,
* pic16_FixRegisterBanking: improved logic that causes the insertion
of bank switching,
* InlineFunction: functions that are called once, are not any more
inlined. This can be a port option in the future,
* pcode.h: added pCodeOpLit2 and added variable label in pCodeAsmDir
* ralloc.c: added pic16_rel_udata and pic16_fix_udata variables which
hold the corresponding uninitialized symbols,
* pic16_allocProcessorRegister: registers have explicit marked the
accessBank field,
* pic16_allocInternalRegister: registers are explicit marked as
not used,
* pic16_writeUsedRegs: pic16_dynDirectBitRegs was missing from the
processing list, so bit registers were lost,
*
* ralloc.h: added field 'accessBank' and original symbol operand
in register definition,
* removed the field isMapped from register definition,
** Several functions have been removed from various sources:
BanksUsedFlow2,BanksUsedFlow,FixBankFlow,InstructionRegBank,
pic16_addMemRange,pic16_isREGinBank,pic16_dump_map,pic16_dump_cblock
isSFR,validAddress,mapRegister,assignRegister,pic16_assignFixedRegisters
pic16_assignRelocatableRegisters
** others have been introduced:
pic16_areRegsSame,pic16_dump_section,checkAddReg,pic16_groupRegistersInSection
pic16_popGetLit2,pic16_popCombine2,pushw,pushaop
2004-01-05 Vangelis Rokas <vrokas AT otenet.gr>
* support/scripts/inc2h.pl: changed definition of BIT_AT
to emit 'sbit at' instead of 'bit at'. This was a request.
PIC16 port related preliminary changes:
* gen.c: prefixed function popRegFromString with
pic16_ and all references to it corrected
* pcode.c: all pic16_pc_* hardware registers prefixed
with underscore (_),
pic16_popCopyGPR2Bit(): function sets register wasUsed=1
* ralloc.c: newReg(): when register is REG_SFR then
set address to rIdx,
pic16_allocProcessorRegister(): marks register wasUsed=0
pic16_writeUsedRegs(): added a call to assign processor
registers via pic16_assignFixedRegisters
2004-01-04 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* as/mcs51/aslink.h, as/mcs51/lkarea.c, as/mcs51/lkdata.c,
as/mcs51/lkmain.c, as/mcs51/lkmem.c: 8051 linker can now pack
variables in unused register banks. Also the SSEG is placed
wherever there is enough space for it, and IDATA can be anywhere
in internal RAM. For now compile using -Wl-Y[stack_size].
The mem file is different for this option as well, since it
makes no sense of talking about DSEG length.
2004-01-02 Vangelis Rokas <vrokas AT otenet.gr>
* src/SDCClrange.c: fixed bug 869095 that caused segfault
in certain cases, e.g. when ROM assignment, patch provided
from Albert den Haan.
2004-01-01 Bernhard Held <bernhard AT bernhardheld.de>
Many signedness and type propagation fixes:
* src/SDCCicode.c: made geniCodeCast() static
replaced SPEC_ by IS_ (cosmetic)
(operandOperation): fixed div and mod operation
(usualBinaryConversions): added support for promotion of char
(geniCodeMultiply): replaced (unsigned long) by (TYPE_UDWORD)
(geniCodeDivision): replaced (unsigned long) by (TYPE_UDWORD)
(geniCodeAdd): an array index will stay unsigned, even if promoted
from char to int
(geniCodeArray): ditto
* src/SDCCicode.h: made geniCodeCast() static: removed prototype
* src/SDCCsymt.c (computeType): added more support for char;
promotion of char is selectable by promoteCharToInt, fixed signedness
for all cases
(powof2): replaced (unsigned long) by (TYPE_UDWORD)
* src/SDCCsymt.h (powof2): replaced (unsigned long) by (TYPE_UDWORD)
* src/SDCCval (val*): replaced signedness calculation by
computeType()
rearranged if-branches (cosmetic)
(valShift): added warning W_SHIFT_CHANGED
(valCompare): fixed problem with different types
* src/hc08/rallo.c (leastUsedLR): fixed gcc 3.3 warning
* support/regression/tests/literalop.c: added many cases
* support/regression/tests/ast_constant_folding.c: changed finally to
'unsigned int'
* .version: new year, new version: 2.3.7
* src/SDCCmain.c (main): applied patch #866468
* debugger/mcs51/sdcdb.c (parseCmdLine): added -k for ucsim, patch
provided by Scott Bronson
* doc/sdccman.lyx: updated documentation for sdcdb
updated and added chapter tips
2004-01-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.h: missing from yesterday's commits
2003-12-31 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCC.y (struct_or_union_specifier),
* support/Util/SDCCerr.c,
* support/Util/SDCCerr.h: verify that struct & union tags are used
as declared.
2003-12-29 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCglobl.h: missing from yesterday's commits
2003-12-28 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCC.y (external_definition, type_specifier2, sfr_reg_bit,
sft_attributes, struct_declaration, parameter_declaration,
type_name, start_block, declaration_list),
* src/SDCC.lex (check_type): support redefinition of typedef names
2003-12-22 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/gen.c (genPlus): added special handling for 256 byte
aligned xdata arrays. Erik helped me with the if clause.
2003-12-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* device/lib/ds390/tinibios.c (CpuSpeed): suppress unreachable code
warning
2003-12-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.h,
* src/SDCCast.c (newAst_),
* src/SDCCicode.h,
* src/SDCCicode.c (ast2iCode, newiCode),
* src/SDCCglobl.h,
* src/SDCC.y (logical_and_expr, logical_or_expr, conditional_expr,
expr, statement, expression_statement, selection_statement,
iteration_statement, expr_opt, jump_statement): foundation for tracking
sequence points
* src/SDCCopt.c (killDeadCode): fixed bug #861580 (needs the sequence
point code too)
2003-12-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/Util/SDCCerr.c,
* src/SDCCast.h,
* src/SDCCast.c (createCase, createDefault, decorateType),
* src/SDCClabel.c (labelUnreach),
* src/SDCC.y (labeled_statement, jump_statement): More improvements
to error messages.
* support/Util/SDCCerr.c (werrorfl): fixed a non-standard declaration
(with thanks to Stas Sergeev)
* device/include/time.h,
* device/lib/time.c (CheckTime): suppress unreachable code warning
2003-12-18 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (createIvalCharPtr),
* src/SDCCglue.c (printChar): fixed bug #862241 (an error in my fix for
bug #753752)
* support/regression/tests/nullstring.c: tests for these two bugs
2003-12-18 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/Util/SDCCerr.h,
* support/Util/SDCCerr.c (E_NOT_ALLOWED),
* src/SDCC.y (struct_declaration, struct_or_union_specifier): complain
about storage class and 'at' used inside struct or union
* src/SDCCBBlock.c (iCodeFromeBBlock),
* src/SDCCcse.c (ifxOptimize),
* src/SDCCglue.c (emitRegularMap, initPointer, printIvalStruct,
printIvalArray, printiValFuncPtr, printIvalCharPtr, printIvalPtr,
printIval, emitStaticSeg, emitOverlay),
* src/SDCClabel.c (deleteIfx),
* src/SDCCopt.c (replaceRegEqv, eBBlockFromiCode),
* src/SDCCast.c (resolveSymbols, createIvalStruct, createIvalArray,
gatherAutoInit, processParms),
* support/Util/SDCCerr.h,
* support/Util/SDCCerr.c (werrorfl): Support for better error location
reporting for post-parse errors.
2003-12-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCval.c (valPlus, valMinus, valShift): fixed some problems with
implicit casts via union; they don't work on big endian systems
(possible fix for bug #861138)
2003-12-16 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
(committed by Erik Petrich <epetrich AT ivorytower.norman.ok.us> on Frieder's behalf)
* src/mcs51/main.c: fixed the fix for bug #737001
2003-12-15 Borut Razem <borut.razem AT siol.net>
* support/scripts/sdcc.nsi: updated for NSIS 2.0 beta 4
2003-12-14 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/makebin/makebin.c: put output in binary mode
2003-12-13 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/main.c: fixed bug #737001 for the mcs51. SDCC clears
xdata and data memory on startup. Set the environment variable
SDCC_NOGENRAMCLEAR to disable this.
* src/mcs51/peephole.def,
* src/ds390/peephole.def: using the atomic test and clear instruction jbc
(allows non-interrupt and interrupt code to safely compete for a resource
without the non-interrupt code having to disable interrupts)
2003-12-13 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c (geniCodeAdd),
* src/SDCCast.c (decorateType): fixed bug #857753 (need to be careful
with valFromType if type might be a pointer and host is big endian).
* src/SDCCast.c (decorateType): unary plus compatible with all arithmetic
types, not just integer types.
* src/SDCCsymt.c (addSymChain): clarified error message when symbol is
multiply defined with mismatching "at" address.
2003-12-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/ds390/main.c (PORT tininative_port): fixed bug #858416
* src/SDCCglue.c (printChar, printIvalChar, emitStaticSeg),
* src/SDCCast.c (createIvalCharPtr, stringToSymbol): handle strings
with embedded nulls (fixed bug #753752)
2003-12-12 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/main.c(_mcs51_genRAMCLEAR): using r0 instead of r1/r2.
Apparently this did not see much testing (endless loop)
2003-12-11 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/ralloc.c: set DISABLE_PACK_HL = 1 as a temporary fix to bug #855165
2003-12-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCdebug.c (outputDebugSymbols, outputDebugStackSymbols, dumpSymInfo):
gracefully handle NULL memmap pointers
2003-12-08 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCopt.c (killDeadCode): change iCode type to DUMMY_READ_VOLATILE
instead of deleting the iCode when an operand is volatile
* src/z80/gen.c (genDummyRead),
* src/mcs51/gen.c (genDummyRead),
* src/ds390/gen.c (genDummyRead),
* src/hc08/gen.c (genDummyRead): handle operands in IC_LEFT and/or IC_RIGHT,
not just IC_RIGHT
* src/SDCCicode.c (geniCodeCall): fixed bug #851607
* src/SDCC.y: fixed bug #850420
2003-12-05 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
Applied z80 i/o port patch from Peter Townson and fixed some operators
to better handle operands in A register.
* device/include/z180.h
* src/SDCC.y
* src/SDCCglue.c
* src/z80/gen.c
* src/z80/gen.h
* src/z80/main.c
* src/z80/peeph-z80.def
* src/z80/peeph.def
* src/z80/z80.h
2003-12-03 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.c (addSymChain, compareTypeExact): fixed bug #838241 again
2003-12-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* device/lib/hc08/_mullong.c: Removed extra #endif
2003-12-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* sim/ucsim/hc08.src/inst.cc,
* sim/ucsim/hc08.src/hc08mac.h: fixed some problems with CC flag bits and
carries from x to h
* src/hc08/gen.c (aopAdrStr): fixed problem with 16 bit immediate
* src/hc08/gen.c (XAccRsh): fixed problem with right shift
* device/include/stdarg.h: fixed varargs for hc08
* device/lib/Makefile.in,
* device/lib/hc08/Makefile,
* device/lib/hc08/_mulint.c,
* device/lib/hc08/_mullong.c: fixed some endian problems
2003-11-28 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* sdcc/src/mcs51/gen.c (genMultOneByte): help peephole 105
* sdcc/src/mcs51/peeph.def: added peephole 186.e array access in code space
* device/lib/_gptrget.c,
* device/lib/_gptrput.c: P2 not used any more (related to #850747, #785979)
2003-11-27 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCClrange.c (findNextUseSym, rlivePoint): fixed bug #849795
* src/SDCCast.c (astErrors): fixed bug #846007
* src/SDCCsymt.c (checkFunction): fixed follow-up bug on bug #846007
2003-11-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (decorateType): disabled a transformation I added in
revision 1.188 (access to fields of a structure at an absolute address);
it breaks with bitfields, extern declarations, and gcse analysis.
* src/SDCCopt.c (isLocalWithoutDef): if ADDRESS_OF applied to a symbol, it
could be assigned through a pointer, so don't complain.
* src/SDCCast.c (astErrors),
* src/SDCCast.h,
* src/SDCCglue.c (emitRegularMap): fixed bug #847813
2003-11-26 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/main.c (_pic16_genIVT): fixed interrupt vector table
* src/pic16/main.c (_pic16_genAssemblerPreamble): re-enabled the
output of __config directives, since gpasm now supports them
* src/pic16/main.c (_pic16_finaliseOptions): define MCU
pre-processor macro, i.e. -DMCU=p18f452
* src/pic16/ralloc.c: renamed packRegisters to pic16_packRegisters,
and modified to handle 'cast' icode similarly to '=' icode
* src/pic16/device.h (typedef struct PIC_device): added field
'extMIface' to indicate that chip has external memory interface
* src/pic16/device.c: added chips 18F248, 18F258, 18F448, 18F458,
18F6520, 18F6620, 18F6680, 18F6720, 18F8520, 18F8620, 18F8680,
18F8720
2003-11-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCC.y (pointer): fixed bug #846006
* support/Util/SDCCerr.c: made W_PTR_TYPE_INVALID message clearer
* src/SDCCast.c (decorateType): fixed bug #846009
* src/ds390/peeph.def,
* src/ds390/gen.c (genAnd, genOr),
* src/mcs51/peeph.def,
* src/mcs51/gen.c (genAnd, genOr): fixed bug #846777
2003-11-25 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
Fixed several common-sub-expression bugs (#772861, #768380, & #755323)
* src/SDCCdflow.c
* src/SDCCcse.c
* src/SDCCcse.h
* src/SDCCBBlock.h
* src/SDCCBBlock.c
2003-11-23 Klaus Flittner <klaus_flittner AT gmx.de>
fixed bug #845089
* src/SDCCbitv.h,
* src/SDCCbitv.c: added function to free a bitvector
* src/SDCClrange.h,
* src/SDCClrange.c: added function to recompute the liveranges
* src/avr/ralloc.c,
* src/ds390/ralloc.c,
* src/hc08/ralloc.c,
* src/mcs51/ralloc.c,
* src/pic/ralloc.c,
* src/pic16/ralloc.c,
* src/xa51/ralloc.c,
* src/z80/ralloc.c: recompute the liveranges after register packing
2003-11-21 Klaus Flittner <klaus_flittner AT gmx.de>
* src/SDCCloop.c (newInduction): fixed bug #845630
2003-11-21 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.c (compareTypesExact): disabled debugging output
inadvertantly left behind from my 2003-11-12 change
2003-11-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
Updated headers I neglected to commit yesterday.
* src/SDCClrange.h,
* src/SDCCicode.h
2003-11-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcse.c (algebraicOpts): fixed bug #773153
* src/SDCClrange.c (rlivePoint): need to mark IC_RESULT used if POINTER_SET op
* src/SDCCopt.c (eBBlockFromiCode),
* src/SDCClrange.c (hashiCodeKeys, sequenceiCode, computeLiveRanges): seperated
the creation of the key hash table from the sequencing so it can be used
earlier (for some GCSE bug fixes still pending)
2003-11-15 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/gen.c (genPlus): generate shortcut for adding 0xab00
* support/regression/tests/addsub.c: testing genPlus shortcut
2003-11-15 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c: fixed bug #841645: -MM command line option passed to sdcpp
2003-11-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcse.c (cseBBlock): fixed bug #527779
* src/SDCCcse.c (deleteGetPointers): rewrote so that the set
ordering is immaterial.
* src/SDCCdflow.c (mergeInExprs): fixed bug #587536
2003-11-14 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c (geniCodeAddressOf): fixed part of bug #840381
* src/SDCCopt.c (replaceRegEqv, isLocalWithoutDef): fixed other part
(SIGSEV) of bug #840381
* src/SDCCmain.c (linkEdit, assemble): fixed bug #841606 (don't
unlink new file before rename if new and old filenames are the same)
2003-11-13 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/main.c: started fixing bug #737001 (SDCC not clearing
uninitialized variables) for the mcs51. Set environment variable
SDCC_GENRAMCLEAR to test.
xdata initialization slightly shorter
2003-11-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.h,
* src/SDCCsymt.c (addSymTypeChain, compareTypesExact): fixed bugs
#838241 & 780691 (basicly the same bug)
* src/SDCCBBlock.c (iCode2eBBlock): fixed bug #840148
* src/SDCCBBlock.c (iCodeFromeBBlock): fixed bug #840162
2003-11-11 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCmain.c (linkEdit): "fix" #834252
2003-11-11 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (removePostIncDecOps, removePreIncDecOps),
* src/SDCCast.h,
* src/SDCC.y: fixed bug #819403
2003-11-08 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* support/regression/fwk/lib/testfwk.c: printn is recursive and thus needs
the reentrant attribute.
* src/hc08/gen.c (genPackBits): added missing stack readjustment
* sim/ucsim/hc08.src/inst.cc (inst_mov): fixed bugs with mov instruction
simulation
* src/SDCCast.c (decorateType): fixed bug with storage class not being
updated during pointer dereference; f.e. ~(((char *)1)*) was being
erroneously reduced to a literal.
* src/hc08/ralloc.c (packRegisters, rematStr),
* src/hc08/gen.c (aopForRemat): allow literals to be rematerialized in
some cases
2003-11-08 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/main.c: fixed bug #838385. Thanks to Josef Pavlik for finding and fixing
* doc/sdccman.lyx: changed from 'article' to 'book'
* doc/Makefile: readded test_suite_spec and cdbfileformat
2003-11-08 Bernhard Held <bernhard AT bernhardheld.de>
* device/include/stdlib.h: include malloc.h to comply with ANSI
* support/regression/tests/malloc.c: include stdlib.h instead of malloc.h
2003-11-07 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/Makefile: sdccman.pdf should build with correct references (more info in commit msg)
* doc/clean.mk: also remove *.out files
* doc/sdccman.lyx: some additions, larger top/bottom margins
2003-11-07 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCC.y: fixed bug #837365
* support/regression/tests/bitopcse.c
* src/hc08/gen.c (genPointerGet): Don't assume pointer operand is
a symbol (might be valop instead)
* device/lib/Makefile.in: added errno.c to HC08SOURCES
* device/lib/clean.mk: added hc08 to the cleaning list
2003-11-04 Borut Razem <borut.razem AT siol.net>
* configure, configure.in, sdcc_vc_in.h, sdcconf_in.h: reverted changes,
made 2003-11-04
* support/Util/NewAlloc.c, as/hc08/lklibr.c, as/mcs51/lklibr.c,
as/z80/aslist.c, as/z80/assym.c: removed inclusion of nonstandard malloc.h;
malloc is declared in standard stdlib.h
2003-11-06 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* device/lib/hc08/Makefile: need to clean .rel not .o files
* src/hc08/gen.c (genDjnz): can't use djnz with extended addressing mode
2003-11-06 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/port.h,
* src/hc08/main.c,
* src/mcs51/main.c,
* src/ds390/main.c,
* src/z80/main.c,
* src/avr/main.c,
* src/pic/main.c,
* src/pic16/main.c,
* src/xa51/main.c: added hasExtBitOp & oclsExpense functions to ports
* src/SDCCicode.c: changed several IS_FARSPACE tests to isOclsExpensive
tests (which uses the port's oclsExpense function)
* src/SDCC.y,
* src/SDCCast.c,
* src/SDCCicode.c,
* src/hc08/gen.c,
* src/ds390/gen.c,
* src/mcs51/gen.c: added support for the SWAP iCode (RFE #834167)
2003-11-04 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCcse.c (ifxOptimize),
* src/SDCClabel.c (labelIfx, deleteIfx): When the condition to
an IFX iCode is volatile, convert to DUMMY_READ_VOLATILE instead
deleting the IFX iCode.
* src/hc08/ralloc.c: reduced unneeded slocs
* src/hc08/gen.c: fixed bug in asmopToBoolean
2003-11-04 Borut Razem <borut.razem AT siol.net>
* configure, configure.in, sdcc_vc_in.h, sdcconf_in.h,
support/Util/NewAlloc.c, as/hc08/lklibr.c, as/mcs51/lklibr.c,
as/z80/aslist.c, as/z80/assym.c: decision to include malloc.h
transferred to configure
2003-11-03 Bernhard Held <bernhard AT bernhardheld.de>
Use headers defined in the C[++] standards:
* sim/ucsim/gui.src/serio.src/fileio.cc
* sim/ucsim/gui.src/serio.src/frontend.cc
* sim/ucsim/gui.src/serio.src/main.cc
* sim/ucsim/gui.src/serio.src/posix_signal.cc
* support/Util/NewAlloc.c
* as/hc08/lklibr.c
* as/mcs51/lklibr.c
* as/z80/aslist.c
* as/z80/assym.c
2003-11-03 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* Added MSVC projects for hc08 assembler and linker:
all.dsp, config.dsp, sdcc.dsw, /as/hc08/as_hc08.dsp,
/as/hc08/link_hc08.dsp
2003-11-03 Martin Helmling <Martin.Helmling AT octo-soft.de>
* debugger/mcs51/cmd.c: allows filename starting with digit(+ some debug)
2003-11-02 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCmain.c (linkEdit): "fixed" again bug #833605
2003-11-01 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/main.c: xdata initialization is 13 bytes shorter now
2003-10-31 Borut Razem <borut.razem AT siol.net>
* support/cpp2/cpplib.h,
support/cpp2/cpplib.c,
support/cpp2/cpplex.c,
support/cpp2/cppinit.c: introduced #pragma preproc_asm [ + | - ]
to switch _asm block preprocessing on / off. Default is
#pragma preproc_asm +
2003-10-31 Borut Razem <borut.razem AT siol.net>
* support/cpp2/cpplex.c: Fixed _WIN32 problem with CR-CR-LF sequences
when outputting comment blocks (when executed with -C option) and
_asm (SDCPP specific) blocks
2003-10-31 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* as/hc08/lkrloc.c (relr): Fixed ihx output, fixed lastAreaIndex warning
2003-10-31 Klaus Flittner <klaus_flittner AT gmx.de>
* src/SDCCcse.c (updateSpillLocation): fixed bug #808027
2003-10-31 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCmain.c (linkEdit): "fixed" bug #833605
* src/SDCCast.c (decorateType): fixed bug #832664
2003-10-31 Borut Razem <borut.razem AT siol.net>
* support/cpp2/cpplex.c: fixed for SDCPP:
comments(when executed with -C option) and _asm blocks
were included even if they where in skipped #if block.
Applied solution from GCC cpp 3.3.2
2003-10-31 Borut Razem <borut.razem AT siol.net>
* src/SDCC.lex: sdcc now understands both formats:
'# <line_number> <file_name>' and
'#line <line_number> <file_name>'
* support/cpp2/cppmain.c: sdcpp now generates the standard
'# <line_number> <file_name>' instead of former
'#line <line_number> <file_name>'
2003-10-30 Borut Razem <borut.razem AT siol.net>
* support/cpp2/cpphash.h,
* support/cpp2/cpplib.h
* support/cpp2/cpplex.c,
* support/cpp2/cppmain.c,
* support/cpp2/cppinit.c: fixed bug #828015 - Syntax variation for _asm character constants
2003-10-30 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
Fixed a number of problems revealed by bug #827883.
* src/SDCCloop.c (loopInvariants): Spill location of the
result operand should be recomputed if extracted from
a loop. Also, don't extract assignments of an iTemp
from a literal.
* src/SDCCast.c (isConformingBody): loop reversal should
not occur if the control variable is involved with a
relational operator.
2003-10-28 Bernhard Held <bernhard AT bernhardheld.de>
* .version: bumped to 2.3.6 to reflect the big improvements
made by Erik and Klaus. Thanks!
2003-10-28 Klaus Flittner <klaus_flittner AT gmx.de>
Replaced the livrange code.
* src/SDCClrange.c: added new LR code
* src/SDCCloop.c,
* src/SDCCBBlock.h: removed remainig parts from old LR code
* src/ds390/ralloc.c,
* src/ds390/gen.c: minor fixes to make it work with new code
2003-10-28 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* as/hc08/asm.h,
* as/hc08/lkrloc.c,
* src/hc08/gen.c,
* src/hc08/ralloc.c: Fix various warnings related to the hc08
* src/SDCCicode.c (geniCodePreInc, geniCodePreDec): Fixed bug #829717
(tweaked fix for bug #818696)
2003-10-23 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/ralloc.c (joinPushes): Fixed bug #828742
2003-10-23 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCmain.c,
* sdccconf_in.h: Fixed bug #828387 (--disable-hc08-port didn't work)
* src/mcs51/gen.c (gencjneshort),
* src/ds390/gen.c (gencjneshort): Made comparison with AOP_IMMD operand
more efficient (per Scott Bronson's suggestion)
2003-10-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
Extended the semantics of the critical keyword to include
individual statements. See RFE #827755 and #799831
* src/SDCC.y
* src/SDCCicode.c
* src/SDCCopt.c
* src/SDCCast.c
* support/Util/SDCCerr.c
* support/Util/SDCCerr.h
* src/mcs51/gen.c
* src/ds390/gen.c
* src/hc08/gen.c
2003-10-19 Borut Razem <borut.razem AT siol.net>
* src/SDCC.lex: fixed bug #825944 - defined yytext_ptr to make it compile with flex 2.5.31
2003-10-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c (geniCodePreInc, geniCodePreDec, ast2iCode):
Fixed bug #818696
* src/SDCCast.c (ast_print): Fixed --dumptree so that preincrement
and predecrement operand is displayed
2003-10-13 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCval.c (valMinus): fixed bug #826041
2003-10-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
Some hc08 related updates that I missed earlier
* sim/ucsim/stypes.h
* support/regression/ports/hc08/spec.mk
2003-10-15 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
New target "hc08" for the Motorola 68hc08 family of micros
* configure
* configure.in
* Makefile
* src/hc08/*
* src/SDCCmain.c
* src/port.h
* sim/ucsim/hc08.src/*
* sim/ucsim/configure.in
* src/ucsim/configure
* sim/ucsim/packages_in.mk
* as/hc08/*
* as/Makefile
* device/include/mc68hc908qy.h
* device/lib/hc08/*
* device/lib/Makefile.in
* support/regression/ports/hc08/*
* support/regression/Makefile
2003-10-14 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/gen.c: fixed bug revealed by ast_constant_folding.c
regression test
* src/ds390/gen.c (genCast): fixed bug #821957
2003-10-13 Bernhard Held <bernhard AT bernhardheld.de>
* device/lib/logf.c: "fixed" overlay bug
* support/regression/ports/host/spec.mk: added m library
* support/regression/ports/mcs51-stack-auto/spec.mk: added float funcs
* support/regression/tests/float_trans: added (for Eric)
2003-10-12 Bernhard Held <bernhard AT bernhardheld.de>
* src/mcs51/gen.c (genCpl): fixed bug
http://sf.net/mailarchive/message.php?msg_id=6263915
2003-10-10 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (decorateType): added extended constant folding
* src/SDCCsymt.c (computeType): cleanup
* src/SDCCval.c (valShift): minor optimization
* support/regression/tests/ast_constant_folding.c: added
2003-10-09 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCmain.c: removed some unintended changes
2003-10-09 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCmain.c (setParseWithComma): fixed bug #816685
* src/z80/gen.c: fixed part of bug #817589
* src/SDCCsymt.c (checkFunction): fixed bug #817895
2003-10-08 Bernhard Held <bernhard AT bernhardheld.de>
Replaced cast (void **) with (void *) to avoid gcc 3 warning:
* src/SDCCcflow.c
* src/SDCCcse.c
* src/SDCCdflow.c
* src/SDCClabel.c
* src/SDCClrange.c
* src/SDCCmem.c
* src/SDCCopt.c
* src/SDCCpeeph.c
* src/SDCCset.c
* src/avr/ralloc.c
* src/ds390/ralloc.c
* src/izt/ralloc.c
* src/mcs51/ralloc.c
* src/pic/ralloc.c
* src/pic16/ralloc.c
* src/xa51/ralloc.c
* src/z80/ralloc.c
* src/z80/gen.c: removed unused label "release:"
2003-10-06 Borut Razem <borut.razem AT siol.net>
* src/SDCC.lex: removed definition of unused variables
save_optimize and save_options
2003-10-06 Bernhard Held <bernhard AT bernhardheld.de>
* clean.mk: removed '=' in "-maxdepth=1"
* src/SDCCloop.c: replace LRKLAUS with SDCC_LRKLAUS
* src/SDCClrange.c: replace LRKLAUS with SDCC_LRKLAUS
2003-10-06 Borut Razem <borut.razem AT siol.net>
* src/SDCC.lex, src/SDCC.lex: use dbuf for "_asm" definitions;
my_unput() replaced by unput()
2003-10-05 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCloop.c (assignmentsToSym, loopInduction): cast argument of
setToNull() to (void *) to avoid gcc3.x's warning: "dereferencing
type-punned pointer will break strict-aliasing rules"
Old LR behaviour is again default; Klaus' LR can be choosen by
defining the environment variable LRKLAUS
* src/SDCCBBlock.h
* src/SDCCloop.c
* src/SDCClrange.c
* src/ds390/ralloc.c (spillThis): applied Klaus' patch
* clean.mk: fixed removal of files in bin/CVS/
* device/lib/clean.mk: fixed removal of directories small and large
* support/Util/SDCCerr.c: changed W_INT_OVL to ERROR_LEVEL_PEDANTIC
* src/SDCCicode.c,
* src/SDCCval.c: removed superflous test for pedantic
2003-10-05 Borut Razem <borut.razem AT siol.net>
* src/SDCC.lex, support/Util/SDCCerr.c, sdcc/support/Util/SDCCerr.h:
Fixed bug #816692: introduced new ERROR_LEVEL_PEDANTIC warning
message "unmatched #pragma SAVE and #pragma RESTORE"
2003-10-04 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: various additions and updates (interrupts, inline
assembly, critical functions, atomic, nojtbound)
2003-10-04 Bernhard Held <bernhard AT bernhardheld.de>
Applied liferange patch from Klaus Flittner <klaus_flittner AT gmx.de>
* src/SDCCBBlock.h
* src/SDCCloop.c
* src/SDCCloop.h
* src/SDCClrange.c
2003-10-03 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/gen.h,
* src/z80/gen.c (aopOp, aopGet, aopPut, genDummyRead),
* src/mcs51/gen.h
* src/mcs51/gen.c (aopOp, aopGet, aopPut, genDummyRead),
* src/ds390/gen.h
* src/ds390/gen.c (aopOp, aopGet, aopPut, genDummyRead),
* src/SDCCicode.c (ast2iCode, geniCodeDummyRead): Fixed bug #663539
* src/SDCCopt.c (killDeadCode): Fixed bugs #663539 & #816705
2003-10-02 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/gen.c (genRet): fixed bug #524753
* src/z80/gen.c (genCast): fixed internal error on cast from
pointer to long
* src/z80/gen.c (_saveRegsForCall, emitCall): adapted Johan's
fix for bug #477835 to the z80
* src/z80/gen.c (genZ80code, _vemit2, _emit2): added support
for tracking iCodes in the peephole optimizer for z80
2003-10-01 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c (geniCodeJumpTable, geniCodeSwitch): fixed
the other part of bug #814548
* src/SDCCpeeph.c (labelInRange): fixed bug #814558
2003-09-30 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCcse.c: fixed part of bug #814548
2003-09-28 Borut Razem <borut.razem AT siol.net>
* src/asm.c: rewrite of printILine() to use temporary file instead
a pipe
* src/xa51/main.c: commented out declaration of int rewinds
2003-09-27 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c (geniCodeJumpTable): Fixed bug #813206
2003-09-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCdflow.c (computeDataFlow): Fixed bug #810746
* src/asm.c (printILine): Fixed bug #811015
2003-09-22 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
*link/z80/lklibr.c, as/mcs51/lklibr.c: Improved memory allocation and
freeing.
2003-09-21 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/gen.c (setupToPreserveCarry): Fixed bug #796955
* src/z80/gen.c (setupPair, genMovePairPair): Fixed setupPair
to correctly handle general case of AOP_PAIRPTR
* src/z80/gen.c (aopGet, aopPut): Generalized AOP_PAIRPTR handling
2003-09-21 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/ralloc.c (fillGaps),
* src/ds390/ralloc.c (fillGaps): fixed bug #810093 (yet another
register positioning bug)
2003-09-21 Bernhard Held <bernhard AT bernhardheld.de>
* device/lib/_fsdiv.c: replaced (1<<31) by (1ul<<31)
2003-09-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c (loadDptrFromOperand, genFarPointerGet,
genCodePointerGet, genGenPointerGet, genFarPointerSet,
genGenPointerSet): handle AOP_DPTR correctly when loading dptr
(ralloc doesn't intentionally do this now, but perhaps later)
* src/mcs51/ralloc.c (serialRegAssign, fillGaps),
* src/ds390/ralloc.c (serialRegAssign, fillGaps): fixed some
register positioning bugs (Fixed bug #762602 and #795325)
* src/SDCCicode.c (geniCodeDerefPtr): Track output class correctly
(Fixed bug #808779)
* src/z80/gen.c: increased _vemit2's buffer[] to handle long
lines that --i-code-in-asm generates
2003-09-18 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
*link/z80/lklibr.c, as/mcs51/lklibr.c: Fixed Linux segfaults when
trying to fclose a FILE* that was already closed.
2003-09-18 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.c (structElemType): fixed bug #808291 (members
of const struct should be treated as if const themselves)
2003-09-18 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCval.c (valPlus, valMinus): fixed bug #808337
2003-07-06 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* support/librarian/sdcclib.c: Generate correct offsets for libraries with
Unix (/n) and DOS (/r/n) line terminations.
2003-09-17 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCopt.c (cnvFromFloatCast, cnvToFloatCast): fixed
bug #613775
2003-09-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c (genFunction, genEndFunction),
* src/ds390/gen.c (genFunction, genEndFunction): Moved save
and restore of EA so that stack offsets to parameters are
correct when using both critical and reentrant/stack-auto.
* src/z80/gen.c (aopOp): removed erroneous assertion about sloc
size (can be triggered in error if sloc is shared between
different sized objects)
* device/include/float.h: fixed macros to explicitly use
unsigned long where needed
2003-09-15 Bernhard Held <bernhard AT bernhardheld.de>
Feature req. 799831: added code to allow nesting of critical functions
* src/mcs51/gen.c (genFunction, genEndFunction)
* src/ds390/gen.c (genFunction, genEndFunction)
2003-09-14 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCsymt.c (sclsFromPtr),
* src/SDCCsymt.h,
* src/SDCCast.c (decorateType): fixed bug #462971. Also, better
support for standard C idiom of memory mapped variables; for
example, *((xdata int*)0x1234) = 1 is now internally equivalent
to xdata int at 0x1234 tempvar = 1.
* sim/ucsim/z80.src/inst_xd.cc: fixed bug #805483 with patch
provided by Akiya ISHIDA
2003-09-13 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCval.c (cheapestVal): reenabled to reduce int to char
* src/SDCCval.c (constVal): added reduction from int to char
* src/SDCCval.c (valMult, valDiv): fixed sign handling
* src/SDCCval.c (valShift): fixed after change of cheapestVal()
* src/SDCCval.c (valCompare): fixed EQ_OP and NE_OP; they have
to ignore the sign
* support/regression/tests/shifts.c: fixed
2003-09-13 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/gen.c (genXor): Fixed bug #805445
2003-09-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
Fixed bug #621531 (const & volatile confusion in the type chain).
DCL_PTR_CONST, DCL_PTR_VOLATILE, & IS_PTR_CONST now exclusively
refer to the const or volatile state of the pointer itself.
* src/SDCCast.c
* src/SDCCglue.c
* src/SDCCicode.c
* src/SDCCsymt.c
* src/SDCCval.c
* src/SDCC.y
* src/SDCCsymt.h
* src/pic/gen.c
* src/pic/ralloc.c
* src/pic16/gen.c
* src/pic16/ralloc.c
* support/regression/tests/const.c
2003-09-10 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
When checking for duplicated modules, use absolute paths
instead of relative paths. Files changed:
* as/mcs51/lklib.c
* link/z80/lklib.c
2003-09-09 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCicode.c (geniCodeLogic): fixed bug #797572
2003-09-07 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* device/include/string.h: added size_t typedef, changed
prototypes to use size_t, eliminated separate reentrant and
non-reentrant declarations, added _memmove declaration
* device/lib/_memcpy.c: changed to use size_t instead of int,
changed /4 to >>2 to avoid division library call
* device/lib/_memcmp.c,
* device/lib/_memset.c,
* device/lib/_strncat.c,
* device/lib/_strncpy.c,
* device/lib/_strncmp.c: changed to use size_t instead of int
* device/lib/_memmove.c: new file (fixed bug #772294)
* device/lib/Makefile.in: added _memmove.c
* device/lib/z80/asm_strings.s: fixed bug #772290
* support/regression/tests/bitfields.c: attempt to fix host assertion
failure on amd64-unknown-linux2.2
2003-09-06 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/gen.c (aopPut, spillPairReg): fixed bug #800998
* src/z80/gen.c (genFunction, genEndFunction): fixed "bug" #774700
* as/z80/asmain.c (main): fixed bug #801766
2003-09-06 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCicode.c (ast2iCode): fixed differences in iCode with different
compilers
2003-09-05 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCast.c (isConformingBody): fixed loop reversal bug
reported in bug #800609
2003-09-04 Vangelis Rokas <vrokas AT otenet.gr>
* Top header beautifications in src/pic16 directory:
device.c, device.h, gen.c, gen.h, genarith.c, glue.c, pcode.c,
pcodeflow.c, pcodeflow.h, pcode.h, pcodepeep.c, pcoderegs.c,
pcoderegs.h, ralloc.c, ralloc.h
* main.c: added top header and GPL license notice
* pcode.c: fixed the if-conditional warning
2003-09-04 Bernhard Held <bernhard AT bernhardheld.de>
* device/lib/_mullong.c: replaced int by short for gcc
2003-08-31 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/SDCCpeeph.c (notVolatile, notVolatileVariable): handle IFX
and JUMPTABLE iCodes properly now (worked by accident before)
* src/mcs51/gen.c (leftRightUseAcc),
* src/ds390/gen.c (leftRightUseAcc): handle IFX and JUMPTABLE
iCode properly now. Use getSize instead of nRegs since a & b
aren't part of the nRegs tally.
2003-08-31 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/main.c: corrected offsets of interrupt vectors in _pic16_genIVT()
* src/pic16/pcode.c: fix to disable inserting BANKSEL directive
before instructions that use the _STATUS register
2003-08-31 Bernhard Held <bernhard AT bernhardheld.de>
* src/mcs51/gen.c (freeAsmop): fixed off by one in stack offset (AOP_STK)
* src/mcs51/gen.c (genNearPointerSet): added missing opcode for
fetching of the pointer
* src/mcs51/gen.c (genNearPointerGet): added reuse of PREG,
copied from genNearPointerSet()
* src/mcs51/gen.c (genNearPointerGet): don't pop r0/r1, if RESULTONSTACK
* src/mcs51/gen.c: changed order of freeAsmop(left/right/result)-calls.
If they pop r0/r1 they must be called in the opposite order than aopOp().
* device/lib/_mullong.c: fixed for "--model-large --int-long-reent"
(resp. --stack-auto), prepared for --xstack
2003-08-28 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: reverted tables to those in cvs 1.64
2003-08-28 Bernhard Held <bernhard AT bernhardheld.de>
* device/lib/_startup.c: quick & dirty fix for ds390/ds400;
these ports have their own __sdcc_external_start()
2003-08-26 Bernhard Held <bernhard AT bernhardheld.de>
pic patch provided by Slade Rich <slade_rich AT yahoo.com>
* src/pic/glue.c (pic14printPublics): fixed bug introduced when symbol
type for bits was changed. It resulted in bit variables becoming
global, which is not permitted in PIC 14 assembly output.
2003-08-23 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: various additions and updates. Rearranged sections
2003-08-22 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
Z80 and MCS51 linkers complaint if a public symbol is defined
in more than one library module:
* as/mcs51/lklib.c
* link/z80/lklib.c
* as/mcs51/Makefile.in
2003-08-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
A few small changes that speed up the peephole optimizer.
* src/SDCCpeeph.c
2003-08-22 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
Try to make the peephole optimizer smarter by maintaining
an association between the assembly source code and the
iCodes that originated them. Put this information to use
with a new peephole rule condition "notVolatile" so that
the rules can be aggressive yet still safe.
* src/SDCCpeeph.c
* src/SDCCpeeph.h
* src/mcs51/gen.c
* src/mcs51/peeph.def
2003-08-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
Fixed bug #741761
* src/mcs51/gen.c (aopForSym, leftRightUseAcc),
* src/ds390/gen.c (aopForSym, leftRightUseAcc): preserve A and B
if the left or right operand symbols have the accuse flag set.
2003-08-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
Changed the type of the result of the ! (NOT) operator to char;
previously it returned the same type as the source. This allows
us to eliminate all the genFloatNot functions (all of its target
implementations were very buggy) since !float can use the same
code as !long now.
* src/SDCCicode.c (ast2iCode): ! returns char
* src/mcs51/gen.c (genNot, genNotFloat),
* src/ds390/gen.c (genNot, genNotFloat),
* src/z80/gen.c (genNot, genNotFloat),
* src/pic/gen.c (genNot, genNotFloat),
* src/pic16/gen.c (genNot, genNotFloat): eliminated genNotFloat
2003-08-19 Bernhard Held <bernhard AT bernhardheld.de>
pic patch provided by Slade Rich <slade_rich AT yahoo.com>
1. Interrupt would not compile properly. Ensure PCLATH register is saved
during interrupts. Ensure WSAVE is located at a shared bank address.
2. Fixed page selection in some places
3. Fixed BTFSS/C to where necessary use registers directly and not simply
the registers name strings.
4. Fixed "signed / unsigned compare" compiler warnings.
5. The PIC port manages its own allocation of the general purpose
registers, but makes no attempt to reuse them. As a result when
compiling it soon runs out of general purpose registers. Some
additional code was added to the files pcode.c and device.c to walk
through the function call tree and rename the registers so that they
get reused.
* src/pic/device.c
* src/pic/gen.c
* src/pic/glue.c
* src/pic/pcode.c
* src/pic/pcode.h
* src/pic/ralloc.c
* src/pic/ralloc.h
* src/pic/genarith.c: Fixed problems with PIC 14 port in functions
genPlus() & genMinus() when the result is the same as left or right
2003-08-18 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/gen.c (isUnsplitable, fetchPairLong): fixed bug #770454
2003-08-18 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
Made bitfield a distinct type from bit so that bitfields
convert as per ANSI C and bits retain their traditional
boolean style behaviour. Implemented bitfield support in
the z80 port.
* src/SDCCsymt.h,
* src/SDCCsymt.c,
* src/SDCCast.c,
* src/cdbFile.c,
* src/mcs51/gen.c,
* src/ds390/gen.c: bit v bitfield split
* src/z80/gen.c: New support for bitfields
* support/regression/tests/bitfields.c: reenabled z80,
added more tests
2003-08-17 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
Rules 246.x, 247.x relate to bitfields, the others speed up
access to xdata mapped I/O devices.
* src/mcs51/peeph.def: added 26 peepholes 246.x - 248.x, 180.x
2003-08-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
Cleaned up genPackBits and genUnpackBits and added two helper
functions, emitPtrByteGet & emitPtrByteSet. Added optimizations
for literal assignments in genPackBits (thanks to Frieder for
reminding me).
* src/mcs51/gen.c
* src/ds390/gen.c
2003-08-16 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
Fixed bug #748310 (pointer to function type mishandled when the
function name is omitted). Also fixed a SIGSEGV when a function
attribute (reentrant, etc) is used on a non-function or on a
function but misplaced before the parameter list.
* src/SDCC.y (abstract_declarator, abstract_declaractor2): fixed
bug #748310
* src/SDCC.y (declarator2_function_attributes): avoided SIGSEGV
* support/Util/SDCCerr.h,
* support/Util/SDCCerr.c: Added func attr misuse error msg
2003-08-13 Bernhard Held <bernhard AT bernhardheld.de>
Fixed bug #787649 by anonymous
* src/SDCCglue.c (emitRegularMap): added emission of sloc for func ptr
* src/ds390/gen.c (aopForSym): fixed func ptr in sloc
2003-08-14 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
Fixed numerous bitfield problems.
* src/SDCC.y: More bitfield related error checking
* src/SDCCsymt.h,
* src/SDCCsymt.c (compStructSize): fixed bitfield offset calc
* support/Util/SDCCerr.h,
* support/Util/SDCCerr.c: Added & edited some bitfield err msgs
* src/mcs51/gen.c (genPackBits, genUnpackBits): fixed mask bugs
* src/ds390/gen.c (genPackBits, genUnpackBits): fixed mask bugs
* support/regression/tests/bitfields.c: tests added
2003-08-13 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
Made the constant following the "interrupt" keyword optional. If
omitted, the function will not automatically be given an entry
in the interrupt vector table (similar to #pragma NOIV, but
less syntacticly kludgy). The interrupt number is also now
range checked. Also fixed a bug in the high order bit example
in the manual.
* src/SDCC.y
* src/SDCCmem.c
* src/SDCCglue.c
* src/SDCCsymt.h
* support/Util/SDCCerr.c
* support/Util/SDCCerr.h
* doc/sdccman.lyx
2003-08-13 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCcse.c (algebraicOpts): fix bug converting op from value to type
* src/SDCCicode.c (operandOperation): rewritten some ops
(*, ==, unary_minus) to fix possible overflows and to accord with ANSI
* src/SDCCsymt.c (computeType): literals are handled the same way as any
other type
* src/SDCCval.c (cheapestVal): removed, it doesn't accord with ANSI (can
be re-activated by defining REDUCE_LITERALS)
* src/SDCCval.c (constVal): fixed; hex and octal constants can be
unsigned, but are signed by default
* src/SDCCval.c (constVal): rearranged
* src/SDCCval.c (valMod): preliminary fix
* src/SDCCval.c (valCastLiteral): use TYPE_* types
* support/regression/literalop.c: added, work in progress
2003-08-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
Generate warnings for useless declarations like "char data;"
that don't do what new users expect.
* src/SDCC.y
* support/Util/SDCCerr.h
* support/Util/SDCCerr.c
2003-08-09 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCval.c (valMult): fix overflow detection of negative int
2003-08-07 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/ralloc.c (joinPushes): made compatible with new signedness
Changes to support big endian targets:
* src/ports.h
* src/SDCCglue.c
* src/avr/main.c
* src/ds390/main.c
* src/izt/i186.c
* src/mcs51/main.c
* src/pic/main.c
* src/pic16/main.c
* src/xa51/main.c
* src/z80/main.c
2003-08-06 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCval.c (cheapestVal): changed behaviour to the same as constVal()
* device/lib/time.c: fixed warning "integer overflow in expression"
2003-08-05 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCval.c (cheapestVal, valueFromLit): use TYPE_* types
* src/SDCCval.c (constVal): changed default to signed; hex and octal
constants are unsigned; added recognition of "u" flag for unsigned
* src/SDCCval.c (valMult): fixed signdness, added warning for overflow
* src/SDCCval.c (valDiv, valMod): fixed signdness
* src/SDCCicode.c (operandOperation): fixed critical typo; fixed
signedness of modulo, left and right shift
* support/Util/SDCCerr.c: added warning "integer overflow in expression"
* support/Util/SDCCerr.h: added warning W_INT_OVL
* src/SDCCast.c (decorateType): fixed gcc3.3 warning
* src/SDCCast.c (ast_print): improved output of constants
2003-08-04 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
Fixed some warnings when building with MSVC:
* as/mcs51/asdata.c
* as/z80/asdata.c
* as/mcs51/asm.h
* as/z80/asm.h
* link/z80/aslink.h
* link/z80/lkdata.c
* link/z80/lkeval.c
* link/z80/lkgb.c
* link/z80/lkihx.c
* link/z80/lks19.c
* link/z80/lksym.c
* support/cpp2/cpplib.c
* src/ds390/gen.c
* src/mcs51/gen.c
2003-08-03 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (constExprTree): fix bug #781827 by Carl Worth <cworth AT isi.edu>
2003-08-01 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* support/librarian/clean.mk: Do not remove Makefile.
* support/librarian/Makefile: added.
2003-08-01 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
Added librarian to MSVC build:
* all.dsp
* sdcc.dsw
* support/librarian/librarian.dsp
'configure' not needed for librarian, removed:
* support/librarian/configure
* support/librarian/configure.in
* support/librarian/config_in.h
* support/librarian/Makefile.in
Hopefully these ones built the librarian and the rest of sdcc properly:
* Makefile
* Makefile.common.in
Messed up 'configure', so revert to previous version:
* configure
* configure.in
2003-07-31 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCicode.c (operandOperation): 3. fix, this time for Alpha; ULONG has 64 bits
there, while the mantissa of a double is "only" 53 bits wide.
2003-07-31 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
Adding sdcclib to the build. MSVC project coming soon.
Files added/changed:
* support/librarian/clean.mk
* support/librarian/configure
* support/librarian/configure.in
* support/librarian/config_in.h
* support/librarian/Makefile.bcc
* support/librarian/Makefile.in
* support/librarian/sdcclib.c
* Makefile.bcc
* Makefile
* Makefile.common.in
* configure
* configure.in
2003-07-29 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
Linker now complaints if linked modules have conflicting options, for
example, one compiled using --model-large and another one compiled with
--model-small. The following files were modified:
* as/mcs51/asdata.c
* as/mcs51/aslink.h
* as/mcs51/asm.h
* as/mcs51/asmain.c
* as/mcs51/asout.c
* as/mcs51/i51pst.c
* as/mcs51/lkdata.c
* as/mcs51/lklibr.c
* as/mcs51/lkmain.c
* as/z80/asdata.c
* as/z80/asm.h
* as/z80/asmain.c
* as/z80/asout.c
* as/z80/z80pst.c
* link/z80/aslink.h
* link/z80/lkdata.c
* link/z80/lklibr.c
* link/z80/lkmain.c
* src/SDCCglue.c
2003-07-28 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
*link/z80/aslink.h, link/z80/lklibr.c, as/mcs51/aslink.h,
as/mcs51/lklibr.c: Generate a warning when a library is not found.
2003-07-28 Bernhard Held <bernhard AT bernhardheld.de>
* src/z80/mappings.i: fix _mul[us][int,long] entries
2003-07-26 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
*src/SDCCmain.c: do not search for crt0.o when using --nostdlib
2003-07-24 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCicode.c (operandOperation): really fixed problem with bitops
* support/regression/tests/bitopcse.c: added
fixed warning:
* src/avr/gen.c:
* src/pic/gen.c:
* src/pic16/gen.c:
* src/z80/gen.c:
* src/xa51/gen.c:
2003-07-24 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
added support for new library format to z80, gbz80 linkers:
*link/z80/aslink.h
*link/z80/lklex.c
*link/z80/lklib.c
*link/z80/lklist.c
2003-07-24 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCicode.c (operandOperation): fixed problem with bitops and 0xffffffff;
after {double d = 0xffffffff; long l = d;} l will be 0x80000000 (LONG_MIN)
2003-07-23 Bernhard Held <bernhard AT bernhardheld.de>
added DUMMY_READ_VOLATILE:
* src/SDCC.y:
* src/avr/gen.c:
* src/xa51/gen.c:
* src/z80/gen.c:
* src/pic/gen.c:
* src/pic16/gen.c:
* src/mcs51/gen.c:
* src/ds390/gen.c:
* src/SDCCcse.c (algebraicOpts): many improvements
* src/SDCCcse.h: removed algebraicOpts()
* src/SDCCicode.c (picDummyRead): added
2003-07-23 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* as/mcs51/lkmem.c: Changed message "Insufficient DRAM memory" to
"Insufficient space in data memory".
2003-07-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/mcs51/gen.c: fixed bug #771358
* src/z80/gen.c: fixed bug #759087
2003-07-20 Bernhard Held <bernhard AT bernhardheld.de>
* src/pic16/glue.c: minor cleanup by Vangelis
2003-07-19 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* device/include/regc515c.h: fixed #758477
* device/lib/_gptrget.c: saving some cycles in generic pointer get
* device/lib/_gptrput.c: saved a few bytes
* my tab spacing is 8, yours too?)
* device/lib/_ser.c: process RX bytes earlier than TX bytes
* device/lib/serial.c: process RX bytes earlier than TX bytes
* src/mcs51/gen.c(genGenPointerGet/Set): removed writing of type after postincrement
2003-07-18 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
* src/z80/gen.c: fixed some right shift bugs (#772726 among them)
2003-07-17 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* link/z80/lklibr.c: fixed bug when there is a '.' in a library path.
2003-07-17 Bernhard Held <bernhard AT bernhardheld.de>
* device/lib/Makefile.in: bad fix, reverted to 1.43
2003-07-16 Bernhard Held <bernhard AT bernhardheld.de>
* device/lib/Makefile.in: added missing z80 object files
2003-07-14 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCcse.c (algebraicOpts): CSE fun with &|^ and 0x00/0xff literals
pic16 progress by Vangelis:
* src/SDCCglobl.h:
* src/SDCCmain.c:
* src/pic/Makefile:
* src/pic:
* pic/Makefile:
* pic16/device.c:
* pic16/device.h:
* pic16/gen.c:
* pic16/gen.h:
* pic16/genarith.c:
* pic16/glue.c:
* pic16/main.c:
* pic16/pcode.c:
* pic16/pcode.h:
* pic16/pcodepeep.c:
* pic16/peeph.def:
2003-07-13 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* src/SDCCmain.c, src/SDCCglobl.h: added option --no-std-crt0
2003-07-12 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* sdcc.dsw, all.dsp, link/z80/linkgbz80.dsp, as/z80/as-gbz80.dsp:
added gbz80 build to MSVC project.
* src/SDCCmain.c, src/SDCCglue.c, src/z80/main.c, src/z80/z80.dsp,
link/z80/aslink.h, linkz80.dsp: cleaned up z80 and gbz80 asm files
from 8051 stuff and setup so it links using a .lnk file.
2003-07-06 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* support/librarian/sdcclib.c: sdcc librarian.
* as/mcs51/aslink.h, as/mcs51/lklib.c: Support for libraries created
with sdcclib.
2003-07-03 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* as/mcs51/lkmain.c: properly handle extensions in function afile.
2003-07-02 Borut Razem <borut.razem AT siol.net>
* src/port.h, src/SDCCmain.c, src/pic/glue.h, src/pic/main.c,
src/pic16/glue.h, sdcc/src/pic16/main.c, src/izt/i186.c,
src/izt/tlcs900h.c, src/avr/main.c, src/ds390/main.c, src/mcs51/main.c,
src/xa51/main.c, src/z80/main.c:
virtualization of glue() function: each port has it's own glue function,
which is accessed by do_glue function pointer in PORT.general structure
2003-07-01 Kevin Vigor <kevin AT vigor.nu>
* DS800C400 fun, improved ROM interface and tinibios.
2003-06-27 Kevin Vigor <kevin AT vigor.nu>
* More support for DS80C400. Now includes beginning of interface to ROM.
2003-06-25 Bernhard Held <bernhard AT bernhardheld.de>
* src/mcs51/gen.c (gencjneshort): fixed bug #760345
2003-06-20 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* as/mcs51/lkaomf51.c: Make sure the size of the last procedure is correct.
2003-06-19 Borut Razem <borut.razem AT siol.net>
* src/z80/main.c: fixed Z80 port again: missing -k library paths in linker command line
2003-06-19 Borut Razem <borut.razem AT siol.net>
* src/SDCCutil.h, src/SDCCutil.c, src/SDCCglobl.h, src/SDCCmain.c, src/z80/main.c:
fixed Z80 port - crt0.o: cannot open.
2003-06-19 Bernhard Held <bernhard AT bernhardheld.de>
* support/Util/MySystem.c (merge_command): revert bad fix
2003-06-18 Borut Razem <borut.razem AT siol.net>
* src/SDCC.lex, src/SDCCmain.c: fixed some warnings, introduced with changes made 15.06.1003
2003-06-18 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* src/SDCCglobl.h, src/SDCCmain.c, doc/sdccman.lyx:
option --use-stdout sends errors to stdout instead of stderr.
2003-06-18 Bernhard Held <bernhard AT bernhardheld.de>
* support/Util/MySystem.c (merge_command): quick fix for Linux segfault with \"cmd\" arg
2003-06-15 Borut Razem <borut.razem AT siol.net>
* support/cpp2/sdcc.h: HAVE_DOS_BASED_FILE_SYSTEM defined for _WIN32
* src/SDCC.lex: cloneXxx and copyAndFreeXxx functions for options and optimize stack handling
* src/SDCCglobl.h, src/SDCCmain.c, src/ds390/main.c, src/mcs51/main.c, src/z80/main.c:
fixed width array of pointers replaced with sets;
multiple include and lib paths ared transferred to preprocessor and linker
* src/SDCCset.c, src/SDCCset.h: added function setFromSetNonRev() and mergeSets()
* src/SDCCsymt.c: reimplemented function inCalleeSaveList() by using sets instead
fixed width array of pointers
* src/SDCCutil.c, src/SDCCutil.h: added functions fputStrSet(), appendStrSet(), joinStrSet();
removed functions addToList(), join(), joinn(), pathCharsEquivalent(), pathCharTransform(),
fixupPath(), getPathDifference()
* src/ds390/gen.c, src/mcs51/gen.c: reimplemented function inExcludeList() by using sets instead
fixed width array of pointers
2003-06-11 Bernhard Held <bernhard AT bernhardheld.de>
* src/pic16/ralloc.c: fix warnings
* src/pic16/pcode.c: fix warning
2003-06-10 Scott Dattalo <scott AT dattalo.com>
Scott D. for Vangelis Rokas (vrokas AT otenet.gr). I (scott) don't
know all the details, but essentially this set of changes enable
the pic16 port to generate movff instructions and generate assembler
directives,
* src/SDCCmain.c:
* src/pic16/gen.c:
* src/pic16/glue.c:
* src/pic16/pcode.c:
* src/pic16/device.c:
* src/pic16/main.c:
* src/pic16/pcode.h:
* src/pic16/pcoderegs.c:
* src/pic16/ralloc.c:
* src/pic16/ralloc.h:
2003-06-08 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* support/Util/SDCCerr.c, src/SDCCglobl.h, src/SDCCmain.c, doc/sdccman.lyx:
added option --vc, so sdcc errors and warnings are compatible with
Microsoft Visual Studio.
2003-06-07 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* device/lib/_atof.c, device/lib/Makefile.in, device/include/stdlib.h,
device/lib/libfloat.lib: added atof function.
2003-06-04 Bernhard Held <bernhard AT bernhardheld.de>
* doc/sdccman.lyx: updated to Lyx 1.3
* doc/cdbfileformat.lyx: updated to Lyx 1.3
* doc/test_suite_spec.lyx: updated to Lyx 1.3
* doc/Makefile: added fix for the \tabularnewline problem, thanks to Jesus
2003-06-03 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCpeeph.c: separate peepRules2pCode() for pic16 by "Vangelis Rokas" <vrokas AT otenet.gr>
2003-06-02 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: cvs revision keywords, passing pdf information in latex preamble,
additions to the "related tools/documentation" section
2003-06-02 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCglue.c (tempfileandname): added check for missing TMP/TEMP/TMPDIR variable
2003-05-29 Bernhard Held <bernhard AT bernhardheld.de>
* src/pic/device.c: added 16F819, patch by "David I. Lehn" <dlehn AT vt.edu>
* src/SDCCcse.c (algebraicOpts): fixed "c * 1"
2003-05-28 Bernhard Held <bernhard AT bernhardheld.de>
* doc/sdccman.lyx: fix double dash and other minor things
* doc/Makefile: fix double dash
2003-05-28 Karl Bongers(patches from Martin Helmling)
* debugger/mcs51/sdcdb.c,cmd.c,break.c and .h files. Martin adds
condition and ignore commands.
2003-05-28 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: Changes all over, index improved, smaller margins. The manual
is in parts still quite out of date, I did changes as far as I felt makes sense
for a non-native english speaker.
Please feel free to add to the manual or to correct my changes.
* doc/Makefile: undid touching the date of intermediate tex files.
2003-05-26 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* doc/sdccman.lyx: Manual has an index now
2003-05-25 Bernhard Held <bernhard AT bernhardheld.de>
Finalize muluint/mulsint and mululong/mulslong merging:
* device/lib/_mulint.c
* device/lib/_mullong.c
* device/lib/gbz80/mul.s
* device/lib/gbz80/stubs.s
* device/lib/z80/mul.s
* device/lib/z80/stubs.s
* src/SDCCsymt.c (initCSupport)
2003-05-25 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* as/mcs51/lkaomf51.c: Address space 'z' was missing.
* src/avr/avr.dsp, src/ds390/ds390.dsp, src/mcs51/mcs51.dsp,
src/pic/pic.dsp, src/pic16/pic16.dsp, src/xa51/xa51.dsp,
src/x80/z80.dsp: peep.rul is bigger now, so /Zm1000 is used
instead of /Zm500.
2003-05-25 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/peeph.def: added rules 244.x, 245.x. Although they pass
the regression tests I'm not brave enough to enable 245.b, 245.c
* doc/sdccman.lyx: added latex preamble for hyperref package.
Using pdflatex this will give you a hyperlinked pdf file with
bookmarks. (prepend '%' before /usepackage if this breaks something)
2003-05-24 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* doc/sdccman.lyx: updated information about .adb files (fixed bug 742649)
2003-05-22 Bernhard Held <bernhard AT bernhardheld.de>
* src/pic16/pcode.c (pic16_get_op_from_instruction): fixed a gcc 3.x warning
2003-05-21 <johan AT balder>
* src/SDCCglue.c (printIval): fixed bug #739934
2003-05-19 Bernhard Held <bernhard AT bernhardheld.de>
Applied patch from bug 737905 (renamed yylineo to mylineno):
* src/altlex.c
* src/SDCCast.c
* src/SDCglobl.h
* src/SDCC.lex
* src/SDCCsymt.c
* src/SDCCval.c
* src/pic16/pcode.c: Cleaned warnings
* src/pic16/pcodeflow.c: Cleaned warnings
* src/pic16/pcoderegs.c: Cleaned warnings
2003-05-19 Scott Dattalo <scott AT dattalo.com>
* src/pic16/pcode.c: Cleaned warnings
* src/pic16/pcodepeep.c: Cleaned warnings
* src/pic16/ralloc.c: Cleaned warnings
2003-05-19 Bernhard Held <bernhard AT bernhardheld.de>
* doc/sdccman.lyx: fixed bug 739745
* src/pic16/pcode.c (pic16_get_op): fixed warning on alpha
2003-05-18 Bernhard Held <bernhard AT bernhardheld.de>
* src/port.h: removed DEFAULT_PORT, it's not yet pic16 ;-)
it can be defined with CFLAGS when running configure
* src/SDCCmain.c: fixed compiling + linking with object files
2003-05-18 Vangelis Rokas (vrokas AT otenet.gr)
* configure.in: configure for pic16 port,
added --disable-pic16-port
* sdccconf_in.h: added macro OPT_DISABLE_PIC16
* src/SDCCmain.c: linkOptions is changed to set *,
added if/endif conditional macros to remove options help
messages from optionsTable when a port is not configured, added
support for the PIc16 port in the ports table, when executing
the compiler with no port specified on command line, a default
port is selected with the new macro DEFAULT_PORT which is
defined in port.h, in setDefaultOptions() linkOptions is removed
from initialization assignment, since now it is a set,
parseCmdLine uses setParseWithComma for linkOptions, in
linkEdit() linkOptions are accessed with new function indexSet()
which returns the i'th item of a set variable. See SDCCset.c, in
linkEdit() when calling buildCmdLine(), added linkOptions as
last argument. Now users can pass arguments to gplink via the
-Wl option, main() uses pic16glue() to glue up pic16 programs
* src/SDCCpeeph.c: various changes to support pic16
* src/SDCCset.c: added function void *indexSet(set *, int) to
return the i'th item of the set
* src/SDCCset.h: added function prototype for indexSet()
* src/SDCCsymt.c: in checkSClass(), added support for PIC16
* src/clean.mk: added pic16 in CLEANALLPORTS variable
* src/port.h: added TARGET_ID_PIC16,TARGET_IS_PIC16 macro,
added macro DEFAULT_PORT
* src/pic/main.c: corrected arguments of gplnk in _linkCmd
* src/pic16/gen.c: bug fix in genCpl(), now the correct code is
generated
* src/pic16/glue.c: commented out some error producing lines
* src/pic16/main.c: __config directives are commented out to stop
gpasm complaining and test the linkage with gplink, _linkCmd and
_asmCmd changed to be more gplink and gpasm friendly
* src/pic16/peeph.def: peep rule 3 is commented out, since it
produced an error when parsed, peep rule 12 is added to utilize
movff, but it is commented out since the pCode does not support
yet a command with 2 address arguments
2003-05-18 <johan AT balder>
* src/ds390/gen.c (genArrayInit): removed obsolete and buggy ARRAYINIT
* src/ds390/main.c (genArrayInit): removed obsolete and buggy ARRAYINIT
2003-05-17 Karl Bongers(apply patches from Martin Helmling)
* debugger/mcs51/sdcdb.c,cmd.c,break.c and .h files.
Added feature to script commands from file.
2003-05-14 Bernhard Held <bernhard AT bernhardheld.de>
* device/lib/_strtok.c: fixed bug #734355 by Lenny Story and Tim Woodall
* src/SDCCutil.c: include ctype.h for win32
2003-05-13 Bernhard Held <bernhard AT bernhardheld.de>
* src/pic16/*: removed CR from many files, reported by Vangelis Rokas
2003-05-12 Karl Bongers(apply development patches from Martin Helmling)
* debugger/mcs51/sdcdb.c,simi.c,cmd.c,break.c and .h files.
Fixed so you can set breakpoints prior to run, run does not stop
on entry now. Add tbreak. Other enhancements and fixes for use
with ddd.
2003-05-12 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c: fixed the problem with searching the DATADIR as the last resort on *nix
2003-05-11 Borut Razem <borut.razem AT siol.net>
* src/SDCCutil.c: WIN32 version of getBinPath() calls GetModuleFileName() to determine
the path of bin directory, so that PATH is the only env. variable, which has to be set
in case of standard installation.
* src/ds390/ds390.dsp: increased value of /Zm option to 1000
* src/pic/main.c: add quotes to file name parameters for gplink and gpasm
* src/SDCCglobl.h, src/SDCCmain.c, doc/sdccman.lyx: added --print-search-dirs command line option
2003-05-04 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCmain.c (linkEdit): fixed buffer overflow for gbz80
* support/regression/Makefile: inter-port-clean is no longer nesessary, the
temp files are in the port dir; clean the gen/test directory when
generating new test.c
* support/regression/ports/host/spec.mk: defined OBJEXT for target clean
* support/regression/tests/vaargs.c: fixed gcc 3.3 warning
* support/regression/tests/zeropad.c: added
2003-05-09 <johan AT balder>
* src/SDCCglue.c: fixed bug #597940
2003-05-05 Karl Bongers(apply patches from Martin Helmling)
* debugger/mcs51/sdcdb.c,simi.c,cmd.c,symtab.c and .h files.
cache sfr, optimize next,step, fix off by one sourceline,
support ddd list function.
* sim/ucsim/cmd.src/newcmd.cc - small fix for sdcdb use.
2003-05-04 Bernhard Held <bernhard AT bernhardheld.de>
* support/regression/HTMLgen.py: added compare_s2f()
* support/regression/Makefile: redo 1.27
* support/regression/generate-cases.py: redo 1.5
2003-04-30 Bernhard Held <bernhard AT bernhardheld.de>
* support/regression/tests/float.c: workaround 33 bit hex constant
* support/regression/tests/simplefloat.c: fix division for host
2003-04-29 Scott Dattalo <scott AT dattalo.com>
* src/pic/pcoderegs.c Applied patch from Jim Hawkridge <jim AT jimhawkridge.uk.eu.org>
that tame's the PIC's over-aggressive optimizer.
2003-04-29 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* src.dsw, link/z80/aslink.h, link/z80/linkz80.dsp: z80 linker
support for MSVC.
2003-04-29 Kevin Vigor <kevin AT vigor.nu>
Initial support for DS80C400. "Hello world" runs on TINIm400
(with polled I/O).
2003-04-28 Karl Bongers(apply patches for Martin Helmling)
* debugger/mcs51/sdcdb.c,simi.c,cmd.c,symtab.c and .h files.
* Some notes on ddd usage added in debugger/README
Martin Helmling adding more features and fixes for ddd GUI debugger.
Code added for nexti, stepi, up, down, and other adjustments.
2003-04-28 Scott Dattalo <scott AT DATTALO.COM>
* src/pic/pCodepeep.c non-wildcard asmops are now handled
* src/pic/peeph.def Added two rules to optimize carry manipulation
* src/pic/* removed debug printfs
2003-04-28 Bernhard Held <bernhard AT bernhardheld.de>
* debugger/mcs51/cmd.c: added header newalloc.h
2003-04-26 Bernhard Held <bernhard AT bernhardheld.de>
* as/Makefile: new EXEEXT
* as/z80/Makefile: remove trailing slash of BUILDIR
* as/z80/clean.mk: new EXEEXT
* Makefile.common.in: add to CFLAGS (and others), don't replace it
* support/cpp2/Makefile.in: new EXEEXT
* src/pic/glue.c (pic14emitRegularMap): fixed warning
2003-04-24 Bernhard Held <bernhard AT bernhardheld.de>
Cygwin's gcc always appends .exe: 'gcc -o a a.c' creates a.exe;
EXEEXT was introduced to fix all related problems with targets
"clean", "install" and "uninstall"; a couple of further flaws
especially with "clean" have been fixed too
* as/mcs51/Makefile.in
* as/mcs51/clean.mk
* as/z80/Makefile
* Makefile
* clean.mk
* debugger/mcs51/Makefile.in
* debugger/mcs51/clean.mk
* link/z80/Makefile
* link/z80/Makefile.in
* link/z80/clean.mk
* link/Makefile
* packihx/Makefile.in
* packihx/clean.mk
* sim/ucsim/Makefile
* sim/ucsim/clean.mk
* sim/ucsim/avr.src/Makefile.in
* sim/ucsim/avr.src/clean.mk
* sim/ucsim/s51.src/Makefile.in
* sim/ucsim/s51.src/clean.mk
* sim/ucsim/xa.src/Makefile.in
* sim/ucsim/xa.src/clean.mk
* sim/ucsim/z80.src/Makefile.in
* sim/ucsim/z80.src/clean.mk
* sim/ucsim/main_in.mk
* sim/ucsim/packages_in.mk
* sim/ucsim/gui.src/Makefile.in
* sim/ucsim/gui.src/serio.src/Makefile.in
* sim/ucsim/gui.src/serio.src/clean.mk
* src/Makefile.in
* src/clean.mk
* support/cpp2/Makefile.in
* support/cpp2/clean.mk
* support/makebin/Makefile
* support/makebin/clean.mk
* support/scripts/sdcc_mingw32: --program-suffix no longer needed
* doc/sdccman.lyx: --program-suffix no longer needed
2003-04-23 Karl Bongers(apply patches for Martin Helmling)
* debugger/mcs51/sdcdb.c,simi.c,cmd.c,..
Martin Helmling added support for ddd GUI debugger.
Code added to display assembly, set variables, and other commands
to interface to ddd.
2003-04-23 Bernhard Held <bernhard AT bernhardheld.de>
* as/Makefile: fix target clean
* as/clean.mk: fix target clean
* as/z80/clean.mk: fix target clean
2003-04-22 Bernhard Held <bernhard AT bernhardheld.de>
* Makefile.common.in: added AT EXEEXT AT
* configure.in: removed all mingw32 stuff
* configure: rebuilt from configure.in
* doc/sdccman.lyx: updated section "installation"
* support/scripts/sdcc_mingw32: adapted to configure
* support/scripts/sdcc_cygwin_mingw32: added
2003-04-22 Scott Dattalo <scott AT dattalo.com>
* src/pic Added object file support for the PIC port
* src/pic Applied patch from Craig Franklin (this started the object file support)
* src/regression Updated the PIC regression tests for object files
2003-04-20 Borut Razem <borut.razem AT siol.net>
* sdcc/as/mcs51/lklex.c: make getfid() more robust and fixed gcc warning:
lklex.c: In function `getfid':
lklex.c:203: warning: array subscript has type `char'
* src/SDCCglobl.h: small change in stack handling macros, to avoid crash when compiled
with MSVC with global optimization enabled (probably an cl compiler bug ;-)
* support/Util/SDCCerr.c, support/Util/SDCCerr.h: added function fatal(), called from
stack handling macros
2003-04-19 Borut Razem <borut.razem AT siol.net>
* "handling space characters in file path" task:
* src/SDCCmacro.c: fixed bug in handlig quote at the end of line
* support/Util/BuildCmd.c: define par as NULL if parameter value is invalid
* support/Util/MySystem.h: make it self-sufficient
* src/avr/main.c, src/ds390/main.c, src/mcs51/main.c, src/pic/main.c, src/xa51/main.c,
src/z80/main.c, sdcc/as/mcs51/lklex.c:
handling space characters in file path
* src/SDCCmain.c: introduced setDataPaths() function, {datadir} macro
(it will be used by assemblers, which have their own includes, e.g. gpasm)
* support/Util/MySystem.c: handling space characters in executable's path
2003-04-19 Bernhard Held <bernhard AT bernhardheld.de>
* as/z80/Makefile: fix permanent rebuild of z80
* sim/ucsim/gui.src/Makefile.in: target "install" builds the same packages as target "all"
* support/regression/tests/bitfields.c: added Johan's bitfields.c
2003-04-18 Kevin Vigor <kevin AT vigor.nu>
* src/SDCCopt.c: add special case optimization to replace modulo by
a power of two with a bitwise AND.
2003-04-18 <johan AT balder>
* src/mcs51/gen.c (getFreePtr): fixed bug #635354
2003-04-17 <johan AT balder>
* src/mcs51/ralloc.c (packRegsForAssign): fixed bug #716790 and removes lot's of redundant register usage around function calls
* src/mcs51/ralloc.c (packRegisters): fixed bug #720667
2003-04-13 Borut Razem <borut.razem AT siol.net>
* doc/sdccman.lyx: updated info about #pragma SAVE/RESTORE nesting
* configure.in, configure: fixed problems on cygwin/WinCVS environmet with ports.* line endings;
fixed mingw problem in adl_NORMALIZE_PATH
2003-04-12 Borut Razem <borut.razem AT siol.net>
* fixed "#pragma SAVE/RESTORE can not be nested":
* src/SDCC.lex: reworked pragma handling functions
* sdcc/src/SDCCglobl.h: reworked stack handling macros
* support/Util/SDCCerr.c, support/Util/SDCCerr.h: added E_STACK_VIOLATION error
2003-04-12 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCutil.c (pathEquivalent): defined but not used
* debugger/mcs51/sdcdb.c: replace SDCC_LIB_DIR
* configure.in: remove sdcc_datadir, sdcc_lib_dir and sdcc_include_dir
* configure: rebuilt from configure.in
* sdccconf_in.h: remove SDCC_LIB_DIR and SDCC_INCLUDE_DIR
* sdcc_vc_in.h: remove SDCC_LIB_DIR and SDCC_INCLUDE_DIR
* device/include/Makefile.in: replace sdcc_datadir
* device/lib/Makefile.in: replace sdcc_datadir
* Makefile.common.in: add LDFLAGS from configure
* packihx/Makefile.in: use LDFLAGS
* src/Makefile.in: use LDFLAGS
* support/cpp2/Makefile.in: add LDFLAGS from configure
* support/makebin/Makefile: use LDFLAGS
* .version: bumped version number to 2.3.5
2003-04-12 Borut Razem <borut.razem AT siol.net>
* completed "different paths" task:
* src/SDCCmacro.c: fixed bug in handling quotes
* src/SDCCutil.c, src/SDCCutil.c: rewritten getPrefixFromBinPath()
* src/SDCCmain.c: _discoverPaths() replaced with setBinPaths(), setIncludePath() and setLibPath()
2003-04-12 Bernhard Held <bernhard AT bernhardheld.de>
* src/pic/pcoderegs.c (Remove1pcode): fix warning on alpha
2003-04-11 kevin Vigor <kevin AT vigor.nu>
* ds390/gen.c ds390/peeph.def: fix bug 706781
2003-04-11 Borut Razem <borut.razem AT siol.net>
* support/Util/dbuf.c, support/Util/dbuf.h: update to version 1.1.1 - re-added C++ stuff to make it still more portable
2003-04-10 Scott Dattalo <scott AT dattalo.com>
* src/pic/* Applied the pointer-to-function patch from Steve Tell.
* src/pic/* Fixed several pointer bugs. (PIC port broke when the ruonly bit was
set - this bit used to not be set...).
* src/pic/gen.c Fixed buf 609268 ==> x = (x+1) & 0xf; generated
bad code in PIC Port
* src/regression/and2.c added to test bug 609268
* src/regression/Makefile added and2.c to regression test
2003-04-08 <johan AT CP255758-A>
* src/mcs51/gen.c (gen51Code): display reg usage in --icode-in-asm
* src/mcs51/ralloc.c (serialRegAssign): update the registers in use and save some slocs
* src/SDCCicode.h: added riu to show the register usage in --icode-in-asm
2003-04-07 Bernhard Held <bernhard AT bernhardheld.de>
* configure.in: fully support prefix, exec_prefix, datadir, docdir;
fix bug #487815
* support/cpp2/Makefile.in: fix bug #487815
* configure: rebuilt from configure.in
* Makefile.common.in: docdir changed, new path suffixes
* sdccconf_in.h: new RETSIGTYPE, and other PATHs
* sdcc_vc_in.h: reflect changes from sdccconf.h
* src/SDCCglobl.h: remove *SEPARATOR_CHARS, they are now in sdccconf.h
* src/SDCCutil.h: remove BINDIR hack
* doc/sdccman.lyx: update new path hierarchy
2003-04-06 Paul Stoffregen <paul AT pjrc.com>
* src/SDCCpeeph.c: added okToRemoveSLOC test
2003-04-06 Paul Stoffregen <paul AT pjrc.com>
* device/lib/printf_fast.c: added leading zero format ("%06d", etc)
2003-04-06 Paul Stoffregen <paul AT pjrc.com>
* src/SDCCpeeph.c: added labelIsReturnOnly test
* src/mcs51/peeph.def: Peephole 244: replace ljmp to ret with ret
2003-04-05 <johan AT balder>
* src/SDCCcse.c (cseAllBlocks): fixed bug #460088
* src/SDCCloop.c (DEFSETFUNC): fixed bug #460088
* src/SDCCopt.c (eBBlockFromiCode): fixed bug #460088
* src/SDCCast.c: fixed a warning
* src/SDCCast.h: fixed a warning
* src/SDCCicode.c (operandFromAst): fixed a warning
2003-04-04 <johan AT balder>
* src/SDCCloop.c (DEFSETFUNC): undid the fix for bug #519584
* src/SDCCast.c (decorateType): fixed bug #715076
* src/SDCC.y: fixed bug #702907
2003-04-03 <johan AT balder>
* device/lib/_mulint.c (_muluint): new #pragma LESS_PEDANTIC
* src/SDCCopt.c (eBBlockFromiCode): new #pragma LESS_PEDANTIC
* src/SDCCglobl.h (PRAGMA_LESSPEDANTIC): new #pragma LESS_PEDANTIC
* src/SDCC.lex (doPragma): new #pragma LESS_PEDANTIC
* src/SDCCmain.c (parseCmdLine): new #pragma LESS_PEDANTIC
2003-04-03 Bernhard Held <bernhard AT bernhardheld.de>
* _decdptr.c: fix return values
* _gptrget.c: fix return values
* _gptrgetc.c: fix return values
* _gptrput.c: fix return values
* _mulint.c: fix return values
* as/z80/Makefile: fix 'make -j' problem
2003-04-02 Bernhard Held <bernhard AT bernhardheld.de>
* Makefile.common.in: unused PORT, SCC and SAS removed, fixed docdir
* configure.in: big cleanup, updated to autoconf 2.5x
* configure: rebuilt from configure.in
* sdccconf_in.h: new RETSIGTYPE, and other PATHs
* sdcc_vc_in.h: reflect changes from sdccconf.h
* doc/Makefile: fixed a flaw in "make install"
2003-04-02 <johan AT balder>
* src/ds390/gen.c (genCmp): no comments
* src/mcs51/gen.c (genCmp): no comments
* src/SDCCopt.c (eBBlockFromiCode): detect missing return values
* src/SDCCast.c (ast_print): fixed the function type in --dumptree
2003-04-01 Bernhard Held <bernhard AT bernhardheld.de>
* support/regression/generate-cases.py: place generated file in given sub directory
* support/regression/ports/host/spec.mk: prevent removal of testfwk.o
* support/regression/Makefile: improvements for 'make -j';
side effect: it's simpler and faster now
2003-03-31 Borut Razem <borut.razem AT siol.net>
* src/z80/main.c: link-{port} and as-{port} defined without path
* src/src.dsp: support/Util/MySystem.h and src/SDCCutil.h added to project
2003-03-31 Bernhard Held <bernhard AT bernhardheld.de>
* Makefile, src/Makefile.in: add dependencies, so that 'make -j' works
2003-03-30 Borut Razem <borut.razem AT siol.net>
* support/Util/BuildCmd.c, support/Util/BuildCmd.h: rewrite buildCmdLine(),
changed type of list parameter to set
* src/ds390/main.c: changed type of parameter asmOptions to set in _tininative_do_assemble()
* src/port.h: changed type of do_assemble() parameter to set
* src/SDCCmain.c: type of asmOptions changed to set, introduced setParseWithComma(),
sdcpp defined without path, removed variable VersionString, introduced set binPathSet,
definition of "cppoutfilename" macro with NULL value in preProcess()
* src/SDCCglobl.h: included "SDCCset.h", added declaration of setParseWithComma()
* src/SDCCglue.c: removed variable VersionString, inroduced spacesToUnderscores()
* support/Util/MySystem.c, support/Util/MySystem.h: rewrite, char *ExePathList[]
replaced with set *binPathSet
* shash_add() deallocates the item, if allready exsists, before adding the new one
* src/SDCCmacro.c: handling macros with empty or NULL values in _evalMacros()
2003-03-30 Scott Dattalo <scott AT dattalo.com>
* src/pic/gen.c: Commit patch from Steve Tell <tell AT telltronics.org> that fixes
a nested for loop bug in the PIC port
* src/regression/nestfor.c: new regression test file Steve wrote to test nested
for loops
2003-03-29 Bernhard Held <bernhard AT bernhardheld.de>
* support/Util/dbuf.h: remove C++ stuff to make it portable
2003-03-28 Borut Razem <borut.razem AT siol.net>
* src/SDCC.lex: Fix for bug #711240: dynamic buffer handling of C
literal strings in stringLiteral()
* support/Util/dbuf.c, support/Util/dbuf.h: added: dynamic buffer handling
* src/Makefile.bcc, src/Makefile.in, src/src.dsp: added support/Util/dbuf.c
to the project
2003-03-27 Paul Stoffregen <paul AT pjrc.com>
* src/SDCCpeeph.c (pcDistance): accurate byte distance for mcs51
2003-03-26 <johan AT balder>
* src/mcs51/gen.c (saveRegisters): catched symbol abuse
* src/ds390/gen.c (saveRegisters): catched symbol abuse
* src/SDCCast.c (decorateType): fixed " -v < 3"
2003-03-23 Bernhard Held <bernhard AT bernhardheld.de>
* doc/cdbfile.html: removed, replaced by cdbfileformat.lyx
Added Lenny Story's debug infrastructure changes:
* src/Makefile.in: added new files cdbFile.c and SDCCdebug.c
* src/Makefile.bcc: added new files cdbFile.c and SDCCdebug.c
* src/cdbFile.c: added
* src/SDCCdebug.c: added
* src/SDCCdebug.h: added
* src/SDCCast.c (createFunction)
* src/SDCCglue.c (emitRegularMap, emitStaticSeg, emitOverlay, glue)
* src/SDCCmain.c (parseCmdLine, main)
* src/SDCCmem.c (redoStackOffsets)
* src/SDCCsymt.c (cdbStructBlock, cdbTypeInfo, cdbSymbol, cdbStruct, cdbStructBlock)
* src/SDCCsymt.h
* src/common.h
* src/avr/gen.c (genAVRCode)
* src/ds390/gen.c (gen390Code)
* src/mcs51/gen.c (gen51Code)
* src/pic/gen.c (genpic14Code)
* src/pic/glue.c (pic14emitRegularMap, pic14emitStaticSeg, pic14emitOverlay, picglue)
* src/xa51/gen.c (genXA51Code)
* src/SDCCast.c: fixed "void foo(void){char c; -c < 0;}"
2003-03-22 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/gen.c (genCodePointerGet): quicker code for bug #700797
* src/mcs51/peeph.def: added rules 177, 241.x to 243, touched 181, 182.x, 193.x
2003-03-22 <johan AT balder>
* src/SDCCicode.c (geniCodeDerefPtr): fixed bug #698231
2003-03-21 Bernhard Held <bernhard AT bernhardheld.de>
* support/scripts/sdcc_mingw32: adapted to configure from autoconf 2.54
* doc/cdbfileformat.lyx: added, written by Lenny Story
* doc/Makefile: added cdbfileformat.lyx
* doc/clean.mk: added cdbfileformat.lyx
2003-03-20 Bernhard Held <bernhard AT bernhardheld.de>
* src/mcs51/peeph.def: fix bug #705773
2003-03-20 <johan AT balder>
An sfr/sbit can have an "at #" AND an initializer
* src/SDCCsymt.c (checkSClass):
* src/SDCCmem.c (allocGlobal):
* src/SDCCmem.c (allocLocal):
* src/SDCCast.c (createBlock):
2003-03-17 Bernhard Held <bernhard AT bernhardheld.de>
* src/ds390/peeph.def: fix bug #704878: added rule 213.b suggested by Jan Rejlek
2003-03-16 <johan AT balder>
Undid the hackup of const and volatile, the problem is much bigger
* src/SDCC.y:1.65
* src/SDCCast.c:1.171
* src/SDCCglue.c:1.138
* src/SDCCicode.c:1.146
* src/SDCCsymt.c:1.150
* src/SDCCval.c:1.65
2003-03-15 Bernhard Held <bernhard AT bernhardheld.de>
* src/mcs51/ralloc.c (packRegsForAssign): fixed bug #703541
* src/ds390/gen.c (genAddrOf): fixed bug #704087
2003-03-13 <johan AT balder>
Hackup const and volatile modifiers in type chains a bit:
* src/SDCC.y:1.63
* src/SDCCast.c:1.169
* src/SDCCglue.c:1.136
* src/SDCCicode.c:1.143
* src/SDCCsymt.c1.146
* src/SDCCsymt.h1.59
* src/SDCCval.c:1.63
2003-03-12 <johan AT balder>
* src/SDCCBBlock.h: more LRH debugging junk
* src/SDCCcflow.h: more LRH debugging junk
* src/SDCCloop.c: more LRH debugging junk
* src/SDCC.y (struct_declaration): fixed bug #697590
* src/SDCCsymt.[hc] (cloneSpec): NEVER EVER use this again
* src/ds390/gen.c (aopForRemat): fixed bug #700031
* src/SDCCglue.c (emitStaticSeg): fixed bug #700797
2003-03-11 Kevin Vigor <kevin AT vigor.nu>
* src/SDCCpeeph.c: quit being lazy and made proper fix (peephole
test function names must now match exactly).
* src/SDCCcse.c: added special case in findCheaperOp to allow
extending a short integer. Makes less awful code for bug 700121 test case.
2003-03-11 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* as/mcs51/lkmain.c: Added ASlink-Warning to messages
* as/mcs51/lkaomf51.c: Fixed bug when linking asmblink example
2003-03-11 Kevin Vigor <kevin AT vigor.nu>
* src/SDCCpeeph.c: fix so that operandsNotEqualX functions are
actually called (operandsNotEqual() was called for all
operandsNotEqualX tests).
2003-03-11 Kevin Vigor <kevin AT vigor.nu>
* src/SDCCcse.c: fix findCheaperOp to prevent replacing int types
with shorter literals. Fixes bug 700121.
2003-03-11 <johan AT balder>
* src/SDCCsymt.c (compareType): a (void *) can be assigned to any pointer
2003-03-11 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCloop.c (mergeRegions): an evil beast is dead
* src/SDCCmain.c (preProcess): minor cleanup: eliminate preOutName
2003-03-10 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c: pipe preprocessor's output
* support/Util/MySystem.c, support/Util/MySystem.h: added my_popen()
* sdcc_vc_in.h: define pclose as _pclose for WIN32
* src/SDCCglue.c, src/SDCCglue.h: added set pipeSet, added function closePipes,
which closes all pipes in pipeSet set
* src/SDCCset.c: free deleted item in function deleteSetItem()
* src/src.dsp, src/z80/z80.dsp: files support/Util/BuildCmd.c and support/Util/MySystem.c
moved from z80 to src subproject
* .version: increased version number to 2.3.4
2003-03-10 Bernhard Held <bernhard AT bernhardheld.de>
* support/regression/ports/mcs51/spec.mk: increase timeout for CF's sparc to 30s
* support/regression/ports/ds390/spec.mk: increase timeout for CF's sparc to 25s
* support/regression/ports/xa51/spec.mk: fix typo
2003-03-09 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCglobl.h: PATH_MAX is already defined in mingw32 headers
2003-03-09 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c: pipe preprocessor's output
* support/Util/MySystem.c, support/Util/MySystem.h: added my_popen()
* sdcc_vc_in.h: define pclose as _pclose for WIN32
* src/SDCCglue.c, src/SDCCglue.h: added set pipeSet, added function closePipes,
which closes all pipes in pipeSet set
* src/SDCCset.c: free deleted item in function deleteSetItem()
* src/src.dsp, src/z80/z80.dsp: files support/Util/BuildCmd.c and support/Util/MySystem.c
moved from z80 to src subproject
2003-03-09 Borut Razem <borut.razem AT siol.net>
* src/SDCCglue.c: re-implemented tempfilename() and tempfile(): using mkstemp() if available
* src/SDCCsymt.h: fixed MSVC and BORLANDC compilation (included SDCCglobl.h instead srccconf.h)
* sdcc_vc_in.h: explicitly undefined HAVE_MKSTEMP which is not available on BORLANDC and MSVC
* src/SDCCset.h: removed inclusion of sdccconf.h or sdcc_vc.h
* src/SDCCglobl.h: unification of WIN32 native definitions
2003-03-09 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/gen.c: applied in-/dec patch mentioned on sdcc-devel 2003-03-01
2003-03-08 Bernhard Held <bernhard AT bernhardheld.de>
* src/configure.in: check for endianess (even while cross-compiling)
* src/configure: check for endianess (even while cross-compiling)
* src/configure_in.h: check for endianess (even while cross-compiling)
* src/avr/gen.c: remove old endianess stuff
* src/mcs51/gen.c: remove old endianess stuff
* src/ds390/gen.c: remove old endianess stuff
* src/pic/gen.c: remove old endianess stuff
* src/pic/genarith.c: remove old endianess stuff
* src/pic/glue.c: fix endianess check
* src/pic16/gen.c: remove old endianess stuff
* src/pic16/genarith.c: remove old endianess stuff
* src/pic16/glue.c: fix endianess check
* src/xa51/gen.c: remove old endianess stuff
* src/z80/gen.c: fix endianess check
* src/SDCCglue.c: fix endianess check
* src/ds390/peeph.def: fix bug 700036
2003-03-08 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCsymt.h: use appropriate data-types on host for SDCC's int and long
* src/configure: find appropriate data-types on host for SDCC's int and long
* src/configure.in: find appropriate data-types on host for SDCC's int and long
* src/sdccconf_in.h: find appropriate data-types on host for SDCC's int and long
* src/xa51/gen.c: use %d, not %ld for 4 byte variables
2003-03-07 <johan AT balder>
Just a big NOOP:
some minor cleanups before the big shot
OP_DEFS and OP_USES now use Kevin's protection
new option --nolabelopt
* src/SDCCBBlock.c:
* src/SDCCast.c,:
* src/SDCCcflow.c:
* src/SDCCcse.c:
* src/SDCCicode.c:
* src/SDCCicode.h:
* src/SDCClabel.c:
* src/SDCCloop.c:
* src/SDCCmain.c:
* src/ds390/ralloc.c:
* src/mcs51/ralloc.c:
* src/pic/ralloc.c:
* src/xa51/ralloc.c:
* src/z80/ralloc.c:
2003-03-06 Bernhard Held <bernhard AT bernhardheld.de>
* src/pic/pcode.c (get_op): fix 64 bit warnings
* src/pic/pcode.c (pCode2str): fix 64 bit warnings
* src/SDCChasht.c (newHashTable): fix 64 bit warnings
* src/SDCCsymt.c (checkTypeSanity): fix 64 bit warnings
* support/regression/tests/malloc.c: fix 64 bit warnings
2003-03-04 Bernhard Held <bernhard AT bernhardheld.de>
* src/mcs51/gen.c (genMinus): fixed bug 696436
2003-03-02 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c: added BORLANDC, corrected MSVC in printVersionInfo()
2003-02-26 Bernhard Held <bernhard AT bernhardheld.de>
* configure.in: test for mkstemp
* sdccconf_in.h: add HAVE_MKSTEMP
2003-02-24 Bernhard Held <bernhard AT bernhardheld.de>
* device/include/ctype.h: removed warning while using --stack-auto
* device/include/malloc.h: removed warning while using --stack-auto
* device/include/string.h: removed warning while using --stack-auto
2003-02-23 Borut Razem <borut.razem AT siol.net>
* src/asm.h: corrected assertion in function printILine(): _pipe() was not executed on MSVC,
because NDEBUG is defined (see man assert)
* sdcc_vc_in.h: vsnprintf is defined as _vsnprintf on MSVC
2003-02-23 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/mcs51/gen.c (genUminusFloat): avoided dptr in-/decrement for xdata variables
* src/mcs51/peeph.def: added rule suggested by Gernot Fink, white space/comment changes
2003-02-18 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
* src/SDCCpeeph.c: added peephole conditions testing for same arguments
* src/mcs51/peeph.def: added rules 238a-d which remove redundant moves
2003-02-18 <johan AT balder>
* as/mcs51/asmain.c (asmbl): module can start with a digit
* as/z80/asmain.c (asmbl): module can start with a digit
2003-02-16 Bernhard Held <bernhard AT bernhardheld.de>
* sim/ucsim/mkecho: inserted #!/bin/sh for Cygwin, so that it's executable
* src/asm.c: fix pipe() for Mingw32
2003-02-15 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCglue.h: make tmpfileNameSet available for preOutName
* src/SDCCmain.c (preProcess): make sure, that preOutName will be deleted;
make -V work again; --c1mode reads now from stdin
* doc/sdccman.lyx: added --c1mode
* support/Util/SDCCerr.c: new messages for c1 mode
* support/Util/SDCCerr.h: new messages for c1 mode
* src/SDCC.lex (checkCurrFile): test if fullSrcFileName is NULL for c1mode
2003-02-15 <johan AT balder>
* src/asm.c: new options: --no-c-code-in-asm and --i-code-in-asm
2003-02-14 Bernhard Held <bernhard AT bernhardheld.de>
* doc/sdccman.lyx: Environment variables, -o and other minor things
2003-02-14 <johan AT balder>
* src/xa51/main.c: before anyone really tries to use it :)
* Install doc's in share/sdcc/doc
* removed some obsolete files
* Do a proper make distclean and uninstall
M Makefile.common.in
R sdccbuild.sh
M as/Makefile
M device/include/Makefile.in
M device/lib/Makefile.in
M doc/sdccman.lyx
M link/Makefile
M sim/ucsim/doc/Makefile.in
M src/clean.mk
R src/avr/peeph.rul
R src/xa51/peeph.rul
M support/cpp2/Makefile.in
M support/makebin/Makefile
2003-02-13 Bernhard Held <bernhard AT bernhardheld.de>
* support/regression/ports/host/spec.mk: use cc as host compiler for max osx
2003-02-10 Borut Razem <borut.razem AT siol.net>
* doc/bccinst.txt, packihx/packihx.c, sdcc_vc_in.h, src/SDCCset.h,
support/cpp2/config.in: Borland C++ build doesn't depend on Cygwin configure
* Bcc.ini, Makefile.bcc, as/mcs51/Makefile.bcc,
device/examples/ds390/tinitalk/Makefile.bcc, packihx/Makefile.bcc,
support/cpp2/Makefile.bcc, src/Makefile.bcc, src/avr/Makefile.bcc,
src/ds390/Makefile.bcc, src/izt/Makefile.bcc, src/mcs51/Makefile.bcc,
src/pic/Makefile.bcc, src/pic16/Makefile.bcc, src/xa15/Makefile.bcc,
src/z80/Makefile.bcc: Borland Makefile cleanup
* as/z80/Makefile.bcc: Added Borland Makefile
* support/cpp2/borland.h: Removed
2003-02-10 Bernhard Held <bernhard AT bernhardheld.de>
* doc/sdccman.lyx: new pragma NOIV by "Johannes Stezenbach" <js AT convergence.de>
* src/SDCC.lex: new pragma NOIV
* src/SDCCglobl.h: new pragma NOIV
* src/SDCCmem.c: new pragma NOIV
2003-02-09 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCmain.c: signal handling is switched off by SDCC_LEAVE_SIGNALS
2003-02-09 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCmain.c: signal handling is switched off by --debug
* doc/Makefile: small fix for install; use clean.mk again
* doc/clean.mk: clean *.pdf and *.html too
2003-02-08 Bernhard Held <bernhard AT bernhardheld.de>
* device/lib/_mulint.c: small fix for large/ds390 --int-long-reent resp. --stack-auto
* device/lib/printfl.c: fix a ds390 bug by making it portable
* src/SDCCsymt.c (initCSupport): fix compile warning on Cygwin
* src/SDCCopt.c (cnvToFloatCast): fix compile warning on Cygwin
* src/SDCCopt.c (cnvFromFloatCast): fix compile warning on Cygwin
* debugger/mcs51/cmd.c: converted multi-line string literals
* sim/ucsim/globals.cc: converted multi-line string literals
* src/SDCCmain.c: introduced signal handler to remove temp files
* doc/Makefile: small tweaks, implement clean
* doc: removed generated files
2003-02-05 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* as/mcs51/aslink.h, as/mcs51/lkihx.c, as/mcs51/lkrloc.c: Applied
patch from Jan Rejlek <jr AT apex-lib.cz> to fix Bug 677692: "Extended
Address Record is not correctly generated for DS390."
2003-02-02 Borut Razem <borut.razem AT siol.net>
* Makefile.bcc: removed non existing cpp project and non compilable izt project from makefile
* as/mcs51/asm.h: fixed compilation with Borland C
* support/cpp2/Makefile.bcc: added rule to generate auto-host.h
* support/cpp2/auto-host_vc_in.h: fixed compilation with Borland C
* src/mcs51/mcs51a.dsp: corrected misspelled project name from msc51a to mcs51a
* src/avr/Makefile.bcc, src/ds390/Makefile.bcc, src/izt/Makefile.bcc,
src/mcs51/Makefile.bcc, src/pic16/Makefile.bcc, src/xa51/Makefile.bcc,
src/z80/Makefile.bcc: delete $(LIB) only if exist
* src/Makefile.bcc, src/pic/Makefile.bcc: fixed compilation with Borland C
2003-02-02 Bernhard Held <bernhard AT bernhardheld.de>
* device/include/malloc.h: introduced NULL
* device/include/string.h: introduced NULL
* device/include/stdlib.h: introduced NULL
* device/lib/_memcpy.c: removed NULL
* device/lib/_strcat.c: removed NULL
* device/lib/_strchr.c: removed NULL
* device/lib/_strcmp.c: removed NULL
* device/lib/_strcpy.c: removed NULL
* device/lib/_strcspn.c: removed NULL
* device/lib/_strlen.c: removed NULL
* device/lib/_strncat.c: removed NULL
* device/lib/_strncmp.c: removed NULL
* device/lib/_strncpy.c: removed NULL
* device/lib/_strpbrk.c: removed NULL
* device/lib/_strrchr.c: removed NULL
* device/lib/_strspn.c: removed NULL
* device/lib/_strstr.c: removed NULL
* device/lib/_strtok.c: removed NULL
* device/lib/malloc.c: removed NULL, include own header
2003-02-02 <johan AT balder>
* src/mcs51/ralloc.c (packForPush): fixed bug #631653, maybe other ports need this too? At least now some new alerts in SDCCBBlock.c and SDCCicode.c gives an early warning
* support/regression/fwk/lib/testfwk.c: div and mod isn't broken anymore
* regressions ds390/spec.mk and mcs51/spec.mk (timeout): my good old balder isn't fast enough for some tests
* src/z80/gen.c (genZ80Code): added c-lines in asm comments
* as/z80/asm.h (NINPUT): increased for long c-comments in regression tests
* src/z80/gen.c (genRightShiftLiteral): fixed the (char)(-3)>>8 (I think)
2003-02-01 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* src/SDCCmain.c: Fixed bug 678574: "ds390: ASlink-Error-Stack overlaps
area 'DATA'"
2003-02-01 <johan AT balder>
* src/SDCCval.c (valBitwise): fixed Karl's "2 | (1<<8)"
2003-01-31 <johan AT CP255758-A>
* src/ds390/main.c (_ds390_genAssemblerPreamble): applied Jan Rejlek's >64K startup patch
2003-01-30 <johan AT balder>
* src/SDCCBBlock.c: automatic bug detection
* src/SDCCicode.c: automatic bug detection
2003-01-29 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* src/SDCCglobl.h: now --xram-size 0 works
* src/SDCCmain.c: now --xram-size 0 works
2003-01-29 <johan AT balder>
* src/almosteverything: changed OP_DEFS and OP_USES from macros to functions to catch symbol abuse (a hot topic in the bug list :)
2003-01-29 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* as/mcs51/aslink.h: Added options --xram-size and --code-size
* as/mcs51/lkdata.c: Added options --xram-size and --code-size
* as/mcs51/lkmain.c: Added options --xram-size and --code-size
* as/mcs51/lkmem.c: Added options --xram-size and --code-size
* src/SDCCglobl.h: Added options --xram-size and --code-size
* src/SDCCmain.c: Added options --xram-size and --code-size
2003-01-28 Bernhard Held <bernhard AT bernhardheld.de>
* src/ds390/gen.c: fix deps by replacing <common.h> with "common.h"
* src/SDCC.lex: rename P_OVERLAY to P_OVERLAY_ for cross-gcc 3.2 MINGW32
2003-01-27 <johan AT balder>
* src/SDCC.y: fixed bug #613764
2003-01-26 <johan AT balder>
* src/SDCClrange.c: fixed Bernhard's "char * code ptr = &c"
* src/SDCCsymt.h: fixed bug #673374
* src/SDCCglue.c: fixed bug #661910
* src/SDCCast.c: fixed bug #458099 and 673374
2003-01-26 Bernhard Held <bernhard AT bernhardheld.de>
* as/mcs51/strcmpi.c: added, provides Aurelien Jarno's as_strcmpi(); strcmpi() is not ANSI
* as/mcs51/strcmpi.h: added
* as/mcs51/asm.h: remove ugly "#define strcmpi strcmp"
* as/mcs51/aslink.h: remove ugly "#define strcmpi strcmp"
* as/mcs51/asmain.c: strcmpi -> as_strcmpi
* as/mcs51/assym.c: strcmpi -> as_strcmpi
* as/mcs51/lkmem.c: strcmpi -> as_strcmpi
* as/mcs51/lknoice.c: strcmpi -> as_strcmpi
* as/mcs51/lksym.c: strcmpi -> as_strcmpi
* as/mcs51/Makefile.aslink: new module strcmpi
* as/mcs51/Makefile.asx8051: new module strcmpi
* as/mcs51/Makefil.bcc: new module strcmpi
* as/mcs51/Makefile.in: new module strcmpi
* sim/ucsim/s51.src/uc390.cc (get_mem_size): make RAM big enough for tinibios
2003-01-26 <johan AT balder>
* src/SDCCglue.c: reverted back to 1.124
* src/SDCCast.c: reverted back to 1.156
* src/mcs51/gen.c (aopGet): applied Frieder's efficiency patch
2003-01-25 <johan AT balder>
* src/SDCCglue.c: A better fix for bug #661910
* src/SDCCast.c: A better fix for bug #661910
* src/SDCCglue.c (emitRegularMap): That was a little too efficient
2003-01-24 Bernhard Held <bernhard AT bernhardheld.de>
* src/Makefile.in: remove spawn.o
* src/SDCCmain.c: remove spawn.h
* src/SDCCmain.c (printVersionInfo): report MINGW32 instead of UNIX
* src/spawn.c: removed
* src/spawn.h: removed
* support/regression/ports/ds390/spec.mk: link with -r
2003-01-24 <johan AT CP255758-A>
* src/ds390/gen.c (aopOp): fixed bug #667458
* src/SDCCglue.c (emitRegularMap): fixed bug #458099 again
* src/SDCCast.c (createIvalCharPtr): fixed bug #661910
(createIvalCharPtr): an ival doesn't always have a storage class anymore
2003-01-24 Bernhard Held <bernhard AT bernhardheld.de>
* src/mcs51/peeph.def: better assembler identation by Frieder
* src/mcs51/gen.c: better assembler identation by Frieder
2003-01-22 Bernhard Held <bernhard AT bernhardheld.de>
* as/z80/string.h: removed for gcc 3.2
* support/makebin/makebin.c: #include <string.h> for gcc 3.2
* src/pic/pcode.c (get_op_from_instruction): fix concatenation of string literals with __FUNCTION__ for gcc 3.2
2003-01-19 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCmain.c (linkEdit): rename mem and map files even in case of failure
* src/SDCCpeeph.c (replaceRule): fix bug #663503
* support/regression/Makefile: separate temp files for ports
* support/regression/generate-cases.py: separate temp files for ports
* src/mcs51/peeph.def: Frieder: removed 237 (obsolete by 236g and 105); added 237 a/b
* src/ds390/peeph.def: Frieder: removed 237 (obsolete by 236g and 105); added 237 a/b
2003-01-19 Bernhard Held <bernhard AT bernhardheld.de>
* moved tinitalk to device/examples/ds390
2003-01-14 Bernhard Held <bernhard AT bernhardheld.de>
* as/mcs51/lkmem.c: rflag is for DS390
* src/SDCCglobl.h: removed out_name and options stackOnData, genericPtr
* src/SDCCmain.c (optionsTable, setDefaultOptions): removed --stack-after-data and --generic
(linkEdit): move mem- and map-files the same way as ihx-files
* src/z80/main.c (_setDefaultOptions): removed --generic
* src/SDCCmain.c (_processC1Arg, parseCmdLine, main): --c1mode works again
* src/SDCCglue.c (createInterruptVect, glue): --c1mode works again
* src/pic/glue.c (picglue): --c1mode works again
* src/pic16/glue.c (pic16glue): --c1mode works again
* src/asm.c (printCLine): fix #660034
2003-01-13 Bernhard Held <bernhard AT bernhardheld.de>
* src/ds390/peeph.def: fix #123; add 14 rules by Fiorenzo D. Ramaglia <fd.ramaglia AT tin.it>, 1 by Frieder
* src/mcs51/peeph.def: fix #123; add 14 rules by Fiorenzo, 1 by Frieder
* src/mcs51/gen.c (genFunction): emit r0 instead of ar0 by Fiorenzo
* as/mcs51/lkmem (summary): better fix for sp problem
* src/SDCCglue.c (glue): __start_stack - 1, saves 1 byte!
* src/ds390/main.c (_ds390_finaliseOptions, _tininative_finaliseOptions): stack_loc = 0x400008
* support/regression/ports/*/spec.mk: moving testfwk-object to port dir allow parallel execution of regression tests
remove --stack-after-data
2003-01-12 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCmain.c (main): port->finaliseOptions() moved for z80 linking
* src/SDCCutil.c (join): ugly bug: missing '\0'
* as/mcs51/lkmem.c (summary): sp on address 7 is safe
2003-01-11 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCmain.c (assemble, linkEdit): preparations for -o
* src/port.h: typo
* src/pic/main.c (_asmCmd): gpasm supports -o
* src/z80/main.c: more general macros
* device/lib/Makefile.in: remove intermediate files
2003-01-11 Bernhard Held <bernhard AT bernhardheld.de>
* .version: Bumped version number to 2.3.3
* src/SDCCBBlock.c: new option -o
* src/SDCCglobl.h: new option -o
* src/SDCCglue.c: new option -o
* src/SDCCmain.c: new option -o
* src/asm.c: new option -o
* src/ds390/main.c: new option -o
* src/pic/glue.c: new option -o
* src/pic/pcode.c: new option -o
* src/pic/ralloc.c: new option -o
* src/pic16/glue.c: new option -o
* src/pic16/pcode.c: new option -o
* src/pic16/ralloc.c: new option -o
* src/z80/main.c: new option -o
* device/lib/Makefile.in: use -o
* support/regression/ports/ds390/spec.mk: use -o
* support/regression/ports/gbz80/spec.mk: use -o
* support/regression/ports/mcs51/spec.mk: use -o
* support/regression/ports/mcs51-stack-auto/spec.mk: use -o
* support/regression/ports/z80/spec.mk: use -o
* support/regression/ports/ucz80/spec.mk: use -o
* support/regression/ports/xa51/spec.mk: use -o
* support/regression/fwk/lib/timeout.c: fix usage string
2003-01-09 Bernhard Held <bernhard AT bernhardheld.de>
* src/mcs51/gen.c (genPlus): replaced "mov b,acc" by "mov b,a" Fiorenzo D. Ramaglia <fd.ramaglia AT tin.it>
2003-01-07 <johan AT balder>
* src/SDCCast.c (decorateType): fixed bug #600035
2003-01-07 Bernhard Held <bernhard AT bernhardheld.de>
* as/mcs51/lkmem.c: added several l-modifiers to printf to remove warnings
* as/mcs51/lkaomf51.c: #include <ctype.h> to remove warnings
* src/pic/main.c (_hasNativeMulFor): outcommented unused variables to remove warnings
* src/pic/pcode.c: outcommented unused variable to remove warnings
* src/pic/ralloc.c: outcommented unused variable to remove warnings
2003-01-06 <karl AT turbobit.com>
* sim/ucsim/cmd.src/command.cc: fixed so "break xram r 0x7654" works again in
regression tests.
2003-01-06 <johan AT balder>
* src/SDCCicode.c: fixed array add
2002-01-05 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCmacro.c: MAX_STRING_LENGTH increased to 2048; was too small for regression tests
* support/regression/ports/host/support.c: #include <stdarg.h> for gcc 3.2
2003-01-04 <johan AT balder>
* src/SDCCval.c (getNelements): fixed the initialized array of structures
2002-12-29 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* as/mcs51/Makefile.bcc: fixed typo lkomf51.o -> lkaomf51.o
2002-12-28 Bernhard Held <bernhard AT bernhardheld.de>
* src/mcs51/peeph.def: added rules 234 and 235 from Frieder Ferlemann <frieder.ferlemann AT web.de>
* support/regression/tests/bug-524697.c: fit mem usage into 8032
2002-12-28 Bernhard Held <bernhard AT bernhardheld.de>
* src/mcs51/gen.c (aopGetUsesAcc): inserted missing "return FALSE"
2002-12-27 Bernhard Held <bernhard AT bernhardheld.de>
* as/mcs51/Makefile.in: fixed typo lkomf51.o -> lkaomf51.o
2002-12-26 Bernhard Held <bernhard AT bernhardheld.de>
* src/mcs51/main.c: removed {bindir}{sep} from aslink
2002-12-10 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* in /sdcc/as/mcs51/ changed these files in order to create an
aomf51 file: aslink.h, lkdta.c, lklex.c, lklibr.c, lklist.c,
lkmain.c. Also added: lkmem.c and lkaomf51.c. Changed the
following files to include the previous two files: aslink.dsp,
Makefile.aslink, Makefile.bcc, and Makefile.in.
* Changed /sdcc/src/SDCCmain.c so it creates files with extension
.adb instead of .cdb
2002-11-09 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* /sdcc/as/mcs51/lklist.c: Now reports memory usage using the
value from option --iram-size.
2002-09-20 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* /sdcc/as/mcs51/lklist.c: added boundary check before using
dram[] array.
2002-09-18 <wiml AT hhhh.org>
* SDCClrange.h: exposed setFromRange() and setToRange()
* mcs51/ralloc.c: fixed over-eager packRegsForSupport() and
packRegsForAccUse() (bug 542397)
* mcs51/gen.c: MOVA() is now a function to avoid calling aopGet()
multiple times and emitting the fetch operations more than once
added aopGetUsesAcc() function to allow binary operators to
fetch their operands in the correct order; made genMinus() emit
compact code for X = LITERAL - Y
2002-09-00 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* /sdcc/as/mcs51/lklist.c: Fixed incorrect number of parameters to
sprintf() in line 1267.
2002-09-08 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
* /sdcc/src/SDCCglue.c: Generate areas REG_BANK_[0-3] only for 8051
like ports.
2002-09-04 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
Changes to aslink (All the changes are marked with 'JCF'):
* /sdcc/as/mcs51/aslink.h: External definition of sflag and
summary().
* /sdcc/as/mcs51/lkarea.c: Computes the size of area BSEG_BYTES from
area BSEG. Also moves, if possible, the DATA area down into the internal
ram so more space is available.
* /sdcc/as/mcs51/lkdata.c: Definition of memory summary output flag
sflag.
* /sdcc/as/mcs51/lklist.c: For the BSEG area report the size in bits,
not bytes. Function summary() which creates a memory usage summary
file with extension .mem. Reports of overlaping stack and small stack
size. If the space for the stack is less than 16 bytes aslink trows a
warning.
* /sdcc/as/mcs51/lkmain.c: Creation of some of the default areas for
the 8051. Option 'y' for memory summary output file.
Changes to sdcc (All the changes are marked with 'JCF'):
* /sdcc/src/SDCCglobl.h: External definition of RegBankUsed[4].
* /sdcc/src/SDCCglue.c: If a register bank is used, creates an
overlaying area for it (uses RegBankUsed[4]).
* /sdcc/src/SDCCmain.c: Definition RegBankUsed[4]; marks register
bank zero as used by default. By default aslink locates the stack
(equivalent to --stack-after-data). Pass option 'y' to aslink for
the creation of the .mem file. Delegates the allocation of data area
to aslink (it is not longer 0x30 by default). If --stack-loc passes
the begining of the stack area to aslink.
* /sdcc/src/SDCCmem.c: If a register bank is used, marks it so
glue() in SDCCglue.c creates an area for it.
2002-09-03 Borut Razem <borut.razem AT siol.net>
* sdcc/src/SDCCglue.c, sdcc/src/SDCCglue.h, sdcc/src/SDCCmain.c,
sdcc/src/pic/glue.c:
introduced atexit() handler for teporay files removal in case of
errors, assertions, ...
2002-08-29 Borut Razem <borut.razem AT siol.net>
* sdcc/support/cpp2/auto-host_vc_in.h:
re-definition of O_BINARY and other O_XXX as _O_BINARY and _O_XXX, so the problem
with the returned value from read() in sdcc/support/cpp2/cppfiles.c is solved for MSC.
Maybe there is a similar problem with BORLANDC? It should be checked!
* sdcc/src/ds390/ralloc.c, sdcc/src/mcs51/ralloc.c, sdcc/src/z80/ralloc.c:
corrected improper use of assert: the assignment to clr variable was done inside the assert.
In case that NDEBUG was defined, the assert macro was substituted with no-op, so the assignment
was not executed, and the compiler (cl) launched a warning:
ralloc.c(1442) : warning C4700: local variable 'clr' used without having been initialized
2002-08-28 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCglue.c (printIvalArray): iterative calculation of array length
2002-08-28 Jesus Calvino-Fraga and Borut Razem <borut.razem AT siol.net>
* sdcc/sdcc.dsw: added sdcpp, sdcppa, yacc, conf projects
* sdcc/src/src.dsp, sdcc/src/avr/avr.dsp, sdcc/src/ds390/ds390.dsp,
sdcc/src/mcs51/mcs51.dsp, sdcc/src/pic/pic.dsp, sdcc/src/z80/z80.dsp,
sdcc/src/xa51/xa51.dsp, sdcc/src/avr/avra.dsp,
sdcc/src/ds390/ds390a.dsp, sdcc/src/mcs51/mcs51a.dsp,
sdcc/src/pic/pica.dsp, sdcc/src/z80/z80a.dsp,
sdcc/src/xa51/xa51a.dsp, sdcc/as/as_z80.dsp,
sdcc/as/aslink.dsp, sdcc/as/asx8051.dsp, sdcc/packihx/packihx.dsp:
- added Release configuration in VS projects
- review of compiler an linker options
- VC .exe files are generated in bin_vc directory, not to interfere
with binaries generated from other projects (cygwin, mingw, bcc ...)
* sdcc/src/yacc.dsp: added
* sdcc/config.dsp, sdcc/configure_vc.awk, sdcc/sdcc_vc_in.h:
added - genarate sdcc_vc.h using sdcc_vc_in.h as template
and insert the version number definitions from .version
* sdcc/support/cpp2/sdcpp.dsp: added - VC project for sdcpp
* sdcc/support/cpp2/sdcppa.dsp, sdcc/support/cpp2/auto-host_vc_in.h:
added - genarate auto-host.h using auto-host_vc_in.h as template
* sdcc/sdcc_vc.h,
removed from CVS, generated automatically
2002-08-25 Bernhard Held <bernhard AT bernhardheld.de>
* support/scripts/inc2h.pl: use gputils or gpasm (from Nathan Hurst)
2002-08-11 Borut Razem <borut.razem AT siol.net>
* support/Util/NewAlloc.c: removed unneeded #include "sdccconf.h" (suggested by Jesus Calvino-Fraga)
2002-08-10 Borut Razem <borut.razem AT siol.net>
* src/SDCCmain.c (main):
file preOutName was unlinked before closed. This seems to be OK on UNIX and cygwin
platforms, but it doesn't work with Visual Studio: the opened file can not be removed.
The consequence was that some temporary files were not removed.
* src/SDCCglue.c:
unification of code in functions tempfilename() and tempfile():
function tempnam() is defined in Visual Studio 6.0 and .NET
* sdcc/sdcc.dsw: removed project sdcpp, added project xa51a
* sdcc/src/src.dsp, sdcc/src/avr/avr.dsp, sdcc/src/ds390/ds390.dsp,
sdcc/src/mcs51/mcs51.dsp, sdcc/src/pic/pic.dsp, sdcc/src/z80/z80.dsp:
- removed compiler command line option /WX: Treats all warnings as errors
- update a list of source files, included into the project
* sdcc/src/avr/avra.dsp, sdcc/src/ds390/ds390a.dsp, sdcc/src/mcs51/mcs51a.dsp,
sdcc/src/pic/pica.dsp, sdcc/src/z80/z80a.dsp:
changed project type to Generic Project so that can be correcly converted to VS.NET project
* sdcc/as/mcs51/asm.h: definition of PATH_MAX for MSC
* sdcc/src/SDCCast.c: solved MSC error in function decorateType()
* sdcc/src/SDCC.y: added missing ending ';' to rules to get rid of bison warnings
* dcc/src/ds390/ralloc.c, sdcc/src/mcs51/ralloc.c:
added return 0 statements after assert() to make compiler happy
* sdcc/src/xa51/peeph.rul, sdcc/src/xa51/peeph.def, sdcc/src/z80/ralloc.c:
added newline in the def file to keep MSC compiler satisfied
* sdcc/src/z80/gen.c:
- function strcasecmp() is not defined in MSC (and probably also in BORLANDC),
so it is replaced with STRCASECMP, which is defined as stricmp in case of MSC and BORLANDC
- solved MSC error in function aopDump()
* sdcc_vc.h: define PREFIX as "\\sdcc"
2002-07-18 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (decorateType): fixed access to array of structures http://sourceforge.net/mailarchive/forum.php?thread_id=902690&forum_id=4107
2002-06-22 Scott Dattalo <scott AT dattalo.com>
* src/pic/*: Numerous bug fixes. Flow analysis has been enhanced.
- Rewrote the register banking algorithm.
- Added pCode live-range analysis to registers (for now, only non-used and
singly-used registers optimized away)
* src/pic/pcoderegs.[ch]: Added new files for pCode live-range analysis
* support/scripts/inc2h.pl Kevin L. Pauba <klpauba AT cox.net> submitted this perl script for converting MicroChip include files into SDCC Pic include files.
2002-05-10 Scott Dattalo <scott AT dattalo.com>
* src/pic/*: Added support for multiplication. Fixed many,many bugs.
2002-04-22 Michael Hope <michaelh AT vroom>
* device/lib/z80/printf.c: Changed emitter to volatile to work around a pcall bug.
* configure.in (DD_COPT): Added include support required for gbdk.
* .version: Bumped version number just to increase it.
* src/SDCCmain.c: Added -nostdinc to the default options.
2002-04-15 Michael Hope <michaelh AT vroom>
* device/lib/z80/printf.c (sprintf): Added.
* src/z80/ralloc.c (packRegisters): Disabled pack HL use for GB as it's broken.
* src/z80/peeph.def: Added transpose redundent load rule.
* src/z80/main.c: Added force callee saves for jaune.
* src/port.h: Removed the i186 and tlcs-900h ports as they weren't being being developed.
* src/SDCCmain.c: Pulled the options definition out so that you can add port specific options without changing the main file.
2002-03-28 Johan Knol <johan AT balder>
* src/SDCCval.c: fixed bug #532436
2002-03-14 Scott Dattalo <scott AT dattalo.com>
* /src/port.h:
Added "char *Processor" field to the port structure.
* /src/SDCCmain.c:
Added -p option. Allows port dependent processor to be specified.
* all ports:
Initialized the new field char *Processor field to NULL in all ports
* /src/pic/*:
Compiler generated registers for interrupt context saving
were not getting allocated.
2002-03-16 Sandeep Dutta <sandeep AT ddi.com>
* /src/SDCCast.c:
Fixed left shift. Will promote the left side of a left shift
if a) left shifting more than size of operand or b) when assigned
to something size > size of left side
2002-03-14 Scott Dattalo <scott AT dattalo.com>
* src/pic/*
tons of changes. Register allocation has been
rewritten. Added customization for the various PICs. Flow
analysis is restructured. ...
* src/pic/device.h:
Added
* src/pic/device.c:
Added. device.c is a PIC port hack to accomodate variations
in PIC devices.
2002-03-13 Michael Hope <michaelh AT vroom>
* src/z80/gen.c (genGenPointerGet): Fixed a bug where a pointer in HL is dereferenced into HL but HL is not spilled. Yeah.
2002-03-04 johanknol <johanknol AT manik>
* /src/SDCCval.c: fixed
const unsigned char arr[][2] = { { 0, 1 } };
t18.c:1: error: Initializer element is not constant
2002-03-04 bela <bela AT manik>
* /device/include/mcs51reg.h:
ds89c420 register definition update
2002-03-03 <johan AT FRIJA>
* support/Util/SDCCerr.c: did something, but don't no why anymore
* support/regression/tests/bug-524691.c: made it a little less shy
* src/SDCCast.c (decorateType): fixed bug #524697
* src/SDCCast.c: made some lineno improvements
* src/SDCCval.c (getNelements): changed warning to error
* src/SDCCglue.c (printIvalArray): changed warning to error
* src/SDCCicode.c: fixed a warning for mingw
* src/SDCCast.c (decorateType): fixed the << promotion for ops
* src/SDCCicode.c (geniCodeDivision): divide is shift only for unsigned (bug #524685)
2002-03-02 Sandeep Dutta <sandeep AT ddi.com>
* src/ds390/peeph.def:
Added some more peephole rules
* src/ds390/gen.c: Various fixes & enhancements
* src/SDCClrange.c, src/SDCClrange.h:
functions "alldefsoutofrange" and "notusedinblock" moved to SDCClrange.c
* src/ds390/ralloc.c:
various fixes & enhancements (ds390) specific
* src/avr/ralloc.c, src/mcs51/ralloc.c, src/pic/ralloc.c, src/xa51/ralloc.c, src/z80/ralloc.c:
Functions "allDefsOutOfRange" & "notUsedinBlock" moved to SDCClrange.c
from rallocs.
* sdcc/src/SDCCcse.c: Better fix for bug # 514308
2002-03-02 <johan AT FRIJA>
* src/SDCCast.c (decorateType): fixed bug #524708
* src/SDCCval.c (floatFromVal): fixed the literal void (whatever that may be)
* src/SDCCicode.c (geniCodePtrPtrSubtract): fixed bug #524691
2002-03-01 Michael Hope <michaelh AT vroom>
* src/SDCCsymt.c (initCSupport): Removed managling of support function names.
* src/z80/ralloc.c (packRegsForIYUse): Fixed fp bug where four byte operands were packed into IY.
2002-03-01 <johan AT FRIJA>
* src/SDCCglue.c (printIvalPtr): fixed bug #524211
* src/SDCCast.c (decorateType): fixed bug #524209
* src/SDCCval.c (valNot): fixed bug #524195
2002-02-26 <johan AT balder>
* src/xa51/gen.c: fixed a warning
* src/SDCCglue.c (printIvalFuncPtr): fixed bug #522534
* src/SDCCast.c (decorateType): fixed bug #522534
2002-02-23 <johan AT balder>
* src/SDCCdflow.c (computeDataFlow): fixed bug #460088
2002-02-22 <johan AT balder>
* src/SDCCast.c: fixed bug #514865
* src/SDCCy.c ("SDCC.y"): fixed bug #516625
2002-02-21 Sandeep Dutta <sandeep AT ddi.com>
* sdcc/src/SDCCloop.c:
Previous fix was not good. basic blocks that have "break" or "return" are
not really partof a loop , but live ranges used in these blocks should
be live thru the entire loop, so set partOfLoop but don't add them to
loop region
2002-02-21 <johan AT FRIJA>
* src/SDCCcse.c: fixed bug #514308
2002-02-20 Sandeep Dutta <sandeep AT ddi.com>
* src/SDCCloop.c:
Fixed BUG #519583. If a conditional block ended in a return/break
statement inside a loop, it was not being considered part of the loop.
* src/SDCCcflow.c: Removed fix (Fixed in SDCCloop.c)
2002-02-10 Karl Bongers <karl AT turbobit.com>
* debugger/*:
Fixed up SDCDB debugger somewhat. Updated debugger/README
with lots of comments and notes.
* device/examples/test2.c:
Fix bug, "red" variable not being initialized(compiler complained).
* device/examples/Makefile, examples/test3.c:
Add Makefile in device/examples folder, compiles test3.c
for use as a multiple module SDCDB test case.
* sim/ucsim/cmd.src/cmdset.cc:
Took out debug printfs in ucsim "next" command.
* sim/ucsim/xa.src:
Karl and Johan start ucsim XA support. Most dissassembly working,
about 75% emulation done(plenty of work remaining).
* sim/ucsim/z80.src:
Add Z80 support to ucsim, add test-ucz80 regression test,
notice ucsim/z80 emulation fails on examples/test3.c/itoa code.
Notice z80 compiler fails on examples/test3.c/crc code.
2002-01-30 Sandeep Dutta <sandeep AT ddi.com>
* src/mcs51/gen.c, src/mcs51/main.c, src/mcs51/ralloc.c:
Added support for --parms-in-bank1
* src/ds390/peeph.def:
added a few more peephole optimzations
* src/ds390/main.c:
1) added __builtin_inp & __builtin_outp used to read in data of given length
from a memory mapped port
2) added __builtin_memcmp
3) added __builtin_swapw swap bytes of a short
* src/ds390/gen.c, src/ds390/gen.h, src/ds390/ralloc.c:
1) handle multiple send & receives from register bank1
2) ralloc can now allocate DPTR1 to some liveRanges
* src/SDCCsymt.c, src/SDCCsymt.h:
changes to handle multiple sends & receives
* src/SDCCptropt.h:
added some pointer arithmetic optimization
* src/SDCCptropt.c:
added some pointer arithmetic optimizations but not stable yet so not
called from anywhere (will get this working shortly)
* src/SDCCopt.c: fixed for multiple sends & receives
* src/SDCCmain.c:
1) added options --parms-in-bank1 (ds390/mcs51) & --protect-sp-update
2) preprocessing done AFTER port->finalizeoptions . This allows ports to
set preprocessor defines (depending on options)
* src/SDCCicode.c, src/SDCCicode.h:
changes made to handle multiple sends & receives
* src/SDCCglobl.h:
Added options --protect-sp-update (ds390) and --parms-in-bank1 (ds390/mcs51)
* src/SDCCcse.c, src/SDCCcse.h:
added function findbackward def (to be used in upcoming optimization)
* src/SDCCcflow.c, src/SDCCcflow.h:
added function returnAtEnd - to determine if a basic block terminates with
a RETURN iCode
* src/SDCCast.c, src/SDCCast.h:
added option parms-in-bank1
* device/lib/_divsint.c, device/lib/_divslong.c, device/lib/_divuint.c
* device/lib/_divulong.c, device/lib/_modsint.c, device/lib/_modslong.c
* device/lib/_modulong.c, device/lib/_mulint.c, device/lib/_mullong.c:
adjusted for --parms-in-bank1 option
* device/include/string.h:
donot redefine "reentrant" keyword
* device/include/ds80c390.h: Added some more SFRs
2002-01-28 Bernhard Held <bernhard AT bernhardheld.de>
* sim/ucsim: Merged branch ucsim-034-pre3 to main trunk; new version 0.4
2002-01-26 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (funcOfType): fix usage of double --float-reent
2002-01-22 Bernhard Held <bernhard AT bernhardheld.de>
* support/regression/fwk/lib/testfwk.c (main): Removed workaround for bug #505387
2002-01-18 Paul Stoffregen <paul AT pjrc.com>
* Added --xram-movc option
2002-01-13 Bernhard Held <bernhard AT bernhardheld.de>
* support/regression/Makefile: don't include test-mcs51-stack-auto in target all
2002-01-11 Johan Knol
* Added math lib of Jesus Calvino-Fraga
2002-01-08 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCmain.c (processFile): fix processing of ../../src.c
* support/regression/Makefile: new target test-mcs51-stack-auto
* support/regression/ports/mcs51-stack-auto/spec.mk: added
2002-01-04 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCglue.h: printIvalCharPtr(), not printIvalChar()
2002-01-04 Bernhard Held <bernhard AT bernhardheld.de>
* support/regression/ports/mcs51/support.c: correct setup of timer / UART
2002-01-03 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCsymt.c (processFuncArgs): fix #498307 by Johan
* src/SDCCglue.h: add definition for printIvalChar()
2002-01-02 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c: fix #498138 by Johan
* src/SDCCglue.c: fix #498138 by Johan
2002-01-02 Bernhard Held <bernhard AT bernhardheld.de>
* support/regression/Makefile: fix clean
* support/regression/ports/ds390/support.c: fix transmission of last character
2001-12-29 Sandeep Dutta <sandeep AT ddi.com>
* /sdcc/src/ds390/gen.c:
a) improved computing address of stack variable
b) took out some #if 0 code
c) improved parmBytes adjustment
d) improved genPlusIncr & genMinusIncr
e) genCmp could generate bad code (when left assigned to DPTR)
f) Fixed bug in hasInc
* /sdcc/src/ds390/ralloc.c:
a) packRegsForSupport could mess up live information (Fixed)
b) packRegsDPTRuse could be incorrect for left & right shift
* /sdcc/src/mcs51/ralloc.c:
packRegsForSupport could mess up the live information (Fixed)
* /sdcc/src/mcs51/gen.c: Fixed a bug in hasInc
* /sdcc/src/SDCCast.c:
can reverse a loop even if function call is present as long
as the loop control variable is local & is not passed as parameter
2001-12-24 Sandeep Dutta <sandeep AT ddi.com>
* /sdcc/ChangeLog: *** empty log message ***
* /sdcc/src/ds390/gen.c, /sdcc/src/ds390/main.c:
More builtin function additions for TININative
* /sdcc/src/ds390/ralloc.c:
Had broken the regression testsuite
* /sdcc/src/SDCCast.c: Fixed a bug in dumptree
* /sdcc/src/SDCCsymt.c, /sdcc/src/SDCCsymt.h:
Added funcattr hasStackParms will be set for reentrant functions when there
are paramteres on the stack, this helps in minimizing frame pointer generation
typeFromStr can handle function pointers now
* /sdcc/doc/builtins.txt, /sdcc/doc/TININative.txt:
*** empty log message ***
2001-12-24 Sandeep Dutta <sandeep AT ddi.com>
* /src/ds390/gen.c, /src/ds390/main.c:
More builtin function additions for TININative
* /src/ds390/ralloc.c:
Had broken the regression testsuite
* /src/SDCCast.c: Fixed a bug in dumptree
* /src/SDCCsymt.c, /src/SDCCsymt.h:
Added funcattr hasStackParms will be set for reentrant functions when there
are paramteres on the stack, this helps in minimizing frame pointer generation
typeFromStr can handle function pointers now
* /doc/builtins.txt, /doc/TININative.txt:
*** empty log message ***
2001-12-24 Sandeep Dutta <sandeep AT ddi.com>
* /src/ds390/gen.c, /src/ds390/main.c, /src/ds390/peeph.def, /src/ds390/ralloc.c:
ALPHA version for -mTININative
* /src/izt/i186.c, /src/izt/tlcs900h.c, /src/mcs51/main.c, /src/pic/main.c, /src/z80/main.c, /src/avr/main.c:
updated to reflect changes in the port structure
* /src/port.h:
added function do_assemble (similar to do_link) if non-null this function
will be called to do assembly (-mTININative) requires a multi command
assembly
added function genAssemblerEnd will be called to generate assembler Epilogue
* /src/SDCCsymt.c:
added _JavaNative to debug info printing
* /src/SDCCmain.c: added option --tini-libid
added port->do_assemble function (-mTININative) has a multi command assemble
* /src/SDCCglue.c: Disabled "constExpr" check
added port->genAssemblerEnd function
* /src/SDCCglobl.h: Added option --tini-libid value
* /src/SDCCast.h:
tookout optimizeCompare from the header (has no external references)
* /src/SDCCast.c: made one more function "static"
2001-12-23 Michael Hope <michaelh AT juju.net.nz>
* src/z80/mappings.i: Added z80asm support.
* src/z80/main.c: Added z80asm support on --asm=z80asm
* src/z80/gen.c: Fixed asm portability issues.
* src/asm.c (tvsprintf): Removed old code, added 'N' for function name. For extern support.
* src/SDCCglue.c (printExterns): Added global/extern split.
2001-12-17 Bernhard Held <bernhard AT bernhardheld.de>
* support/regression/Makefile: added test for mcs51 model large
* support/regression/ports/mcs51-large/spec.mk: added test for mcs51 model large
* support/regression/ports/gbz80/spec.mk: added -mgbz80
2001-12-05 Michael Hope <michaelh AT juju.net.nz>
* src/diff.1 (Index): Many, many optmisiations. Dhrystone up to 201.
1904-01-06 Michael Hope <michaelh AT juju.net.nz>
* src/z80/ralloc.c (packRegsForIYUse): Fixed the case where an operand is in direct space.
* src/z80/gen.c (makeFreePairId): Optimised IY load by using a spare pair.
2001-12-02 Bernhard Held <bernhard AT bernhardheld.de>
* src/mcs51/gen.c (genFunction): avoid excess "inc sp"
* support/regression/tests/simplefloat.c: Port to mcs51.
2001-11-25 Michael Hope <michaelh AT juju.net.nz>
* support/regression/tests/bug-485362.c: Added.
* support/regression/tests/simplefloat.c (testDivNearOne): Added.
* src/z80/gen.c (aopOp): Fixed case where left and result are in the same spill loc and they have different sizes.
* src/z80/peeph.def: Added rules for optimising two byte compares on the same thing, and to optimise two ptr assign.
* src/z80/gen.c (aopDump): Added a dump function.
2001-11-25 Bernhard Held <bernhard AT bernhardheld.de>
* sim/ucsim/s51.src/glob.cc: DS390 SFRs and bits added.
* sim/ucsim/s51.src/port.cc: Port 4 and 5 added.
* sim/ucsim/s51.src/regs51.h: DS390 SFRs added.
* sim/ucsim/s51.src/uc390.cc: Some details improved, CKRDY works for tinibios.
* sim/ucsim/s51.src/uc390cl.h: Work in progress.
* sim/ucsim/sim.src/uccl.h: 6 ports for DS390.
* support/regression/fwk/lib/testfwk.c: Run with tinibios.
* support/regression/ports/mcs51/spec.mk: Fine tuninig.
* support/regression/ports/ds390/support.c: Use tinibios.
* support/regression/ports/ds390/spec.mk: Fine tuning, use tinibios.
2001-11-23 Michael Hope <michaelh AT juju.net.nz>support/regression/tests/bug-460010.c
* src/z80/ralloc.c (packRegsForHLUse3): Changed to not pack into HL if anything is in direct space.
(packRegsForHLUse3): Added packing support for send, cast, and return value from a call.
* src/z80/peeph.def: Added rules for optimising pushes of part of a pair.
* src/z80/gen.c (emitCall): Changed the stack fixup to not use HL.
2001-11-18 Michael Hope <michaelh AT juju.net.nz>
* src/z80/gen.c (genCmp): Fixed compare on unsigned.
* src/z80/ralloc.c (packRegsForHLUse3): Created and optimised.
(packRegsForIYUse): Created and optimised.
2001-11-07 Michael Hope <michaelh AT juju.net.nz>
* support/regression/tests/float.c (testFloatAdd): Fixed up warning.
2001-11-18 Bernhard Held <bernhard AT bernhardheld.de>
* sdcc/support/regression/tests/bug-460010.c: fix seg violation on host
* sdcc/support/regression/tests/muldiv.c: fix output on mcs51
* sdcc/support/regression/tests/stacks.c: fix DSEG overflow on mcs51
2001-11-07 Bernhard Held <bernhard AT bernhardheld.de>
* sdcc/sim/device/lib/_gptrget.c: mem region 5 (idata) added
* sdcc/sim/device/lib/_gptrput.c: mem region 5 (idata) added
2001-11-07 Bernhard Held <bernhard AT bernhardheld.de>
* sdcc/sim/ucsim/globals.cc: New: IXRAM.
* sdcc/sim/ucsim/stypes.h: New: IXRAM.
* sdcc/sim/ucsim/s51.src/uc390.cc: New: IXRAM.
2001-11-07 Michael Hope <michaelh AT juju.net.nz>
* src/z80/ralloc.c (packRegsForHLUse): Banned IFXs from being packed into HL.
(packRegsForHLUse): Added rule to pack address of/pointer get for itemps into HL for the Z80.
(packRegsForAccUse2): Added rule to pack hbit IFXs into A.
* src/z80/main.c (_setDefaultOptions): Made float code re-entrant by default.
* src/z80/gen.c (aopGetLitWordLong): Added word support for floats.
(genNotFloat): Added.
(genUminusFloat): Added.
* device/lib/z80/Makefile: Added floating pt stubs.
* device/lib/Makefile.in (Z80SOURCES): Added floating pt support.
* src/z80/gen.c (genIpush): Fixed up a push of one byte when left is in a pair.
* device/lib/_fsadd.c (__fsadd): Fixed up return where the numbers are hugely different.
2001-11-07 Bernhard Held <bernhard AT bernhardheld.de>
* sdcc/sim/ucsim/s51.src/glob.cc: Minor fix.
* sdcc/sim/ucsim/s51.src/regs51.h: Minor fix.
* sdcc/support/regression/Makefile: Add port ds390.
* sdcc/support/regression/ports/mcs51/spec.mk: Minor change.
* sdcc/support/regression/ports/z80/spec.mk: Minor change.
* sdcc/support/regression/ports/ds390/spec.mk: Added.
* sdcc/support/regression/ports/ds390/support.c: Added.
* sdcc/support/regression/ports/ds390/uCsim.cmd: Added.
* sdcc/support/regression/ports/mcs51/timeout.c: Cut.
* sdcc/support/regression/fwk/lib/timeout.c: Paste.
2001-11-04 Michael Hope <michaelh AT juju.net.nz>
* device/include/malloc.h: Added z80 and gbz80 support.
* device/lib/gbz80/heap.s: Added.
* device/lib/z80/heap.s: Added.
* device/lib/malloc.c: Added z80 and gbz80 support.
* support/regression/tests/malloc.c (testMalloc): Added.
* src/SDCCmain.c (parseCmdLine): Added support for -Wp.
* support/regression/tests/bug-478094.c: Added.
* src/z80/gen.c (commitPair): Fixed silly gbz80/z80 commit to static bug.
2001-11-04 Bernhard Held <bernhard AT bernhardheld.de>
* sdcc/sim/ucsim/s51.src/uc390cl.h: Improvement for ds390 to run regression tests
* sdcc/sim/ucsim/s51.src/uc390.h: Improvement for ds390 to run regression tests
* sdcc/sim/ucsim/s51.src/regs51.h: Improvement for ds390 to run regression tests
* sdcc/sim/ucsim/s51.src/glob.cc: Improvement for ds390 to run regression tests
* sdcc/support/regression/tests/bug-460010.c: Small change for ds390
2001-11-04 Michael Hope <michaelh AT juju.net.nz>
* src/z80/peeph-gbz80.def: Removed a bad sub optimisation.
2001-11-03 Michael Hope <michaelh AT juju.net.nz>
* support/regression/tests/bug-477927.c: Added.
* src/z80/peeph.def: Added minor rules.
* src/z80/gen.c (genPlusIncr): Added an extra plusinc rule.
* src/z80/peeph.def: Added jump optimisation modification.
2001-11-01 Michael Hope <michaelh AT juju.net.nz>
* src/SDCCmain.c (linkEdit): Added runtime path detection to the mcs51 port.
2001-10-30 Michael Hope <michaelh AT juju.net.nz>
* support/regression/tests/funptrs.c: Added.
2001-10-29 Michael Hope <michaelh AT juju.net.nz>
* src/z80/ralloc.c (packRegsForHLUse): Fixed up bad spill due to pushing one byte via HL.
2001-10-28 Michael Hope <michaelh AT juju.net.nz>
* src/z80/gen.c (genArrayInit): Made it work for on stack arrays.
* src/z80/main.c (gbz80_port =): Added rle support to the gbz80 port.
* src/z80/gen.c (genMinus): Fixed for where the result is one byte.
(movLeft2ResultLong): Created.
* src/z80/ralloc.c (packRegsForHLUse): Added a couple of simple cases for the GB.
(joinPushes): Added. Joins two char pushes into a word push.
2001-10-27 Michael Hope <michaelh AT juju.net.nz>
* support/cpp2/Makefile.in (install): Added creation of dest dir.
* support/makebin/Makefile (install): Added creation of dest dir.
2001-10-24 Karl Bongers <karl AT turbobit.com>
* configure.in, configure, Makefile, support/cpp: Removed cpp folder, since we have new cpp2 preprocessor code.
2001-10-21 Michael Hope <michaelh AT juju.net.nz>
* src/z80/ralloc.c: Turned off faulty pack for one use.
* src/z80/peeph-gbz80.def: Removed redundent restart options.
* src/z80/gen.c (genMult): Added native mul for constants on the z80 and gbz80.
2001-10-21 Bernhard Held <bernhard AT bernhardheld.de>
* support/regression/Makefile: Improved clean
* support/regression/ports/gbz80/spec.mk: Added clean
* support/regression/ports/host/spec.mk: Added clean
* support/regression/ports/z80/spec.mk: Added clean
* support/regression/ports/mcs51/spec.mk: Added clean, little improvements
* support/regression/ports/mcs51/timeout.c: little improvements
2001-10-17 Michael Hope <michaelh AT juju.net.nz>
* device/lib/malloc.c (MEMHEADER): Fixed against new pedantic pointers.
* support/regression/fwk/include/testfwk.h: Fixed up to use function pts correctly.
* support/regression/generate-cases.py: Fixed up to use function pts correctly.
2001-10-16 Bernhard Held <bernhard AT bernhardheld.de>
* support/regression/port/mcs51/spec.mk: add timeout for uCsim
* support/regression/port/mcs51/timeout.c: add timeout for uCsim
2001-10-13 Michael Hope <michaelh AT juju.net.nz>
* src/z80/gen.c (emitCall): Fixed up missing spill of HL when used to assign the result value.
* src/z80/ralloc.c: Turned off pack for one use as it's quite broken.
* src/SDCCmain.c (linkEdit): Added support for passing a legacy command line through the processor.
* src/mcs51/main.c (_linkCmd): Added bin path to command.
* src/SDCCmain.c (initValues): Added support for when it it called just to link.
* as/mcs51/lklibr.c (libfil;): Turned off 'library file' message.
* src/SDCCval.c (constVal): Fixed usage of 'L' modifier problems on ppc.
* support/regression/tests/longor.c: Added.
2001-10-11 Bernhard Held <bernhard AT bernhardheld.de>
* as/mcs51/asdata.c: replaced FILENAME_MAX with PATH_MAX
* as/mcs51/aslink.h: define PATH_MAX
* as/mcs51/asm.h: define PATH_MAX
* as/mcs51/asmain.c: replaced FILENAME_MAX with PATH_MAX
* as/mcs51/asnoice.c: replaced FILENAME_MAX with PATH_MAX
* as/mcs51/lklex.c: replaced FILENAME_MAX with PATH_MAX
* as/mcs51/lkmain.c: replaced FILENAME_MAX with PATH_MAX
* src/SDCCglobl.h: define PATH_MAX
* src/SDCCmacro.c: replaced FILENAME_MAX with PATH_MAX
* src/SDCCmain.c: replaced FILENAME_MAX with PATH_MAX
2001-10-11 Michael Hope <michaelh AT juju.net.nz>
* src/z80/gen.c (gencjneshort): Fixed
* src/z80/ralloc.c (packRegsForHLUse): Added pack into HL for cast then ipush.
2001-10-09 Michael Hope <michaelh AT juju.net.nz>
* support/regression/tests/bug-469671.c: Added.
* src/z80/gen.c (shiftIntoPair): Fixed up warning.
2001-10-08 Michael Hope <michaelh AT juju.net.nz>
* src/SDCCmain.c: Added --fommit-frame-pointer option and implemented in the z80 port.
* src/z80/gen.c (genPlus): Fixed to work with extended stack. Also fixed genMinus, genCmp. genUMinus is still left.
2001-10-08 Bernhar Held <bernhard AT bernhardheld.de>
* src/SDCCmain.c (preProcess): added define SDCC_NOOVERLAY
* src/device/lib/_mulint.c : removed hint: nooverlay bug
* src/device/lib/_mullong.c : removed hint: nooverlay bug
* src/device/lib/_divuint.c : removed hint: nooverlay bug
* src/device/lib/_divulong.c: removed hint: nooverlay bug
* src/device/lib/_moduint.c : removed hint: nooverlay bug
* src/device/lib/_modulong.c: removed hint: nooverlay bug
2001-10-07 Michael Hope <michaelh AT juju.net.nz>
* src/z80/gen.c (setupPair): Added 'extended stack' support for the z80. Can now have local variables or parameters of more than 127 bytes in size. Increadibly slow, but it will work. Currently anything involving the carry flag.
* support/Util/NewAlloc.c (freeTrace): Changed free for the gc case to not free at all. Fixes runtime segfault.
* support/regression/tests/scott-compare3.c (c_abcd): Fixed up casts.
2001-10-07 <johan AT FRIJA>
* device/lib/gets.c (gets): fixed the return value.
2001-10-06 Michael Hope <michaelh AT juju.net.nz>
* src/SDCCmain.c (WRITE_SEG_LOC): Fixed up to use Safe_strdup.
* src/SDCCpeeph.c (peepHole): Fixed all leaks. Added trace support for freeing lines. Optimised restart logic to re-run instead of restart. Now compiles dscan.c on ~60MB instead of ~200MB.
* support/Util/NewAlloc.c: Added ability to use libgc instead of malloc. Added Safe_free and Safe_strdup. Added trace support where you can log allocations and free all at once.
* src/z80/gen.c (genZ80Code): Added de-allocation via trace support.
* src/pic/gen.c: Removed Safe_strdup.
* configure.in: Added option to enable libgc support.
* src/SDCCbitv.c (bitVectnBitsOn): Optimised.
(bitVectUnion): Optimised.
(bitVectIntersect): Optimised.
(bitVectBitsInCommon): Optimised.
(bitVectCplAnd): Optimised.
* support/makebin/makebin.c (usage): Removed getopt as mingw32 doesn't have it. Sigh.
2001-10-03 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCmain.c: distinguish between assembler debug and plain options
* src/avr/main.c: remove standard assembler options
* src/ds390/main.c: remove standard assembler options
* src/mcs51/main.c: remove standard assembler options
* src/port.h: removed "PENDING" comment
2001-10-03 Bernhard Held <bernhard AT bernhardheld.de>
* src/device/lib/_mulint.c : new, with assember functions
* src/device/lib/_mullong.c : new, with assember functions
* src/device/lib/_divuint.c : with assember functions
* src/device/lib/_divsint.c : with assember functions
* src/device/lib/_divulong.c: with assember functions
* src/device/lib/_divslong.c: with assember functions
* src/device/lib/_moduint.c : with assember functions
* src/device/lib/_modsint.c : with assember functions
* src/device/lib/_modulong.c: with assember functions
* src/device/lib/_modslong.c: with assember functions
* src/device/lib/libint.lib: replaced _muluint.c and _mulsint.c by _mulint.c
* src/device/lib/liblong.lib: replaced _mululong.c and _mulslong.c by _mullong.c
* src/device/lib/Makefile.in: replaced _muluint.c and _mulsint.c by _mulint.c
replaced _mululong.c and _mulslong.c by _mullong.c
2001-10-03 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCsymt.c: sequence of specifiers in pintTypeChain() corrected
2001-10-01 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCglue.c: test, if win32api is available for MINGW
2001-10-01 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCsymt.c: no more _modifier in printTypeChain()
* support/regression/tests/driverstruct.c: REENTRANT for mcs51
* support/regression/ports/gbz80/spec.mk: removed GENERIC
* support/regression/ports/host/spec.mk: removed GENERIC
* support/regression/ports/mcs51/spec.mk: removed GENERIC
* support/regression/ports/z80/spec.mk: removed GENERIC
2001-10-01 Michael Hope <michaelh AT juju.net.nz>
* support/regression/fwk/lib/testfwk.c (__printf): Removed GENERIC.
* support/regression/tests/bug-467035.c: Created.
2001-10-01 <johan AT FRIJA>
* src/SDCC.y: fixed bug #466586 part 1
2001-10-01 Johan Knol <johan.knol AT iduna.nl>
* SDCCicode.c: z80 has no generic pointers
* removed -s from strip in all Makefile(.in)'s. It is not needed, but Solaris chocks on it.
2001-09-30 Michael Hope <michaelh AT juju.net.nz>
* sim/ucsim/cmd.src/Makefile.in ($(PRJDIR)/libcmd.a): Changed all ar references to $(AR) for Solaris.
2001-09-29 Michael Hope <michaelh AT juju.net.nz>
* Makefile (sdcc-libs): Added makebin to the list of standard targets.
* support/regression/ports/z80/spec.mk: Updated to use env for sdcc bin dir for automatic regression.
2001-09-25 Michael Hope <michaelh AT juju.net.nz>
* configure.in: Fixed up so that ucsim is only configured once.
* support/cpp2/configure.in: Fixed to use the program transform to append the .exe for the win32 build.
* src/SDCCutil.c (getPrefixFromBinPath): Fixed up to work with win32 in all of its glory.
(getPathDifference): As above.
* src/SDCCmain.c (preProcess): Changed to use a temporary file in a proper temp directory. Fixed case where pre-processing only.
* src/SDCCglue.c (tempfilename): Added function for pre-processor.
2001-09-23 Michael Hope <michaelh AT juju.net.nz>
* .version: Updated to 2.3.1
* src/z80/main.c (z80_port =): Added macro based linker and assembler command line support.
Added copyright header.
* src/SDCCmain.c: Shifted various functions into SDCCutil.c
(assemble): Added support for macro based assembler commands.
(linkEdit): Added support for macro based linker commands.
(preProcess): Changed the pre-processor to use macros.
(_setPaths): Added functionality to autodetect the include, lib and bin dir paths.
(_discoverPaths): Added support for overriding the install directory using the SDCCDIR env variable.
* device/lib/z80/crt0.s: Added module name for debugging.
2001-09-20 Michael Hope <michaelh AT juju.net.nz>
* src/SDCCmain.c (printVersionInfo): Added the build date to the version info.
* src/SDCChasht.c (hTabDeleteByKey): Fixed delete as it would delete the last item from a bucket even if it wasn't the real one.
* src/SDCCglue.c: Moved gc_strdup to SDCCutil.c
* src/Makefile.in: Added SDCCmacro and SDCCutil
2001-09-19 Michael Hope <michaelh AT juju.net.nz>
* src/SDCCmain.c (printVersionInfo): Added the build date to the version info.
2001-09-16 <johan AT FRIJA>
* support/Util/SDCCerr.c: fixed up the error/warning/info database. I only changed the E_ W_ I_ prefix to what SDCCerr.c says it is.
2001-09-15 <johan AT FRIJA>
* src/mcs51/ralloc.c: (findAssignToSym): fixed bug #460662 part 1
* src/ds390/ralloc.c (findAssignToSym): fixed bug #460662 part 1
2001-09-11 <johan AT FRIJA>
* src/SDCCval.c (valDiv Mod Minus Plus Shift): keep litteral expressions as small as possible (bug #460010)
2001-09-10 Michael Hope <michaelh AT juju.net.nz>
* support/regression/tests/bug-460444.c: Added test case.
* src/z80/gen.c (genOr): bug 460444: if (a ^ lit) was broken for &, |, and ^.
(genCast): Added justification for all of the asserts.
2001-09-10 Bernhard Held <bernhard AT bernhardheld.de>
* support/regression/support.c: _xdata replaced by xdata
* support/regression/spec.mk: removed _generic
2001-09-09 Michael Hope <michaelh AT juju.net.nz>
* src/pic/ralloc.c (debugLogRegType): Removed some old types to get it to compile.
* src/z80/gen.c (shiftR2Left2Result): Improved the case when v = v >> n for small values of n to use less code space and time.
(genrshTwo): Fixed v = v >> n where v is a negative int and n is > 8: bug 460010.
* src/z80/peeph.def: Added a rule to optimise shift then compare.
* support/regression/tests/bug-460000.c (testShiftByParam): Added test case.
* support/regression/tests/bug-460010.c: Added test case.
* support/regression/Makefile (test-host): Removed a silly 'clean' target when testing against gcc.
2001-09-09 Bernhard Held <bernhard AT bernhardheld.de>
* support/regression/Makefile: inter-port-clean adjusted for mcs51
* support/regression/testfwk.c: removed workaround for bug #436344
* support/regression/tests/bp.c: use less memory with mcs51
* support/regression/tests/bug-441448.c: use less memory
* support/regression/tests/ports/mcs51/spec.mk: cleanup, use --stack-after-data
* support/regression/collate-results.py: typo
2001-09-08 Michael Hope <michaelh AT juju.net.nz>
* support/regression/tests/fetchoverlap.c: Added new test case.
* support/regression/tests/bp.c: Added new test case.
* support/regression/tests/bug-448984.c: Added new test case.
* support/regression/tests/pow2shifts.c: Added new test case.
* src/z80/gen.c: Turned off the noise it normally generates for the release.
(genlshTwo): Fixed right shift for count > 8.
* src/z80/ralloc.c: Disabled most of the ACC packing rules as they weren't getting hit and weren't at all safe.
2001-09-08 <johan AT FRIJA>
* src/SDCCicode.c (geniCodeCall): a CPOINTER can be used as a function
2001-09-07 <johan AT FRIJA>
* src/SDCCicode.c (newiCodeCondition): fixed bug #456235 (1.77)
* src/SDCCglue.c (emitRegularMap): only delete a symbol when it is a symbol
2001-09-06 <johan AT FRIJA>
* src/SDCC.y: this could be a fix for bug #458744 (1.37)
* bernhard noted me at this: "() equals to (void)" (1.38)
2001-09-05 <johan AT FRIJA>
* src/SDCCglue.c (emitRegularMap): a fix for bug #458099/2
2001-09-04 <johan AT FRIJA>
* src/SDCCsymt.c (checkSClass): a fix for bug #458099/1
2001-09-04 Paul Stoffregen <paul AT pjrc.com>
* pragma noinduction broke memcpy on mcs51 large model. Moved it inside z80 optimization
2001-09-03 Michael Hope <michaelh AT juju.net.nz>
* link/z80/aslink.h: Fixed path for PATH_MAX
2001-09-02 Michael Hope <michaelh AT juju.net.nz>
* src/z80/gen.c (fetchLitPair): Changed so that it properly caches direct space references.
* support/regression/tests/addsub.c: Added cases to cover all the +, - combinations.
* support/regression/tests/uminus.c: Added a test for the unary minus operator.
* src/z80/gen.c (genUminus): Fixed add, sub, and uminus on the gbz80 port for longs. Had to shift some functions about to do it.
2001-09-01 Michael Hope <michaelh AT juju.net.nz>
* src/z80/gen.c: Fixed up generator to pass the regresion tests, specifically fixing loads for longs, genCmp, and turned on the map file.
(genCmp): Fixed up genCmp for the GB with longs.
* device/lib/gbz80/Makefile: Fixed up all the libraries to pass the regression tests.
* support/regression/ports/host/spec.mk: Updated to compile with the new type specifiers.
* device/lib/Makefile.in (Z80SOURCES): Removed old _mululong, _mulslong, and unneeded _mulint.
* device/lib/_mullong.c (_mulslong): Changed to actually return a value :)
2001-08-30 Paul Stoffregen <paul AT pjrc.com>
* added peepholes 223 to 231 to mcs51 port. These improve code when using large model.
2001-08-30 Michael Hope <michaelh AT juju.net.nz>
* device/lib/gbz80/crt0.s (init): Fixed up support for the gbz80 such that it will at least run (and fail badly) the regression tests.
* src/z80/gen.c (genPlus): Changed bad long add for gb to a fall through.
2001-08-29 Michael Hope <michaelh AT juju.net.nz>
* link/z80/aslink.h: Fixed long file name support. Is now based off PATH_MAX instead of a constant.
* src/z80/gen.c: Fixed add and sub for the case where left or right are in static space.
2001-08-30 Bernhard Held <bernhard AT bernhardheld.de>
* sim/ucsim/configure: little improvement of Cygwin-detection
* sim/ucsim/configure.in: little improvement of Cygwin-detection
* sim/ucsim/cmd.src/newcmdcl.h: include <sys/types.h> to define fd_set automated build
* support/regression/tests/bug-221100.c: small changes for mcs51
* support/regression/tests/bug-221168.c: small changes for mcs51
* support/regression/tests/bug-227710.c: small changes for mcs51
* support/regression/tests/staticinit.c: small changes for mcs51
* as/mcs51/aslink.h: accept everything as symbol name in rel-files, bug fix ID 452601
* as/mcs51/lklex.c: accept everything as symbol name in rel-files, bug fix ID 452601
* as/mcs51/lksym.c: accept everything as symbol name in rel-files, bug fix ID 452601
$Revision: 13081 $
|