Commit graph

161 commits

Author SHA1 Message Date
ceriel 7abf78f452 converted to ACK assembler format 1987-05-14 17:45:41 +00:00
ceriel 5053f2a183 generate code for ACK assembler, including floats 1987-05-14 14:58:21 +00:00
ceriel 235871bf4b minor fix; generate code for ACK assembler 1987-05-14 14:41:16 +00:00
ceriel 731edd0940 Initial revision 1987-05-14 14:32:55 +00:00
ceriel 0cc5442188 Initial revision 1987-05-13 14:36:45 +00:00
ceriel 35fa794781 Fixes to return sequence 1987-05-11 10:24:36 +00:00
ceriel 2b9292bc38 Some fixes 1987-04-23 14:49:49 +00:00
ceriel 90c699f418 Fixed wrong mlu4.s 1987-04-23 14:47:28 +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 4b30a95d7a minor mods 1987-04-03 11:16:46 +00:00
ceriel af7b083fd8 "word" is now always a "long" 1987-04-02 09:54:41 +00:00
ceriel 11db9b8fdc Added EMHOME 1987-04-01 08:54:00 +00:00
ceriel 526d769271 *** empty log message *** 1987-03-31 08:42:07 +00:00
ceriel 8d5be706a8 No line directives 1987-03-30 13:18:10 +00:00
ceriel e5116f86dc Fixed a problem with SRU: no regs available 1987-03-25 16:26:58 +00:00
ceriel 88db8b43da Added distr entry 1987-03-19 10:12:51 +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 e41a9f5b9c Added manual pages 1987-03-02 13:08:51 +00:00
ceriel f9b1523794 Initial revision 1987-03-02 13:06:23 +00:00
ceriel 7932234ed8 Added Occam 1987-02-26 19:47:01 +00:00
ceriel 59de9303c5 Initial revision 1987-02-26 19:46:35 +00:00
ceriel 4922093f24 Initial revision 1987-02-25 19:45:17 +00:00
ceriel 78a60d9959 %03x --> %x_, because the former does not work on System V 1987-02-09 16:35:24 +00:00
ceriel cea6f4751e removed something that would not work on System V 1987-02-09 16:33:49 +00:00
ceriel 6d0a4a9ce0 changed directory: nas --> as 1987-02-09 16:29:15 +00:00
ceriel 59a5eb4591 Added libsys, top 1987-02-04 15:51:35 +00:00
ceriel 199f9d38ea archive name change 1987-02-04 15:47:57 +00:00
ceriel 2ca7e7e2b3 Added definition for ASAR 1987-02-04 15:41:00 +00:00
ceriel 827f3da238 Name change of archive 1987-02-04 15:39:00 +00:00
ceriel 41cdf11b46 *** empty log message *** 1987-02-04 15:31:50 +00:00
ceriel fe3fe78538 Added some neccessary NC's 1987-02-04 15:11:51 +00:00
ceriel a0dad9f908 adapted to new assembler syntax 1987-02-04 15:09:31 +00:00
ceriel ebd44261fe cc --> $(CC), added -O flag to CFLAGS 1987-01-28 12:49:42 +00:00
ceriel 6c762a19e7 Changed /lib/cpp to ../../../lib/cpp 1987-01-20 13:09:56 +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 18376b38cf Initial revision 1987-01-07 17:13:41 +00:00
ceriel b44e39cce8 Version that uses libobject.a. 1986-12-01 15:35:28 +00:00
ceriel 8b718ee54b Initial revision 1986-11-24 21:45:03 +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 f45f393b71 replaced all occurrences of "cc" by "$(CC)". 1986-07-22 11:01:54 +00:00
keie 177af75c93 *** empty log message *** 1985-05-13 11:19:24 +00:00
keie 772b64fabd *** empty log message *** 1985-04-12 16:56:43 +00:00
keie 408dacc2aa The stacking pattern for ldc C and 4 with highw(c)==0 was incorrect.
The effect was that rand() from libcc/gen always returned
a 0.
1985-02-19 13:41:30 +00:00
keie 445d52de66 Moved retar from ret.s to trp.s.
trp.s needed it and is behind ret.s in the library.
When ret.s is loaded, it calls (via unknown) trp.s so
inclusion in trp.s should work.
1985-02-17 22:31:10 +00:00
keie b82c00e153 Added a line for
loc loc cuu $1==$1, because write.e contained the line
loc 2
loc 2
ciu
and the cg failed to translate.
1985-02-17 22:03:44 +00:00
em 4f80e81ee7 *** empty log message *** 1985-02-15 22:53:13 +00:00
keie 2a4335787e Adfded RCS id. 1985-02-12 14:37:52 +00:00
keie 1b5278f3d4 As left by Hans v. Staveren. 1985-02-12 14:32:20 +00:00
keie 815b0e0f0f *** empty log message *** 1985-02-12 14:20:30 +00:00
keie 70c000b03e Now using the same em.c as in m68k2/int.
The interpreters are moved from pdp/pdp_int (or some such)
to lib/int22.
1985-02-12 13:11:27 +00:00
keie f59262745e Initial revision 1985-02-12 12:54:44 +00:00
keie 987ed39adb Added an entry "distr" to make tables1.c and tables1.h. 1985-02-03 23:50:51 +00:00
keie 3d4a5efe99 The creation of the library is now done by the process of creating
the distribution directory.
1985-02-03 23:23:50 +00:00
em dd7e9436a2 *** empty log message *** 1985-02-01 22:12:31 +00:00
keie 22c95138aa *** empty log message *** 1985-01-07 14:26:46 +00:00
sater 18dbfc024e Routine was wrong, leaving things on the stack in the one bit case,
the inclusion of slu in this routine was bogus.
It is never called anyway, so slu is taken out.
1984-12-20 15:17:05 +00:00
keie 9b6c26ad14 An efficiency change only. 1984-12-07 16:52:09 +00:00
keie af75a28622 Changed access path of em h directory. 1984-12-07 14:01:33 +00:00
keie 9d8dd3f989 Adapted to use ../../install and ../../compare and hide knowledge
about final destination of libraries.
1984-10-26 10:25:32 +00:00
keie fd23647c1c Adapted to make use of ../../compare. 1984-10-26 10:21:18 +00:00
keie 4724e96474 Adapted to make use of ../../install and ../../compare. 1984-10-26 10:20:29 +00:00
keie 8df0cf17d6 Initial revision 1984-10-26 10:20:28 +00:00
keie 37730ff9ca *** empty log message *** 1984-10-26 10:19:56 +00:00
keie a1e7cc26f4 *** empty log message *** 1984-10-26 10:12:57 +00:00
keie 828b4d62c9 We have only one copy of the script for compare and install now
they are present in ../..
1984-10-23 15:14:17 +00:00
sater 62f42d18f7 changed EM_WSIZE to TEM_WSIZE 1984-10-23 15:02:03 +00:00
sater 79ea4bdea3 Changed to use -h flag to cgg and better way of preserving old tables.h
if not changed. Nice huh, Andy?
1984-10-23 13:29:41 +00:00
sater 5d5a09a5d0 added code to generate code for ACK assembler.
Works if ACK_ASS is defined.
1984-10-16 13:31:44 +00:00
sater 2bf16c5b2f Variable nregvars had a name clash with the array nregvar[] in the
file tables.c. That was different in the 8'th character (!"#$%&'()_).
These variables should actually be static.
1984-08-23 17:07:53 +00:00
sater ce098c78cb added patterns to prevent stacking in *p++ cases 1984-08-15 16:05:54 +00:00
sater e682a47599 added patterns for inc/dec/adp of local and external offsetted
This makes the getc() macro from C very efficient, among others
1984-08-15 14:31:54 +00:00
sater e41876f32a reworked patterns for autoincrement stores, now that peephole optimizer
rearranged it.
1984-08-07 10:22:49 +00:00
sater 6f8e6faa1f added setcc calls to some incrementing ops
added patterns for indirect local and external increments
added patterns for loe ine and such
1984-08-03 16:33:40 +00:00
sater 0b07016f0b added PR* routines 1984-07-26 13:15:21 +00:00
sater 5894adfd67 Changed procedure prolog to use PR* routines. 1984-07-26 13:05:22 +00:00
sater eebc753306 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
1984-07-23 11:29:59 +00:00
sater 978dd0191a removed blm.s, not used by table anymore 1984-07-20 16:20:54 +00:00
sater 5b20e4fed2 edited to make reentrant, no more globals in use 1984-07-20 16:20:28 +00:00
sater eb823929a1 A sti 8 of a regdef8 token went into panic mode. Fixed. 1984-07-20 10:32:48 +00:00
sater ef248ee65e 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.
1984-07-19 16:50:27 +00:00
sater 15e9fd8cd5 removed #ifdef UNTESTED around logical instructions without arguments,
seems they were used ( which implicitly means tested ) after all
1984-07-19 14:03:49 +00:00
sater 73d8f05fb5 Initial revision 1984-07-19 13:52:18 +00:00
sater 3ca5d2fcb6 added rcsid 1984-07-19 13:34:12 +00:00
sater b95f4c8bfd Initial revision 1984-07-19 13:20:15 +00:00
sater 801226a45c old code put back, now register handling is different again
actually old code never was removed, due to a misunderstanding
about comment conventions.
1984-07-19 13:12:03 +00:00
sater f16fdf4e7f makefile adapted to new style archive handling, RCS and all that 1984-07-19 13:11:36 +00:00
sater d082a2b0a2 a setl instruction was changed to a setd
setl was just plain wrong
1984-07-19 13:09:53 +00:00
sater d5aa088876 Initial revision 1984-07-19 12:51:00 +00:00
sater e1aef765a0 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
1984-07-18 16:47:24 +00:00
sater ec992b001c added definition of index, to keep compiler happy 1984-07-18 14:14:46 +00:00
sater 8304ce5eae 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
1984-07-18 13:39:24 +00:00
sater 3169067979 changed instruction label format to allow more than 256 procedures 1984-07-18 13:28:01 +00:00
sater a241500a91 added rcsid
converted to recognize and generate new 0%o format
1984-07-18 13:14:18 +00:00
sater e2f49f412d added special patterns for:
1) long compared to constant ( ldc cms 4 zxx )
2) long increments ( ld? ldc adi 4 sd? )
3) autoincrement loads and stores ( lol lol adp stl loi/sti )
1984-07-16 14:39:21 +00:00