Commit Graph

283 Commits

Author SHA1 Message Date
peter
f80f3fc0fa * shortstr compare with empty string fixed
* removed special i386 code
2004-11-01 12:43:28 +00:00
peter
fd759e521f * saveregisters calling convention is obsolete 2004-10-24 20:01:41 +00:00
florian
9205c6e800 * fixed overflow checking in qword multiplication 2004-09-26 08:52:51 +00:00
florian
051126d079 * assembler version of mod_qword_word reactivated 2004-07-25 11:50:39 +00:00
florian
7a7c34e1b7 + several unicode (to/from utf-8 conversion) stuff added
* some longint -> SizeInt changes
2004-07-18 20:21:44 +00:00
Jonas Maebe
d43436e1cd * fixed indexbyte/word/dword when length is 0 (return -1 instead of 0) 2004-07-18 16:40:08 +00:00
peter
783f8068a5 * add fclex for fpu exceptions to round/trunc 2004-07-09 23:06:11 +00:00
daniel
509870553d * Aligment code in fillchar proved to slow down stuff seriously instead of
speeding it up. This is logical, the compiler aligns everything very well,
    it is possible that fillchar gets called on misaligned data, but it seems
    this never happens.
2004-07-07 17:38:58 +00:00
florian
6427a54c3d * fixed some bootstrapping problems as well as some 64 bit stuff 2004-06-13 10:49:50 +00:00
florian
7f2606ed8a * fpc_mul_qword uses always the assembler implementation 2004-05-10 20:58:20 +00:00
peter
61036b2149 * fixed wrong typecasts 2004-05-09 15:47:56 +00:00
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