Commit graph

1016 commits

Author SHA1 Message Date
ceriel 1ece6f9107 Added a few more patterns 1989-11-08 12:44:33 +00:00
ceriel d4e3a9d9f6 fixed exit status 1989-11-07 16:17:06 +00:00
ceriel 9b2bc42d92 fixed sed script: \> is special under SunOs 4.0, and the escape was not needed anyway 1989-11-07 16:13:26 +00:00
eck ce1285d2eb format for % was wrong 1989-11-01 10:02:23 +00:00
ceriel 142a703f77 the error() routine did not set err_occurred! 1989-11-01 09:46:16 +00:00
ceriel c2a260ba68 better unknown flags handling 1989-10-31 11:15:23 +00:00
ceriel 67e5a8e7a5 improved check for loop 1989-10-30 15:17:01 +00:00
ceriel 74546bd985 Added a command to kill a register 1989-10-26 15:41:38 +00:00
ceriel 44ff24f085 Also recognize 'defined' without parentheses 1989-10-25 14:23:08 +00:00
ceriel 01f77a03af Added CBO (commutative binary operator) to make it a little easier to
write reordering patterns
1989-10-20 11:59:52 +00:00
eck 46e45d1c2d added CPP variable to Makefile 1989-10-20 10:37:25 +00:00
ceriel cf65fbe6a1 a simple optimization added 1989-10-18 09:22:47 +00:00
ceriel 7f6b39f155 improved: did not work with SunOs 4.0 make 1989-10-16 09:32:05 +00:00
ceriel d7e23d9466 improved: did not work with SunOs 4.0 make 1989-10-16 09:24:52 +00:00
ceriel 0faaec8e3d cleaned up Makefile 1989-10-12 16:18:38 +00:00
ceriel 7255b1aa61 some fixes, f.i. process # in actual parameter list 1989-10-12 11:16:02 +00:00
ceriel c4d23274c9 moved and initialized the C_tmpdir variable; some linkers do not
find it otherwise
1989-10-10 15:06:56 +00:00
ceriel b719750e75 Added code-expander-generator 1989-10-10 14:48:42 +00:00
ceriel bec816346d Added i386 1989-10-10 14:42:59 +00:00
ceriel 0364de3a9c fixed problem: sometimes incorrect labels were generated in case descriptors 1989-10-04 14:39:55 +00:00
ceriel f3a7c72ddb Added some XOR patterns 1989-10-04 14:35:50 +00:00
ceriel 84b9957b17 made to compile under Xenix 1989-08-21 12:46:54 +00:00
ceriel 319d9bcfe0 declaration of sprintf only if __STDC__ is not defined 1989-08-21 11:43:41 +00:00
ceriel a5f950bac7 replaced size_t by siz_t; size_t is reserved for ANSI C 1989-08-21 10:17:49 +00:00
ceriel 3c03d3f68c pc directory no longer distributed 1989-08-16 13:03:58 +00:00
ceriel 9407523510 prevent core dump when the input file is not present 1989-08-15 09:06:26 +00:00
ceriel 048099535a removed old dependency on EM_WSIZE 1989-08-10 09:23:44 +00:00
ceriel 5b23cab8e9 removed old EM_WSIZE dependency 1989-08-09 16:34:27 +00:00
ceriel a1a78e3b70 include mach directory (for con_float) 1989-08-02 10:34:49 +00:00
ceriel a0eb2f398d LIBSUF must be 'a', not 'ma' 1989-07-19 08:56:46 +00:00
ceriel c6cbc82178 merged -m flag with -j flag 1989-07-17 16:40:18 +00:00
ceriel 3e357f311f documented environment variables, changed EM_DIR into ACKDIR 1989-07-17 16:19:10 +00:00
ceriel 09a52b8cf2 fixed a problem with recursive macros: this was not always detected 1989-07-14 09:51:02 +00:00
ceriel cd8f86a7e4 Added descriptions for EM machines 1989-06-27 15:46:58 +00:00
ceriel 58f837cd33 fixed reading of archives 1989-06-27 15:41:47 +00:00
ceriel f781103cb4 removed some useless PushBack's, and added warnings 1989-06-27 11:43:26 +00:00
ceriel f99f25cc5f fix: sizes were the wrong way around for MAXINSTR 1989-06-19 09:57:35 +00:00
ceriel 676aee2213 Added call to C_close in the fatal routine 1989-06-15 19:08:18 +00:00
ceriel 4dfa2310fc continue when an include file is not found 1989-06-15 09:16:27 +00:00
ceriel 64a35f954d leave register messages with a count of 0 1989-06-05 15:47:53 +00:00
ceriel ced856c234 improved fix 1989-05-30 14:50:16 +00:00
ceriel e6fb294aac transform HOL into BSS so that IL does not get confused 1989-05-30 14:32:12 +00:00
ceriel 8f2fe1c003 token references in EM replacements do not work. Give error message 1989-05-30 12:20:54 +00:00
ceriel 6266743c4c static links are not considered read-only anymore 1989-05-30 10:44:34 +00:00
ceriel aaea752423 Added version number to binary 1989-05-29 11:17:40 +00:00
ceriel 4a1f9bbc22 bug fix: did not handle #elif right 1989-05-29 11:11:34 +00:00
ceriel fdcad08fdf fixed typo 1989-05-25 17:22:27 +00:00
dick 0afe372ebb some printf format corrections 1989-04-17 10:10:59 +00:00
ceriel d650e927a7 recognize but ignore #pragma 1989-03-31 10:56:53 +00:00
ceriel 87c1bc774b fix to fix 1989-03-30 15:14:37 +00:00
ceriel 96840e712d fix: prevent unwanted sign-extension in the get4 routine 1989-03-30 09:34:43 +00:00
ceriel 6ac4bb17aa check arguments better 1989-03-29 14:58:42 +00:00
ceriel 61f0a89372 declare extnd_main 1989-03-22 16:55:06 +00:00
ceriel 96c4943ef7 Added extnd_main routine 1989-03-22 16:44:20 +00:00
ceriel d763d3ddeb fixed: beginpart must divert main stream 1989-03-22 16:41:38 +00:00
ceriel a432f84eb0 more fine-tuning 1989-03-20 12:36:22 +00:00
ceriel 11cb7edde4 Also put the unstackset in tables.c, so that ncg can look at it 1989-03-17 16:34:39 +00:00
ceriel bfe38b6f40 no dependencies in suffix rules 1989-03-15 13:28:52 +00:00
ceriel 0975784c8d some changes for more fine-tuning 1989-03-13 14:12:22 +00:00
ceriel 18d134bda7 put saved label in correct segment 1989-03-10 10:08:22 +00:00
ceriel 33992b426d fix: when looking for f.i. C_loe.., forgot to reset to_change when found 1989-03-10 10:06:47 +00:00
ceriel f740dcf176 cleaner versions of Makefiles 1989-03-10 09:47:41 +00:00
ceriel ae34da5376 simplified a bit 1989-03-07 10:33:47 +00:00
ceriel 3370f962a4 undid some changes; they were not effective 1989-03-07 10:29:15 +00:00
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