Commit graph

919 commits

Author SHA1 Message Date
ceriel
a0a265736c Initial revision 1988-07-22 19:01:13 +00:00
ceriel
8524608cf3 made easier to patch 1988-07-20 08:53:31 +00:00
ceriel
0695089005 Added CS info 1988-07-19 09:45:59 +00:00
ceriel
9d48a61694 improved i86 description 1988-07-18 17:10:43 +00:00
ceriel
4be6b2ae55 adapted some sizes 1988-07-14 09:33:30 +00:00
ceriel
351429c19c make to work again 1988-07-14 09:15:21 +00:00
ceriel
df4c1c8174 some minor fixes 1988-07-12 20:16:13 +00:00
ceriel
2a3a417a29 output with better layout 1988-07-12 15:02:38 +00:00
ceriel
290cb0660d Split in several files. Did not compile on Xenix 1988-07-08 13:57:07 +00:00
ceriel
c5d04fbd6a Added some extern delcarations; without them, it did not compile on Xenix 1988-07-08 13:52:52 +00:00
ceriel
9ab5e19576 use $(CC) instead of cc 1988-07-08 11:37:17 +00:00
ceriel
378b233c33 use system id from local.h 1988-07-08 10:37:00 +00:00
ceriel
b8b355a0a2 keap type names different from others; some compilers don't like it 1988-07-08 09:14:04 +00:00
ceriel
5faf0b599f identifier name clash resolved 1988-07-05 16:05:11 +00:00
ceriel
5d9471f186 unsigned long is not portable 1988-07-05 15:31:33 +00:00
ceriel
93c8b46781 print memory usage as unsigned 1988-07-05 14:07:19 +00:00
ceriel
e35b40b793 spaces replaced by tabs 1988-07-05 14:05:24 +00:00
ceriel
849eeb9f61 handle memory better 1988-07-05 11:51:47 +00:00
ceriel
724d5ba148 use system module for system calls 1988-06-28 11:20:50 +00:00
ceriel
4c7c1867c3 get some info from ACK include files 1988-06-27 15:21:37 +00:00
ceriel
3b32a79997 improved distr entry 1988-06-27 14:52:18 +00:00
ceriel
15cf912949 Added interpreter 1988-06-27 14:51:59 +00:00
ceriel
c69f99b644 Put int.1 in this directory 1988-06-27 14:48:30 +00:00
ceriel
a578d2eda8 for the time being, do not pass IP_SPEC to the Makefile in switch;
this does not work with relative paths
1988-06-27 11:49:17 +00:00
ceriel
9f795adbc4 added ACK entries to Makefile 1988-06-27 11:08:04 +00:00
ceriel
d32e121832 added ACK entries to Makefile 1988-06-27 10:58:44 +00:00
ceriel
5ffe3a4280 added ACK entries to Makefile 1988-06-27 10:51:16 +00:00
dick
0e847669e8 Proper place for directory test 1988-06-24 15:59:07 +00:00
dick
198c8525f2 Initial entry 1988-06-24 15:40:41 +00:00
ceriel
e67a70cbea LLscan either macro or function 1988-06-24 14:55:27 +00:00
ceriel
1c801f86eb minor mod: name change 1988-06-24 14:28:13 +00:00
ceriel
123b73506d inline scan 1988-06-24 14:26:35 +00:00
ceriel
71834855e8 generate #define for LL_LEXI in every file 1988-06-24 14:21:07 +00:00
ceriel
e1f7d20251 modified generation of token mapping somewhat 1988-06-24 11:48:10 +00:00
ceriel
8bdf3af20c fixed Makefile 1988-06-24 09:37:54 +00:00
ceriel
d20bfe4f68 some tables are static now 1988-06-24 09:32:15 +00:00
ceriel
a27fac26db hide some names 1988-06-24 09:31:28 +00:00
dick
6214be89c8 Initial entry 1988-06-22 21:48:19 +00:00
dick
da943cec51 Initial entry 1988-06-22 17:09:12 +00:00
ceriel
416944b293 Updated to dense switches generation 1988-06-22 17:04:52 +00:00
dick
a717832bfb Initial entry 1988-06-22 16:57:09 +00:00
ceriel
4934f830fc Added code to generate dense switches 1988-06-22 16:23:36 +00:00
dick
d49fb42d47 Initial entry 1988-06-22 16:22:00 +00:00
ceriel
ec40d28c25 Added some patterns to evaluate constant shifts 1988-06-22 13:47:57 +00:00
ceriel
83a22b318c handle SLU like SLI 1988-06-22 11:31:45 +00:00
ceriel
dd690a1065 a minor fix 1988-06-22 10:56:04 +00:00
ceriel
627d2060cd Added some code to reduce SLI, then decided against it 1988-06-22 10:41:52 +00:00
ceriel
f892470f88 when checking for array computations with SLI, also check at the ADS! 1988-06-21 16:49:52 +00:00
ceriel
d25a84511c corrected 1988-06-21 16:20:59 +00:00
ceriel
e8f4e47da5 better info for SLI 1988-06-21 16:10:19 +00:00
ceriel
7f5c3ac4f6 made reading of list from description file a bit more general 1988-06-21 15:31:51 +00:00
ceriel
46c8b743f2 run peephole optimizer after inline substitution 1988-06-21 15:20:49 +00:00
ceriel
860230a837 lay-out fix 1988-06-21 15:20:01 +00:00
ceriel
e4e7671ab6 Added ACK standard entries 1988-06-20 15:52:55 +00:00
ceriel
5ac6f79a47 Initial revision 1988-06-20 12:46:49 +00:00
ceriel
db62807b9b Initial revision 1988-06-20 11:43:45 +00:00
ceriel
9bbab79c2a Added latest change from kaashoek 1988-06-20 11:40:31 +00:00
ceriel
275966674b Initial revision 1988-06-20 11:26:47 +00:00
ceriel
f15a6e827a Initial revision 1988-06-20 11:21:01 +00:00
ceriel
701172d318 Added .distr 1988-06-20 11:20:13 +00:00
ceriel
765add698d Initial revision 1988-06-20 11:13:07 +00:00
ceriel
fcafcb1700 corrected dependancy list 1988-06-16 17:04:59 +00:00
ceriel
e0a4fd1989 some cosmetic changes 1988-06-16 15:06:09 +00:00
ceriel
922eba369d Added doc for new IL option 1988-06-16 10:49:45 +00:00
ceriel
dea600f9bf Added option to indicate that whole program is offered 1988-06-16 09:41:51 +00:00
ceriel
35d8ec11fa be a bit more optimistic about gain for pointer registers 1988-06-15 15:28:10 +00:00
ceriel
16e657858a Some improvements 1988-06-15 13:15:41 +00:00
ceriel
ed5868aa06 give some more info on global optimizer 1988-06-13 15:57:21 +00:00
ceriel
de0048e96b don't throw away external procedures 1988-06-10 15:39:05 +00:00
ceriel
f5d3ab845d fixed problem that was introduced by fix of alignment problem 1988-06-06 13:02:41 +00:00
kaashoek
e568d54af9 bug removed 1988-05-31 14:12:35 +00:00
kaashoek
6a08adb962 grammar changed 1988-05-31 14:05:41 +00:00
kaashoek
f68b18f639 *** empty log message *** 1988-05-31 13:41:03 +00:00
kaashoek
7cc193c460 *** empty log message *** 1988-05-31 13:22:14 +00:00
kaashoek
83b11ebd82 *** empty log message *** 1988-05-31 13:20:28 +00:00
kaashoek
f466e4b0e7 skip traling spaces by operands 1988-05-31 13:16:48 +00:00
kaashoek
4e62421f45 The file 'data.h' must also be included. 1988-05-31 12:56:26 +00:00
kaashoek
12db9cf64e Execute_mnemonic() is changed so it won't loop when it can't find the
assembly-mnemonic in the as_table.
1988-05-31 12:54:30 +00:00
kaashoek
60de25db56 ::= replaced by ==> 1988-05-31 09:38:26 +00:00
kaashoek
8ba1ce6f1a Zorgen dat de prioriteit van de 'distance' goed is; haakjes om de expressie
zetten
1988-05-29 15:22:18 +00:00
kaashoek
95b5bdcdc5 Quotes en back-slashes moeten ook speciaal behandeld wordeni in strings. 1988-05-29 13:55:56 +00:00
kaashoek
953ac2b514 Subtiel foutje met haakjes tellen, twee regels moeten omgedraaid worden. 1988-05-29 13:53:57 +00:00
kaashoek
a5b6ef2a18 Quotes en back-slahses moeten ook speciaal behandeld worden in strings. 1988-05-29 13:52:54 +00:00
kaashoek
2edf3315d6 Initial revision 1988-05-27 17:07:58 +00:00
kaashoek
c7beb3208f Foutje met new-line karakters in een string, precies hetzelfde als bij eval. 1988-05-27 15:25:30 +00:00
kaashoek
6d56874b8f Stom tikfoutje: sitchseg ipv. switchseg. 1988-05-27 14:08:29 +00:00
kaashoek
7f580b3029 De routines C_xxx_fcon() stonden per ongeluk tussen commentaar haken. 1988-05-27 13:58:00 +00:00
kaashoek
28e86b7f15 process_mnemonic() van plaats verhuisd zodat deze nu aangeroepen wordt voor
het zoeken. Dit maakt het mogelijk om de gebruiker gekke karakters uit een
mnemonic te laten verwijderen, bijv. bij 68020 "move.l" --> "move_l".
1988-05-27 10:48:34 +00:00
kaashoek
abc9006b8e Stom foutje in vorige verbetering 1988-05-27 09:30:05 +00:00
kaashoek
cd73332f77 skip_string() gewijzigd zodat ook instructies met een '.' erin geaccepteerd
worden. Komen voor in de 68020 assembler, bijv. "move.l", "add.l", etc. .
1988-05-27 09:21:37 +00:00
kaashoek
8998c4165d Bij het vervangen van @text2() door print-statements zorgen dat het resultaat
ook 1 statement is: zet er '{' en '}' omheen.
Tevens kunnen de argumenten van een @reloc4() over meerdere regels staan. Dit
levert problemen met het in een string zetten om ze te printen, alle newlines
vervangen door '\\n'.
1988-05-27 08:56:47 +00:00
ceriel
066439ec19 changed int?? to em?? 1988-05-06 13:46:55 +00:00
ceriel
b9943e0ca2 minor update 1988-05-03 15:17:13 +00:00
kaashoek
b5f619dadd consistent naming 1988-05-03 13:03:07 +00:00
kaashoek
723e024d25 output_back 1988-05-03 12:55:48 +00:00
kaashoek
bc28af9d7c close_back() 1988-05-03 12:55:30 +00:00
kaashoek
3afe1ff2e4 open_back() 1988-05-03 12:54:52 +00:00
ceriel
781a1218a5 only increment line number on ASCII LF 1988-05-03 11:30:25 +00:00
ceriel
82c952bdeb updated somewhat; deleted int 1988-04-29 11:16:49 +00:00
ceriel
e8d1bdb192 make to work with modified installation script 1988-04-29 09:12:29 +00:00
ceriel
7fbb57dea4 clean entry should not throw away distributed files 1988-04-27 10:57:37 +00:00
ceriel
131d4d9454 align on ints instead of shorts 1988-04-25 10:41:33 +00:00
ceriel
fd4bda4865 made more portable 1988-04-21 18:53:31 +00:00
ceriel
750aad12f6 Made a bit more portable 1988-04-19 19:46:28 +00:00
ceriel
540fb5605b Added minix and minixST 1988-04-19 17:16:10 +00:00
ceriel
65f67f48a3 Added m2 as callname 1988-04-18 15:57:28 +00:00
ceriel
a9ad34c8db fixed a bug: did not handle %while in FIXED terms 1988-04-18 11:06:55 +00:00
ceriel
b7a100b1f5 create lib directory if not present 1988-04-18 10:17:58 +00:00
ceriel
09ed33d12d fixed minor bug: report on used memory was wrong 1988-04-15 16:05:05 +00:00
ceriel
a93bf46382 use varargs when needed 1988-04-15 15:43:52 +00:00
ceriel
75345fa915 make a little more robust 1988-04-12 19:34:38 +00:00
ceriel
252d0e0667 minor fix 1988-04-11 09:55:13 +00:00
ceriel
474a3b4584 Added xenix3 to the list of machine-names 1988-04-11 09:51:11 +00:00
ceriel
35cb47328a modified to generate the clashes table in another form too 1988-03-31 10:00:07 +00:00
ceriel
9dccd59665 Added patch for bad fseeks 1988-03-23 18:04:08 +00:00
ceriel
9dce6c6b88 Added patterns for loc sbu and loc adu 1988-03-23 16:52:23 +00:00
ceriel
628b9699e8 adapted to new ip_spec.t 1988-03-15 13:17:42 +00:00
ceriel
f62a5c7157 adapted to new ip_spec.t and changed location 1988-03-15 11:43:36 +00:00
ceriel
e8f4ce0886 Added the esize program 1988-03-14 14:29:31 +00:00
ceriel
517b1cae36 deleted an #endif, where-ever it came from I dont know 1988-03-14 14:12:49 +00:00
ceriel
41007486bf some compilers (Multimax) did not understand the sizeof constructions used 1988-03-09 11:42:54 +00:00
kaashoek
60278f1c52 ';' forgotten. 1988-02-03 12:55:36 +00:00
kaashoek
b3f21c47fc CODE_EXPANDER must be defined before including <em.h>. 1988-02-03 12:48:58 +00:00
kaashoek
990080cc04 create_ofiles must be executed in directory ce. 1988-02-03 11:40:29 +00:00
kaashoek
4ec4554fa5 Syntax error in shell command 1988-02-03 10:58:52 +00:00
kaashoek
474b2eb453 Previous version saw C_INSTR CONDITION as CALL ( e.g. C_asp ( $1 == 1) ). 1988-02-03 10:47:08 +00:00
kaashoek
e8f2566542 Don't generate pseudo instructions. 1988-02-03 10:20:58 +00:00
kaashoek
64b4812664 RCS filenames should end with ,v 1988-02-02 15:59:40 +00:00
kaashoek
0ea2930de7 Error in pathnames 1988-02-02 15:53:47 +00:00
kaashoek
a0802dce05 Error in pathnames 1988-02-02 15:50:10 +00:00
kaashoek
bab6cd29ce Comments added 1988-01-15 16:09:52 +00:00
kaashoek
31efd16916 Comments added 1988-01-15 15:57:35 +00:00
ceriel
b90cc5ceb9 make it more K&R C 1988-01-13 11:06:06 +00:00
ceriel
bdc37d879e Added some patterns 1988-01-12 13:27:11 +00:00
ceriel
a58740c4ee some fixes 1988-01-11 18:24:34 +00:00
kaashoek
055635d63d Comments added. 1988-01-07 16:09:30 +00:00
kaashoek
a92a93bc54 Comments added 1988-01-07 15:52:52 +00:00
kaashoek
dcf14f338b Comments added 1988-01-07 15:25:34 +00:00
kaashoek
41d9465e89 Made consistent with the file in ../common 1988-01-07 15:15:08 +00:00
kaashoek
ed4cfa01c5 Made consistent with file in ../common 1988-01-07 15:12:09 +00:00
kaashoek
544f59b0ea Comment added 1988-01-07 14:52:08 +00:00
kaashoek
dc88d56345 Made consistent with the file in directory ../common 1988-01-07 14:49:57 +00:00
kaashoek
31ba9c1471 Made consistent with the file in the directory ../common 1988-01-07 14:48:23 +00:00
kaashoek
79718501d6 Comments added. 1988-01-07 14:40:43 +00:00
kaashoek
9b1533a69b Some routines moved to 'help.c' 1987-12-18 16:23:42 +00:00
kaashoek
d69f0ef861 Initial revision 1987-12-18 16:22:16 +00:00
kaashoek
69040a2ae0 File 'assem.c' is changed to 'help.c' 1987-12-18 16:17:29 +00:00
kaashoek
572f8ec9c4 Comment added 1987-12-18 12:17:56 +00:00
kaashoek
ecabf96c86 Made consistent with 'arg_type.h' and 'decl.h' 1987-12-18 12:12:50 +00:00
kaashoek
9f510b9172 Comments added.
Made consistent with 'arg_type.h' and 'em_parser.h'
1987-12-18 12:11:58 +00:00
kaashoek
a6de718152 Made consistent with 'em_parser.h' and 'decl.h' 1987-12-18 12:10:50 +00:00
ceriel
db572116e1 Added a flag to not give warnings 1987-11-27 11:04:07 +00:00
kaashoek
900e979035 *** empty log message *** 1987-11-26 12:14:32 +00:00
kaashoek
4b540c6d7e Initial revision 1987-11-26 12:14:26 +00:00
kaashoek
8202444413 *** empty log message *** 1987-11-26 12:00:32 +00:00
kaashoek
79457dabd1 Initial revision 1987-11-26 12:00:22 +00:00
ceriel
c27082938b fix to fix 1987-11-26 10:26:06 +00:00
kaashoek
f1a897cec0 Comments added 1987-11-25 14:41:10 +00:00
kaashoek
5ef24f6923 Comments added 1987-11-25 14:22:15 +00:00
kaashoek
dcc3eb63c4 Initial revision 1987-11-25 14:18:23 +00:00
kaashoek
1240849cda *** empty log message *** 1987-11-25 14:03:48 +00:00
kaashoek
5865536463 Comments added 1987-11-25 13:55:12 +00:00
kaashoek
152faf2b36 *** empty log message *** 1987-11-25 13:54:01 +00:00
kaashoek
7af2561a91 1987-11-25 13:52:01 +00:00
kaashoek
67ab00564f n 1987-11-25 13:51:25 +00:00
kaashoek
a057f8e72c Comments added 1987-11-25 11:49:48 +00:00
kaashoek
f1aba7c217 Initial revision 1987-11-25 11:19:38 +00:00
ceriel
067eace890 fixed a bug: a numeric label now kills condition codes 1987-11-24 11:43:51 +00:00
kaashoek
ee3e8ed07e *** empty log message *** 1987-11-20 12:07:51 +00:00
kaashoek
02b72945f1 *** empty log message *** 1987-11-20 11:24:45 +00:00
kaashoek
58b70cc7dd *** empty log message *** 1987-11-20 11:15:42 +00:00
kaashoek
75e0c5f7ed Initial revision 1987-11-20 11:12:07 +00:00
kaashoek
9947059dcc Initial revision 1987-11-20 10:41:03 +00:00
ceriel
046dc3d5a9 use $(CC) instead of cc 1987-11-16 10:35:32 +00:00
ceriel
f9281be252 fixed an obscure bug in the hash function: sometimes the globstep variable
had a value equal to size! Also, sizes of tables must be prime
1987-11-11 15:05:41 +00:00
ceriel
9dd87881e1 fixed a minor problem with unstacking 1987-11-04 15:55:23 +00:00
ceriel
71df6e6cb8 removed the relative pathnames in #include's 1987-10-20 16:21:44 +00:00
ceriel
0ad68bdb66 fix to Lindseys changes 1987-10-20 16:09:39 +00:00
ceriel
e2c9a1a96f fix: there was a problem when more than 2 alternatives started with the same token 1987-10-19 15:35:28 +00:00
ceriel
211d2bcfff The use of {w} in a program line of fe did not work, because ack scans
fe before it scans MACH (which is where most vars are declared).
Reversing the order of the scans caused other problems, related to
callnames. I have therefore delayed the 'scanvars' of program lines
(as is already done with args).
1987-10-19 10:24:52 +00:00
ceriel
93e08cb946 Some minor adaptions 1987-10-15 12:42:55 +00:00
ceriel
8d35578ad2 Parameterized the archiver used 1987-10-14 12:41:38 +00:00
ceriel
31b2f7d9e0 take care of GTO 1987-10-02 12:53:04 +00:00
ceriel
102a2b1061 don't optimize when ms_gto 1987-10-02 12:52:29 +00:00
ceriel
1ac5d9c95a Handle GTO, LOR/STR 0 also use local base 1987-10-02 12:43:54 +00:00
ceriel
d2006b19af do not replace LAR/SAR by AAR LOI/STI, when the descriptor is not available 1987-10-02 10:48:38 +00:00
ceriel
c0dd8055c2 make variables that are assigned to alive, at least for a short while 1987-10-02 10:41:13 +00:00
ceriel
7f400e5073 print identifier name when multiple declared 1987-10-02 09:55:16 +00:00
ceriel
45c7ab1938 fix in error reporting 1987-09-21 13:21:50 +00:00
ceriel
3ea0fc0fe6 deleted some unused variables 1987-09-03 09:32:21 +00:00
ceriel
c9e52b65d4 some minor fixes, and one important 2/4 one in the sbreak function 1987-09-02 18:42:21 +00:00
ceriel
c1ffb28416 improved the c-flag, and corrected a bug in the produced relocation info 1987-08-26 13:22:44 +00:00
ceriel
469b3cc1e1 a fix: UID and GID were sign-extended 1987-08-24 09:13:31 +00:00
ceriel
18b7250736 Added a DO_TOSTACK command, and put set number of ALL in tables.c 1987-08-20 19:04:18 +00:00
ceriel
754f9ce45d fixed a problem with the ifdef-stack 1987-08-20 18:12:31 +00:00
ceriel
831cdc7580 fix to previous one. The previous one did not help, this one does 1987-08-20 16:00:18 +00:00
ceriel
c8afae83c9 fixed bug with quotes 1987-08-20 15:44:45 +00:00
ceriel
9bcd5473ad minor adaption: index array with int, not long 1987-08-19 15:27:15 +00:00
ceriel
d747651237 improved -c option 1987-08-19 14:10:39 +00:00
ceriel
d35035fab8 bug fixes: ifval must be an arith, not an int 1987-08-19 10:36:37 +00:00