Commit graph

952 commits

Author SHA1 Message Date
ceriel ab1b682800 changed lint flags 1989-03-07 10:27:22 +00:00
ceriel 23f2646704 use general as pointer flag added 1989-03-07 10:24:32 +00:00
ceriel 15449606d1 bug fix: if a case-statement did not have a default, so that the
default is the successor of the block containing the CSA/CSB instruction,
the branch to the CSA/CSB block was not optimized
1989-03-07 10:11:24 +00:00
ceriel 3a3db29339 fix to fix 1989-03-07 09:26:42 +00:00
ceriel d97abb0763 avoid null-reference if some nonterminal is not defined 1989-03-06 18:48:30 +00:00
ceriel bb7b8d6490 fixed problem with size option 1989-03-03 17:53:31 +00:00
ceriel 26e5032b9c Added some patterns 1989-03-03 10:36:42 +00:00
ceriel ac2b7f8d44 replace more multiplies by shifts 1989-03-02 18:56:05 +00:00
ceriel 847c27663b avoid spurious error messages about missing #endif 1989-03-01 13:39:50 +00:00
ceriel c096cc6522 fixed; did not work because there was no dependency on as_lib.a 1989-02-20 15:25:27 +00:00
ceriel 9751e398e3 Made easier to use other compiler 1989-02-16 16:33:29 +00:00
ceriel 00ac6f88a7 empty string in directory list now means current directory 1989-02-16 11:18:44 +00:00
ceriel 76cb7a0b33 Added some comments 1989-02-09 15:58:34 +00:00
ceriel dbe4e49936 New method of calling optimizers; fixed lint entry in Makefile 1989-02-09 14:08:47 +00:00
ceriel 86ace8a020 Fixed lintflags 1989-02-09 11:33:11 +00:00
ceriel dfca9ea600 fixed lint options; Added -O<num> option 1989-02-09 11:22:24 +00:00
ceriel 6fc4ca1ae0 The s option now gives a percentage of the size of the input 1989-02-09 10:18:48 +00:00
ceriel e2fe3fec2c increment error count on errors 1989-02-07 09:50:28 +00:00
ceriel 929716a621 Improved label handling and handling of jumps to jumps 1989-02-06 14:39:08 +00:00
ceriel e0c7813927 Added some patterns for LOC LOC CII followed by test on (in)equality to 0 1989-02-06 14:38:21 +00:00
ceriel 732d0eac5c Bug fix in cast 1989-02-06 14:38:00 +00:00
ceriel 0ec10de716 Use our own preprocessor, added dependencies 1989-02-06 14:37:51 +00:00
ceriel c52b10c115 many changes, to make the make_* files more portable 1989-02-02 14:45:26 +00:00
ceriel 91853768f7 name changes 1989-02-02 14:41:24 +00:00
ceriel 42b647d9a9 as_back/const.h is deleted 1989-02-02 14:36:34 +00:00
ceriel 3adeb611df include back.h file 1989-01-27 16:41:04 +00:00
ceriel b0fdc82616 put table in alphabetical order again 1989-01-26 17:10:18 +00:00
ceriel 766d76e712 moved definitions for extnd routines 1989-01-26 17:08:15 +00:00
ceriel e72a36bbb2 renamed jump, prolog, and locals to C_jump, C_prolog, and C_locals 1989-01-26 15:42:50 +00:00
ceriel 8ae2077591 adapted to no longer need an as.h file 1989-01-26 15:20:56 +00:00
ceriel 945cceccb5 replaced Dutch comment 1989-01-26 14:47:03 +00:00
ceriel 7f0b775587 cleaned up a bit 1989-01-26 14:43:09 +00:00
ceriel 6ee3538d91 cleaned up a bit 1989-01-26 14:39:09 +00:00
ceriel f58722ab46 replaced Dutch comments 1989-01-26 14:27:02 +00:00
ceriel 817facac14 Added prefix C_ to the names prolog, jump, and locals 1989-01-26 14:04:11 +00:00
ceriel e6fb2468c8 change some names 1989-01-26 13:46:19 +00:00
ceriel 709cf50fbd changed identifier Hashitems 1989-01-26 13:41:31 +00:00
ceriel 811321b190 change some names 1989-01-26 13:39:03 +00:00
ceriel 5a18c3748d hide names, and remap public ones 1989-01-26 13:32:57 +00:00
ceriel e92f8ac398 change some names 1989-01-26 13:24:23 +00:00
ceriel 3373e11923 previous fix was wrong; corrected 1989-01-26 10:58:30 +00:00
ceriel 2ec4640e7e Added includes 1989-01-26 10:52:51 +00:00
ceriel 11843b44a1 changed bss() into a macro 1989-01-20 15:19:33 +00:00
ceriel 1c570328f0 fixed parameter types 1989-01-20 15:01:37 +00:00
ceriel b1b4ba9677 Added some conversions 1989-01-20 14:54:55 +00:00
ceriel ac86c49d85 deleted some patterns; they caused loop 1988-12-14 17:55:02 +00:00
ceriel b9417a3a55 Added patterns 1988-12-12 18:22:59 +00:00
ceriel 8e09304da7 Added extra explanation of on_valu field 1988-12-12 12:51:52 +00:00
ceriel 66ae1083a8 Added some patterns 1988-12-08 13:21:07 +00:00
ceriel 8e15d114ac declare holno 1988-12-07 16:00:46 +00:00
ceriel 87d0349814 handle local commons in one place only 1988-12-06 13:22:34 +00:00
ceriel 35b3050d88 fixed typo 1988-11-22 09:21:25 +00:00
ceriel 712ba56ce8 declare procno and holno, extend_ilb changed 1988-11-18 18:00:47 +00:00
ceriel 4757be8bf6 declare procno, extend_ilb changed 1988-11-18 17:57:28 +00:00
ceriel 582ed4da02 declare procno and holno 1988-11-18 17:53:57 +00:00
ceriel a804cc2e15 cleaned up; hidden names 1988-11-18 17:52:39 +00:00
ceriel 7d8e3b8fcd removed mysprint.c 1988-11-18 17:45:02 +00:00
ceriel f452bfc1e1 extnd_ilb changed, declared holno and procno 1988-11-18 17:43:47 +00:00
ceriel 4bacebab18 Use tabgen, so deleted chtab.c 1988-11-16 10:43:15 +00:00
ceriel fda83cb06d Added tabgen + manual 1988-11-16 09:37:04 +00:00
ceriel 19dad4482b fixed to generate only external commons. This cannot be done in common.c
because an external could later be declared static, and a static could later
be declared external.
1988-11-10 13:16:22 +00:00
ceriel cfa5eafd3d fixed typo 1988-11-02 16:33:56 +00:00
ceriel 8cd2051b2e modifications in search for more speed 1988-10-31 16:03:44 +00:00
ceriel 8fab3192b6 modyfications in search for more speed 1988-10-31 15:54:54 +00:00
ceriel 7851ff900f many modyfications in search for more speed 1988-10-31 15:42:15 +00:00
ceriel 63f793aff3 modyfied to generate only one switchseg for each C_ routine 1988-10-31 15:21:47 +00:00
ceriel 4f11f3c3fd fixed bug in preprocessor part:
#define aap(a) a did not work if the actual argument was spread over
multiple lines
1988-10-31 14:10:00 +00:00
ceriel b61011fba9 use common() when possible 1988-10-20 13:28:02 +00:00
ceriel 163bbc5845 switch to text segment before generating the label 1988-10-20 13:23:52 +00:00
ceriel f69a7e3e5d many changes, mostly for efficiency 1988-10-20 13:06:10 +00:00
ceriel a281cc38a4 Added common() routine 1988-10-20 13:01:04 +00:00
ceriel 666367e328 Added obj_back/common.c 1988-10-20 12:59:21 +00:00
ceriel 497792f739 Use varargs.h for routine with variable number of args 1988-10-20 12:57:32 +00:00
ceriel 153a94aad4 Added missing filenames 1988-10-20 12:56:08 +00:00
ceriel ed651bbd04 some fixes:
- use Malloc, Realloc instead of malloc, realloc
- generate common for un-initialized bss
- removed null-reference
1988-10-20 12:55:02 +00:00
ceriel 79295ca3ea delinted 1988-10-07 10:26:37 +00:00
ceriel c488a4d491 Took over addition of -d flag from Erik Baalbergen 1988-10-07 09:48:23 +00:00
dick 5578d004bc simplification of e.out.h 1988-10-03 14:44:39 +00:00
ceriel 19698499d6 Also handle commons 1988-09-29 16:29:11 +00:00
ceriel a831fab61d Also handle commons 1988-09-29 16:22:48 +00:00
ceriel 6d3e9fb7af fixed; did not work properly 1988-09-19 15:07:12 +00:00
ceriel eaaa335e50 corrected 1988-09-14 14:05:11 +00:00
ceriel b725b0af8b correction for update_ceg 1988-09-14 14:03:50 +00:00
ceriel 5fd21b16a9 initialize oh_stamp fields of header 1988-09-13 09:11:54 +00:00
ceriel a9c8b67b65 Added define for CODE_EXPANDER 1988-09-12 14:33:15 +00:00
ceriel 2f479b6078 Added mechanism to generate C_out 1988-09-12 14:30:22 +00:00
ceriel 115e92a7dc corrected dependencies 1988-09-12 14:05:14 +00:00
ceriel f2ea210122 Added C_insertpart.c 1988-09-12 14:03:51 +00:00
ceriel 4c8442f1f0 Added C_insertpart etc 1988-09-12 13:59:43 +00:00
ceriel 41d0500d81 replaced relative includes by <> includes 1988-09-12 09:13:49 +00:00
ceriel 5b50914bea fix exit status 1988-09-09 11:36:57 +00:00
ceriel 2d98c32cb2 use varargs 1988-09-09 11:32:59 +00:00
ceriel ec5cff92d8 fix error count on error 1988-09-09 11:25:43 +00:00
ceriel 291b607f4e renamed update to update_ceg, fixed create_ofiles to make sure that the
.c files are detectably newer
1988-09-08 11:43:03 +00:00
ceriel 5c126dd968 declare SEGHOL 1988-09-08 10:26:18 +00:00
ceriel b5f657aba6 Added support for new C_insertpart, C_beginpart, C_endpart functions 1988-09-08 10:24:16 +00:00
ceriel 93c04d3389 declare SEGHOL 1988-09-08 10:01:32 +00:00
ceriel a01ea4d930 correct exit status 1988-09-07 14:47:40 +00:00
ceriel 02fec008a2 Added install entry 1988-09-07 13:54:26 +00:00
ceriel d66b646e58 replace spaces by tabs 1988-09-07 13:39:07 +00:00