Commit graph

57 commits

Author SHA1 Message Date
carl 21e15965cc ANSI C conversion and add procedure declarations. 2019-05-11 01:17:40 +08:00
George Koehler 3d6ee435cf Fix pattern that was rewriting func(! var, var) as func(1).
Bug reported by Rune, see
 - https://sourceforge.net/p/tack/mailman/message/35809953/
 - https://github.com/davidgiven/ack/issues/62

In EM code, beq and bne pop 2 values and compare them, but teq and tne
pop only 1 value and compare it with zero.  We need cms to compare 2
values; other patterns may convert cmi or cmu to cms.
2017-10-29 14:53:33 -04:00
ceriel 4851c0c9f3 Fine tuning of some patterns 1994-10-19 14:09:26 +00:00
ceriel 5c83e7dbb5 Header --> Id 1994-06-24 11:31:16 +00:00
ceriel 256151c7e4 Added some patterns and fixed error in constant multiplication 1993-02-03 10:10:07 +00:00
ceriel 6896679afd Added some patterns involving DUPs 1992-09-01 11:16:20 +00:00
ceriel 016273ba99 And some more ... 1992-07-22 13:45:08 +00:00
ceriel 4adaf3165f Added some patterns 1992-07-22 13:37:27 +00:00
ceriel bc42e31518 Fixed problem with repl_mul(); it was called far too often 1992-04-24 12:39:58 +00:00
ceriel 0d055f2272 Added some patterns 1991-10-04 11:10:07 +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 62bad715c2 Added some patterns for Kees Visser 1991-03-21 09:50:06 +00:00
ceriel abb28f949a Corrected some patterns 1991-01-14 17:13:58 +00:00
ceriel 5efd4280ee Added patterns 1990-09-25 15:04:55 +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
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 01f77a03af Added CBO (commutative binary operator) to make it a little easier to
write reordering patterns
1989-10-20 11:59:52 +00:00
ceriel f3a7c72ddb Added some XOR patterns 1989-10-04 14:35:50 +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 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 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 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 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 231841bcfe Added some patterns, generate mes 8 after mes 2 1987-05-20 13:56:26 +00:00
ceriel 80ff3e60c4 2 last minute-additions (oh dear ...) 1987-04-03 16:21:24 +00:00
ceriel 6f9a14000c Some minor improvements 1987-02-23 11:01:13 +00:00
ceriel ece95a2ee4 Some bug fixes 1987-01-15 17:36: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
sater 14b982346f Error fixed where w==2 was assumed 1986-08-28 10:28:42 +00:00
ceriel e2cfecffe3 Added some new patterns involving multiplies with 0, 1 etc. 1986-02-10 10:14:41 +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