Commit Graph

8998 Commits

Author SHA1 Message Date
florian
9a1b9071a5 * implemented kylix like local directive, fixes #7242
git-svn-id: trunk@4982 -
2006-10-19 20:26:14 +00:00
tom_at_work
2b5e324638 * Fixed remaining bug in cg so that -O2 works again
git-svn-id: trunk@4974 -
2006-10-18 22:51:54 +00:00
peter
81a1631bce * don't loose signed information in the result location
git-svn-id: trunk@4973 -
2006-10-18 21:22:51 +00:00
peter
4aa3ac3ebe * call freemem without size
git-svn-id: trunk@4972 -
2006-10-18 21:22:28 +00:00
peter
076fb20774 * don't apply typesize of record if a field size is applied
git-svn-id: trunk@4971 -
2006-10-18 21:22:00 +00:00
peter
1de2f94b28 * fixed typo in r4848
git-svn-id: trunk@4966 -
2006-10-18 20:19:44 +00:00
Jonas Maebe
2dd6a91a9f + allow implicit type conversions of 4 byte integers to strings for
parameter matching in macpas mode

git-svn-id: trunk@4957 -
2006-10-18 18:14:54 +00:00
Jonas Maebe
5cad2321a9 * allow assigning to loop control vars in macpas mode
git-svn-id: trunk@4956 -
2006-10-18 18:13:41 +00:00
Jonas Maebe
5eedbdfde9 + support for indexing 4-byte sized integers as array[1..4] of char in
macpas mode

git-svn-id: trunk@4955 -
2006-10-18 17:26:00 +00:00
florian
5eef73c1ab * fixed passing of registers on x86-64_linux, should fix #7613
git-svn-id: trunk@4951 -
2006-10-17 20:58:16 +00:00
florian
185be23d12 * tail recursion is fixed in the mean time, reenabled
git-svn-id: trunk@4944 -
2006-10-16 18:26:57 +00:00
Jonas Maebe
0c8dbcf332 * rldimi also modifies first operand
git-svn-id: trunk@4943 -
2006-10-16 12:51:45 +00:00
Jonas Maebe
20ae808b65 * also rlwimi_ is read/write for first operand
git-svn-id: trunk@4942 -
2006-10-16 11:31:35 +00:00
Jonas Maebe
53aecd7c88 * more r4812 for ppc64
git-svn-id: trunk@4941 -
2006-10-16 11:16:30 +00:00
florian
67aa148602 * fixed softfpu support
+ softfpu enabled for arm-gba

git-svn-id: trunk@4939 -
2006-10-15 21:31:27 +00:00
florian
efa4967d37 + compiler has the linker script now embedded
+ gba linker takes care of binutilsprefix
+ objcopy is called by the compiler

git-svn-id: trunk@4938 -
2006-10-15 21:29:59 +00:00
Jonas Maebe
12c76ca1ce + support for "return" without return value in MacPas mode
git-svn-id: trunk@4933 -
2006-10-15 19:22:39 +00:00
Jonas Maebe
9e825bdc76 * moved common code for ppc32/ppc64 from nppcadd to shared unit
git-svn-id: trunk@4930 -
2006-10-15 15:43:29 +00:00
tom_at_work
63d03f2c47 * r4812 for ppc64
git-svn-id: trunk@4917 -
2006-10-14 20:59:55 +00:00
Jonas Maebe
593f74d155 + full support for varargs-related functionality for "mwpascal; external;"
functions

git-svn-id: trunk@4910 -
2006-10-14 17:56:42 +00:00
Jonas Maebe
0a23786605 - reverted r4880 (wrong varargs reform) and r4838 (wrong removal of
varargs/array of const overloads)
  * arrayconstructor and array of const are no longer compatible with
    the extra varargs parameters (so overloaded varargs and array of
    const cdecl functions can be distinguished)
  * fixed tprintf2 for the correct varargs syntax

git-svn-id: trunk@4909 -
2006-10-14 17:39:00 +00:00
florian
de0bf34a10 * recreated
git-svn-id: trunk@4908 -
2006-10-14 16:54:21 +00:00
florian
b22e688ad8 * fixed fstenv instruction dat
git-svn-id: trunk@4907 -
2006-10-14 16:53:39 +00:00
florian
1dd80243e5 * tables recreated
git-svn-id: trunk@4899 -
2006-10-14 11:21:41 +00:00
florian
66b1932d52 * fixed rex writing for floating point instructions
git-svn-id: trunk@4898 -
2006-10-14 11:21:17 +00:00
florian
ea69e22044 * fixed tail recursion optimization for code using methodpointerinit/done
git-svn-id: trunk@4896 -
2006-10-14 07:57:25 +00:00
florian
9288a2f76d + more verbose printnode for call nodes
git-svn-id: trunk@4892 -
2006-10-13 21:19:14 +00:00
florian
32c7ba29ea * when calling an inherited methode by msg, any var parameters are compatible,
if somebody knows how to implement it better, feel free to do so

git-svn-id: trunk@4889 -
2006-10-13 19:15:00 +00:00
Jonas Maebe
e9cabd17e1 * fixed handling of "varargs" procedures (i.e., those without an explicit
array-of-const parameter)

git-svn-id: trunk@4880 -
2006-10-13 12:35:17 +00:00
peter
b7386124c4 * quick fix for broken relocation in stabs
git-svn-id: trunk@4874 -
2006-10-12 21:56:16 +00:00
Jonas Maebe
adca49097e * convert filename para to shortstring
git-svn-id: trunk@4870 -
2006-10-12 17:23:56 +00:00
Jonas Maebe
52b3257d9c * disabled tailrec optimization for -O2 for now since it breaks make all
git-svn-id: trunk@4867 -
2006-10-12 09:38:57 +00:00
Jonas Maebe
0541a887b8 * pass record parameters on the stack for mwpascal calling convention
(instead of by reference)

git-svn-id: trunk@4866 -
2006-10-12 08:55:11 +00:00
florian
2a54d957b2 * fixed two small errors
* supported_optimizerswitches now takes generic flags also into account

git-svn-id: trunk@4865 -
2006-10-11 21:14:47 +00:00
florian
a61abb25cb * reorganized optimizer switch sets
git-svn-id: trunk@4862 -
2006-10-11 18:16:10 +00:00
micha
8678d52aeb * avoid warning when pointer points to size 1 data
* fix variantmanager for {$T+}

git-svn-id: trunk@4861 -
2006-10-11 16:40:40 +00:00
florian
e8d5dc4ab2 * tailrecursion optimization enabled for for sparc, i386, x86-64 and arm
git-svn-id: trunk@4860 -
2006-10-11 16:34:28 +00:00
florian
02d0ac4c3e + only procedures doing recursive calls are checked for tail recursivity
+ parameters are tested if they are usable with tail recursion removal

git-svn-id: trunk@4853 -
2006-10-10 20:29:48 +00:00
florian
82b7b785f7 + TAILREC optimizer switch
git-svn-id: trunk@4849 -
2006-10-10 18:41:28 +00:00
peter
71665dbc4c * initial addr_pic support for x86_64 binary writer
git-svn-id: trunk@4848 -
2006-10-10 18:36:41 +00:00
florian
6b463bfd0d + tail recursion optimization code, needs some fixes, but works basically, not yet activated
git-svn-id: trunk@4845 -
2006-10-09 21:51:33 +00:00
florian
948ec12140 * use oldfpccall for interrupts
git-svn-id: trunk@4837 -
2006-10-08 18:20:13 +00:00
Marc Weustink
31090d8736 * generate realnames for syms in -gw3
git-svn-id: trunk@4833 -
2006-10-08 16:27:03 +00:00
tom_at_work
c64190bda3 * r4760, r4784, r4788 for ppc64
git-svn-id: trunk@4832 -
2006-10-08 16:09:46 +00:00
florian
bacded2cf8 * fixed expectloc of unaligned(...)
git-svn-id: trunk@4830 -
2006-10-08 15:47:01 +00:00
Jonas Maebe
b386335f27 * treat zero-based arrays of char also as pchar's when reading
(i.e., always zero-terminate) (bug 7567)

git-svn-id: trunk@4826 -
2006-10-08 09:22:30 +00:00
florian
fb5e396881 + experimental -Sv option to support vector arithmetics
git-svn-id: trunk@4825 -
2006-10-07 21:39:48 +00:00
micha
5f353d6fef add warning for arithmetic on untyped pointers
git-svn-id: trunk@4823 -
2006-10-07 19:34:16 +00:00
micha
dfd3b2503e add message for {$T+} unportability
git-svn-id: trunk@4821 -
2006-10-07 19:21:32 +00:00
peter
d07f470b71 * remove ifdef fpc
git-svn-id: trunk@4819 -
2006-10-07 13:43:34 +00:00