Commit graph

294 commits

Author SHA1 Message Date
ceriel 19c225f75f fixed error in previous commit 1989-02-22 17:38:07 +00:00
ceriel f2c241fe3a do not depend on SP for restoring registers 1989-02-22 17:18:34 +00:00
ceriel 4fd066bb54 many improvements to the table, mostly to make it more readable
and less chaotic. Also removed some dummy routines in mach.c
1989-02-22 16:13:51 +00:00
ceriel 687d428026 move to address register does not set condition codes 1989-02-06 15:11:49 +00:00
ceriel eca0cde913 changed order of registers, so that d0 is allocated first 1989-02-06 14:35:10 +00:00
ceriel 9ea59fd48a corrected print formats 1989-02-02 16:32:19 +00:00
ceriel 3b76fbc284 bitwise operators available now 1989-02-02 16:15:54 +00:00
ceriel 821e1e624b Added header 1989-02-02 16:10:15 +00:00
ceriel 55705b22ca improved pattern 1989-02-02 16:04:18 +00:00
ceriel 8127265043 Added some patterns 1989-02-02 16:01:13 +00:00
ceriel 6ba5c0b850 Added patterns 1989-01-16 13:35:02 +00:00
ceriel 28c8abd52b fix to fix 1988-11-14 16:50:06 +00:00
ceriel 5c4164927d replaced some 'move's by the move instructions; Some were just wrong 1988-11-14 12:43:23 +00:00
ceriel 0bb9c9b5a5 removed extra DUP rule. It was wrong after all 1988-11-10 15:38:50 +00:00
ceriel f210ef4f8e fixed problem with DUP: it also dupped tokens with side-effects 1988-11-09 15:49:29 +00:00
ceriel 15e885ac8d produce better code for EXG 1988-11-07 09:35:47 +00:00
ceriel 7515b51d64 Added installation of math lib 1988-07-22 18:51:02 +00:00
ceriel c29ac899da added -L flag 1988-07-13 18:32:06 +00:00
ceriel c624447dfc removed cvf.s 1988-07-06 17:44:27 +00:00
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