e006f1ec29
increased MAXNODES in small memory mode
sater
1984-08-23 12:25:24 +00:00
1c36c470db
Increased the amount of information passed through error routines to printf. The routine badassert, running on a 2/4 machine lost it's last argument on the way. Anyone know of a better way to solve this problem?
sater
1984-08-17 15:35:28 +00:00
6474db065f
Revised to include rcsid of pattern file in binary opt
sater
1984-08-16 16:08:39 +00:00
10b16f7c76
enlarged string table in big memory case
sater
1984-08-16 13:34:59 +00:00
1ff6c3236f
added patterns to prevent stacking in *p++ cases
sater
1984-08-15 16:05:54 +00:00
19b13e8e4f
added patterns to remove some more dup's
sater
1984-08-15 16:04:19 +00:00
e5d1aebbae
added patterns for inc/dec/adp of local and external offsetted This makes the getc() macro from C very efficient, among others
sater
1984-08-15 14:31:54 +00:00
b23de46c3a
added patterns to remove as many dup's as possible.
sater
1984-08-15 14:23:42 +00:00
9bdd1abf9a
added definition of malloc(). Program crashed on 2/4 machines
sater
1984-08-08 10:54:04 +00:00
6180399964
reworked patterns for autoincrement stores, now that peephole optimizer rearranged it.
sater
1984-08-07 10:22:49 +00:00
db0822fa37
added patterns for *p++ local and external p added pattern to remove some badly placed dups
sater
1984-08-03 16:37:15 +00:00
11026ace27
added setcc calls to some incrementing ops added patterns for indirect local and external increments added patterns for loe ine and such
sater
1984-08-03 16:33:40 +00:00
76281fa307
removed some superfluous patterns. Were special cases not needed with the general case.
sater
1984-08-03 13:16:59 +00:00
dbcebe6e4c
A move from a nonreg to a reg did not have the effect that all registers clashing with the destination were erased. Erase added.
sater
1984-08-02 16:31:25 +00:00
8a4d834bc6
The name "unix" is now predefined for preprocessor usage.
keie
1984-08-02 14:13:04 +00:00
925701dc62
When building the parameter list for a pf-call, the line number for the exchanges war remembered at the wrong time. This caused: foo(3,'string') to cause an external identifier for the string. Fixed.
sater
1984-07-31 09:39:35 +00:00
385d7ffbd8
String initializer handling is changed. Strings are now considered to be sequences of xU1's. No alignment is done before or after the string other than the alignment done for names and segment type switches.
keie
1984-07-30 14:42:33 +00:00
e1c24cb475
bug fixed: added "fprintf(codefile,""rts\n");" to restr()
bal
1984-07-30 12:47:54 +00:00
964976ff0b
bugs fixed (syntax errors, patterns moved to front, "ldl ldl adp sdl sti" requires DATAREG instead of ANY1 on fakestack)
bal
1984-07-30 11:16:41 +00:00
4eea24fe69
patterns added to generate autoincrement and to generate a "move X,d0" instead of a "move X,-(sp)" before storing into X
bal
1984-07-27 16:53:19 +00:00
61da47ea52
removed all calls to blm~ from table duplicated some patterns for in[lc] to deal with de[lc] extra rule for adi 2 to deal with source1 cleverly
sater
1984-07-23 11:29:59 +00:00
d6a3a26314
removed blm.s, not used by table anymore
sater
1984-07-20 16:20:54 +00:00
eca6c1f306
edited to make reentrant, no more globals in use
sater
1984-07-20 16:20:28 +00:00
1a0102783f
A sti 8 of a regdef8 token went into panic mode. Fixed.
sater
1984-07-20 10:32:48 +00:00
1e5056bcc0
to check long >= 0 or long < 0 it is enough to test high order word. Added. anding and oring of long constants is much better now dvu 2 and rmu 2 by positive constants is now done inline.
sater
1984-07-19 16:50:27 +00:00
309ed81674
Archive made with archiver in environment ASAR if set, arch otherwise
sater
1984-07-19 14:55:12 +00:00
badfdeb5db
removed #ifdef UNTESTED around logical instructions without arguments, seems they were used ( which implicitly means tested ) after all
sater
1984-07-19 14:03:49 +00:00
1e806d2a28
old code put back, now register handling is different again actually old code never was removed, due to a misunderstanding about comment conventions.
sater
1984-07-19 13:12:03 +00:00
18d72ffde3
makefile adapted to new style archive handling, RCS and all that
sater
1984-07-19 13:11:36 +00:00
53c19368d5
a setl instruction was changed to a setd setl was just plain wrong
sater
1984-07-19 13:09:53 +00:00
8bbb3ddca7
New implementation of GTO (without register save masks) several optimizations added
bal
1984-07-19 11:15:28 +00:00
8fef858ce8
New implementation of GTO (without register save masks)
bal
1984-07-19 11:07:15 +00:00
39428d2028
rcsid added several optimizations added
bal
1984-07-19 11:02:06 +00:00
e5895a2768
rcsid added clr.w -(sp) generated in prolog if register save mask is 0
bal
1984-07-19 10:57:19 +00:00
250f0df7f7
Initial revision
bal
1984-07-19 10:03:10 +00:00
a481838875
fixup commit for branch 'unlabeled-1.1.1'
cvs2hg
1984-07-19 09:37:25 +00:00
85c15fca29
Initial revision
bal
1984-07-19 09:37:24 +00:00
3422e2338c
added patterns for ldc adi/ldc sbi with zero high order word added patterns for *--p with p register added patterns to generate cmpb to compare two bytes. added patterns to use regvar to index global array added patterns for lol inl added patterns for external pointer increment/decrement
sater
1984-07-18 16:47:24 +00:00
e92ac2c6d3
The patterns to change a cii to cuu when dealing with a known positive quantity was technically wrong. Changed to generate a cui.
sater
1984-07-18 15:54:25 +00:00
35fbddd030
added definition of index, to keep compiler happy
sater
1984-07-18 14:14:46 +00:00
c65b0f7044
removed recursive comments removed NC with sti rules added rule to reverse operands of adi 2 added rule to convert loc sbi to loc adi added loc slu -> loc sli rule added local++ rule added rule for asping xsource2 added rule for csb when nothing on stack
sater
1984-07-18 13:39:24 +00:00
84fca60378
added rcsid changed instruction label format to allow more than 256 procedures
sater
1984-07-18 13:32:11 +00:00
7c5508ddbd
changed instruction label format to allow more than 256 procedures
sater
1984-07-18 13:28:01 +00:00
d33e4ac474
added rcsid converted to recognize and generate new 0%o format
sater
1984-07-18 13:14:18 +00:00
0a4d372056
added patterns for unsigned shifting added patterns to delay additive operations until after multiplicative, this can be useful for some register machines
sater
1984-07-18 11:05:28 +00:00
42c556cc1f
added missing #endif added two patterns, big improvement added patterns for ciu and cui some cosmetic change
sater
1984-07-13 16:13:56 +00:00
a618660635
The check for a too high offset in a hol is repaired.
keie
1984-07-13 15:03:05 +00:00
965a2fa352
A bug in the exchange was repaired. Exchanges across pseudo-instructions didn't work properly.
keie
1984-07-13 15:01:23 +00:00
d8238383ca
Removed some patterns that have never been tested. Now if someone uses them he will hear that it doesn't work. That must be better then giving him code that probably won't work. All these patterns had to do with things like adf without an argument and things like that.
sater
1984-07-13 14:55:37 +00:00