Commit graph

178 commits

Author SHA1 Message Date
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
sater 4eb6ac7b9a added rcsid + some minor reshaping 1984-05-17 14:06:18 +00:00
sater b40016f6fd added rcsid 1984-05-17 13:57:07 +00:00
sater 29202fe224 added rcsid
Changed register message output to terminate with ms_gto, if input
  procedure contained one.
1984-05-17 13:56:00 +00:00
sater 7a8f9ed57c added rcsid
Recognize and process mes ms_gto
1984-05-17 13:54:01 +00:00
sater ac23d5c871 Initial revision 1984-05-17 13:42:36 +00:00