Commit graph

325 commits

Author SHA1 Message Date
ceriel
e64951e1d3 removed some lint complaints 1988-06-28 14:41:02 +00:00
ceriel
2f7e414d42 corrected lint entry 1988-06-28 14:36:21 +00:00
ceriel
59dbc95e0d made bittable dynamic 1988-06-16 13:46:38 +00:00
ceriel
16e657858a Some improvements 1988-06-15 13:15:41 +00:00
ceriel
2563acb019 Added pattern for ASS 4 1988-06-13 13:42:39 +00:00
ceriel
9388fb69f8 be careful about overflow in con_float 1988-04-28 15:03:03 +00:00
ceriel
88acb4c4d9 be careful about overflow in con_float 1988-04-28 14:46:11 +00:00
ceriel
264773ee06 fixed bug in SIM and SIG 1988-04-25 17:05:36 +00:00
ceriel
b68e30f6ff avoid use of modf; not portable 1988-04-22 14:11:55 +00:00
ceriel
06c28ad222 do not call frexp with 0.0; the SUN4 cannot stand it 1988-04-20 10:01:35 +00:00
ceriel
7971761628 generated illegal code; fixed 1988-04-14 16:03:55 +00:00
ceriel
287ff14a1f fixed typo 1988-04-11 14:46:41 +00:00
ceriel
9d7f47c37a adapted to new semantics of the EHEAP error: no longer fatal 1988-04-11 11:27:37 +00:00
ceriel
6535d32447 Added libm2 1988-04-08 13:39:19 +00:00
ceriel
92255b2a25 Added libfp 1988-04-07 12:31:47 +00:00
ceriel
9a7b199a5c Initial revision 1988-04-07 12:28:10 +00:00
ceriel
04cabf258d Initial revision 1988-04-06 14:24:36 +00:00
ceriel
4e419a19cd delinted 1988-03-31 10:38:05 +00:00
ceriel
63a89b7080 modified to use PAREN_OPEN and PAREN_CLOSE 1988-03-14 16:15:23 +00:00
ceriel
ea9e90d785 fixed for operand separators within operands 1988-03-14 15:58:07 +00:00
ceriel
23be652f11 CMI was translated wrongly; corrected 1988-03-14 13:42:20 +00:00
ceriel
eb6a4a95cd deleted some patterns that were wrong, and apparently never used 1988-03-14 13:30:48 +00:00
ceriel
a24c41e9cf fix in LXA 1988-03-11 16:34:22 +00:00
ceriel
83d7633503 a minor improvement 1988-02-17 15:41:27 +00:00
ceriel
9cc60526b7 Added floating point stuff 1987-12-02 09:04:32 +00:00
ceriel
e3501a00dc handle rounding of floating point constants 1987-11-25 16:58:31 +00:00
ceriel
028beaf5e6 corrected con_float 1987-11-06 13:12:21 +00:00
ceriel
9e9a6d4575 improved ffp.s 1987-11-04 10:07:57 +00:00
ceriel
4b265a4f0a improved alignment checking 1987-11-03 16:43:24 +00:00
ceriel
e2037c2e4b fixed some problems, and added floating point library 1987-11-03 15:35:43 +00:00
ceriel
032e9ebda5 fixed some problems with 1 and 2 byte compares 1987-10-29 15:10:30 +00:00
ceriel
876026bedf Some improvements 1987-09-29 09:03:49 +00:00
ceriel
1ce6abf3de replaced printfs by fputs where possible 1987-09-08 09:00:29 +00:00
ceriel
c5d9d997b0 Added .globl, fix in Xfit call 1987-08-26 14:45:27 +00:00
cvs2hg
8d7ceb6d6c fixup commit for tag 'distr2' 1987-08-26 13:58:31 +00:00
ceriel
cbcde9a311 told ncg that jsr kills the scratch registers 1987-08-19 19:51:13 +00:00
ceriel
538f21b781 some fixes to additions 1987-08-13 15:30:48 +00:00
ceriel
0ba64871f6 added many patterns 1987-08-12 16:19:02 +00:00
ceriel
fe67243700 generate commons for bss 1987-08-06 15:11:09 +00:00
ceriel
7f7f9b36cd some nofits are actually errors 1987-08-06 11:17:30 +00:00
ceriel
84bce837a0 fix in a call to record 1987-07-30 16:04:29 +00:00
ceriel
3929b47776 deleted useless tst.b instruction 1987-07-20 14:31:46 +00:00
ceriel
69843cf9ce Added -DNDEBUG to Makefile, table now kills regvars 1987-07-06 15:28:59 +00:00
ceriel
d41028a664 pass EMHOME to nested make 1987-06-30 18:30:45 +00:00
ceriel
87c67b8c5f EM --> EMHOME 1987-06-30 18:20:25 +00:00
ceriel
1e5688a10e exg instruction translated wrong 1987-06-11 14:44:48 +00:00
ceriel
81b1d21c35 Initial revision 1987-04-13 10:32:47 +00:00
ceriel
96d15a6c05 minor mod 1987-04-03 11:18:49 +00:00
ceriel
d2734bbdd9 "word" is always a long 1987-04-02 10:17:06 +00:00
ceriel
db437cbda8 moved interpreter to another place 1987-03-30 09:05:14 +00:00
ceriel
34f41d7bf1 bug fix 1987-03-24 08:41:44 +00:00
ceriel
375b5e9182 Bug fix in BLM 1987-03-20 19:21:23 +00:00
ceriel
b86dc9f84d adapted for 7 character significance 1987-03-19 10:16:56 +00:00
ceriel
88db8b43da Added distr entry 1987-03-19 10:12:51 +00:00
ceriel
15382edbd6 *** empty log message *** 1987-03-17 16:24:42 +00:00
ceriel
6eaf182cee Added Rcs Id 1987-03-10 11:49:39 +00:00
ceriel
5537abbdfb Added copyright notice 1987-03-10 01:26:51 +00:00
ceriel
815166e421 Added copyright notice 1987-03-09 19:15:41 +00:00
ceriel
b7ee0bf85e *** empty log message *** 1987-03-03 11:22:29 +00:00
ceriel
f5099e7d9a *** empty log message *** 1987-02-26 19:54:57 +00:00
ceriel
84e04a4859 Added Occam 1987-02-25 19:45:49 +00:00
ceriel
4922093f24 Initial revision 1987-02-25 19:45:17 +00:00
ceriel
7cf87cb2a3 *** empty log message *** 1987-02-10 09:34:45 +00:00
ceriel
4d10540d8d removed %0 stuff 1987-02-09 16:47:04 +00:00
ceriel
6d0a4a9ce0 changed directory: nas --> as 1987-02-09 16:29:15 +00:00
ceriel
4be7b3dfa5 Removed a %03x, which does not work on USG systems 1987-02-09 16:26:56 +00:00
ceriel
7dfb3c92ba target optimizer directory name is "top", not "opt" 1987-02-07 00:56:42 +00:00
ceriel
836fc810b3 Added target optimizer 1987-02-02 20:23:42 +00:00
ceriel
d8e018a044 *** empty log message *** 1987-02-02 11:22:47 +00:00
ceriel
e41a2618f8 Made floating point stuff depend on a #define: FPPSIM 1987-02-02 10:16:40 +00:00
ceriel
ae3c81e0a6 Made floating point stuff depend on a #define: FPPSIM 1987-02-02 09:59:02 +00:00
ceriel
60f9744253 Adapted to current situation 1987-02-01 22:13:26 +00:00
ceriel
ec29d3b4a1 Initial revision 1987-02-01 21:53:24 +00:00
ceriel
7ab43d62db *** empty log message *** 1987-02-01 21:27:52 +00:00
ceriel
2b9c2283db *** empty log message *** 1987-01-30 20:27:28 +00:00
ceriel
095367ac29 machine name change: l68k2 --> m68k2 1987-01-30 20:24:35 +00:00
ceriel
47a1e91c19 name change of lib 1987-01-30 20:23:09 +00:00
ceriel
f648d5d0ab Name change of lib, added head_em 1987-01-30 20:22:52 +00:00
ceriel
3c60c1918e changed #define m68020 to TBL68020.
Could otherwize cause problems when translated with ack
1987-01-30 10:57:17 +00:00
ceriel
27e48672bb no F_DUM in dummy float 1987-01-29 19:49:35 +00:00
ceriel
536611f0a2 Initial revision 1987-01-29 19:42:53 +00:00
ceriel
ebd44261fe cc --> $(CC), added -O flag to CFLAGS 1987-01-28 12:49:42 +00:00
ceriel
177e335cad Initial revision 1987-01-13 09:24:13 +00:00
ceriel
e77bde5e75 Added TABLEFLAGS and CGGFLAGS. 1987-01-12 15:10:49 +00:00
ceriel
031d26deb4 Preprocess table. 1987-01-12 14:50:25 +00:00
ceriel
947461e31f Removed DUK 1986-12-04 16:35:04 +00:00
ceriel
b44e39cce8 Version that uses libobject.a. 1986-12-01 15:35:28 +00:00
ceriel
552f5a3f61 Initial revision 1986-11-24 21:52:09 +00:00
ceriel
dbb351f078 Handled gen.c wrong. This is corrected. 1986-11-24 21:30:57 +00:00
ceriel
7c5553640e Added -DNDEBUG 1986-11-24 21:01:42 +00:00
ceriel
5ced6d6aef Initial revision 1986-11-24 20:58:35 +00:00
ceriel
36ef5b504b Apparently, ex_ap disappeared. Put it in again. 1986-10-10 15:21:35 +00:00
ceriel
1d0f716a4e Oops, forgot to remove the id_first definition. 1986-10-10 15:09:34 +00:00
ceriel
a43d257715 Added a "fmt_id" define, to prevent that no '_' is placed in front
of an identifier longer than 8 characters.
1986-10-10 15:05:10 +00:00
ceriel
b6dde9472f Bug fix: The "cmp.l" instruction was sometimes used in an illegal way. 1986-09-10 16:03:11 +00:00
ceriel
023073b422 Bug fix: the BLS instruction did'nt work with block moves of one word. 1986-07-25 15:57:03 +00:00
em
c21def03db updated 1986-03-05 17:12:39 +00:00
bal
c9c168d853 Several optimization patterns for DAS (Delftse Ada Subset) frontend added. 1985-10-14 09:27:24 +00:00
bal
7b4b53af21 bugs for ngf 8 and fif 4 fixed (asp 16 --> asp 8). 1985-07-19 18:02:25 +00:00
bal
2e5bf801a0 patterns for "loc loc cii/cui/ciu/cuu $1==$2" added. 1985-07-19 17:58:34 +00:00
bal
04cee55976 .sect .text added 1985-07-19 13:43:03 +00:00
bal
479827380c .sect .text added 1985-07-18 14:52:56 +00:00
keie
1c9723afd7 Using new assembler & linker. 1985-06-04 11:43:01 +00:00
keie
23bf60a80e Adapated to use of new linker & assembler. 1985-06-04 11:30:54 +00:00
keie
04e97ce36b *** empty log message *** 1985-06-04 11:18:43 +00:00
keie
0370ea6d61 Adapted to use of the new assembler & linker 1985-06-04 11:18:09 +00:00
keie
a9bbf81f93 Adapted to use of new assembler & linker 1985-06-04 10:57:42 +00:00
keie
fa2547ddf7 Adapted to use of new linker & assembler. 1985-06-04 10:44:10 +00:00
keie
a26a8318da Adapted to using the new assembler & linker. 1985-06-04 10:40:50 +00:00
keie
206c33b6bc Added a module for fake floating point. 1985-06-04 10:39:45 +00:00
keie
5acb12ebe0 Now prevents inclusion of failed compilations into libraries. 1985-06-04 10:32:27 +00:00
keie
040aa7115c Adapted to use of new assmbler and linker. 1985-06-04 10:32:07 +00:00
keie
531353e14d More adapted to use by march. 1985-06-04 10:30:18 +00:00
keie
3f83d34dd9 Adapted to use of the new assembler and linker. 1985-06-04 10:29:56 +00:00
keie
5fc5b3c32d A version that tells march to not try to include objects
of modules that failed to translate in the library.
1985-06-04 10:26:06 +00:00
keie
227a684c70 Adapted tu use new assembler & linker. 1985-06-04 10:25:30 +00:00
keie
be932f0f5b 1 - Changed %D into %ld.
2 - Adapted to the new linker.
1985-06-04 10:21:15 +00:00
keie
177af75c93 *** empty log message *** 1985-05-13 11:19:24 +00:00
keie
8cbd17b1ba *** empty log message *** 1985-05-13 11:06:30 +00:00
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
em
a0a7a48c3b The reading of the input is now machine independent. 1985-04-22 15:13:24 +00:00
em
89a37681fc *** empty log message *** 1985-04-22 14:12:26 +00:00
bal
d0e857ddb2 Initial revision 1985-04-18 15:14:37 +00:00
bal
928e341f16 Bug fixed: incorrect return value
New version adapted from m68k4 version.
1985-04-18 15:12:29 +00:00
bal
3759de23eb Extra systems calls added 1985-04-18 15:12:06 +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
keie
772b64fabd *** empty log message *** 1985-04-12 16:56:43 +00:00
bal
ca9a6feeb0 floating point stuff added 1985-04-12 15:47:30 +00:00
keie
dcfe4e8a97 *** empty log message *** 1985-04-09 13:48:55 +00:00
keie
a8fc6009f7 The dl programs is replaced by a more general cv. 1985-03-26 16:20:11 +00:00
bal
954d3a0326 Argument is 4 bytes (pointer), not 2 bytes. 1985-03-05 12:33:29 +00:00
em
bbfb511322 Added .align 2. Prevents end of bss to be odd.
Especially important for malloc, it distinguishes between
odd and even word pointers.
1985-02-17 01:12:36 +00:00
cvs2hg
3f3bddef8f fixup commit for tag 'dist2' 1985-02-17 00:57:20 +00:00
keie
eeb944f6e3 The assembler is used for both 2/4 and 4/4. 1985-02-16 15:49:03 +00:00
em
4f80e81ee7 *** empty log message *** 1985-02-15 22:53:13 +00:00
keie
815b0e0f0f *** empty log message *** 1985-02-12 14:20:30 +00:00
em
dd7e9436a2 *** empty log message *** 1985-02-01 22:12:31 +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
1732114593 bug fixed: the "incr" parameter of sbrk() is a 2-byte integer,
not a 4-byte integer.
1985-01-23 16:31:51 +00:00
bal
218ce4596e The EM runtime routines are reentrant now, so the remark about
reentrancy is removed from this file.
1985-01-17 10:39:33 +00:00
bal
8f7a447719 Bug fixed: a0 is changed by call to _brk, so it should be saved & restored. 1985-01-17 10:33:23 +00:00
keie
d0268a4ec1 *** empty log message *** 1985-01-07 14:15:47 +00:00
keie
e129db8343 1 - Added RCS id.
2 - Used two argument [feature] of install.
1984-12-20 14:26:14 +00:00
keie
6c9e4c84f0 The definition if the symbols, end, endbss etc, is moved
from a library to a file. This to avoid 2 libraries in this
directory.
1984-12-20 14:13:48 +00:00
bal
523457f6ee Initial revision 1984-12-14 15:57:39 +00:00
bal
6babe9fccd Initial revision 1984-12-14 15:52:15 +00:00
bal
ad815f1061 Initial revision 1984-12-14 15:41:14 +00:00
keie
aa0f76a6cd Removed entries for pmds. 1984-12-14 13:45:42 +00:00
keie
9f850cbb2d Comparing shouldn't stop when one compare fails. 1984-12-08 00:40:04 +00:00
keie
a0f184e3d1 Improved "make pr". 1984-12-07 17:14:43 +00:00
keie
89a757d6f9 Added cmp entry. 1984-12-07 16:45:26 +00:00
keie
f9fa5df654 install now allows a source and destination name. 1984-12-07 16:38:13 +00:00
keie
137fa9ebce Adapted to use install in ../.. 1984-10-25 14:28:56 +00:00
keie
0cacc96ed8 Now using the compare script in ../.. 1984-10-25 14:28:19 +00:00
keie
4a20e17a9b Initial revision 1984-10-25 14:28:18 +00:00
keie
3bfc57ecd0 *** empty log message *** 1984-10-25 14:24:43 +00:00
keie
86d96452a3 Altered the installation procedure.
The libraries etc. are now installed in lib/m68k2 using install in ../..
1984-10-25 14:22:53 +00:00
keie
e88028dcb9 Altered to make use of ../../install and ../../compare. 1984-10-25 14:19:58 +00:00
keie
1e1fc36653 Initial revision 1984-10-25 14:19:57 +00:00
keie
cdebe97db8 *** empty log message *** 1984-10-25 14:15:27 +00:00
keie
08545984f4 Now making use of ../../install and ../../compare. 1984-10-25 14:10:00 +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
8defe7ce53 rcsid added 1984-07-19 11:50:29 +00:00
bal
69584eb0ca Initial revision 1984-07-19 11:50:28 +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