Károly Balogh
91abb3aeb9
+ first (failed) attempt to have a working stackframe generation
...
git-svn-id: trunk@9040 -
2007-11-01 14:16:17 +00:00
Jonas Maebe
ad5ce1adf4
* fixed a_load_reg_ref: the store size has to depend on the tosize,
...
not on the fromsize (fixes webtbs/tw10072, and hopefully also
resolves mantis #8121 )
git-svn-id: trunk@9037 -
2007-11-01 13:31:23 +00:00
florian
5bdea6b5b3
* avoid generation of __stklen if not necessary
...
git-svn-id: trunk@9029 -
2007-11-01 10:28:49 +00:00
Károly Balogh
8562910185
+ quick hack to have linker support for amiga/m68k (it produces some kind of binary at least)
...
git-svn-id: trunk@9024 -
2007-11-01 00:22:47 +00:00
florian
90af7ebf72
* use only windows exceptions for stack checking on win32/win64, resolves #9166
...
git-svn-id: trunk@9020 -
2007-10-31 23:19:48 +00:00
yury
22c1f6381d
* Fixed cross CPU cycle after changes in rev. 8911.
...
git-svn-id: trunk@9018 -
2007-10-31 22:44:25 +00:00
Károly Balogh
b91c0756c4
+ made m68k to compile system unit again
...
git-svn-id: trunk@9017 -
2007-10-31 22:33:00 +00:00
florian
e3a0f3d303
* updates from Ido Kanner
...
git-svn-id: trunk@9016 -
2007-10-31 19:55:37 +00:00
Jonas Maebe
82a0749970
* prefer non-matching orddef conversions to orddef-to-pointer conversions
...
(mantis #10002 ) and also to orddef-to-real conversions
(delphi-compatible). More tests and fixes will follow later.
git-svn-id: trunk@9015 -
2007-10-31 17:20:37 +00:00
Jonas Maebe
df2ecd14f5
* fixed comparisons of orddefs with fourcharcodes in macpas mode + test
...
git-svn-id: trunk@9014 -
2007-10-31 15:11:13 +00:00
Jonas Maebe
68570e5471
* save/restore true/false label when secondpassing arrayconstructor
...
elements (mantis #10072 )
git-svn-id: trunk@9013 -
2007-10-31 12:37:35 +00:00
peter
ee479f31a1
* remove duplciate m68k from ALLTARGETS
...
git-svn-id: trunk@8999 -
2007-10-30 07:15:48 +00:00
florian
7f4c387841
o new BeOS patch by Olivier Coursiere:
...
* correctly define the stack size for BeOS,
+ implement a minimum nl_langinfo function to correctly initialize WideString support
+ add fgl unit in the BeOS RTL makefile
* SysOSAlloc now return nil when the system can not allocate the asked memory,
* HAS_SYSOSFREE is no more defined with an empty implementation under BeOS. This was preventing FPC to reuse memory.
+ there is now a basic implementation of CheckPointer under BeOS.
git-svn-id: trunk@8994 -
2007-10-29 19:00:32 +00:00
Jonas Maebe
8d8ba9a583
* fixed pic reference loading for non-darwin i386 platforms after
...
r8657
git-svn-id: trunk@8993 -
2007-10-29 19:00:15 +00:00
peter
a0984505b2
* regenerated to fix fpc detection on non-i386
...
git-svn-id: trunk@8991 -
2007-10-29 16:34:18 +00:00
peter
324b1732ab
* regenerated to update dependencies
...
git-svn-id: trunk@8988 -
2007-10-29 09:07:18 +00:00
florian
50cc61c8fd
* ignore register list in pure assembler routines, resolves #9335
...
git-svn-id: trunk@8978 -
2007-10-28 20:41:19 +00:00
florian
c3475dddc0
* handle case ranges properly for unsigned types with a non-zero base, resolves #10009
...
git-svn-id: trunk@8974 -
2007-10-28 17:06:02 +00:00
florian
1e618b499d
* fixes unaligned load_ref_reg on little endian arm
...
git-svn-id: trunk@8972 -
2007-10-28 15:30:50 +00:00
florian
0b83cb5761
* align locations where mm registers are stored to be preserved
...
git-svn-id: trunk@8970 -
2007-10-28 14:09:38 +00:00
florian
19b79468ad
* store/load mmx registers properly
...
* sse registers can be stored/loaded aligned on x86-64
git-svn-id: trunk@8969 -
2007-10-28 14:08:57 +00:00
florian
82c7896d8d
* more ins. dat issues popped up, did I mention I start to hate it :(?
...
git-svn-id: trunk@8968 -
2007-10-28 14:08:04 +00:00
florian
c1d62172fe
* the saga continues, fixed previously broken assembler table entries
...
git-svn-id: trunk@8967 -
2007-10-28 13:01:58 +00:00
florian
9d88b1d9ef
* x86-64 fixed
...
git-svn-id: trunk@8963 -
2007-10-28 08:45:48 +00:00
florian
f32831c44a
* fixed assembling of fisttp of sse3 instruction set
...
+ sse3 optimized trunc() using fisttp
+ -Cfsse3 for x86-64
git-svn-id: trunk@8962 -
2007-10-27 20:50:46 +00:00
florian
46e1587395
* another bunch of assembler fixes, win64 builds again
...
git-svn-id: trunk@8957 -
2007-10-27 19:49:53 +00:00
florian
3cadba6010
+ create target directory before starting ins. dat. creation
...
git-svn-id: trunk@8956 -
2007-10-27 19:40:01 +00:00
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