Commit Graph

20836 Commits

Author SHA1 Message Date
marco
14e7ad4cfe * added some constants
git-svn-id: trunk@1397 -
2005-10-15 22:35:15 +00:00
joost
908cf4c7e2 + fixed some memory issues when using parameters
git-svn-id: trunk@1396 -
2005-10-15 22:32:03 +00:00
florian
082b4a4017 + valgrind switch for debug info
git-svn-id: trunk@1394 -
2005-10-15 22:05:59 +00:00
florian
fbbc01c78c * additional compiler args moved to compiler options
* modernized CPU selection window

git-svn-id: trunk@1393 -
2005-10-15 21:25:30 +00:00
tom_at_work
701638138b * fixed exception handling for PowerPC64
* math library is now automatically linked on non-x86 platforms when FPC_USE_LIBC is defined
* generic C system function signature adaptions for 64 bit CPUs 

git-svn-id: trunk@1392 -
2005-10-15 21:24:15 +00:00
Jonas Maebe
810ec85e34 - disable inlining for procedures with a formal const parameter, fixes
webtbs/tw4427

git-svn-id: trunk@1390 -
2005-10-15 20:48:35 +00:00
joost
21dde458f5 + Fix bug #4376, varchar without size specification
git-svn-id: trunk@1389 -
2005-10-15 20:29:39 +00:00
marco
a2ba7077e9 * some very generic constants added.
git-svn-id: trunk@1388 -
2005-10-15 19:28:21 +00:00
florian
c7cfe4976e * fixed test, using := operator as type cast is now much stricter
git-svn-id: trunk@1386 -
2005-10-15 17:50:18 +00:00
florian
71b90d4d00 + slice implemented
git-svn-id: trunk@1384 -
2005-10-15 16:48:27 +00:00
Jonas Maebe
2dbdc474fd * use register variables when release-building for ppc (more or less doubles
performance for most programs)

git-svn-id: trunk@1383 -
2005-10-15 16:36:52 +00:00
Jonas Maebe
a2cf6c4982 * no longer linux-specific naming for library
git-svn-id: trunk@1382 -
2005-10-15 16:33:01 +00:00
Jonas Maebe
00b612502e * fixed web bug #4228 (support loading int64 paras passed on the stack into
local regvars)

git-svn-id: trunk@1380 -
2005-10-15 16:03:00 +00:00
Jonas Maebe
b458554f5b + some optimizations for comparisons with zero whereby the result has to
go to a register

git-svn-id: trunk@1379 -
2005-10-15 11:09:44 +00:00
Jonas Maebe
4558cd705e + optimize some slwi/rlwinm combos
git-svn-id: trunk@1378 -
2005-10-14 21:03:48 +00:00
Jonas Maebe
9cf0865d0e * remove a number of superfluous register moves
git-svn-id: trunk@1377 -
2005-10-14 20:34:53 +00:00
peter
d1d2b0e1a1 * function name doesn't call the function in macpas
git-svn-id: trunk@1376 -
2005-10-14 07:25:22 +00:00
tom_at_work
0ba960e1bd * added workarounds for some load/store instructions requiring 4 byte aligned addresses
* some cleanup and optimization of 64 bit address loading in the code generator
* small changes to the IDE to make it compile
* stat type update for packages/cdrom compatibility

git-svn-id: trunk@1375 -
2005-10-14 00:00:16 +00:00
marco
3a44a158ed * TUpdatestatusset (kbmmw port missed this)
git-svn-id: trunk@1374 -
2005-10-13 21:37:45 +00:00
florian
78abb1603d * synched with i386
git-svn-id: trunk@1373 -
2005-10-13 20:59:00 +00:00
florian
2dd7c144c4 * fixed test
git-svn-id: trunk@1371 -
2005-10-13 20:01:17 +00:00
marco
0bc7d92310 * removed old BSD ifdefs
git-svn-id: trunk@1368 -
2005-10-13 18:39:22 +00:00
marco
bf92c461d1 * removed dos usage from fpc binary. (mostly fsearch -> filesearch).
This because of reports with problems with path env variables >255

git-svn-id: trunk@1367 -
2005-10-13 18:36:01 +00:00
peter
5a95586f38 * more fixes for procdefs
git-svn-id: trunk@1366 -
2005-10-13 12:42:01 +00:00
Jonas Maebe
e14d8e6611 * don't replace cmplwi's with flag-setting variants of integer operations,
as the latter perform a signed comparison with 0

git-svn-id: trunk@1365 -
2005-10-13 07:49:02 +00:00
tom_at_work
3f4682400c * fixed basic signal handling for PowerPC64/linux, by updating related types and major code cleanup
git-svn-id: trunk@1364 -
2005-10-12 22:46:13 +00:00
tom_at_work
0b34b01a6d * fixed class messages for PowerPC64, due to a wrong typecast
git-svn-id: trunk@1363 -
2005-10-12 22:28:51 +00:00
Jonas Maebe
cd3f064a33 + enabled postpeepholeopts phase
+ optimize "integer op" followed by comparison of target register with zero
    to a variant of that integer op which sets the flags (ppc)
  + change rlwinm. instructions which do nothing but an "and" operation into
    andi./andis., since the rlwinm. is cracked on the G5 while andi./andis.
    isn't

git-svn-id: trunk@1361 -
2005-10-12 19:47:21 +00:00
Jonas Maebe
339f76182b + missing rlwnm. and not. instructions
git-svn-id: trunk@1360 -
2005-10-12 19:44:34 +00:00
tom_at_work
99120a3f2b * fixed -Or cycle for PowerPC64 by adding the missing additional newra methods
git-svn-id: trunk@1359 -
2005-10-12 13:16:02 +00:00
peter
51b8a4a132 * move stabs generation to a single procedure call from pmodules
git-svn-id: trunk@1358 -
2005-10-12 10:35:46 +00:00
peter
a01774c73d * writesymbol for relocations in stabs
git-svn-id: trunk@1357 -
2005-10-12 05:57:30 +00:00
florian
c48c42b995 + "reverse merge" from 2.1
git-svn-id: trunk@1356 -
2005-10-11 21:41:37 +00:00
peter
9d0851e4a1 * remove comment level 2 warning
git-svn-id: trunk@1355 -
2005-10-11 06:48:32 +00:00
peter
8b1f3d2470 * no range check for delphi mode with in operator
git-svn-id: trunk@1354 -
2005-10-11 06:46:56 +00:00
peter
6314aa118f * support for MCBS from bug #4211
git-svn-id: trunk@1353 -
2005-10-11 06:36:07 +00:00
tom_at_work
bfb2c916dc * fixed problem with too large offsets in conditional jumps (see also rev 1161 for the PowerPC code)
* updated sysnr.inc for PowerPC64 from 2.6.11 kernel sources
* fixed SigactionRec sa_flags field sizes, which improves signal handling for PowerPC64 platform

git-svn-id: trunk@1352 -
2005-10-10 23:45:57 +00:00
Jonas Maebe
42e49ccd90 + srwi followed by slwi optimized
+ srwi followed by certain rlwinm's optimized

git-svn-id: trunk@1351 -
2005-10-10 20:43:23 +00:00
marco
5fbf962637 * small fix for 1735, tw2242 still broken due to complexity.
git-svn-id: trunk@1350 -
2005-10-10 12:09:57 +00:00
peter
c1b002c842 * fix writing of typed const ansistring, the terminating zero was missing
git-svn-id: trunk@1349 -
2005-10-10 12:06:09 +00:00
marco
411e2359eb * Fixed 2.0.0 compilation
git-svn-id: trunk@1346 -
2005-10-09 21:29:01 +00:00
marco
f054a6df16 * nanosleep for sleep(), since it is now in the POSIX group.
git-svn-id: trunk@1341 -
2005-10-09 11:41:57 +00:00
marco
8f50bb556e * small fix to inclocked inlining changes
git-svn-id: trunk@1340 -
2005-10-09 11:06:47 +00:00
marco
5c92d88da8 * inlined a few funcs, inlined the non threaded part of inc/declocked. The lock prefixed one
remains a separate proc, as it is slow anyway.

git-svn-id: trunk@1339 -
2005-10-09 10:57:29 +00:00
tom_at_work
9e7d550455 * fixed last commit (1337) which broke some files in the repository
git-svn-id: trunk@1338 -
2005-10-08 17:23:44 +00:00
tom_at_work
f7f0f9c426 * makefile adaption to be able to cycle compiler and RTL on PowerPC64 target
* some fixes for PowerPC64 target in the code generator and the RTL
* stabs generation for PowerPC64 is okay now (untested)

git-svn-id: trunk@1337 -
2005-10-08 15:48:39 +00:00
yury
48b75a0608 * compilation for i386-wince was fixed.
* some warnings and DirectoryExists were fixed in sysutils

git-svn-id: trunk@1336 -
2005-10-08 14:09:00 +00:00
michael
9a1052e1be + Patch from Luiz Américo to fix direxists
git-svn-id: trunk@1334 -
2005-10-08 13:49:30 +00:00
yury
a6b84b93e1 * another ARM data alignment issue was fixed.
git-svn-id: trunk@1333 -
2005-10-08 13:48:03 +00:00
michael
66bb1e0a95 + Correct indent/deindent of method enter/exit
git-svn-id: trunk@1331 -
2005-10-08 13:45:51 +00:00