Commit graph

16 commits

Author SHA1 Message Date
bal 0db1db10b8 Bug fixed: cg generated instructions like "and.l #2,a4", which are
not allowed on the 68000.
The condition "inreg($...) < 2" is added to every EM-pattern that
accesses local non-register variables. So the ordering of the
patterns for regvar/non-regvar is no longer important.
1985-05-01 12:53:33 +00:00
bal 7b745d6fb2 Bug fixed for pattern 'sti $1 > 4' (ADDREG -> ADDSCR)
Bug was present since version 1.1
1985-04-16 15:24:23 +00:00
bal ca9a6feeb0 floating point stuff added 1985-04-12 15:47:30 +00:00
keie 26999bb517 To avoid conflict while compiling with acc itself the word
size of the target machine is now defined as TEM_WSIZE.
1985-02-01 12:32:46 +00:00
bal d1c0d1db13 Bugs fixed for the following patterns:
lol loc 255 and 2  (byte order was wrong)
loc x beq , 0 < x < 128  (was 0 < x < 256)
loc x bne (idem).
These bugs were introduced in version 2.2.
1985-01-30 16:34:14 +00:00
bal 46dc90f366 bug fixed: generate "add.l #65536,a1" rather than "lea 65536(a1),a1".
The latter form is only generated for constants that fit in a word.
1984-10-08 12:45:38 +00:00
bal ebed9d4804 unlk a6 added to restr(). 1984-09-11 15:44:14 +00:00
bal 6e519cf02b bug fixed: added "fprintf(codefile,""rts\n");" to restr() 1984-07-30 12:47:54 +00:00
bal f2e52892ac bugs fixed (syntax errors, patterns moved to front,
"ldl ldl adp sdl sti" requires DATAREG instead of ANY1 on
fakestack)
1984-07-30 11:16:41 +00:00
bal 233b4aeee4 patterns added to generate autoincrement and to generate
a "move X,d0" instead of a "move X,-(sp)" before storing into X
1984-07-27 16:53:19 +00:00
bal da4092cbdf New implementation of GTO (without register save masks)
several optimizations added
1984-07-19 11:15:28 +00:00
bal c1fd560106 New implementation of GTO (without register save masks) 1984-07-19 11:07:15 +00:00
bal 17caf7129e rcsid added
several optimizations added
1984-07-19 11:02:06 +00:00
bal a520ccdbbc rcsid added
clr.w -(sp) generated in prolog if register save mask is 0
1984-07-19 10:57:19 +00:00
bal eeeff10a51 Initial revision 1984-07-19 10:03:10 +00:00
bal c75693c35a Initial revision 1984-07-19 09:37:24 +00:00