Commit graph

1351 commits

Author SHA1 Message Date
ceriel 09cc81f5b5 Use the system module for error messages 1988-11-10 13:46:53 +00:00
ceriel d6dfd5d1ad fixed to generate only external commons 1988-11-10 13:01:15 +00:00
ceriel f210ef4f8e fixed problem with DUP: it also dupped tokens with side-effects 1988-11-09 15:49:29 +00:00
ceriel 11dee74e80 Initial revision 1988-11-08 14:09:24 +00:00
ceriel 246554a0b1 changes in search for more speed 1988-11-08 13:47:18 +00:00
ceriel 15e885ac8d produce better code for EXG 1988-11-07 09:35:47 +00:00
ceriel af5ed82bff included changes from Andy Michael 1988-11-07 09:24:36 +00:00
ceriel f8a3f67ddb Added new line after trap message 1988-11-04 09:55:50 +00:00
ceriel 0011c49d1e many changes, in search for more speed 1988-10-31 15:02:39 +00:00
ceriel ba1c1a82d7 patches to make more suitable for push-pop optim 1988-10-20 15:08:59 +00:00
ceriel dc5a744d8d some minor changes 1988-10-20 14:33:55 +00:00
ceriel e0fc646222 Many changes:
- added floating point
- improved assembler part, now uses short encodings when possible
- reduced generated relocation - and name table
1988-10-20 14:21:37 +00:00
ceriel 10e2f5cb36 Added vars.s 1988-10-17 12:55:24 +00:00
ceriel 8b6ba39da4 made a bit more portable 1988-10-17 10:38:30 +00:00
ceriel d096f1882a improved version, generating .o files with much less relocation records
and name table entries
1988-10-13 15:53:31 +00:00
ceriel f397d35b6a many changes: optimize generated code somewhat,
reduce relocation-table size
1988-10-07 16:52:44 +00:00
ceriel 366b492174 Initial revision 1988-10-04 14:27:35 +00:00
ceriel a54c470fef some mods from Charles Lindsey 1988-10-04 13:59:51 +00:00
ceriel 17e980aa15 Also pass SRC 1988-10-04 10:04:37 +00:00
ceriel 668b4ca6e7 many minor changes 1988-10-03 10:53:47 +00:00
ceriel b0c8f9748a some fixes to procude faster :-) code 1988-09-30 16:13:44 +00:00
ceriel 6ae90c8f34 Initial revision 1988-09-28 16:47:47 +00:00
ceriel fb854c82ff Added flag to generate SUN .o format 1988-09-23 14:55:27 +00:00
ceriel a5f48d6493 Initial revision 1988-09-15 09:49:22 +00:00
ceriel 091f3dbebf Added floating point support 1988-09-14 14:06:31 +00:00
ceriel 3a183b7b44 replaced all ::= by ==> 1988-09-07 14:47:46 +00:00
ceriel feb6e7505c maybe I got it right this time! 1988-09-02 13:49:07 +00:00
ceriel 2dfd74fe14 fix in fix: INN ZEQ and INN ZNE still were wrong 1988-09-02 11:39:58 +00:00
ceriel cc52343fbf fixed INN ZEQ and INN ZNE patterns 1988-08-22 11:23:24 +00:00
ceriel 95b4d20b5d fixed problem with dlbdlb 1988-08-22 10:54:03 +00:00
ceriel 7f5dfa7bb2 Changes from Nigel Hall 1988-08-19 17:05:03 +00:00
ceriel f3a780ecec Changes from Nigel Hall 1988-08-19 16:46:22 +00:00
ceriel 6246c6fc9e generate new style constants 1988-08-19 16:41:49 +00:00
ceriel 98359a035e make easier to patch 1988-08-19 14:20:03 +00:00
ceriel a1684f6d0b Initial revision 1988-08-18 14:33:57 +00:00
ceriel 143531822a speeded up :-) 1988-08-11 22:02:53 +00:00
ceriel a9a2e027c8 improved floating point handling 1988-08-11 14:57:39 +00:00
ceriel 5aa128ea62 speeded up again :-) 1988-08-11 14:50:18 +00:00
ceriel 2cb7fcf861 leave maximum value if overflow trap is handled 1988-08-11 10:28:30 +00:00
ceriel d308f4a3c2 fix: the minimum exponent is 1, not 0! 1988-08-10 22:33:48 +00:00
ceriel bb46f5218c Added version for machines with proper 4-byte operations 1988-08-10 10:07:53 +00:00
ceriel e47418efff Use other version of div_ext 1988-08-10 10:00:30 +00:00
ceriel 901e1b7565 fixes for exit status 1988-08-05 12:48:21 +00:00
ceriel 05bac6c619 also detect 0/0 1988-08-05 11:40:29 +00:00
ceriel dc72163d44 cleaned up a bit 1988-08-04 18:10:34 +00:00
ceriel b26e580a74 cleaned up a bit, and made add_ext and sub_ext proper entry points,
without preconditions on the arguments
1988-08-04 11:16:20 +00:00
ceriel 2a9fe2a774 some modifications to improve speed (sorry, I mean, make a bit less slow) 1988-08-03 23:31:40 +00:00
ceriel 0406776361 fixed again 1988-08-02 11:57:37 +00:00
ceriel 0d45d9da11 correct exit status 1988-08-02 11:56:34 +00:00
ceriel 5d247a2055 prevent generation of movl/movq instruction with floating point constant.
movf/movd should be used instead
1988-07-29 10:09:55 +00:00
ceriel a28e8440b7 Use Pascal 1988-07-28 18:33:51 +00:00
ceriel fa564bb67c Installation of interpreters should not be done here 1988-07-28 16:45:13 +00:00
ceriel a5578bc229 BSD4.[23] could also run NFS, so added getdirent.s 1988-07-28 09:46:43 +00:00
ceriel 24d5e841d1 and yet another ... 1988-07-26 15:57:34 +00:00
ceriel fc1d04e192 fixed typo 1988-07-26 15:46:09 +00:00
ceriel d814f96e9d Added pattern 1988-07-26 14:21:15 +00:00
ceriel 5a6849b006 yet another fix 1988-07-26 13:00:30 +00:00
ceriel 52d5e473c4 fix from Leo van Moergestel: signed byte offset must fit in a byte 1988-07-26 11:02:13 +00:00
ceriel bcec2e84b5 merged with Michael Felts latest version 1988-07-25 10:46:15 +00:00
ceriel 24c59f9f68 adf and sbf did not work with 0.0 1988-07-22 20:54:49 +00:00
ceriel 7515b51d64 Added installation of math lib 1988-07-22 18:51:02 +00:00
ceriel 0beaad89d3 Added installation of math lib 1988-07-22 18:30:44 +00:00
ceriel 215e55282d some more fixes 1988-07-19 16:49:49 +00:00
ceriel 4d66061c82 install new back-end instead of old 1988-07-19 10:14:22 +00:00
ceriel 60e958a312 the patterns inside #ifdef LONGEMPAT were wrong anyway, so deleted 1988-07-19 10:12:21 +00:00
ceriel 5c508b566f Added flag to give stack size 1988-07-15 15:29:44 +00:00
ceriel bfaff9d0ee simplified a little; does not seem to make much difference 1988-07-15 14:57:43 +00:00
ceriel d363386a38 several fixes 1988-07-15 13:00:43 +00:00
ceriel b9aa04dbb3 fixed problem with temporary DEALLOCATES: sometimes a register was
used for stacking, that was only temporarily deallocated
1988-07-15 11:23:44 +00:00
ceriel 68d3126f16 improved trap handling 1988-07-15 11:17:17 +00:00
ceriel f0d3a648af fixed problem with temporary DEALLOCATES: sometimes a register was
used for stacking, that was only temporarily deallocated
1988-07-15 11:12:13 +00:00
ceriel 7aca78dc21 Also hide name b64_sft 1988-07-14 11:11:48 +00:00
ceriel e8931fe5de make to compile on Xenix 1988-07-14 10:11:01 +00:00
ceriel 1cf834f731 did not work properly; assumet it could remove sign AFTER converting to
machine dependant order
1988-07-13 20:00:22 +00:00
ceriel c29ac899da added -L flag 1988-07-13 18:32:06 +00:00
ceriel cdb8531b9a use sun3 command to translate 1988-07-13 18:31:57 +00:00
ceriel 1838e7143f Added -L flag 1988-07-13 18:24:07 +00:00
ceriel 2197952a70 Added some erase() calls; aiaiai 1988-07-13 17:35:01 +00:00
ceriel 105c7e6009 fixed 1988-07-13 16:55:48 +00:00
ceriel 87e020db8a make trap handling more consistent 1988-07-13 14:29:32 +00:00
ceriel be1e3440b7 other trp routine 1988-07-13 14:21:13 +00:00
ceriel ea7209f246 Added some erase() calls; aiaiai 1988-07-13 13:48:38 +00:00
ceriel 722bf6de1e Added debug statement 1988-07-13 13:43:45 +00:00
ceriel 25f7fe9b77 fix: strhp should do brk system call 1988-07-13 12:51:57 +00:00
ceriel ccbf4f0cf6 made to compile on Xenix 1988-07-12 14:19:03 +00:00
ceriel 53bda08502 do not use shell meta characters in dependents; some makes do not like it 1988-07-12 11:10:31 +00:00
ceriel 9ab5e19576 use $(CC) instead of cc 1988-07-08 11:37:17 +00:00
ceriel 007483d1ed do not try to install Occam lib on non-BSD4.2 systems 1988-07-07 16:46:27 +00:00
ceriel 4d9a144aa7 only try to install Occam lib on Berkeley 4.2 system 1988-07-07 15:13:16 +00:00
ceriel 5ff8baabfa fix for constants 1988-07-07 14:31:29 +00:00
ceriel 3048d94603 bug fix: an array was declared too small 1988-07-07 10:55:52 +00:00
ceriel c624447dfc removed cvf.s 1988-07-06 17:44:27 +00:00
ceriel 5391cf8b17 fixed; did not compile 1988-06-29 16:48:07 +00:00
ceriel 78f0107cb8 only change sign when value is not 0 1988-06-29 16:34:40 +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 3be40e8f15 removed some lint complaints 1988-06-28 13:55:25 +00:00
ceriel bd975e3041 removed some lint complaints 1988-06-28 13:43:54 +00:00
ceriel d3723b3d38 modified distance function somewhat 1988-06-24 12:03:02 +00:00
ceriel b72f2848dd fixed panic mode 1988-06-22 18:47:48 +00:00
ceriel c146e278fc distance routine improved a little; still not safe! 1988-06-22 16:22:07 +00:00
ceriel 59dbc95e0d made bittable dynamic 1988-06-16 13:46:38 +00:00
ceriel a0934dc7e0 made bittable dynamic 1988-06-16 13:24:10 +00:00
ceriel 8f1cac51c8 Added option for temporary directory 1988-06-16 09:57:59 +00:00
ceriel 16e657858a Some improvements 1988-06-15 13:15:41 +00:00
ceriel 9c6ef73ba3 Added target optimizer 1988-06-14 09:29:44 +00:00
ceriel 14233a4c03 Initial revision 1988-06-14 09:22:51 +00:00
ceriel adadb10b17 corrected 1988-06-13 18:01:47 +00:00
ceriel be8815e2b7 made nbits a long 1988-06-13 17:57:39 +00:00
ceriel 2722d45fdd larger bittable 1988-06-13 15:29:32 +00:00
ceriel 192de9bf32 linenumber in long instead of short 1988-06-13 15:28:19 +00:00
ceriel cc9c3ae870 made to compile on system V 1988-06-13 15:01:54 +00:00
ceriel 2563acb019 Added pattern for ASS 4 1988-06-13 13:42:39 +00:00
ceriel 40ef304bcf prevent core dump when e.out file too large 1988-06-07 12:17:00 +00:00
ceriel 9f9681bf39 corrected CFU 1988-06-07 11:08:55 +00:00
ceriel 8a368a9ed1 Added code for new LOI/STI opcodes 1988-06-06 10:30:57 +00:00
ceriel 02297c82ff fixed em.c: call lib/em44 instead of lib/int44 ... 1988-06-03 16:13:57 +00:00
ceriel cd893a6ff8 corrected 1988-06-03 14:25:26 +00:00
ceriel 2565b29679 changed int?? into em?? 1988-05-06 17:40:44 +00:00
ceriel 0be2e884b1 some last-minute minor changes 1988-05-06 17:03:30 +00:00
ceriel d33fa59a9f found a %D; replaced by %ld 1988-05-06 17:03:06 +00:00
ceriel 066439ec19 changed int?? to em?? 1988-05-06 13:46:55 +00:00
ceriel 7f7078c9f0 check that files can be created 1988-05-04 16:49:58 +00:00
ceriel f63363cfb8 small fix in sigvec 1988-05-04 16:16:41 +00:00
ceriel eb3dd52dd8 added comment 1988-05-03 09:53:52 +00:00
ceriel 43de234b53 Added floating point support 1988-04-28 15:16:07 +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 c4d0a4f449 corrected the overflow checks 1988-04-28 14:21:55 +00:00
ceriel 81e724d4f6 improved printf 1988-04-28 11:16:50 +00:00
ceriel 2e009ecfff almost fixed problem with cfu 1988-04-27 16:57:43 +00:00
ceriel d9638fca0e fixed bug: did not convert 0 right 1988-04-25 18:13:32 +00:00
ceriel 264773ee06 fixed bug in SIM and SIG 1988-04-25 17:05:36 +00:00
ceriel e4838a6225 dont generate .data4 1988-04-25 10:31:33 +00:00
ceriel 816c7e6416 made ioctls to work better on sun 1988-04-22 19:41:22 +00:00
ceriel d6f2d2f25c corrected wait systemcall 1988-04-22 18:49:13 +00:00
ceriel 01faecb6ed conversion to our assembler was not complete 1988-04-22 18:44:28 +00:00
ceriel 3f3b3d04e6 conversion to our assembler was not complete 1988-04-22 18:37:59 +00:00
ceriel 3edf9486c9 fixed to not accept dots in numbers 1988-04-22 18:34:22 +00:00
ceriel 3228f4f21b restore external base, just to be sure 1988-04-22 17:19:40 +00:00
ceriel 856f58468e restore external base, just to be sure 1988-04-22 16:54:58 +00:00
ceriel d1a444d6d1 minor fix 1988-04-22 16:19:56 +00:00
ceriel d3da6b76dc avoid use of modf; not portable 1988-04-22 14:17:34 +00:00
ceriel b68e30f6ff avoid use of modf; not portable 1988-04-22 14:11:55 +00:00
ceriel b948e4b59d corrected; sometimes lookahead would fail 1988-04-22 14:02:43 +00:00
ceriel 0aa6d4ed5d corrected: a shift of 32 is not portable! 1988-04-21 18:40:42 +00:00
ceriel 5db0db5959 fixed minor bug in lin instruction (!) 1988-04-21 15:29:02 +00:00
ceriel 211f5d2ad8 improved signal handling 1988-04-20 17:10:21 +00:00
ceriel 379101461e corrected .s files 1988-04-20 16:47:41 +00:00
ceriel cd782a1488 corrected a syntax error 1988-04-20 15:28:26 +00:00
ceriel 083d520d38 SUN4 frexp strikes again ... 1988-04-20 14:42:04 +00:00
ceriel 09eb4f9325 changed xenix3.0 to xenix3 1988-04-20 11:52:53 +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 3f28711419 Added minix 1988-04-19 10:56:12 +00:00
ceriel 8c20160cb6 Initial revision 1988-04-19 10:38:18 +00:00
ceriel e9f4f7498c corrected somewhat 1988-04-19 10:33:07 +00:00
ceriel 709fee14c6 Initial revision 1988-04-19 10:19:15 +00:00
ceriel cac49c513c Added cleanup 1988-04-19 10:13:41 +00:00
ceriel 9d3ae1c4d0 Added minixST 1988-04-19 09:40:02 +00:00
ceriel a61b1a19bb Initial revision 1988-04-19 09:34:37 +00:00
ceriel 5140441585 Initial revision 1988-04-19 09:27:51 +00:00
ceriel 1c7c9c60cf fef4 and fef8 did not quite work properly: the exponent part is an
int, not a short!
1988-04-14 18:06:47 +00:00
ceriel f92dad2d9d only fclose on non-NULL streams 1988-04-14 16:09:02 +00:00
ceriel 7971761628 generated illegal code; fixed 1988-04-14 16:03:55 +00:00
ceriel 37e21bc6a5 changed copyright notice 1988-04-12 11:30:10 +00:00
ceriel 287ff14a1f fixed typo 1988-04-11 14:46:41 +00:00
ceriel 54d444c5c5 Added xenix3 1988-04-11 12:38:24 +00:00
ceriel 39ac6fb719 some minor fixes 1988-04-11 11:41:50 +00:00
ceriel 155a1ba5c8 adapted to new semantics of the EHEAP error: no longer fatal 1988-04-11 11:37:54 +00:00
ceriel 9d7f47c37a adapted to new semantics of the EHEAP error: no longer fatal 1988-04-11 11:27:37 +00:00
ceriel 8dfcff6911 fixed typo 1988-04-11 11:13:20 +00:00
ceriel 0c45ef1b5a adapted to new semantics of the EHEAP error: no longer fatal 1988-04-11 11:03:22 +00:00
ceriel 6eb15567ae Added some debug print statements 1988-04-11 10:55:07 +00:00
ceriel 6bfdc85d8f adapted to new semantics of the EHEAP error: no longer fatal 1988-04-11 10:50:58 +00:00
ceriel 48d2fa770e minor mod 1988-04-11 10:32:22 +00:00
ceriel b190c55526 fix 1988-04-11 10:11:07 +00:00
ceriel b05198c6bf adapted to new semantics of the EHEAP error: no longer fatal 1988-04-11 09:52:48 +00:00
ceriel 9abbd9eb10 Added some patterns 1988-04-11 09:38:31 +00:00
ceriel 6535d32447 Added libm2 1988-04-08 13:39:19 +00:00
ceriel 131efe9348 Added libm2 1988-04-08 13:12:53 +00:00
ceriel e2f1bc59a0 adapted so that interpreter traps on floating point instructions 1988-04-07 13:14:27 +00:00
ceriel 0582d4d83e Added libfp 1988-04-07 12:39:19 +00:00
ceriel d664b9fb0b Initial revision 1988-04-07 12:36:30 +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 41bf233413 Added libfp 1988-04-07 12:26:29 +00:00
ceriel 4e2aea5cb0 Initial revision 1988-04-07 12:23:02 +00:00
ceriel a614f3be7a Added ncg and libfp 1988-04-07 11:49:19 +00:00
ceriel 87a5000e57 Initial revision 1988-04-07 11:45:42 +00:00
ceriel 10b3d3d862 added floating point lib 1988-04-07 11:42:21 +00:00
ceriel 8ee3542787 Added copyright notices 1988-04-07 11:40:46 +00:00
ceriel 8a96f95c59 Initial revision 1988-04-07 10:57:49 +00:00
ceriel cb4e02f02e fixed 1988-04-06 18:36:59 +00:00
ceriel 4beb60683f Initial revision 1988-04-06 15:12:11 +00:00
ceriel 56b03adad0 z8000 uses asld, so suffix of targets is .s 1988-04-06 15:10:56 +00:00
ceriel da052fb6ee Initial revision 1988-04-06 14:49:41 +00:00
ceriel e25004012b Added an 'all' entry 1988-04-06 14:46:04 +00:00
ceriel 288c4c9a13 Added .distr file, added 'all' entry in Makefile 1988-04-06 14:42:22 +00:00
ceriel d48f810ef6 Added .distr file 1988-04-06 14:37:14 +00:00
ceriel 04cabf258d Initial revision 1988-04-06 14:24:36 +00:00