Commit Graph

216 Commits

Author SHA1 Message Date
peter
ea8118b37c * fpc_pchar_length compilerproc and strlen alias 2002-10-05 14:20:16 +00:00
peter
603b3bc48b * Copy() changed to internal function calling compilerprocs
* FPC_SHORTSTR_COPY renamed to FPC_SHORTSTR_ASSIGN because of the
    new copy functions
2002-10-02 18:21:51 +00:00
Tomas Hajny
d7620aec7b * Opcode syntax corrected 2002-09-23 18:55:19 +00:00
Tomas Hajny
67d1c93691 * femms replaced with opcode to allow older as 2002-09-23 18:25:55 +00:00
carl
876fca9e8f * make the record packed (just in case) 2002-09-15 10:03:04 +00:00
carl
5ed7522ade - removed unused defines 2002-09-07 21:32:08 +00:00
peter
9f31783a0a * old logs removed and tabs fixed 2002-09-07 16:01:16 +00:00
peter
685caf03b6 * add alias for fpc_dispose_class so it can be called from
fpc_help_fail_class
2002-09-03 15:43:36 +00:00
peter
24384c648b * moved genrtti.inc code to rtti
* removed rttip.inc, the generic code is almost as fast and
    much easier to maintain and has less risks on bugs
2002-09-02 18:42:41 +00:00
peter
c3af3cda9b * SYSTEMINLINE define that will add inline directives for small
functions and wrappers. This will be defined automaticly when
    the compiler defines the HASINLINE directive
2002-08-19 19:34:02 +00:00
Jonas Maebe
0ab6c37c31 * fixed compilation errors with 1.0 2002-07-31 11:52:57 +00:00
florian
3f2a82784e * changed multi threading define: it's MT instead of MTRTL 2002-07-26 15:45:33 +00:00
carl
dfa44b9f00 + added TEST_GENERIC to test generic version 2002-07-06 20:31:59 +00:00
carl
2604402b16 + TEST_GENERIC to test generic versions of code 2002-06-16 08:21:26 +00:00
Jonas Maebe
0d606ac980 * fixed memory corruption bug in fpc_help_constructor 2002-06-09 12:54:37 +00:00
peter
90ff7a6db8 * fpc_freemem and fpc_getmem compilerproc 2002-04-21 18:56:59 +00:00
carl
fe48bc8f27 - no need for runerror 203, already fixed! 2002-04-01 14:23:17 +00:00
carl
16b2fe5095 * cause runtime error 203 on failed class creation 2002-03-30 14:52:04 +00:00
peter
e6841b9f3c * fixed load_smallset 2002-03-29 20:15:44 +00:00
peter
3d1d485d7c * femms added 2002-03-16 12:01:24 +00:00
peter
97f28dbdfb * sse and 3dnow extensions from Michail added 2002-03-16 11:51:50 +00:00
peter
21a8c2cc8e * merged fixes from 1.0.x 2001-12-26 21:03:56 +00:00
peter
7484da248d * freemem(var) -> freemem(value) 2001-12-03 21:39:19 +00:00
florian
5050f1ff66 * init and final code in genrtti.inc updated 2001-11-17 16:56:08 +00:00
michael
2a27de0fb0 + Initial variant support 2001-11-14 22:59:11 +00:00
peter
9aeb958a8e * InterLocked routines added 2001-10-22 21:40:55 +00:00
peter
df8692dd2e * reset %edx in getordprop so functions returning only %eax don't
generate rangecheck errors
2001-10-20 17:25:22 +00:00
carl
901072c39e * bugfix #1639 (IsMultiThread varialbe setting) 2001-10-09 02:42:05 +00:00
Jonas Maebe
ed449defca + searchsystype() and searchsystype() functions in symtable
* changed ninl and nadd to use these functions
  * i386 set comparison functions now return their results in al instead
    of in the flags so that they can be sued as compilerprocs
  - removed all processor specific code from n386add.pas that has to do
    with set handling, it's now all done in nadd.pas
  * fixed fpc_set_contains_sets in genset.inc
  * fpc_set_in_byte is now coded inline in n386set.pas and doesn't use a
    helper anymore
  * some small fixes in compproc.inc/set.inc regarding the declaration of
    internal helper types (fpc_small_set and fpc_normal_set)
2001-09-04 11:38:54 +00:00
Jonas Maebe
f256a47f04 * compilerproc implementation of set addition/substraction/...
* changed the declaration of some set helpers somewhat to accomodate the
    above change
  * i386 still uses the old code for comparisons of sets, because its
    helpers return the results in the flags
  * dummy tc_normal_2_small_set type conversion because I need the original
    resulttype of the set add nodes
  NOTE: you have to start a cycle with 1.0.5!
2001-09-03 13:27:41 +00:00
Jonas Maebe
41a57028b9 * converted adding/comparing of strings to compileproc. Note that due
to the way the shortstring helpers for i386 are written, they are
    still handled by the old code (reason: fpc_shortstr_compare returns
    results in the flags instead of in eax and fpc_shortstr_concat
    has wierd parameter conventions). The compilerproc stuff should work
    fine with the generic implementations though.
  * removed some nested comments warnings
2001-08-30 15:43:14 +00:00
Jonas Maebe
06f9cd4c96 * some fixes in compilerprocs for chararray to string conversions
* conversion from string to chararray is now also done via compilerprocs
2001-08-29 19:49:03 +00:00
Jonas Maebe
fc92c3b336 + compilerproc implementation of most string-related type conversions
- removed all code from the compiler which has been replaced by
    compilerproc implementations (using {$ifdef hascompilerproc} is not
    necessary in the compiler)
2001-08-28 13:24:46 +00:00
peter
75676a4866 * moved i386 specific code to include file 2001-08-04 11:03:42 +00:00
Jonas Maebe
b9f6efc85b + "compproc" helpers
* renamed several helpers so that their name is the same as their
    "public alias", which should facilitate the conversion of processor
    specific code in the code generator to processor independent code
  * some small fixes to the val_ansistring and val_widestring helpers
    (always immediately exit if the source string is longer than 255
     chars)
  * fixed fpc_dynarray_high and fpc_dynarray_length if the dynarray is
    still nil (used to crash, now return resp -1 and 0)
2001-08-01 15:00:09 +00:00
peter
e7c86006db * m68k updates merged 2001-07-30 21:38:54 +00:00
peter
ca8d604964 * various widestring updates, it works now mostly without charset
mapping supported
2001-07-08 21:00:14 +00:00
florian
a4755024cc * some fixes for widestrings and variants 2001-05-31 22:42:56 +00:00
peter
8bf13fd185 *** empty log message *** 2001-05-09 19:57:07 +00:00
peter
802acf6940 * m68k updates 2001-04-23 18:25:44 +00:00
peter
64b57cd77d * add nop after popa (merged) 2001-04-21 12:18:09 +00:00
peter
73a59b9ca3 * merged popal fix 2001-04-16 11:22:53 +00:00
peter
e150c46c78 * remove warnings 2001-04-13 22:26:32 +00:00
Jonas Maebe
547bc5f275 * optimized FPC_HELP_CONSTRUCTOR a bit 2001-04-08 13:19:28 +00:00
Jonas Maebe
ab2ea0a472 * moved implementations of strlen and strpas to separate include files
(they were duplicated in i386.inc and strings.inc/stringss.inc)
  * strpas supports 'nil' pchars again (returns an empty string)
    (both merged)
2001-03-05 17:10:04 +00:00
Jonas Maebe
18de59f50c * fixed all implementations of strpas 2001-03-04 17:31:34 +00:00
Jonas Maebe
8efd8814cf * fixed strpas (was limited to 254 chars) and made it overall slightly faster 2001-03-04 12:42:18 +00:00
Jonas Maebe
af38291233 * simplified and optimized range checking code, FPC_BOUNDCHECK is no longer necessary 2001-03-03 12:41:22 +00:00
Jonas Maebe
39af441ec6 * fixed bug in strscan (returned nil instead of strend for #0) and made it 40% faster 2001-02-17 11:34:00 +00:00
Jonas Maebe
e717dd80f5 * fixed non-working alignment code 2001-02-10 16:08:46 +00:00