Commit Graph
100 Commits
Author SHA1 Message Date
ceriel fa71baa4d7 fixed bug in Usage line 1989-02-24 14:53:49 +00:00
ceriel 6b94b30af4 Added patterns and made some improvements 1989-02-24 14:09:46 +00:00
ceriel 66b5ddcfd8 Added pattern for unlk after stack adjustment 1989-02-24 13:34:49 +00:00
ceriel b0513b7a66 better rule for LOE LOF DUP ADP ... 1989-02-23 17:59:30 +00:00
ceriel e97129f991 generate better code for LOL ADP STL 1989-02-23 15:46:46 +00:00
ceriel cc59120347 bug fix: some variables were not initialized all the time 1989-02-23 10:40:12 +00:00
ceriel f431230f7d removed prt_ext 1989-02-23 10:08:20 +00:00
ceriel 83639826d6 fixed error in previous commit 1989-02-22 17:38:07 +00:00
ceriel 70ab911d0b do not depend on SP for restoring registers 1989-02-22 17:18:34 +00:00
ceriel 3e17d769b9 changed interface to CSA and CSB 1989-02-22 17:18:17 +00:00
ceriel 086f4ceacb speeded up a bit 1989-02-22 16:16:11 +00:00
ceriel 50cbf84293 try to move side effects as much as possible to the left of the
expression tree, to avoid stacking. This is not good enough yet!
1989-02-22 16:16:08 +00:00
ceriel 404618c7c5 many improvements to the table, mostly to make it more readable
and less chaotic. Also removed some dummy routines in mach.c
1989-02-22 16:13:51 +00:00
ceriel 3cc595c2b7 improve signal handling of Floating Point Exception 1989-02-21 10:49:51 +00:00
ceriel e9b8cb06bf changed entry points csa and csb 1989-02-21 10:11:26 +00:00
ceriel 25074fb608 fixed syntax error in table 1989-02-21 10:09:22 +00:00
ceriel f295a15614 changed entry points csa and csb; strscript should call m68020
instead of acc
1989-02-21 10:09:01 +00:00
ceriel 558b077fd8 changed entry points for csa and csb 1989-02-21 10:05:03 +00:00
ceriel afca9aeba9 use a larger buffer on larger machines 1989-02-21 10:01:55 +00:00
ceriel 8e485ab09a some fixes: calloc was wrong; catch traps, and let divides
by 0 generate a signal, if on a unix machine
1989-02-20 18:01:33 +00:00
ceriel 84e71248e2 made easier to compile with different compiler 1989-02-20 15:29:10 +00:00
ceriel ff0b9c8ab6 fixed; did not work because there was no dependency on as_lib.a 1989-02-20 15:25:27 +00:00
ceriel a71decee90 do not catch floating point exceptions anymore 1989-02-17 09:58:06 +00:00
ceriel 73ac1d53ec Made easier to use other compiler 1989-02-16 16:33:29 +00:00
ceriel 612cfe1058 empty string in directory list now means current directory 1989-02-16 11:46:39 +00:00
ceriel 7844122141 empty string in directory list now means current directory 1989-02-16 11:24:01 +00:00
ceriel f860afc981 empty string in directory list now means current directory 1989-02-16 11:18:44 +00:00
ceriel 31ecc93082 fixed; the previous change was wrong 1989-02-16 11:14:22 +00:00
ceriel fd70e803a0 Handle empty string in search path; It means: current directory 1989-02-16 10:48:06 +00:00
ceriel babdd65d68 Add include directory when compiling head 1989-02-16 09:40:52 +00:00
ceriel 8d8876cafc Initial revision 1989-02-15 16:39:58 +00:00
ceriel 81fd8811a0 fixed some incorrect kills 1989-02-15 11:39:13 +00:00
ceriel c3cd93397e Initial revision 1989-02-14 18:03:13 +00:00
ceriel 2028c4652e Initial revision 1989-02-14 15:52:25 +00:00
ceriel a2169cd8f2 fixed some problems, updated with cemcom 1989-02-14 14:35:38 +00:00
ceriel e51a262554 fixed wrong count in popping parameters 1989-02-14 14:10:31 +00:00
ceriel 0b3bf6705c New coroutine mechanism incorporated 1989-02-13 18:41:17 +00:00
ceriel 0f04dda084 make runtime error messages emacs-compatible 1989-02-13 18:28:17 +00:00
dick 0d87bd16bd more and better declarations in c.llb 1989-02-10 16:46:01 +00:00
ceriel b3702e14a3 Try to allocate to the next power of 2, instead of just aligning
with GRABSIZE; This way, malloc(1000000) followed by free() followed by
another malloc(1000000) will result in the same block being allocated,
because first_present will now find it
1989-02-10 09:18:19 +00:00
ceriel 14a37445df Added documentation about priority and optimizer keywords 1989-02-09 16:17:00 +00:00
ceriel 390bc72f85 Added some comments 1989-02-09 15:58:34 +00:00
ceriel f1e69ba5dc Fix: current distribution is 4th 1989-02-09 15:57:27 +00:00
ceriel 4ca0a9fcb0 Adapted; Do not use /dev/tty 1989-02-09 15:55:33 +00:00
ceriel 9c2934c25d Added Algol68S 1989-02-09 15:53:09 +00:00
ceriel e3a1bdee64 fix: CHR expects a CARDINAL parameter 1989-02-09 15:43:28 +00:00
ceriel bdfe2ec9cf deleted makefile from distribution; Added some comments about this to
the README file
1989-02-09 15:43:25 +00:00
ceriel ff974411bb New method of calling optimizers; fixed lint entry in Makefile 1989-02-09 14:08:47 +00:00
ceriel f5f3c78f28 New method of calling optimizer; Added Algol68S 1989-02-09 13:46:32 +00:00
ceriel fe90dbc022 minor correction 1989-02-09 13:26:24 +00:00
ceriel 4ffc5effc8 *** empty log message *** 1989-02-09 13:24:20 +00:00
ceriel c2a77056f3 Fixed lintflags 1989-02-09 11:33:11 +00:00
ceriel d26ae9524b fixed lint options; Added -O<num> option 1989-02-09 11:22:24 +00:00
ceriel 20bdcdb730 The s option now gives a percentage of the size of the input 1989-02-09 10:18:48 +00:00
ceriel 0fe5503e58 use pusha and popa instructions, and on the proper place 1989-02-08 15:47:22 +00:00
ceriel e93ffe54b0 Added 1989-02-08 15:29:51 +00:00
ceriel 2b4351612b Added 1989-02-08 15:19:42 +00:00
ceriel 46f14c974d Initial revision 1989-02-08 15:12:03 +00:00
ceriel 634ffd0111 Initial revision 1989-02-08 14:57:48 +00:00
ceriel 3cbeef9506 fixed problem with importing enumeration literals 1989-02-08 10:24:10 +00:00
ceriel a4d2bc520b make sure that every command ends up in the same directory where it started 1989-02-08 09:44:32 +00:00
ceriel 49d1c86cbc Adapted to our installation 1989-02-08 09:38:15 +00:00
ceriel a474dcaeae fixed return value of signal 1989-02-08 09:29:27 +00:00
ceriel 8d664a267e replaced some BSS by CON; The order in memory is important!
Adapted to our installation
1989-02-08 09:23:46 +00:00
ceriel 92361b4669 use an ed script instead of an ex script; more portable 1989-02-07 17:54:33 +00:00
ceriel f66169c2d2 fix in IMUL, define DEBUG 1 1989-02-07 14:30:47 +00:00
ceriel d3a832bd33 fixed several problems:
- hex numbers and floating point numbers were wrong
- grammar was wrong; did not accept correct ANSI C
- prototype updates did not work
- float parameters to routines without prototype were not upgraded to double
- the dot operator no longer requires lvalue as left-hand-side
1989-02-07 13:16:02 +00:00
ceriel fa9f197afd made arg_error dependent on DEBUG; fixed cmp instruction in as_table 1989-02-07 11:42:28 +00:00
ceriel ea22ca0f3c made back.a dependent on some C files in this directory 1989-02-07 11:32:47 +00:00
ceriel 3897571520 Added FORMAT information for our lint; Documented the _format routine 1989-02-07 11:17:22 +00:00
ceriel 6ac0b14a21 made back.a dependent on some C files in this directory 1989-02-07 11:12:13 +00:00
ceriel 466770c802 Documented need of em_data.a for libeme.a 1989-02-07 11:11:57 +00:00
ceriel 3ca38fbe2e Initial revision 1989-02-07 11:04:05 +00:00
ceriel 14a0e523e3 increment error count on errors 1989-02-07 09:50:28 +00:00
ceriel 042b9384b2 fixed problem in sizeof() 1989-02-06 19:06:55 +00:00
ceriel ef128982bf some fixes 1989-02-06 15:15:27 +00:00
ceriel 791300c5a6 move to address register does not set condition codes 1989-02-06 15:11:49 +00:00
ceriel 325abcee85 Improved label handling and handling of jumps to jumps 1989-02-06 14:39:08 +00:00
ceriel 02159e48b4 Added some patterns for LOC LOC CII followed by test on (in)equality to 0 1989-02-06 14:38:21 +00:00
ceriel d05287f87c Bug fix in cast 1989-02-06 14:38:00 +00:00
ceriel 9b12f58b23 Use our own preprocessor, added dependencies 1989-02-06 14:37:51 +00:00
ceriel e0fbecfcfb changed order of registers, so that d0 is allocated first 1989-02-06 14:35:10 +00:00
ceriel 1af2760ded some simplifications and a bug fix 1989-02-03 16:32:07 +00:00
ceriel 2f20b3e612 corrected print formats 1989-02-02 16:32:19 +00:00
ceriel 52ceb5a624 delinted somewhat 1989-02-02 16:31:51 +00:00
ceriel 0de84449fb bitwise operators available now 1989-02-02 16:15:54 +00:00
ceriel 4b299df52a Added header 1989-02-02 16:10:15 +00:00
ceriel ce33e1442d improved pattern 1989-02-02 16:04:18 +00:00
ceriel 364db71364 Added some patterns 1989-02-02 16:01:13 +00:00
ceriel 42ffe00f42 many changes, to make the make_* files more portable 1989-02-02 14:45:26 +00:00
ceriel 3c35dfc730 name changes 1989-02-02 14:41:24 +00:00
ceriel 244f5ec0ef as_back/const.h is deleted 1989-02-02 14:36:34 +00:00
dick eacc6e770e better evaluation order checking in expressions 1989-02-02 13:57:07 +00:00
ceriel d6878e6125 delinted, added chstack.c 1989-02-02 13:24:50 +00:00
ceriel 636e36857b made arg_error dependant on DEBUG 1989-02-02 12:49:21 +00:00
ceriel 604c4ed430 hidden names, made arg_error dependant on DEBUG 1989-02-02 12:29:14 +00:00
ceriel d039590255 removed unused code 1989-02-02 12:27:33 +00:00
ceriel 1aca6f8dcd made arg_error dependant on a DEBUG constant, improved Makefile 1989-02-02 11:45:50 +00:00
ceriel a8a5248bb7 made arg_error dependant on a DEBUG constant 1989-02-02 11:42:53 +00:00
ceriel 3690e264bf simplified a bit to make the resulting optimizer smaller; Added a
constant w2 that can be used in the patterns instead of 2*w
1989-02-02 11:41:31 +00:00