Commit Graph

20858 Commits

Author SHA1 Message Date
peter
59a26e4f68 * fixed interface name mapping
git-svn-id: trunk@1443 -
2005-10-17 16:02:44 +00:00
peter
6e60c8a92b * move stab number reset to dbgstabs
git-svn-id: trunk@1442 -
2005-10-17 15:02:15 +00:00
peter
d5af8ed9a0 * fix range check error
git-svn-id: trunk@1439 -
2005-10-17 08:03:08 +00:00
florian
604a9f7ce4 * started dynarray to vararray stuff
git-svn-id: trunk@1438 -
2005-10-16 21:16:03 +00:00
yury
2332eae403 * prevent endless stack dump if an exception occured during the dump itself.
git-svn-id: trunk@1427 -
2005-10-16 17:17:50 +00:00
florian
8af13ed6ae * fixed result type conversion for sqrt/sqr
git-svn-id: trunk@1425 -
2005-10-16 16:39:00 +00:00
Jonas Maebe
f587986a69 - disabled for non-x86/x86_64
git-svn-id: trunk@1423 -
2005-10-16 14:47:32 +00:00
Jonas Maebe
8c6baebf6c * fixed for non-x86
git-svn-id: trunk@1421 -
2005-10-16 14:40:26 +00:00
Jonas Maebe
29709ba351 * fixed test, clean up test file when finished
git-svn-id: trunk@1419 -
2005-10-16 14:34:07 +00:00
florian
0308048768 * fixed compilation
git-svn-id: trunk@1418 -
2005-10-16 14:12:30 +00:00
Jonas Maebe
f5083e8dfa * fixed FreeOnTerminate (was already fixed in Linux version)
* handle interrupted reads from the semaphore pipe in Darwin (should be
    applied to *BSD and Linux as well)
  + lots of extra debugging code in Darwin tthread.inc if DEBUG_MT defined

git-svn-id: trunk@1416 -
2005-10-16 13:59:19 +00:00
florian
6ec54bc2c9 * test fixed, operator overloading is now more strict
git-svn-id: trunk@1414 -
2005-10-16 13:48:50 +00:00
florian
d1759ff5b1 * use gecho on win32
git-svn-id: trunk@1412 -
2005-10-16 13:41:22 +00:00
Jonas Maebe
6cbf90df46 * fixed stream readers and writers for big endian systems
git-svn-id: trunk@1410 -
2005-10-16 13:33:45 +00:00
yury
a5f134ba25 * floating point exceptions were enabled.
git-svn-id: trunk@1409 -
2005-10-16 13:07:11 +00:00
florian
8b01dce70a * cmov ref,reg disabled because ref might be never nil
git-svn-id: trunk@1407 -
2005-10-16 12:25:58 +00:00
florian
d8acc80ae5 * reverted inline patch partly
* improved append_char by avoiding unnecessary unique call

git-svn-id: trunk@1406 -
2005-10-16 11:24:24 +00:00
yury
3239011837 * DOS<->Win filetime conversion was fixed.
* FileExists fix from Win32 was applied.

git-svn-id: trunk@1405 -
2005-10-16 10:28:10 +00:00
florian
396b5524ee * patch from Luiz Américo:
1 - Return false when the argument is a directory (like Delphi)
  2 - Return false when passing '*' as argument (like Delphi)
  3 - Its faster 

git-svn-id: trunk@1404 -
2005-10-16 09:17:41 +00:00
Jonas Maebe
f67ffaa7c8 * fixed TextToFloat for platforms where currency = Int64 (webtbs/tw4093)
git-svn-id: trunk@1402 -
2005-10-16 06:28:14 +00:00
Jonas Maebe
758337d115 * fixed passing currency variables to arrayconstructors on platforms where
currency=int64

git-svn-id: trunk@1400 -
2005-10-16 06:04:58 +00:00
Jonas Maebe
985c70089d - removed -Op3 parameter so test also compiles on non-x86
git-svn-id: trunk@1398 -
2005-10-16 05:41:18 +00:00
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