florian
7a4c89e68d
* optimized generation of fpc_decr_* calls
...
git-svn-id: trunk@1966 -
2005-12-15 22:37:21 +00:00
florian
3582108be1
* signed divisions with constants are always done without idiv
...
git-svn-id: trunk@1965 -
2005-12-15 22:36:48 +00:00
florian
5ea49bedd0
* fixed handling of imul with one parameter
...
git-svn-id: trunk@1964 -
2005-12-15 22:36:16 +00:00
florian
27f28eec1a
* use 16 byte procedure alignment on windows too
...
git-svn-id: trunk@1962 -
2005-12-15 19:50:58 +00:00
peter
39c553707e
* fix win32 linking
...
git-svn-id: trunk@1957 -
2005-12-15 12:04:39 +00:00
peter
1e1ea0c3b6
* write .type and .size only for target that support it
...
git-svn-id: trunk@1956 -
2005-12-15 11:39:23 +00:00
peter
739ea825d4
* fix sizeof(array of const)
...
git-svn-id: trunk@1954 -
2005-12-15 08:58:45 +00:00
peter
24d972c012
* append optimization also for constant strings
...
git-svn-id: trunk@1950 -
2005-12-14 17:23:50 +00:00
Károly Balogh
238964e443
Various m68k fixes/additions:
...
- fixes in asmreader, basic stuff works again, the rest is untested
- removed lot of unnecessary ungetcpuregister()s
- various other fixes i forgot
+ basic amigaos syscalls support. still lacks explicit funcretloc
git-svn-id: trunk@1943 -
2005-12-13 20:42:15 +00:00
Jonas Maebe
dac02c3032
* always use the regular secnames for darwin currently
...
git-svn-id: trunk@1937 -
2005-12-12 14:45:06 +00:00
florian
ca782dddc7
* write correct type usual symbols
...
git-svn-id: trunk@1933 -
2005-12-11 23:11:55 +00:00
florian
479ad6d88a
- removed 1.0 defines
...
+ call ld with -E
git-svn-id: trunk@1932 -
2005-12-11 23:11:21 +00:00
florian
fb8e885a94
+ write data block size and type
...
* changed .space to .zero
git-svn-id: trunk@1931 -
2005-12-11 23:03:20 +00:00
florian
44c892c717
* -s renamed to -S (build static lib)
...
* -s is now strip
git-svn-id: trunk@1925 -
2005-12-10 22:06:10 +00:00
florian
924265c0af
* pic compatible section names
...
git-svn-id: trunk@1924 -
2005-12-10 22:04:04 +00:00
florian
a1189a9d64
* exports info handling refactored, -E will be passed to ld if necessary
...
git-svn-id: trunk@1922 -
2005-12-10 22:00:33 +00:00
Jonas Maebe
4c6874504b
* fixed web bug #4461
...
git-svn-id: trunk@1921 -
2005-12-10 21:57:33 +00:00
florian
07ea2a5b38
* fixed generation of exports from units/programs supporting it
...
git-svn-id: trunk@1920 -
2005-12-10 21:00:37 +00:00
Jonas Maebe
b3b104130d
* compiler discerns between +0.0 and -0.0
...
+ test for the above
git-svn-id: trunk@1917 -
2005-12-10 20:37:17 +00:00
Jonas Maebe
52ca5e6922
* use more precise vs_* information to replace less parameters of inlined
...
procedures with const and value parameters with temps, allowing a bit
more value propagation
+ tinline6.pp for testing wrong propagation of value parameters in
dangerous situations
git-svn-id: trunk@1914 -
2005-12-10 17:01:07 +00:00
Jonas Maebe
42ec76598c
* new categories for vs_*: vs_declared, vs_initialised, vs_read,
...
vs_written, vs_readwritten. vs_initialised is the old vs_assigned;
vs_used has been replaced by vs_read, vs_written and vs_readwritten
* the valid_for_*() routines in htypechk now get an extra parameter to
decide whether or not errors should be reported
git-svn-id: trunk@1913 -
2005-12-10 16:51:26 +00:00
Jonas Maebe
7996bb3b06
* fixed showing of warnings for uninitialised function results
...
git-svn-id: trunk@1897 -
2005-12-07 16:12:01 +00:00
Jonas Maebe
c9b2e34524
* also make "out" shortstring parameters openstrings if required
...
git-svn-id: trunk@1887 -
2005-12-06 19:39:59 +00:00
florian
d6628f1d8b
* resolve postponed local switch changes before switching mode
...
git-svn-id: trunk@1880 -
2005-12-04 19:36:57 +00:00
florian
46ecdc8f94
* allow pred/succ on non continous enumerations in delphi mode
...
git-svn-id: trunk@1878 -
2005-12-04 18:35:19 +00:00
florian
0907a1ef80
* fixed compilerwidestring concatenation
...
git-svn-id: trunk@1876 -
2005-12-04 18:29:07 +00:00
tom_at_work
3502898ba3
* makefile updates after last changes for successful build on ppc64/linux
...
git-svn-id: trunk@1874 -
2005-12-04 13:07:37 +00:00
Jonas Maebe
b507ddae51
* fixed crash when an optimized sequence extends till the start of an
...
assembler block
git-svn-id: trunk@1869 -
2005-12-02 11:09:13 +00:00
daniel
c0b4678873
* Rename unit crc to fpccrc to avoid name conflict in packages
...
git-svn-id: trunk@1856 -
2005-12-01 16:45:44 +00:00
florian
1e4e857719
* apptype causes only a note on system not supporting apptype
...
git-svn-id: trunk@1827 -
2005-11-26 21:54:15 +00:00
florian
d7a5ca107b
* fixed m68k compilation while sitting bored in the train
...
git-svn-id: trunk@1823 -
2005-11-25 23:08:46 +00:00
Károly Balogh
1432660c80
Fixed Unix2Amiga path conversions for external asm script
...
git-svn-id: trunk@1816 -
2005-11-24 11:41:59 +00:00
florian
aa22e57a7e
* fixed issue with static fields
...
git-svn-id: trunk@1803 -
2005-11-22 22:08:11 +00:00
florian
350c886460
+ support exit();
...
git-svn-id: trunk@1802 -
2005-11-22 21:27:56 +00:00
marco
f7f14e4dee
* CROSSOPT support
...
git-svn-id: trunk@1798 -
2005-11-20 22:19:50 +00:00
marco
d2e7a4e587
* cross-darwin support
...
git-svn-id: trunk@1796 -
2005-11-20 22:13:23 +00:00
florian
c43e2df522
* copying of classes fixed, closes 3930
...
git-svn-id: trunk@1791 -
2005-11-20 09:11:23 +00:00
tom_at_work
651f34e27c
* ppc64: with -Or the compiler now also generates calls to helper functions in the function prolog/epilog instead of multiple stores/loads
...
* ppc64: moved function prolog/epilog helper code into startup code
* ppc64: added FPU configuration code in math unit (fixes tw3161)
git-svn-id: trunk@1786 -
2005-11-20 01:20:55 +00:00
Jonas Maebe
cc44a19af5
* use stmw/lmw when saving/restoring a lot of registers, to reduce generated
...
code size and thus instruction cache pressure.
git-svn-id: trunk@1785 -
2005-11-19 17:31:35 +00:00
tom_at_work
93bb997d8f
* ppc64/linux: enhanced varargs support (passes tprintf test now)
...
* ppc64/linux: some small tweak for small memory locations copy code
git-svn-id: trunk@1778 -
2005-11-17 21:35:01 +00:00
Tomas Hajny
9032cdafbe
* fix of buggy output for -? with path containing underscore
...
git-svn-id: trunk@1772 -
2005-11-16 19:00:21 +00:00
Tomas Hajny
50f03555bd
* fix of buggy output for -? with path containing underscore
...
git-svn-id: trunk@1771 -
2005-11-16 18:59:57 +00:00
Tomas Hajny
55c67978a3
* fix of buggy output for -? with path containing underscore
...
git-svn-id: trunk@1770 -
2005-11-16 18:59:33 +00:00
Tomas Hajny
b94665c39f
* fix of buggy output for -? with path containing underscore
...
git-svn-id: trunk@1769 -
2005-11-16 18:47:52 +00:00
Tomas Hajny
614b6a3816
* fix of buggy output for -? with path containing underscore
...
git-svn-id: trunk@1768 -
2005-11-16 18:47:29 +00:00
Tomas Hajny
20ca9f5fac
* fix of buggy output for -? with path containing underscore
...
git-svn-id: trunk@1767 -
2005-11-16 18:46:15 +00:00
Tomas Hajny
f3c9fb62fa
* fix of buggy output for -? with path containing underscore
...
git-svn-id: trunk@1766 -
2005-11-16 18:44:13 +00:00
Tomas Hajny
c513dbcd03
* fix of buggy output for -? with path containing underscore
...
git-svn-id: trunk@1765 -
2005-11-16 18:43:48 +00:00
florian
f9b05b2cdf
* fixed rtl package building
...
git-svn-id: trunk@1763 -
2005-11-15 22:39:32 +00:00
florian
94357cdb50
* new version number
...
git-svn-id: trunk@1762 -
2005-11-15 21:38:40 +00:00