Commit graph

563 commits

Author SHA1 Message Date
ceriel 16c73e6654 use malloc instead of sbrk 1987-08-06 13:04:20 +00:00
ceriel 6d85667761 bigger define for MAXSTAB 1987-08-06 13:00:47 +00:00
ceriel c9f7d845a2 temporary fix for commas within operands 1987-08-05 13:09:37 +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 d473c8b1df Added some register decls 1987-06-30 18:24:27 +00:00
ceriel 87c67b8c5f EM --> EMHOME 1987-06-30 18:20:25 +00:00
ceriel 798261d992 pass EMHOME to nested make 1987-06-09 10:19:47 +00:00
ceriel dd2cf6bbaa Fix in wrong assertion 1987-05-21 09:28:33 +00:00
ceriel 45f384c870 improved ROM handling 1987-05-18 15:50:42 +00:00
ceriel 32a436bab4 handle ROM's better 1987-05-18 13:29:32 +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 11db9b8fdc Added EMHOME 1987-04-01 08:54:00 +00:00
ceriel 1d443b6b4b bug fix 1987-03-27 13:34:46 +00:00
ceriel 391f6cc9ea could not be handled by MINIX pre-processor 1987-03-23 14:48:56 +00:00
ceriel 8829d77144 made name shorter 1987-03-19 10:15: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 f36ee6de55 could loop again 1987-03-05 17:40:48 +00:00
ceriel 5380ae4768 Set "saveemp" before calling compute. compute might need it. 1987-03-04 10:34:57 +00:00
ceriel 0b92bc0cd7 Set saveemp before calling "compute". "compute" might need it! 1987-03-04 10:32:22 +00:00
ceriel f2a77335b0 An attempt to make "erasereg" a little more efficient, as it seems
often to be called to erase the condition codes.
1987-02-21 22:20:10 +00:00
ceriel d493ffcfde bug fix 1987-02-20 17:35:08 +00:00
ceriel a3c78bffe6 Bug fix 1987-02-20 17:33:06 +00:00
ceriel 04d031d33d Added some buffering for writes 1987-02-13 12:44:33 +00:00
ceriel 6d0a4a9ce0 changed directory: nas --> as 1987-02-09 16:29:15 +00:00
ceriel 2c29e9f07c Changed an assertion that was no longer valid 1987-02-07 01:50:48 +00:00
ceriel 729490c212 *** empty log message *** 1987-02-07 00:35:16 +00:00
ceriel 622530ae68 Changed hash function, added "registers" 1987-02-07 00:13:56 +00:00
ceriel 4d92d60469 Added some "registers" 1987-02-07 00:04:05 +00:00
ceriel 5afc7363f0 *** empty log message *** 1987-02-04 17:43:20 +00:00
ceriel aab8668d4b Bug fix 1987-01-28 15:15:28 +00:00
ceriel fb8fc4e07c Fixed introduced bug 1987-01-28 13:00:33 +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 0b941ef495 Bug fixes 1987-01-16 13:51:45 +00:00
ceriel 324cbd8327 Fixed a minor problem with off_fmt, when it did not produce
a '-' sign when neccesary
1987-01-14 17:49:19 +00:00
ceriel 9877db53d9 Fixed a minor problem with off_fmt, when this format would not
produce the '-' sign.
1987-01-14 17:47:31 +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 3245258560 Added exclusive or operator 1987-01-08 14:27:07 +00:00
ceriel ceee24a4cd Added bitwise and and or operators 1987-01-08 14:11:23 +00:00
ceriel 01ac83b971 fix to prevent loop resulting in stack overflow 1987-01-08 14:10:02 +00:00
ceriel bfb60b8a33 small adaption to "awayreg". 1987-01-08 14:09:14 +00:00
ceriel ceff6f834a Removed a bug that led to infinite looping in obscure cases. 1987-01-06 18:49:00 +00:00
ceriel 9e6fe01229 Improved testing for 0-strings in the routine "mycat". 1986-12-11 17:04:40 +00:00
ceriel e98c02b831 Corrected a typo. 1986-12-11 17:03:11 +00:00
ceriel e188fe0956 Version that uses libobject.a 1986-12-01 15:41:29 +00:00
ceriel b44e39cce8 Version that uses libobject.a. 1986-12-01 15:35:28 +00:00
sater 59861f883b added support for modhead 1986-11-28 13:47:44 +00:00
sater 17f5bc21e7 debugging stuff happened to end up on stdout instead of stderr. 1986-11-28 13:41: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 86018d09e1 changed sizes of labstr and argstr to accomodate longer identifiers. 1986-11-12 21:14:05 +00:00
ceriel f7a6dc503c Changed sizes of "argstr" and "labstr", to accomodate longer
identifiers.
1986-11-12 21:04:38 +00:00
sater 02ff84337a Typo corrected 1986-10-24 16:58:46 +00:00
sater 2672c87f68 empty string was returned when it was not so good. 1986-10-09 16:15:00 +00:00
sater ae2f236663 nullpointer and empty string were confused.
Long live the PDP and VAX
1986-10-09 16:12:24 +00:00
sater 9092e509c6 changed ad2str function not to add +0 at labels 1986-09-22 13:15:15 +00:00
sater b5009c57b4 made debiug output better 1986-09-22 13:14:54 +00:00
ceriel f45f393b71 replaced all occurrences of "cc" by "$(CC)". 1986-07-22 11:01:54 +00:00
sater 851a68883c repaired inreg() pseudofunction, it delivered total nonsense 1986-03-27 15:49:16 +00:00
bal 5ac646f89f Yet another bug reported by sater. 1985-11-18 16:55:53 +00:00
bal 98d06cffb2 0 / -1 confusion for properties (bug reported by sater). 1985-10-03 14:47:28 +00:00
bal de79024451 0 / -1 confusion for properties (2 bugs reported by sater). 1985-10-03 14:45:53 +00:00
bal 0d9459bdd6 MAXSTAB set to 2500 (problem with argument list of ROM for new C front-end). 1985-09-06 11:06:32 +00:00
keie 177af75c93 *** empty log message *** 1985-05-13 11:19:24 +00:00
keie 5472fafa56 Add hoc solution of .align problem. 1985-04-23 12:55:01 +00:00
keie eb3fc1d43e Added provision to print (possibly in mach.h defined) modhead
on the output assmble file as the very first text.
1985-04-16 16:14:55 +00:00
keie 772b64fabd *** empty log message *** 1985-04-12 16:56:43 +00:00
em 9f203c9a17 Expressions are now always calculated in long.
Some backends needed that.
1985-03-12 10:41:29 +00:00
em 0c92039ba4 Expression are always evaluated in longs.
Some 2-4 backends needed long expressions.
1985-03-12 10:39:24 +00:00
keie cb0b2e08cf 1 - At RREMOVE also check the stack set aside for coercions.
2 - When coercions unexpectedly need stack of part of the
stakpattern, discontinue this option.
1985-03-01 16:25:21 +00:00
keie c2a990768d The top of the stack, which is set aside for certain
coercions is now saved with special routines.
This allows RREMOVE to check for registers.
1985-03-01 16:20:13 +00:00
keie e7f7f33f60 cg tried to stack register parameters of moves, when
these registers were killed.
1985-02-26 16:31:38 +00:00
keie 815b0e0f0f *** empty log message *** 1985-02-12 14:20:30 +00:00
keie 987ed39adb Added an entry "distr" to make tables1.c and tables1.h. 1985-02-03 23:50:51 +00:00
sater 7f0def8861 RREMOVE section updated. 1985-01-11 09:44:34 +00:00
sater 4ba6e7a39c *** empty log message *** 1985-01-08 15:34:54 +00:00
keie 5edf93d2de *** empty log message *** 1985-01-07 15:54:38 +00:00
sater 0a00b80726 Added support for the fmt_id and fmt_ilb macros 1984-11-26 10:50:46 +00:00
sater 6a4dc794a2 In the RREMOVE section of this file, the field e_con of the
expression union was used in stead of e_reg.
Fixed. Checked all other occurrances, are correct.
1984-11-20 16:56:26 +00:00
sater 7c07f91e1c The constant 512 slipped in instead of BUFSIZ.
Changed.
1984-11-20 10:22:12 +00:00
keie 2976b590af The flag -LIB was missing in the call to the shell-procedure
compmodule. Thus the generated libraries could not be effectively
used by our assembler/linker.
1984-11-05 11:37:23 +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 a4a5fc4bfa changed references to EM_?SIZE to TEM_?SIZE 1984-10-23 15:04:24 +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 ab0db1c5fb added rcsid(again). Who took that away? 1984-10-16 13:45:16 +00:00
keie 550d1fa79e New installation procedure:
1 - New place for binaries and libraries in the ACK tree.
2 - The ranlib action is moved to ../../install which tries it at
    every action.
1984-10-08 14:09:28 +00:00
sater 13d6e6815e added missing cast at call to regsave, in ms_gto case 1984-10-02 11:17:57 +00:00
sater 92aecb175c changed definition of myalloc to extern 1984-10-02 10:31:06 +00:00
sater a3f62d0255 added external definition for myalloc() 1984-10-02 10:30:44 +00:00
sater 5689e6ab64 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?
1984-08-17 15:35:28 +00:00
sater ff9d23e4ec A move from a nonreg to a reg did not have the effect that all
registers clashing with the destination were erased. Erase added.
1984-08-02 16:31:25 +00:00
sater e20ab23a4b added rcsid 1984-07-19 15:03:30 +00:00
sater 5fb767966b Initial revision 1984-07-19 15:01:43 +00:00
sater 4558cb8836 Replaced call to newilb after pro pseudo to call to newplb,
including retrofit for existing mach.h files
1984-07-12 09:26:24 +00:00
sater 7d75cf2799 Reworked to work, I think 1984-05-19 12:44:53 +00:00
sater c4826294dc added rcsid
Tried to make machine independent,
machine independent sources now taken from ../../proto/cg
Changed according to suggestion from ceriel to prevent running cgg twice
1984-05-19 12:03:22 +00:00
sater ceeeca40f6 added code to save all registers for ms_gto
changed place of #ifdef to make this null-module compile faster
when no register variables are used.
1984-05-19 11:49:37 +00:00
sater 0cd7d8826e erase(reg) now also erases all register whose contents depend on
the contents of reg.
1984-05-19 11:49:01 +00:00
sater 9dfcd76f4b added code to recognize ms_gto 1984-05-19 11:48:40 +00:00
sater 54e681c6cc added rcsid 1984-05-19 11:42:19 +00:00
sater 445ee4ccb8 added rcsid
added code to check for write errors on codefile
1984-05-19 11:40:08 +00:00
sater f792cb549e added rcsid
removed sign extension bug in large constants
1984-05-19 11:38:48 +00:00
sater 65e35e6d53 added rcsid
added code to insure instructions come out in .text space
1984-05-19 11:38:15 +00:00
sater 18e0859e5d Initial revision 1984-05-19 11:08:27 +00:00
sater 5eeba1c1e0 Initial revision 1984-05-18 21:27:39 +00:00