florian
00d6a03b2c
+ default code now preserves mm registers
...
* save|restore_standard_registers => save|restore_registers
git-svn-id: trunk@8954 -
2007-10-27 12:02:28 +00:00
florian
3a630340be
* fixed m68k compilation and put it in fullcycle
...
git-svn-id: trunk@8953 -
2007-10-27 11:24:50 +00:00
florian
8f5a4cc514
* more, hopefully correct, x86-64 assembler fixes
...
git-svn-id: trunk@8952 -
2007-10-26 20:44:57 +00:00
Jonas Maebe
368cd52f97
* fixed bug in typed constant record parsing with variant records
...
in case a variant part other than the first is initialised (the
index of the next symbol was not adjusted, causing incorrect error
messages in case there are some alignment bits/bytes between the
previous and next field)
git-svn-id: trunk@8948 -
2007-10-26 18:22:30 +00:00
Jonas Maebe
920a626c17
* mark darwin as case sensitive, because the dircache isn't always used
...
anymore (the dircache masks the effects of case-sensitive file
systems on targets marked as case-aware)
git-svn-id: trunk@8946 -
2007-10-26 13:01:01 +00:00
Jonas Maebe
327c5935f0
* add all implicit units (system, objpas, variants, cmem, ...) using
...
their name in all lower case, so the compiler doesn't waste time
searching for System.ppu/System.pas/System.pp/... on case-sensitive
file systems
git-svn-id: trunk@8945 -
2007-10-26 12:36:38 +00:00
Jonas Maebe
71c314c550
* Only start caching a directory once more than 20 lookups have been
...
done in it, to avoid caching very large current directories (such as
those of the testsuite) without reason. It would be better if that
decision were based on a fraction of the total number of entries in
each directory, but that information doesn not appear to be available
in a cross-platform way
git-svn-id: trunk@8938 -
2007-10-25 20:30:04 +00:00
Jonas Maebe
81c5abfb72
* don't add target_info.unit_env to the unit search path
...
if it's not set/empty
git-svn-id: trunk@8931 -
2007-10-25 19:30:48 +00:00
peter
c8ed392469
* defstates doesn't affect any crc
...
git-svn-id: trunk@8927 -
2007-10-25 18:13:03 +00:00
florian
c5f492ef50
* fixed assembling of movq mem,xmmreg
...
git-svn-id: trunk@8923 -
2007-10-24 20:45:38 +00:00
peter
273bfffe5b
* store defstates in ppu, this field keeps the info what
...
is generated for a def so it can be reused, e.g. dwarf debuginfo
git-svn-id: trunk@8920 -
2007-10-23 21:50:10 +00:00
peter
a724d80e81
* debuginfo initialized per unit
...
git-svn-id: trunk@8918 -
2007-10-23 18:19:17 +00:00
peter
e10c75ee6e
* fix relative path writing
...
git-svn-id: trunk@8915 -
2007-10-23 17:38:54 +00:00
peter
a0ebdcf820
* enable regvar for -O2
...
git-svn-id: trunk@8910 -
2007-10-22 16:50:09 +00:00
peter
d74bd34a91
* fix 32bit truncation in type determination of constant operands
...
git-svn-id: trunk@8909 -
2007-10-22 16:36:41 +00:00
Jonas Maebe
0aba0acdf6
* fixed widechar to shortstring conversion after r8898 (webtbs/tw7758)
...
git-svn-id: trunk@8908 -
2007-10-21 22:58:17 +00:00
Jonas Maebe
12b4f034ea
* only allow using array elements as for-loop counter variables
...
in TP mode
git-svn-id: trunk@8907 -
2007-10-21 22:39:49 +00:00
Jonas Maebe
d2279d55d6
* restored outputting the stabs for local variables and parameters
...
which was accidentally disabled in r8878
* move "end of function" stab past all stabs for the function (except
for the Darwin "size" stab), like gcc does
git-svn-id: trunk@8905 -
2007-10-21 21:19:48 +00:00
florian
1cb5d2a603
* some missing make_simple_ref calls added, resolves #8948
...
git-svn-id: trunk@8904 -
2007-10-21 20:19:04 +00:00
florian
c219b1f753
* fixed/enabled andl/addl/... xx,reg1 orl reg1,reg1 setxx/jxx/cmovxx optimization
...
git-svn-id: trunk@8902 -
2007-10-21 19:54:09 +00:00
florian
ae79ef2cb5
* don't range pointers converted to arrays, resolves #8191
...
git-svn-id: trunk@8900 -
2007-10-21 19:05:06 +00:00
florian
7878f0feb3
* made all fpc_*_to_shortstr helpers a procedure, resolves #8580
...
git-svn-id: trunk@8898 -
2007-10-21 17:33:18 +00:00
Jonas Maebe
35cb2b9c2b
* fixed placement of "size" stab for Darwin
...
git-svn-id: trunk@8878 -
2007-10-21 11:39:52 +00:00
Jonas Maebe
053540e89e
* improved gcc library path detection for cross-compilation on Linux
...
x86_64/i386 systems (patch from C. Western, mantis #9699 )
git-svn-id: trunk@8875 -
2007-10-21 10:51:58 +00:00
Jonas Maebe
1121002c7c
* generate PIC by default for darwin/ppc64
...
git-svn-id: trunk@8873 -
2007-10-21 10:36:05 +00:00
Jonas Maebe
ff3b455a59
* make PIC generation default on Darwin (ppc and i386; ppc64 will be
...
done in next commit to ease merging)
git-svn-id: trunk@8872 -
2007-10-21 10:34:01 +00:00
Jonas Maebe
45b7358d81
+ PIC support for darwin/ppc64
...
* added {$PIC+} for darwin to all library tests
git-svn-id: trunk@8868 -
2007-10-20 20:14:45 +00:00
florian
c77267e01f
* more div n^2 optimization
...
git-svn-id: trunk@8867 -
2007-10-20 18:02:55 +00:00
florian
c62d72f98c
* write rtti correct for currency being emulated by int64
...
git-svn-id: trunk@8865 -
2007-10-20 17:42:53 +00:00
florian
c57f44d75b
+ div 2^n optimization for arm
...
git-svn-id: trunk@8864 -
2007-10-20 17:42:29 +00:00
micha
bae0251549
* fix big endian arm loading (fixes issue #8752 )
...
git-svn-id: trunk@8862 -
2007-10-20 14:31:08 +00:00
florian
4b172f5973
* made rtti for dyn. arrays more delphi compatible, resolves #9464
...
git-svn-id: trunk@8853 -
2007-10-19 20:27:45 +00:00
peter
43c2694d50
* fixed REX placement for xmm opcodes
...
git-svn-id: trunk@8850 -
2007-10-18 23:30:35 +00:00
peter
daf320225b
* strip ./ prefixes and / suffixes from paths
...
* compile unit name requires (relative) path prefix otherwise the debugger
thinks that there is also a copy of the file in the current directory
git-svn-id: trunk@8847 -
2007-10-18 22:53:39 +00:00
peter
658d9fcc92
* reset subregister before writing mm register names
...
git-svn-id: trunk@8846 -
2007-10-18 21:52:04 +00:00
peter
ad944fd198
* move x86_64 specific int_to_real conversion to nx64cnv
...
* fix x86_64 code for none loc_register/loc_reference location
git-svn-id: trunk@8844 -
2007-10-18 20:46:44 +00:00
peter
bfca4e67fa
* -CO option to check for possible integer overflows
...
git-svn-id: trunk@8842 -
2007-10-18 19:55:22 +00:00
Jonas Maebe
2db3d54b2e
* support for -Cg- to disable pic code
...
git-svn-id: trunk@8841 -
2007-10-18 18:23:03 +00:00
peter
a6eb5d839b
* allow types in interfaces
...
git-svn-id: trunk@8840 -
2007-10-18 07:09:36 +00:00
peter
1e123d66ba
* improved generics
...
git-svn-id: trunk@8838 -
2007-10-18 00:24:05 +00:00
peter
6434772c3c
* error message when a goto label is optimized away
...
git-svn-id: trunk@8837 -
2007-10-17 21:52:25 +00:00
Jonas Maebe
83bab3b071
+ documented -XR in the help pages
...
* specified OSes to which -Xr applies
git-svn-id: trunk@8834 -
2007-10-17 19:37:32 +00:00
Jonas Maebe
3155b650a1
* pass "-syslibroot sysrootpath" to the darwin linker if -XRsysrootpath
...
is used (mantis #9953 )
git-svn-id: trunk@8833 -
2007-10-17 19:25:06 +00:00
peter
9ca132c61b
* look in main source dir instead of loaded_from unit dirs. The loaded_from dir is normally
...
already searched by the unit search path. And it prevented overriding the path where to
look first for a unit. See bug #9664
git-svn-id: trunk@8828 -
2007-10-16 20:55:24 +00:00
florian
7229dcfdcb
* setup a proper symtable stack before parsing the generic declaration itself, resolves #9419
...
git-svn-id: trunk@8820 -
2007-10-15 19:43:01 +00:00
Jonas Maebe
c03f19fa50
* in case of "movzbl %dl,%edx" etc, %edx depends on its previous value.
...
regloadedwithnewvalue() gave the wrong answer for this in case
candependonprevvalue was false (caused a wrong optimization in the
space() function of the rtl)
git-svn-id: trunk@8808 -
2007-10-14 20:22:23 +00:00
florian
f7b0abffec
o BeOS patch by Olivier Coursiere:
...
* reenable creating shared object using the libc based rtl. I have also added gc-sections support.
git-svn-id: trunk@8806 -
2007-10-14 18:37:00 +00:00
florian
9ab1a1c550
* allow mla to take 4 operands, resolves #9461
...
git-svn-id: trunk@8801 -
2007-10-14 18:08:49 +00:00
florian
00fef0fdd0
* allow the usage of fields of parent classes for property readers/writers, resolves #9095
...
git-svn-id: trunk@8799 -
2007-10-14 17:54:00 +00:00
Jonas Maebe
564d93bab8
* quoted a bunch of variables
...
git-svn-id: trunk@8793 -
2007-10-14 12:26:16 +00:00