Commit graph

55 commits

Author SHA1 Message Date
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
sater e30825a5dd Fixed bug: after BRA instruction was optimized away the variable lastbra
pointed to the instruction following. This could lead to anything,
including bus errors. Lastbra is now reset to 0.
Bug discovered at Philips PMDS by Hans de Vries. The fix is also his.
Actually the function cleaninstr should be rewritten.
1984-06-28 10:40:09 +00:00
sater d34532e79d Incorporated variable length identifiers.
Courtesy Johan Stevenson
1984-05-18 13:04:34 +00:00
em 7ac5028864 added rcsid 1984-05-17 15:51:42 +00:00
em 5138be020c changed format of rcsid 1984-05-17 14:37:15 +00:00
em 7d36c44c56 changed rcsid to rcsid2 1984-05-17 14:28:57 +00:00
sater 3c197c150a added rcsid 1984-05-17 14:14:29 +00:00
sater 18ffd176ba added rcsid
added pattern for # comments
1984-05-17 14:13:36 +00:00
sater d78dadca3f added rcsid
added field to remember ms_gto
1984-05-17 14:13:06 +00:00