Commit graph

163 commits

Author SHA1 Message Date
ceriel 53b7af7a80 New installation mechanism 1991-08-27 09:20:30 +00:00
ceriel edd602fcdb Keep ms_stb's where they are 1991-08-27 09:08:05 +00:00
ceriel 7258ccc596 Added some more patterns 1991-04-19 12:03:49 +00:00
ceriel 8e8f0b4079 fixed typo 1991-04-05 09:45:11 +00:00
ceriel 71dfb50135 Added some re-ordering patterns 1991-04-04 16:45:31 +00:00
ceriel 0f809c61dc Added some patterns 1991-03-26 18:10:29 +00:00
ceriel 1dff113351 Delinted 1991-03-22 14:26:10 +00:00
ceriel 62bad715c2 Added some patterns for Kees Visser 1991-03-21 09:50:06 +00:00
ceriel e929b5839f Fixed problem with top-of-stack mechanism on globally optimized code 1991-03-04 15:04:14 +00:00
ceriel 3f922854b3 fixed typo (?) 1991-02-19 16:54:06 +00:00
ceriel 2c31a9b1ac removed -i flag 1991-02-19 16:51:50 +00:00
ceriel 977d93dc67 reduce memory usage (again) 1991-02-01 10:21:39 +00:00
ceriel ae5dded36f simplified 'tes' mechanism 1991-01-31 15:17:04 +00:00
ceriel abb28f949a Corrected some patterns 1991-01-14 17:13:58 +00:00
ceriel efa476b5b3 Made acceptable for flex 1991-01-11 14:28:59 +00:00
ceriel ae8ca35563 made Makefile more portable 1990-11-27 16:41:13 +00:00
ceriel 03a25ece8a don't move ms_ego's 1990-11-13 11:26:04 +00:00
eck e6fd25052a handle 'asp -x' correctly, instead of giving up 1990-11-06 13:22:15 +00:00
ceriel 5efd4280ee Added patterns 1990-09-25 15:04:55 +00:00
eck 65f74f5c72 changed shc.[ch] to tes.[ch] in .distr 1990-09-19 15:14:07 +00:00
eck 9915ed4bc2 stupid error fixed: tes shouldn't have worked 1990-09-06 08:59:02 +00:00
eck 58355b7041 changed stackheight computation to top element size computation 1990-09-04 16:42:43 +00:00
ceriel 257c868cc7 don't throw away pseudo's, even if they are not reachable 1990-08-02 16:01:21 +00:00
ceriel 79ce5a13a0 only leave ms_std's if prodepth > 0 1990-08-01 14:36:45 +00:00
eck f321062250 fixed bug with state 1990-07-26 15:08:49 +00:00
ceriel 27b1d561b5 do not move ms_std message, added shc.c and shc.h to .distr 1990-07-25 17:10:40 +00:00
eck aca2c5f4b1 forgot pop_push.awk 1990-07-18 16:31:32 +00:00
eck 379511e232 added stackheight computation 1990-07-18 14:33:07 +00:00
ceriel 63fe4e0a18 Added patterns 1990-07-12 16:12:17 +00:00
ceriel 3ae582dfd7 Added some more patterns 1990-06-25 16:58:33 +00:00
ceriel 45783a1e73 Added a SBS pattern for constant args 1990-06-13 09:59:11 +00:00
ceriel a4e5e4eeaa Added a pattern 1990-05-18 10:47:12 +00:00
eck d3208e42ca changed commented #define's into #undef's 1990-03-14 12:49:16 +00:00
ceriel 8ec051b83e Added some patterns 1990-02-28 12:10:19 +00:00
ceriel b0c09c2a94 Added some more patterns 1990-02-28 11:14:39 +00:00
ceriel eaf856c7a0 Added some patterns for unsigned compares 1990-02-09 15:28:46 +00:00
ceriel 1ece6f9107 Added a few more patterns 1989-11-08 12:44:33 +00:00
ceriel 67e5a8e7a5 improved check for loop 1989-10-30 15:17:01 +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 0faaec8e3d cleaned up Makefile 1989-10-12 16:18:38 +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 048099535a removed old dependency on EM_WSIZE 1989-08-10 09:23:44 +00:00
ceriel 64a35f954d leave register messages with a count of 0 1989-06-05 15:47:53 +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 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 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 66ae1083a8 Added some patterns 1988-12-08 13:21:07 +00:00
ceriel 41d0500d81 replaced relative includes by <> includes 1988-09-12 09:13:49 +00:00
ceriel 61a911c631 some fixes 1988-08-18 15:32:47 +00:00
ceriel ec40d28c25 Added some patterns to evaluate constant shifts 1988-06-22 13:47:57 +00:00
ceriel 16e657858a Some improvements 1988-06-15 13:15:41 +00:00
ceriel 750aad12f6 Made a bit more portable 1988-04-19 19:46:28 +00:00
ceriel 9dce6c6b88 Added patterns for loc sbu and loc adu 1988-03-23 16:52:23 +00:00
ceriel bdc37d879e Added some patterns 1988-01-12 13:27:11 +00:00
ceriel 9bcd5473ad minor adaption: index array with int, not long 1987-08-19 15:27:15 +00:00
ceriel 72e27e7dab put mes 2 in front 1987-05-20 14:09:21 +00:00
ceriel 231841bcfe Added some patterns, generate mes 8 after mes 2 1987-05-20 13:56:26 +00:00
ceriel 81b1d21c35 Initial revision 1987-04-13 10:32:47 +00:00
ceriel 80ff3e60c4 2 last minute-additions (oh dear ...) 1987-04-03 16:21:24 +00:00
ceriel eeb5148f29 BMASK was unsigned, which caused problems with some C compilers (ours) 1987-03-25 15:57:22 +00:00
ceriel 1dd241938c replaced cc by $(CC) 1987-03-24 11:10:23 +00:00
ceriel e2eeea5162 remove regnoglob.c and regglob.c before copying to them 1987-03-11 15:39:01 +00:00
ceriel 6c812387fd Added copyright notice 1987-03-10 01:42:07 +00:00
ceriel 815166e421 Added copyright notice 1987-03-09 19:15:41 +00:00
ceriel fa0f6cd0c6 Lindseys fix to a bug with nested procedures 1987-03-09 10:15:51 +00:00
ceriel c05eb0a5c7 *** empty log message *** 1987-02-24 16:07:04 +00:00
ceriel 35e75e3d55 Added a dependency 1987-02-23 11:02:31 +00:00
ceriel 6f9a14000c Some minor improvements 1987-02-23 11:01:13 +00:00
ceriel 8360226526 Added "opt2" to the clean entry 1987-02-07 02:57:09 +00:00
ceriel ece95a2ee4 Some bug fixes 1987-01-15 17:36:26 +00:00
ceriel 281f83968c This one works. 1987-01-12 14:06:47 +00:00
ceriel cb2b167849 New Makefile, also generating opt2 (t.i. peephole optimizer after global ..) 1987-01-12 14:01:26 +00:00
ceriel eba14fa801 Bug fix in "inc loc adi" patterns and the like. 1986-11-24 10:42:29 +00:00
ceriel bfad7d30f0 Added a pattern for "ldc ads". 1986-09-24 12:17:25 +00:00
ceriel a2599744f0 Addition of new patterns. 1986-09-23 09:41:47 +00:00
em c685aa11b5 set limit on optimization passes to prevent loop
in optimizer in case of bad table.
1986-09-09 13:10:15 +00:00
sater 14b982346f Error fixed where w==2 was assumed 1986-08-28 10:28:42 +00:00
sater f1a0c90fb1 removed sanity checking on result from sprintf
System IIIish systems seem to have their own idea.
1986-06-17 09:13:11 +00:00
ceriel e2cfecffe3 Added some new patterns involving multiplies with 0, 1 etc. 1986-02-10 10:14:41 +00:00
keie 2e947a5e91 BSD4.3 size returns an error when it cannot find one of
its arguments.
1985-10-15 15:47:12 +00:00
em 2c4b17e464 Compile-time option GLOBAL_OPT defined. If set, the resulting
peephole optimizer will be suitable for optimizing the output of
the global optimizer. In particular, it doesn't change the register
messages.
1984-09-14 10:25:07 +00:00
sater 822b1c557c Revised to include rcsid of pattern file in binary opt 1984-08-16 16:08:39 +00:00
sater d1b3479a55 added patterns to remove some more dup's 1984-08-15 16:04:19 +00:00
sater eebcf1b22c added patterns to remove as many dup's as possible. 1984-08-15 14:23:42 +00:00
sater eff0f36a5d added patterns for *p++ local and external p
added pattern to remove some badly placed dups
1984-08-03 16:37:15 +00:00
sater 59fa458a20 removed some superfluous patterns.
Were special cases not needed with the general case.
1984-08-03 13:16:59 +00:00
sater 2943d957bb The patterns to change a cii to cuu when dealing with a known positive
quantity was technically wrong. Changed to generate a cui.
1984-07-18 15:54:25 +00:00
sater 0473678491 added patterns for unsigned shifting
added patterns to delay additive operations until after multiplicative,
  this can be useful for some register machines
1984-07-18 11:05:28 +00:00
sater ea298b258e changed format of rcsid message 1984-07-12 15:18:13 +00:00
sater 2dc4c564e2 added rcsid 1984-07-12 14:55:49 +00:00
sater 96969afa26 Initial revision 1984-07-12 14:14:54 +00:00
sater 2f56cb1cad reworked to use ack instead of npc.
made more user-friendly (ha ha)
1984-07-12 10:42:33 +00:00
sater aa9d50ff5a The sequence:
lin 100
  cal $foo
  lin 101
used to have it's second lin lni'ed. This is obviously wrong.
A check is now made for procedure calls.
1984-07-12 09:29:49 +00:00