Commit Graph

272 Commits

Author SHA1 Message Date
Jonas Maebe
dedf697f3a * use some more string routines from libc if FPC_USE_LIBC is used 2004-05-01 15:26:33 +00:00
peter
269d24955a * inclocked_longint ifdef fixed 2004-04-29 20:00:47 +00:00
peter
b4474438d9 * FPC_MOVE alias 2004-04-26 15:55:01 +00:00
marco
e546db7a23 * interlocked* changed to longints, including winapi. (which was a bug) 2004-03-05 12:17:50 +00:00
florian
c9122a4719 + completed x86-64/linux system unit 2004-02-05 01:16:12 +00:00
Jonas Maebe
5439babeb5 + cgeneric.inc: implementations of rtl routines based on libc
* system.inc: include cgeneric.inc before powerpc.inc/i386.inc/... if
    FPC_USE_LIBC is defined
  * powerpc.inc, i386.inc: check whether the routines they implement aren't
    implemented yet in another include file (cgeneric.inc)
2004-01-11 11:10:07 +00:00
Jonas Maebe
6bd3eccdac + fpc_cpuinit procedure to allow cpu/fpu initialisation before any unit
initialises
  + fpu exceptions for invalid operations and division by zero enabled for
    ppc
2004-01-02 17:21:50 +00:00
peter
31a33a1a7b * fixed indexbyte for regcall 2003-12-24 23:07:28 +00:00
peter
bcdf065947 * fix set_set_range 2003-12-24 22:38:24 +00:00
peter
d11cecb354 * removed assembler
* cleanup
2003-12-24 22:27:13 +00:00
peter
0105b62700 * fix call to handleerror for regcall 2003-12-23 23:09:43 +00:00
peter
c1a25f53b6 * increment should use ofcourse use 1 instead of -1 2003-12-23 22:23:34 +00:00
michael
71da578b33 + Patch from Peter to fix strlcomp 2003-12-19 09:28:00 +00:00
peter
6b6741b41c * win32 regcall patches 2003-12-17 21:56:33 +00:00
peter
48b84272bf * fix warning in gas 2003-12-04 21:44:39 +00:00
peter
0d3948fc5f * register calling updates 2003-12-04 21:42:07 +00:00
peter
07f38cd53a * more fixes 2003-12-03 23:06:35 +00:00
peter
e0bf2ea8d1 * typo in sub_set 2003-12-03 22:46:54 +00:00
Jonas Maebe
89d4ca293b * fix power() for negative base 2003-11-29 16:40:12 +00:00
michael
8373e40e10 + Patch from Johannes Berg for bug #2759 2003-11-24 21:57:43 +00:00
peter
23ae4449ec * register calling updates 2003-11-23 16:50:49 +00:00
peter
5e5462edd1 * make strpas assembler function 2003-11-19 16:58:44 +00:00
peter
8f8b47194a * REGCALL define added 2003-11-11 21:08:17 +00:00
marco
b15ba0a5ae * Peter's Cardinal<->Longint fixes patch 2003-11-03 09:42:27 +00:00
mazen
84e8f0e96b + assembler mode forced to ATT style for x86 cpu 2003-10-31 09:20:11 +00:00
marco
41e3249c4b * fix from peter i386.inc to circumvent ebx destroying 2003-10-27 09:16:57 +00:00
florian
4dbc76b90d * fixed arctan2 to handle x=0 correctly as well 2003-10-26 15:58:05 +00:00
peter
1b2d0e4de9 * save edi,ebx,esi in int_str 2003-10-23 17:01:27 +00:00
peter
26434b49f1 * use __HIGH() 2003-10-16 21:28:40 +00:00
florian
a8374188bc + some code for PIC support added 2003-10-14 00:57:48 +00:00
peter
abbc3fa755 * moved int64 asm code to int64p.inc
* save ebx,esi
2003-09-14 11:34:13 +00:00
peter
cba9b5206d * save edi,esi,ebx 2003-09-08 18:21:37 +00:00
peter
a980741757 * generic string routines added 2003-07-07 20:22:05 +00:00
Jonas Maebe
f0227e6a17 * fpc_shortstr_append_shortstr has to use high(s1) instead of 255 as
maxlen
  + ppc version of fpc_shortstr_append_shortstr
2003-06-01 14:50:17 +00:00
peter
84f2b74142 * FPC_SHORTSTR_APPEND_SHORTSTR public added 2003-05-26 21:18:13 +00:00
peter
60407e302b * fpc_shortstr_concat is now the same for all targets
* fpc_shortstr_append_shortstr added for optimized code generation
2003-05-26 19:36:46 +00:00
florian
35bb4d682f * fixed generic shortstr_compare 2003-05-16 22:40:11 +00:00
florian
fa4496bddf + support for generic pchar routines added
+ some basic rtl stuff for x86-64 added
2003-04-30 16:36:39 +00:00
florian
345117b9ba * initial implementation with code from math.pp 2003-04-24 09:16:31 +00:00
peter
a7691d8bb8 * fpc_round added, needed for int64 currency 2003-04-23 21:28:21 +00:00
michael
27062c2e01 + Patch from Mattias Gaertner for single typeinfo 2003-03-29 16:55:56 +00:00
peter
7a2f4e9e26 * ifdef HAS_GENERICCONSTRUCTOR 2003-03-26 00:19:10 +00:00
peter
1e86b585f9 * changed address parameter/return values to pointer instead
of longint
2003-03-17 14:30:11 +00:00
Jonas Maebe
15419c49a6 - removed buggy i386-specific FPC_CHARARRAY_TO_SHORTSTR
* fixed generic FPC_CHARARRAY_TO_SHORTSTR (web bug #2382)
  * fixed some potential range errors in indexchar/word/dword
2003-02-18 17:56:06 +00:00
carl
c430df4732 * round bugfix with -Or switch 2003-02-05 19:53:17 +00:00
peter
dd08014a49 * use generic int64 power 2003-01-15 00:45:17 +00:00
peter
166fe37203 * power returns int64 2003-01-15 00:40:18 +00:00
mazen
675f2770da + defining FPC_SYSTEM_HAS_DECLOCKED and FPC_SYSTEM_HAS_INCLOCKED to avoid
compilation error on generic.inc
2003-01-06 23:03:13 +00:00
peter
892e9c864a * i386 fpu controlword functions added 2003-01-03 20:34:02 +00:00
peter
69ec4efe4d * fix possible overflow when array len > 255 when converting to
shortstring
2003-01-03 17:14:54 +00:00