florian
4b3ed28d07
* morphos now takes any pointer var. as libbase
...
* alignment for sparc fixed
* int -> double conversion on sparc fixed
2004-08-22 20:11:38 +00:00
peter
9ab6f93a11
* don't insert result variables for constructor/destructors
2004-08-22 11:24:27 +00:00
peter
0d81be8dee
* fix error when passing constant to var parameter
2004-08-22 11:24:09 +00:00
peter
bd1bd1ab20
* support hint directives in object declarations
2004-08-22 11:23:45 +00:00
olle
6ad2b42765
+ added DEFINEC for mode macpas, is equivalent to DEFINE
...
* fixed bug when macro without value is used in a compile time expr.
2004-08-22 10:50:19 +00:00
peter
1035b45833
* support $RESOURCE
2004-08-22 10:17:27 +00:00
peter
923569eee2
* fixed crash when passing array constructor to formal parameter
2004-08-22 10:17:13 +00:00
olle
a06d889f52
+ made fpc work as an MPW tool, by itself calling asm and link.
2004-08-20 10:30:00 +00:00
olle
2a4605eabc
+ made fpc work as an MPW tool, by itself calling asm and link.
...
* bugfix in fp exception flag settings routine
2004-08-20 10:29:31 +00:00
olle
ef89703097
* minor fix for macos
2004-08-20 10:23:35 +00:00
Jonas Maebe
e3eb4f8359
* fixed "if @procvar_of_object <> nil" in Delphi/TP mode for for non-x86
2004-08-17 19:04:36 +00:00
Jonas Maebe
3a1e8981f4
* do not rename registers across conditional jumps
2004-08-17 16:34:58 +00:00
Jonas Maebe
c7544e69de
+ padalgingment field for recordsymtables (saved by recorddefs)
...
+ support for Macintosh PowerPC alignment (if the first field of a record
or union has an alignment > 4, then the record or union size must be
padded to a multiple of this size)
2004-08-17 16:29:21 +00:00
olle
189214f79b
+ Added automatic use of unit macpas under mode macpas
2004-08-16 22:52:35 +00:00
peter
f3f33a5fea
* fixed shr/shl 32
2004-08-16 21:00:30 +00:00
peter
4275383b15
* range checks fixed
2004-08-16 21:00:15 +00:00
olle
5a67308b98
+ added directive LibExport for macpas, which does nothing atm
2004-08-16 11:34:25 +00:00
peter
8184ad2048
* fixed padding of records to alignment
2004-08-15 15:05:16 +00:00
florian
cf25a973f8
* fixed alignment of variant records
...
* more alignment problems fixed
2004-08-15 13:30:18 +00:00
Jonas Maebe
0ccc15675e
* add cprefix to procedures which are autoamtically marked as external in
...
macpas mode
2004-08-15 12:06:03 +00:00
florian
6368652be2
* fixed several sparc alignment issues
...
+ Jonas' inline node patch; non functional yet
2004-08-14 14:50:42 +00:00
Jonas Maebe
25c2441fa5
* only set the mangled name immediately for external procedures in macpas
...
mode if the procedure isn't cdecl (so that the c-prefix is taken into
account, necessary for Mac OS X)
2004-08-13 17:53:37 +00:00
florian
120c165a62
* constant floating point assignments etc. are now overflow checked
...
if Q+ or R+ is turned on
2004-08-08 16:00:56 +00:00
florian
8cb7072e5f
* fixed several ie9999s when illegal operators were used
2004-08-08 15:22:29 +00:00
florian
95e40f0f69
* proc. var declarations in a class doesn't eat a public anymore
2004-08-08 12:35:09 +00:00
florian
fe54af8f82
* finally is an "endtoken" as well
2004-08-08 12:06:38 +00:00
florian
ed872a3600
* fixed problem with explicit specified calling conventions for property symbols
2004-08-07 19:13:51 +00:00
florian
6ab93f5ec1
* fixed web bug #3226 : type p = type pointer;
2004-08-07 14:52:45 +00:00
marco
473bc013f2
* regened after ARM change.
2004-08-06 22:54:57 +00:00
marco
151478584c
* fpcfan copy paste error (ifdef x86_64 should be arm)
2004-08-06 22:37:49 +00:00
Jonas Maebe
c5ec202cd1
* some improvements to node complexity calculations
2004-08-04 08:35:59 +00:00
florian
a47844c817
* sizeof in the preprocessor handles types now as well
2004-08-02 20:45:40 +00:00
michael
8affe37ee1
+ Fixed range check for non-constant indexes in strings
2004-08-02 09:15:03 +00:00
michael
f897872df2
+ Patch from Christian Iversen to implement LIBPREFIX/SUFFIX/EXTENSION directives
2004-08-02 07:15:54 +00:00
michael
ff069c5ecc
+ Patch from Christian Iversen to implement LIBPREFIX/SUFFIX/EXTENSION directives
2004-08-02 07:15:54 +00:00
armin
1d50f840f2
* changes to compile fpc on netware
2004-08-01 19:29:06 +00:00
florian
6802705043
* float to float and int to float fixed
2004-08-01 19:01:10 +00:00
florian
8eaf31e212
* qword/int64 shifting fixed
2004-08-01 08:46:31 +00:00
armin
4a270e4c2f
changed path sep to /
2004-07-31 22:52:58 +00:00
armin
04e5a78e49
* typo in set_source_info
2004-07-30 19:22:14 +00:00
armin
8e3099d453
* removed -m for nlmconv, it is only valid for ld
2004-07-30 16:00:19 +00:00
olle
07e8c04224
* made target macos really work again after the dwarf merge
2004-07-26 22:26:39 +00:00
mazen
72556ae39f
* fix compile problem
2004-07-26 04:00:35 +00:00
Jonas Maebe
d1b9c24cb1
* fixed some more potential regvar bugs
2004-07-23 13:30:19 +00:00
olle
17cab34c49
+ Added compile time function OPTION(x) for MacPas
...
* Saved file as text and not binary (I hope)
2004-07-23 00:25:05 +00:00
olle
5843170183
+ Added compile time function OPTION(x) for MacPas
2004-07-22 11:58:51 +00:00
Jonas Maebe
1d846baf9e
* fixed relabeling properly now :)
2004-07-22 10:09:10 +00:00
Jonas Maebe
038a5dde80
* fixed relabeling (nextaltnr was never increased)
...
* fixed inlining of case statements at the node level
2004-07-22 10:07:09 +00:00
Jonas Maebe
50dfc8f5a7
* do a resulttypepass of left in the overloaded pass_1 before checking
...
its resulttype
2004-07-21 15:09:10 +00:00
florian
ed4d14932e
* indexword in 1.0.x is broken
2004-07-19 19:21:02 +00:00
florian
aba734edc9
* fixed funcret_paraloc writing in units
2004-07-19 19:15:50 +00:00
Jonas Maebe
c8a7c5b96f
* fixed loading external procedure addresses
2004-07-19 12:45:43 +00:00
Tomas Hajny
692fa34dba
* fix for OS/2 and EMX - .section not supported by as.exe
2004-07-18 22:04:55 +00:00
Jonas Maebe
c7afb87846
* use indexword() in tsuperregisterworklist.delete, greatly speeds up
...
compilation of tw2242
2004-07-18 15:14:59 +00:00
Jonas Maebe
75c3c8b259
* shell now returns an exitcode
...
* print an error if linking failed when linking was done using a script
2004-07-17 15:51:57 +00:00
Jonas Maebe
8e0fd21568
* fixed op_const_reg_reg for (OP_ADD,0,reg1,reg2)
2004-07-17 14:48:20 +00:00
Jonas Maebe
6dc5cfdb8d
- removed useless maybe_pushfpu code for ppc
2004-07-17 14:47:16 +00:00
florian
b1dc8c5572
* function result location for syscalls on MOS hopefully correctly set now
2004-07-17 13:51:57 +00:00
Jonas Maebe
5ac21c998a
* don't finalize typed consts (fixes bug3212, but causes memory leak;
...
they should be finalized at the end of the module)
2004-07-17 13:14:17 +00:00
Jonas Maebe
fcbc2f1313
- disable node-based inlining of routines with special array parameters
...
for now (de indexes of open arrays have to be changed, because on the
caller-side these routines are not necessarily 0-based)
2004-07-16 21:11:31 +00:00
Jonas Maebe
ddf175f171
+ temps can now also hold fpu values in registers (take care with use,
...
bacause of the x86 fpu stack)
* fpu parameters to node-inlined procedures can now also be put in
a register
2004-07-16 19:45:15 +00:00
Jonas Maebe
7cdc049df1
* the condition for when to use a temp in case of reference var/const
...
parameters was inverse
2004-07-15 21:02:05 +00:00
Jonas Maebe
705d5fdd89
* fixed complexity function so it doesn't always return infinity when a
...
load node is encountered
2004-07-15 20:59:58 +00:00
Jonas Maebe
c40e9f31ed
- disabled temp-to-temp copy optimization, because it can cause errors
...
now that the local variables are temps as well (it can cause local
variables to be "freed" in the middle of a procedure)
2004-07-15 20:47:53 +00:00
Jonas Maebe
c7fbf7b11b
+ (incomplete) node_complexity function to assess the complexity of a
...
tree
+ support for inlining value and const parameters at the node level
(all procedures without local variables and without formal parameters
can now be inlined at the node level)
2004-07-15 19:55:39 +00:00
olle
41bdd6178c
+ added external facilities for macpas
2004-07-14 23:19:21 +00:00
olle
e35eb9986b
+ added Ord(pointer) for macpas
2004-07-14 21:40:52 +00:00
olle
4ad33f01b6
- removed unused types
2004-07-14 21:37:41 +00:00
Jonas Maebe
1f338ade0d
* fix for web bug #3210
2004-07-14 14:38:35 +00:00
peter
b3e3030e6f
* remove maxlen field from ansistring/widestrings
2004-07-12 17:58:19 +00:00
michael
04a69ced17
+ Fix for bug #3207 from Peter
2004-07-12 10:47:42 +00:00
Jonas Maebe
1563d986c5
* inline procedures at the node tree level, but only under some very
...
limited circumstances for now (only procedures, and only if they have
no or only vs_out/vs_var parameters).
* fixed ppudump for inline procedures
* fixed ppudump for ppc
2004-07-12 09:14:04 +00:00
peter
20d7aca9f0
* comps are passed in int registers
2004-07-11 19:01:13 +00:00
peter
7373a649f1
* put every proc in a new object file
2004-07-10 20:24:34 +00:00
Jonas Maebe
f1bda1700a
* support register parameters for inlined procedures + some inline
...
cleanups
2004-07-09 23:41:04 +00:00
Jonas Maebe
1dd5fc2b47
* changed first_sse_imreg to first_mm_imreg
2004-07-09 23:30:13 +00:00
peter
077197e5c4
* new format
2004-07-09 23:11:05 +00:00
peter
b6ed8c482b
* varargs calculation fixed, it's now the same as the other
...
targets
2004-07-09 23:09:02 +00:00
peter
a939095dbe
* revert has_localst patch
...
* replace aktstaticsymtable/aktglobalsymtable with current_module
2004-07-09 22:17:31 +00:00
Jonas Maebe
fab51678da
* fixed passing of fpu paras on the stack
...
* fixed number of fpu parameters passed in registers
* skip corresponding integer registers when using an fpu register for a
parameter under the AIX abi
2004-07-09 21:45:24 +00:00
daniel
c4e909e316
* Add check <= 255 when adding to adj_colours
2004-07-09 21:38:30 +00:00
daniel
9b08a42919
* Uclibc detection
2004-07-08 14:42:54 +00:00
daniel
649bd81edb
* Use a normal pascal set in assign_colours, since it only will contain
...
real registers
2004-07-08 09:57:55 +00:00
daniel
d2a2aeac9f
* supregset_reset clears 8kb of memory. However, it is being called in
...
inner loops, see for example colour_registers. According to profile data
this causes fillchar to be the most time consuming procedure.
Some modifications done to make it clear less than 8kb of memory each
call. Divides time spent in fillchar by two, but it still is the no.1
procedure.
2004-07-07 17:35:26 +00:00
peter
cf5c3b77c2
* ignore po_haslocalst
2004-07-06 20:58:50 +00:00
peter
9d7048d917
* remove unused and not loaded units before linking
2004-07-06 20:23:25 +00:00
peter
60b53cb1c1
* fix storing of localst in ppu
2004-07-06 19:52:04 +00:00
peter
4445ae854d
* fixed parsing of strings in db
2004-07-06 19:47:19 +00:00
olle
e321ac764c
* fixes compilation on 1.0.*
2004-07-06 09:41:46 +00:00
olle
6b77630880
+ FixFileName now handles Mac OS paths
2004-07-05 23:28:24 +00:00
olle
98df0978e1
+ adding operators "|" and "&" for macpas
2004-07-05 23:25:34 +00:00
olle
ff36adb056
+ macpas style: exit, cycle, leave
...
+ macpas compiler directive: PUSH POP
2004-07-05 21:49:43 +00:00
olle
4b0b17a5aa
+ allow fileextension .p, in mode macpas
2004-07-05 21:26:28 +00:00
florian
960bf7b8b1
* fixed float spilling to use sfm/lfm instead of stf/ldf
2004-07-04 15:22:34 +00:00
Jonas Maebe
d3f1b21fae
* fixed regvar bug in tcginnode.pass_2
2004-07-04 12:38:55 +00:00
Jonas Maebe
1f990337c3
* fixed one regvar problem, but regvars are still broken since the dwarf
...
merge...
2004-07-04 12:24:59 +00:00
Jonas Maebe
bfe36fde4d
* fixed "-g-l" (and other "-g-*" combinations)
2004-07-04 12:24:04 +00:00
florian
5062c04096
* fixed problem with cpu interferences
2004-07-03 19:29:14 +00:00
daniel
bbd7f75dbd
* Compile fix
2004-07-03 14:06:35 +00:00
peter
2240dfda57
* fix rangecheck error when assigning u32bit=s32bit
2004-07-03 11:47:04 +00:00
peter
75b90eb128
* always pass right before left when type needs refcnt
2004-07-03 10:26:35 +00:00
Jonas Maebe
a8d3a47a61
+ detect assembler errors when using -ap
2004-07-01 18:28:54 +00:00
Jonas Maebe
bd53954c88
* Darwin fixes
2004-07-01 18:16:10 +00:00
Jonas Maebe
563f7ba253
* fix for broken TP-style constructor handling in the compiler
2004-07-01 18:00:37 +00:00
Jonas Maebe
d30ced66a1
* fixed several errors due to aword -> aint change
2004-07-01 18:00:00 +00:00
peter
4ad491412a
* fix wrong calculation of .bss section
2004-07-01 15:42:53 +00:00
peter
230105093d
* only enable dwarf for supported platforms
2004-06-29 21:00:08 +00:00
peter
2769c9048c
* don't allow assigned(tobject) anymore, it is useless since it
...
is always true
2004-06-29 20:59:43 +00:00
peter
e448a6731d
* fix writing of private virtual/overriden methods that aren't
...
visibile in the current class, bug #3184
2004-06-29 20:58:46 +00:00
peter
e179e7d9e1
* fix pchar:=char
...
* fix longint(smallset)
2004-06-29 20:57:50 +00:00
peter
700c983c8e
* fixed size of exceptbuf
2004-06-29 20:57:21 +00:00
peter
66516ba989
* redundant freetemp removed
2004-06-29 20:57:03 +00:00
peter
9a1925980c
* constructors don't return in parameter
2004-06-29 20:56:46 +00:00
michael
41655fe0ac
+ Patch from peter to fix typinfo for classes
2004-06-28 14:38:36 +00:00
peter
cf3c1198ea
* include unit name in error messages when types are the same
2004-06-23 16:22:45 +00:00
peter
b55648ad7d
* align directive added
2004-06-23 14:54:46 +00:00
florian
34d634c64d
* fixed arm compilation
2004-06-22 18:24:18 +00:00
florian
61cf2984c7
* fixed bootstrapping problems
2004-06-20 20:41:47 +00:00
florian
8a9758c5e2
* logs truncated
2004-06-20 08:55:28 +00:00
florian
e9bb27df36
* spilling of doubles on sparc fixed
2004-06-20 08:47:33 +00:00
florian
cf6f4fb550
- offsetfixup removed
2004-06-20 07:11:32 +00:00
peter
0ac4983a9b
* remove obsolete cardinal() typecasts
2004-06-18 15:16:46 +00:00
peter
2eecc76977
* fixed debuginfo symbol
2004-06-18 15:16:27 +00:00
peter
54cb433625
* powerpc compiles again
2004-06-17 16:55:46 +00:00
florian
588e2c38bf
* dwarf branch merged
2004-06-16 20:07:06 +00:00
Jonas Maebe
13a1ca99ce
* use -x instead of -s for stripping under Mac OS X (-s strips too much
...
sometimes)
2004-06-08 17:14:49 +00:00
Károly Balogh
e6ffa24866
* fixed stripping really this time
2004-06-08 15:04:23 +00:00
Károly Balogh
a73388cfb7
+ fixed stripping support
2004-06-07 23:44:37 +00:00
Károly Balogh
c8b1fa00b4
* added support for morphos
2004-06-06 15:39:49 +00:00
Károly Balogh
7c37f51f79
* regenerated to support morphos target
2004-06-06 15:28:43 +00:00
Károly Balogh
57207e5596
* regenerated to support morphos target
2004-06-06 15:09:16 +00:00
Károly Balogh
35febdeeec
* morphos has no .exe just like amiga
2004-06-06 01:18:47 +00:00
marco
4989efb36b
* fix for bug #3127
2004-06-05 10:14:42 +00:00
Jonas Maebe
42f59a3ca9
* parameters passed on the stack now also work as register variables
2004-06-02 17:18:10 +00:00
Jonas Maebe
9b6e79e4f1
- disabled automatic adding of libraries from "external lib name 'xxx'"
...
for now (until we have proper framework support)
2004-06-02 07:03:49 +00:00
Jonas Maebe
ecb226a54f
* fixed bug regarding parameters on the ppc (they were allocated twice
...
under some circumstances and not at all in others)
2004-06-01 20:39:33 +00:00
Jonas Maebe
174cea8023
* changed calling of external procedures to be the same as under gcc
...
(don't worry about all the generated stubs, they're optimized away
by the linker)
-> side effect: no need anymore to use special declarations for
external C functions under Darwin compared to other platforms
(it's still necessary for variables though)
2004-05-31 18:08:41 +00:00
peter
265b97da28
* 1.9.5 for CVS HEAD
2004-05-31 12:00:56 +00:00
Jonas Maebe
69382ab923
* fixed second_sqr_real (mainly for regvars)
2004-05-31 11:57:48 +00:00
Jonas Maebe
74cad9b483
* more regvar optimizations in location_force_reg
2004-05-30 21:41:15 +00:00
Jonas Maebe
b9f479001c
* enable regvars by default for PPC
2004-05-30 21:20:40 +00:00
Jonas Maebe
43fa5b9f9c
* some optimizations and associated fixes for better regvar code
2004-05-30 21:18:22 +00:00
Jonas Maebe
d49fa72a0d
* fixed regvars compilation
2004-05-30 15:36:55 +00:00
michael
ddf83bad19
+ Version 1.9.4
2004-05-30 09:44:59 +00:00
florian
765b407e0c
* first part of version number update
2004-05-30 09:15:35 +00:00
michael
b3e162b244
+ Version 1.9.4
2004-05-29 23:46:50 +00:00
peter
13ee9660a4
* inc(x,y) makes y always of type x to prevent 64bit operations
...
when x is a u32bit and y is signed
2004-05-28 21:15:20 +00:00
peter
07c67967cf
* fixed div qword
2004-05-28 21:14:34 +00:00
peter
1bcda5c022
* first load para's to temps before calling entry code (profile
2004-05-28 21:14:13 +00:00
peter
71280bedad
* fix cardinal+constint
2004-05-28 21:13:44 +00:00