Commit Graph

9299 Commits

Author SHA1 Message Date
pierre
0103ec8f32 add some ansi files 2001-09-09 22:36:29 +00:00
michael
49de2f8866 + Added first examples 2001-09-09 21:55:36 +00:00
michael
d38349811d + Clean now also cleans keybutil.ppu 2001-09-09 21:55:10 +00:00
michael
47e58b9b66 + Implemented first three examples 2001-09-09 21:53:45 +00:00
carl
5d0b6c1431 * bugfix of console sharing mode (on NT this would bug all
std_input access).
2001-09-09 20:44:53 +00:00
Jonas Maebe
4930d6448f * some more things implemented 2001-09-09 17:10:25 +00:00
michael
9cbaa2f1f7 + Changed secnumdepth and added stringspaces for listings 2001-09-09 15:23:57 +00:00
michael
526bff2b1b + Initial implementation 2001-09-09 15:22:31 +00:00
michael
ac4225a280 + initial implementation 2001-09-09 15:22:04 +00:00
michael
84ffe7a5c7 + Completed unit documentation, all examples added 2001-09-09 09:30:16 +00:00
michael
e111767081 + Added SetToString example 2001-09-09 09:22:06 +00:00
Jonas Maebe
e8c8f8785a * fixed bug with assigning ansistrings (left^.location was released too
early, caused bug reported by Aleksey V. Vaneev in mailing list on
    2001/09/07 regarding 'problems with nested procedures and local vars'
    ("merged" from cga.pas in the fixes branch)
2001-09-09 08:51:09 +00:00
Jonas Maebe
100a911290 * when calling an inline procedure inside a nested procedure, the
framepointer was being pushed on the stack, but this pushed framepointer
    was never used nor removed from the stack again after the inlining was
    done. It's now simply not pushed anymore, because the inlined procedure
    can get the previous framepointer from the procedure in which it is being
    inlined (merged)
2001-09-09 08:50:15 +00:00
Jonas Maebe
bfa379a802 * allow typecasting from child object types to parent object types (with
different sizes)
2001-09-07 07:46:17 +00:00
pierre
b95509219c * check for negative int64 constants 2001-09-07 07:32:17 +00:00
pierre
8daec5f2a6 * fix the title, up, next and previous links 2001-09-06 23:19:47 +00:00
Jonas Maebe
bea3bf8717 * changed type of tcg from object to class -> abstract methods are now
a lot cleaner :)
  + more updates: load_*_loc methods, op_*_* methods, g_flags2reg method
    (if possible with geenric implementation and necessary ppc
     implementations)
  * worked a bit further on cgflw, now working on exitnode
2001-09-06 15:25:55 +00:00
Jonas Maebe
ca27b25d5e * fixed superfluous generation of stackframes for assembler procedures
with no local vars or para's (this broke the backtrace printing in case
    of an rte)
2001-09-06 10:21:50 +00:00
michael
6497cd43b7 + Added ex16 and ex17 2001-09-05 22:18:41 +00:00
Jonas Maebe
3b4b673069 * new cgflow based on n386flw with all nodes until forn "translated"
+ a_cmp_loc_*_label methods for tcg
  + base implementatino for a_cmp_ref_*_label methods
  * small bugfixes to powerpc cg
2001-09-05 20:21:03 +00:00
Jonas Maebe
a39cd8a580 * made multiplying, dividing and mod'ing of int64 and qword processor
independent with compilerprocs (+ small optimizations by using shift/and
    where possible)
2001-09-05 15:22:09 +00:00
Jonas Maebe
b81a4bb773 * ispowerf2 now works with 64bit ints and should be faster 2001-09-05 15:20:26 +00:00
Jonas Maebe
2e6a221b2a * the result of high/low nodes wasn't always resulttypepassed 2001-09-05 15:19:43 +00:00
marco
78b0e40b43 * unix dir included 2001-09-05 15:06:54 +00:00
marco
b564e018d1 * NetBSD fcl makefile fixes. Plain copy from FreeBSD 2001-09-05 14:30:04 +00:00
marco
c304a73c77 * Netbsd fixes 2001-09-05 14:22:15 +00:00
marco
308af74fa9 * Fixed for NetBsd/i386 2001-09-05 14:19:34 +00:00
carl
11dc7b4bd1 + major updates 2001-09-05 00:17:33 +00:00
carl
3666491f2f + new Operating systems 2001-09-05 00:12:05 +00:00
pierre
c1f6cc5dbf * fix highlight for 'i:=1to' 2001-09-04 22:58:58 +00:00
Jonas Maebe
19bda8da46 + test include and exclude too 2001-09-04 14:33:30 +00:00
Jonas Maebe
17b2fa3424 * simplified det_resulttype code for include/exclude
* include/exclude doesn't use any helpers anymore in the i386 secondpass
2001-09-04 14:32:45 +00:00
Jonas Maebe
1fd6a2c5f8 * commented out some inactive code in csopt386
+ small improvement: lea is now handled the same as mov/zx/sx
2001-09-04 14:01:03 +00:00
Jonas Maebe
4bac905291 * fixed compiling errors 2001-09-04 11:53:48 +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
carl
a28c6b5d6a * bugfix of range check errors (bug #1588)
+ added win32 types for easier porting to win64
2001-09-04 01:07:59 +00:00
carl
611bff7511 - ansistring memory record moved to programmer's reference
* some small syntax errors
2001-09-03 23:02:28 +00:00
Jonas Maebe
a2218eb517 * aded missing reset of labels of rttitablesym and inittablesym labels 2001-09-03 15:18:38 +00:00
Jonas Maebe
a3ffc5a071 * fixed filename 2001-09-03 15:06:55 +00:00
Jonas Maebe
52c0e43405 * added -So to OPT 2001-09-03 15:04:42 +00:00
carl
91e5812fa9 + integer type can also be 64-bit
- export modifier correctly described
+ alias modifier added example
2001-09-03 15:01:15 +00:00
sg
f8ca6d3c85 * msg2inc is now called with "./" prepending (./msg2inc instead of msg2inc) 2001-09-03 14:52:33 +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
f98641013f * set funcretsym for assembler procedures too (otherwise using __RESULT
in assembler procedures causes a crash)
2001-09-03 13:19:12 +00:00
michael
29d311ef6d + Added examples, ordered alphabetically 2001-09-02 21:45:55 +00:00
michael
77ec55dafb + Added README and ex14 and ex15 examples 2001-09-02 21:45:29 +00:00
peter
915b5cd7a9 * split constsym.value in valueord,valueordptr,valueptr. The valueordptr
is used for holding target platform pointer values. As those can be
    bigger than the source platform.
2001-09-02 21:18:28 +00:00
peter
1f4bac4fd0 * delphi fixes 2001-09-02 21:16:25 +00:00
peter
d1d504ac2d * don't allow int64->real for delphi mode 2001-09-02 21:15:34 +00:00
peter
eb92d4bdd6 * check for size differences in typecasts when assigning 2001-09-02 21:13:31 +00:00