Commit graph

2437 commits

Author SHA1 Message Date
ceriel 2873c58731 Added debugger support 1990-11-01 09:42:03 +00:00
ceriel b314975f0f LIM puts a word-size object on stack 1990-11-01 09:36:47 +00:00
eck 05ddeafbfd fixed labeldefs so that registers are killed
replaced 'cms <w>' bij 'cmi <w>'
1990-10-29 17:05:35 +00:00
ceriel f78e573b69 fixed labeldefs so that registers are killed 1990-10-29 16:39:39 +00:00
ceriel 32f21c2bfa changed 'uses REG=%1' behaviour: if no REG containing %1 is found, an
attempt is made to find an empty one
1990-10-26 18:18:53 +00:00
eck 54cc752a9e fixed bugs with ext_[wl] arguments, changed reusage of registers 1990-10-26 16:52:43 +00:00
eck c33f7cbe76 changed homefromsubdir a little 1990-10-16 10:07:12 +00:00
ceriel 7be2815cbc fix to fit? macros 1990-10-15 13:59:55 +00:00
ceriel 06e6c8638f fix: addr_t must be long 1990-10-05 16:31:55 +00:00
eck 6f6dff3461 forgot to add homefromsubdir to .distr 1990-10-01 17:12:54 +00:00
eck 14133b5e2f added _sigvec.s and changed call of sigvec() in signal.c 1990-09-28 17:13:40 +00:00
ceriel 7fbfa4360c Added _sigvec and _syscall 1990-09-28 17:12:33 +00:00
eck e91e983728 changed _end to __end because of namespace pollution 1990-09-28 15:35:16 +00:00
eck 30922a239d changed some names because of namespace pollution 1990-09-28 15:19:06 +00:00
eck 63e1c0e44a changed some names because of namespace pollution 1990-09-28 13:47:47 +00:00
eck 4001fbb580 changed makefile, added homefromsubdir 1990-09-28 13:13:34 +00:00
eck bb85ecc4f0 changed some names because of namespace pollution 1990-09-28 13:08:07 +00:00
eck 74edeea849 changed end_em to avoid namespace pollution 1990-09-28 09:47:50 +00:00
eck cd8e8e5aef completed Makefile entries 1990-09-28 09:47:40 +00:00
eck a50ec18466 some minor fixes 1990-09-28 09:29:51 +00:00
eck 03a65131fc forgot homefromsubdir in .distr 1990-09-27 16:56:10 +00:00
eck 851b82ee09 added head_ac 1990-09-27 16:37:22 +00:00
eck 56502994f4 changed end_em to library to avoid namespace pollution 1990-09-27 14:29:09 +00:00
ceriel 1ade1b814d Added patterns 1990-09-25 15:12:26 +00:00
ceriel 4c8596ee05 Fix: cmp.l A,A is not the same as tst.l A 1990-09-25 14:59:28 +00:00
ceriel e3bb56818b fix INS and INSB 1990-09-21 14:24:03 +00:00
eck 7488a2fbba added cv to .distr 1990-09-21 12:53:58 +00:00
ceriel d800aaf11a Added .distr 1990-09-20 16:18:57 +00:00
ceriel 094c19f350 Added JC and JNC (aliases for JB and JNB) 1990-09-20 14:18:52 +00:00
eck 641a446f01 Added ANSI-C library 1990-09-18 15:02:27 +00:00
eck 6f1d9fbf70 forgot to update Action 1990-09-18 14:59:50 +00:00
eck d1050c2382 improved makefile 1990-09-18 14:56:52 +00:00
eck a0f46ee7a6 Initial revision 1990-09-18 14:42:32 +00:00
eck 5571e06719 added libcc.ansi to .distr 1990-09-18 14:37:29 +00:00
eck 9eefd96eb1 deleted unnecessary label 1990-09-14 16:37:30 +00:00
eck bd4bc1cad0 replaced some move's by move_i's 1990-09-14 14:30:07 +00:00
ceriel 4a4153bb8b Added Xcv.c 1990-09-05 11:54:11 +00:00
eck 5badcb4296 changed stackheight computation to top element size computation 1990-09-04 17:16:00 +00:00
eck ee652e6908 changed stacheight to topeltsize 1990-09-04 17:13:37 +00:00
ceriel 2f83a7e3d9 fix: also kill condition codes if they are set to a register that is to be killed 1990-09-03 11:12:44 +00:00
ceriel 67f0419dc3 Additions for debugger information 1990-09-03 11:07:22 +00:00
ceriel b2ca3783c4 keep the names .csa and .csb for backwards compatibility 1990-09-03 10:25:57 +00:00
eck bee5d97eac fixed some bugs in new pattern 1990-08-28 15:01:17 +00:00
eck dc500c3463 fixed some strange constructions 1990-08-24 16:20:57 +00:00
ceriel 97d1275cfe changed 'enter' into 'entry' (80286) 1990-08-23 09:30:56 +00:00
eck 0bf7d60080 several improvements + fixes 1990-08-22 16:26:21 +00:00
eck ba475d78a2 added optional .w to OP_EA_D 1990-08-21 10:59:09 +00:00
eck 797f90a022 changed interface for cs[ab] 1990-08-21 10:17:49 +00:00
ceriel e2ce4995e6 Initial revision 1990-08-20 15:07:38 +00:00
ceriel 78681448e4 new table (merged with m68k2) 1990-08-20 15:00:15 +00:00
eck b4a2b975a0 added m68k2 stuff, added patterns 1990-08-20 13:55:38 +00:00
eck 535e64328a added _sigsetmask.s 1990-08-09 15:40:08 +00:00
eck fd921229f2 added _sigsetmask.s 1990-08-09 15:29:51 +00:00
eck 17158641e0 fixed error in .trp: it could generate a bus error 1990-08-03 16:16:28 +00:00
ceriel e0ff37aa6e support for long strings 1990-08-01 14:30:45 +00:00
ceriel 6d675af42c removed limit on string size 1990-07-30 15:40:08 +00:00
ceriel 05db577e01 some fixes 1990-07-30 14:52:58 +00:00
ceriel 5c0938d05b Added some more support for debugger 1990-07-30 09:43:45 +00:00
eck c615803fa6 changed names of csa and csb to csa4 and csb4 1990-07-25 11:46:27 +00:00
eck 7ef2d1bc37 switch to text segment when generating a label 1990-07-20 14:02:35 +00:00
eck b23125354b added patterns for stackheight mechanism 1990-07-19 17:22:56 +00:00
eck 4ef2c70ed3 added stackheight message handling 1990-07-18 14:53:19 +00:00
ceriel 30824d6133 replaced call of non-existing Dvu to a call to Duv 1990-07-18 09:11:33 +00:00
ceriel fbe4a79045 check result of array address calculation 1990-07-04 14:24:55 +00:00
ceriel 5512f14697 use new con_float 1990-06-29 11:05:19 +00:00
ceriel 56858bb480 bug fix: wrong procedure was called 1990-06-27 09:29:55 +00:00
ceriel 736108572f produce commons, fix bug with mov-extend instructions 1990-06-25 15:48:49 +00:00
ceriel b972fea237 produce commons for bss 1990-06-25 13:42:02 +00:00
ceriel 97e131bc81 Added bsbb and bsbw 1990-06-19 15:27:43 +00:00
ceriel 9de0c3d920 fixed optimizations that were wrong with indexed mode 1990-06-19 15:15:37 +00:00
ceriel a8f5884144 cg no longer part of distribution 1990-06-14 16:52:04 +00:00
ceriel ddd97f9328 Added new patterns 1990-06-14 16:45:33 +00:00
ceriel 9eaa440fab removed DEBUG #define 1990-05-31 13:33:31 +00:00
ceriel da8f9124ff compares with 0 were wrong 1990-05-18 13:22:13 +00:00
ceriel 74147d2b4a ignore NOP 1990-05-17 19:40:15 +00:00
ceriel b04388a326 fixed some patterns: operand could have side effects 1990-05-08 09:03:28 +00:00
ceriel f2b4713c24 cast ptrdiff_t to int for ANSI 1990-04-25 14:23:05 +00:00
ceriel ed81d83f4c use .limhp 1990-04-23 13:39:26 +00:00
ceriel f95fae24fc moved a coercion 1990-04-23 13:38:19 +00:00
ceriel 2b488e1021 INS instruction fix 1990-04-23 13:33:26 +00:00
ceriel fb25b628d6 yet another bug fix in instructions handling special registers 1990-04-23 12:35:41 +00:00
eck e625c3bdb8 added wait-statements for floating-point library 1990-04-17 13:57:23 +00:00
eck 90963fd585 added csa4 and csb4 1990-04-12 11:35:10 +00:00
eck f1351720e5 added csa4 and csb4 1990-04-12 11:29:49 +00:00
ceriel f0c0b894f2 corrected SDF patterns 1990-04-04 15:06:32 +00:00
ceriel 16ef0467a8 Fixed wrong assertion, and fixed bug in distance routine: it did not check
that each stackpattern token that does not exactly match can be made from the
stack
1990-04-04 14:52:29 +00:00
ceriel fd80d596df produced incorrect 'pure' objects 1990-03-29 09:46:14 +00:00
ceriel 3553a28b78 fix: still sometimes assumed that a move to address register sets condition codes 1990-03-26 14:47:26 +00:00
ceriel 863824de01 fixed bug in conversion from float/double to unsigned 1990-03-26 14:16:59 +00:00
ceriel f99d67e76e minor improvement: LDC CMS T?? does not need STACK in stack pattern 1990-03-20 15:49:04 +00:00
ceriel 353d22ea90 LDC CMS TNE was wrong 1990-03-20 15:01:25 +00:00
ceriel 71156a48ae Fixed 16-bit address mode bugs 1990-03-19 14:46:55 +00:00
ceriel 2c7496a525 Added 16-bit mode 1990-03-12 16:24:58 +00:00
ceriel 6e0c2ad593 Added arpl instruction 1990-03-09 11:07:43 +00:00
ceriel 2236ff6d6a Fix: some patterns were never found due to wrong condition 1990-02-28 12:10:49 +00:00
ceriel 239d634ab1 Added pattern for cmp A,A 1990-02-27 16:31:10 +00:00
ceriel 9d4e978a1e fixed problems with overflow bit in condition codes 1990-02-27 16:21:47 +00:00
ceriel 95632b0fef Oops in assertion: MAXPROCARG instead of MAXPROCARGS 1990-02-23 17:05:04 +00:00
ceriel 551b10f3a6 fixed for 2-byte machines 1990-02-23 17:00:59 +00:00
ceriel 0ec452930f print pointer as hex 1990-02-23 16:58:34 +00:00
ceriel 972d39139d Added some patterns for shifts with constant shift count 1990-02-19 16:38:35 +00:00
ceriel 8bfbe723db bug fix: far calls+jumps with address prefix were wrong 1990-02-19 09:06:16 +00:00
ceriel 2293458101 corrected: _fstat is in _Xstat.c 1990-02-13 09:20:50 +00:00
ceriel 3f950c9f17 Added a new operator for ncg: is_rom() 1990-02-09 16:34:17 +00:00
ceriel 541279bd1e Changed an #ifdef NOTDEF to #if 0 1990-02-09 15:03:17 +00:00
ceriel 8a8bb6cf10 removed wrong pattern 1990-02-09 10:41:58 +00:00
eck b40425786c added 80286 instructions 1990-02-02 16:28:06 +00:00
ceriel 0c5cce9a96 max filename length too short in error messages 1990-01-31 16:27:05 +00:00
ceriel 6c588b0ae8 fixed again 1990-01-30 14:02:49 +00:00
ceriel 5929f3dd0e Fix: illegal optimizations of muls 1990-01-30 13:41:36 +00:00
ceriel 9b1f6614f6 some optimizations were not protected by calls to small() 1990-01-24 12:37:33 +00:00
ceriel 94b3467079 improved Makefile 1990-01-23 13:16:47 +00:00
ceriel 76cd1e34ca fixed: did not compile 1990-01-23 12:06:05 +00:00
ceriel 7cb9955f82 corrected 1990-01-22 17:07:11 +00:00
ceriel 0710269e32 corrected 1990-01-22 16:48:13 +00:00
ceriel a42999afab Added strhp.s 1990-01-22 16:25:52 +00:00
ceriel 36dbf24131 adapted so that _brk routine may update .limhp 1990-01-22 15:38:46 +00:00
ceriel 4c7f63ee6c adapted so that _brk routine may update .limhp 1990-01-22 15:32:44 +00:00
ceriel 2782e386f9 No chmk; use the system call library 1990-01-22 15:28:45 +00:00
ceriel 8850b696ab brk routine updates .limhp 1990-01-22 15:05:10 +00:00
ceriel 7e34a42088 Use .limhp 1990-01-22 15:03:13 +00:00
ceriel ea891cfb3c Added .limhp 1990-01-22 14:57:58 +00:00
ceriel 9ecf2ad8f8 Use .limhp 1990-01-22 14:39:47 +00:00
ceriel 13ce9b12ac Added .limhp (for later use?) 1990-01-22 14:34:58 +00:00
ceriel f815a342e7 Use .limhp 1990-01-22 14:25:10 +00:00
ceriel 9f0c356194 Added entry points for ANSI C 1990-01-22 14:15:55 +00:00
ceriel 5241920b3c Use .limhp 1990-01-22 14:14:38 +00:00
ceriel 786665c582 Use .limhp 1990-01-22 14:08:16 +00:00
ceriel ee026dd2ab Added entry points for ANSI C 1990-01-22 13:59:43 +00:00
ceriel 73bfa1d1ab Use .limhp 1990-01-22 13:58:54 +00:00
ceriel bf95ea8fd9 Added entry points for ANSI C 1990-01-22 13:41:58 +00:00
ceriel 1fdf2d2e19 Added entry points for ANSI C 1990-01-22 13:09:29 +00:00
eck a940c44ae5 added new routines for ansi 1990-01-22 11:56:01 +00:00
ceriel c6d87355db Added entry points for ANSI C 1990-01-22 11:24:37 +00:00
eck 68e198f375 added new routines for ansi 1990-01-22 11:14:56 +00:00
ceriel 67f0c95888 Added entry points for ANSI C 1990-01-22 11:01:47 +00:00
eck 69e2ddcb49 added new routines for ansi 1990-01-22 10:54:12 +00:00
eck 0614d593dd forgot _dup() & _creat() 1990-01-22 10:34:50 +00:00
eck aee0dc7377 forgot _dup() 1990-01-22 10:28:09 +00:00
ceriel 666c527a43 Added some more entry points for ANSI C 1990-01-22 10:20:09 +00:00
eck 55fab905c1 forgot _creat() 1990-01-22 09:28:35 +00:00
eck 9ee0876c2b added new routines for ansi 1990-01-22 08:51:54 +00:00
ceriel 66327ddda6 Added entry points for ANSI C 1990-01-19 17:37:29 +00:00
ceriel 9eff28dac8 Added entry points for ANSI C 1990-01-19 17:22:11 +00:00
eck 8c0b75b068 forgot _execve() 1990-01-19 17:15:47 +00:00
ceriel b2ce4472b5 Added entry points for ANSI C 1990-01-19 17:05:29 +00:00
eck 5c228063bc forgot _sbrk(), _fstat(), _times() 1990-01-19 16:25:54 +00:00
ceriel b6038dab22 Added entry points for ANSI C 1990-01-19 16:22:03 +00:00
ceriel 89b736ba83 Added mechanism to warn correctly about conflicts 1990-01-19 16:05:44 +00:00
ceriel 0939a12a70 Added entry points for ANSI C 1990-01-19 16:03:46 +00:00
eck 86b0d0bc80 added new routines for ansi 1990-01-19 15:17:33 +00:00
ceriel 7913b6800a simplified a bit, and documented better 1990-01-17 16:05:00 +00:00
ceriel 018558cb9e fixed prvious change 1990-01-15 12:42:57 +00:00
ceriel 2138609918 do not remove targets for install or cmp 1990-01-15 11:47:10 +00:00
ceriel dd22ea4caf fixed bug in translation of BR instruction 1990-01-15 11:44:43 +00:00
ceriel 54cb64aef2 Adapted for use of the ACK VAX assembler 1990-01-12 17:58:12 +00:00
ceriel 0ce4d37e54 Adapted for use of ACK VAX assembler 1990-01-12 17:05:42 +00:00
ceriel 7babff444a some more fixes 1990-01-12 17:02:31 +00:00
ceriel 027b33d313 VAX a.out to ACK a.out conversion program, first version 1990-01-12 16:58:02 +00:00
ceriel 57dfc84ee7 ACK VAX assembler, first version 1990-01-12 16:55:50 +00:00
ceriel 0004fd81ed fixed again 1990-01-12 15:41:59 +00:00
ceriel cb25b013fb fixed for 0 argument 1990-01-12 15:34:21 +00:00
ceriel 558a632821 errno in .bss 1990-01-12 14:13:39 +00:00
ceriel e2732629bf Fix for PDPFLOAT format 1990-01-12 11:52:51 +00:00
ceriel 6dac59f2d4 some more changes to use VAX assembler 1990-01-12 10:29:26 +00:00
ceriel c9312a41da make labels disappear 1990-01-12 10:11:44 +00:00
ceriel 5521ebb35a Adapted for use of ACK VAX assembler 1990-01-11 16:44:19 +00:00
ceriel 7fed954836 use LABEL_STARTER 1990-01-11 16:33:53 +00:00
ceriel 15d1e95d31 Adapted for use of ACK VAX assembler 1990-01-11 16:10:13 +00:00
ceriel de564c09b2 Adapted for use of ACK VAX assembler 1990-01-11 16:00:19 +00:00
ceriel 776f85238f bug fix: cannot optimize IMUL 1990-01-10 11:23:45 +00:00
eck a8f0aa6016 various fixes to makefile 1990-01-03 16:42:36 +00:00
eck 02d396c33a forgot .distr 1989-12-19 15:46:39 +00:00
eck 68a72d2ceb Initial revision 1989-12-19 15:45:15 +00:00
ceriel a5f05e8ba0 changed character comparisons with NULL 1989-12-13 09:19:47 +00:00
ceriel a022b9490c LOE INE used address register; it is probably better to use a general register 1989-11-30 10:07:49 +00:00
ceriel 75cab1f389 Added a move 1989-11-29 12:47:23 +00:00
ceriel cd64ce0424 rounding for un-normalized numbers was wrong 1989-11-29 09:56:59 +00:00
ceriel 79b0bb3347 do not declare sprintf. On some systems it is an int, on others it is
a char *
1989-11-29 09:55:03 +00:00
ceriel 0e2861d8b0 Added 80[23]87 support 1989-11-29 09:49:35 +00:00
ceriel 2465ad8ed8 fixed bug: sometimes destroyed contents of register variable 1989-11-28 14:42:56 +00:00
ceriel 55a133aa3c fef did not work properly for negative args 1989-11-28 12:51:35 +00:00
ceriel b91af798bc fixed rounding on ties to round to even, and fixed extend bug (test for 0
was wrong)
1989-11-27 16:26:02 +00:00
ceriel 1758da9285 Added fp8087.s 1989-11-27 16:19:16 +00:00
ceriel 61c646a496 Added 8087 support 1989-11-27 16:19:15 +00:00
ceriel 5ffd738802 cleaned up a bit 1989-11-21 15:44:29 +00:00
ceriel 6a19ee76cc removed some superfluous instructions 1989-11-21 15:42:56 +00:00
ceriel 43e04499d0 changed label formats 1989-11-21 15:40:24 +00:00
ceriel 295c8d2515 a fix to ZER ? and simplified ZRL, ZRE 1989-11-21 11:38:08 +00:00
ceriel a46596cbba new object module makes buffering superfluous 1989-11-17 16:50:59 +00:00
ceriel f9d19e9302 fixed assembler part of link instruction 1989-11-15 17:46:25 +00:00
ceriel edf2f575a2 link instruction does not work for more than 32768 bytes locals on M68000 1989-11-15 16:10:18 +00:00
ceriel c5ee3b6735 Added patterns 1989-11-09 18:43:02 +00:00
ceriel 95fc55f840 fix: did not work for 4-byte floats 1989-11-09 17:01:29 +00:00
ceriel d9d6cc127f Allow more procedure parameters 1989-11-09 11:04:18 +00:00
ceriel 339f9dd942 fixed bug in EM replacement code, and use new #defines from tables.h 1989-11-08 17:13:33 +00:00
ceriel 636c151d51 fix: printed wrong message; now dumps core at end 1989-11-08 14:42:09 +00:00
ceriel 9dcaf4ecdc improved checking 1989-11-08 12:30:55 +00:00
ceriel f3250e5db5 fixed: commited wrong version 1989-11-08 11:22:50 +00:00
ceriel 1546ac1235 fixed: send ended up in data segment! 1989-11-06 11:35:52 +00:00
ceriel 6d39055193 use fwrite instead of write 1989-11-03 18:32:32 +00:00
ceriel 1158018fdf Added some patterns 1989-11-03 13:28:37 +00:00
ceriel 0928518b8d Added a nicer trap handler 1989-11-03 11:54:41 +00:00
ceriel a951391408 removed stop.s 1989-11-03 11:53:47 +00:00
ceriel bc565a13f1 updated to minix 1.3 1989-11-03 09:25:46 +00:00
ceriel d72e4424cd modified labels 1989-11-01 15:35:42 +00:00
ceriel c33ae16bce the include file is called con_float, not float_cst 1989-11-01 10:57:04 +00:00
ceriel 9c03f2c8bd kill tokens using address registers better 1989-11-01 10:14:27 +00:00
ceriel da85a0fa2f Added code expander 1989-10-31 11:14:01 +00:00
ceriel 64c2ad3838 There is no d0 register! 1989-10-27 18:20:14 +00:00
ceriel c2f70c4857 andl3 does not exist! use bicl3 instead 1989-10-27 18:03:37 +00:00
ceriel f04baf2201 Added code expander 1989-10-27 09:06:43 +00:00
ceriel cd1bb106ec improved STI 8 code 1989-10-26 15:54:21 +00:00
ceriel 9196107b79 fixed so that jumps back to local labels also work 1989-10-26 15:42:30 +00:00
ceriel 74546bd985 Added a command to kill a register 1989-10-26 15:41:38 +00:00
ceriel adc8fc6e9e Added _exit.c 1989-10-26 11:51:46 +00:00
ceriel acfb0f2eed Added _exit.c 1989-10-26 11:39:31 +00:00
ceriel 69d8dc3b44 use new version of con_float 1989-10-26 11:07:26 +00:00
ceriel a751b2ef42 Use Motorola byte order for floating point 1989-10-26 11:04:53 +00:00
ceriel 7f4a6b31a7 Use Intel byte order for floating point 1989-10-26 11:03:30 +00:00
ceriel cf855ea282 fixed so that jumps back to local labels also work 1989-10-26 11:01:44 +00:00
ceriel ed479cbb76 Do not call the .nop subroutine for a NOP (ANSI C modification) 1989-10-26 10:10:34 +00:00
ceriel 851a0c4501 Use Intel byte order for floating point 1989-10-26 09:52:41 +00:00
ceriel 3a8a4fc1df Use Motorola byte order for floating point 1989-10-26 09:49:32 +00:00
ceriel 3899b18911 Motorola byte ordering 1989-10-25 17:35:09 +00:00
ceriel d4d3e6b484 use 8087 byte order 1989-10-25 17:33:49 +00:00
ceriel a5b0790d96 Added CSA ==4 and CSB ==4 entries, needed for ANSI C 1989-10-25 17:21:52 +00:00
ceriel 13ea4896b0 changes for different byte orderings 1989-10-25 17:15:37 +00:00
ceriel 07f019213d Added csa4.s and csb4.s 1989-10-25 17:08:45 +00:00
ceriel 68a2852f57 fixed bug and changed con_float 1989-10-25 13:24:29 +00:00
ceriel 88a316478d adapted floating point package to handle IEEE format in different byte orders 1989-10-24 16:10:01 +00:00
ceriel b4e38b8fcd adapted to use 80387 floating point format 1989-10-24 16:00:37 +00:00
ceriel b5a1f8a3b3 define IEEEFLOAT 1989-10-24 15:08:27 +00:00
ceriel 8740dcc72e adapted to use 80387 floating point format 1989-10-24 15:00:09 +00:00
ceriel c5dcddd4fd adapted to also generate other byte-orders 1989-10-24 14:57:17 +00:00
ceriel 42940634dd Added ce directory 1989-10-24 09:30:32 +00:00
ceriel ead414d725 only give warning about relocation info if -u flag is not given 1989-10-23 10:51:46 +00:00
ceriel ba8482c5ab Added another pattern 1989-10-23 10:26:00 +00:00
ceriel 10dd78edbf Added patterns 1989-10-20 17:32:04 +00:00
ceriel 64b7d49c0a Added patterns 1989-10-20 14:36:26 +00:00
eck 78d3e500fb added CPP variable to Makefile 1989-10-20 11:05:00 +00:00
ceriel 95563ae3bc small improvement: added pattern for LDC -1 CMS 4 ZEQ/ZNE 1989-10-18 10:15:49 +00:00
ceriel 85da3bcac1 only give warning about unresolved references if -u option is not given 1989-10-16 14:52:03 +00:00
ceriel 7b969cc623 head_em.sun renamed to head_ext 1989-10-16 14:45:00 +00:00
ceriel 284bd607fd Added head_em.s for Sun floating point emulation 1989-10-13 14:35:50 +00:00
ceriel 9d08fc6678 use strindex() instead of index() 1989-10-12 11:16:43 +00:00
ceriel 19df56bc23 use EMHOME instead of ../../.. 1989-10-11 14:21:37 +00:00
ceriel ebcd62f7d2 bug fix in rounding for 4-byte floating point numbers 1989-10-11 13:34:05 +00:00
ceriel 9feb3f9254 Added i386 to .distr file 1989-10-10 14:20:45 +00:00
ceriel 48252cc673 initial version 1989-10-10 11:40:55 +00:00
ceriel 010bade227 many fixes, found by actually running the code 1989-10-10 11:38:18 +00:00
ceriel 9715c40c3f initial version 1989-10-10 11:01:01 +00:00
ceriel a96f33ef34 many fixes; got working afcc with this version 1989-10-10 10:58:30 +00:00
ceriel e713e6f8fe many fixes, found by actually running the code it produces 1989-10-10 10:54:20 +00:00
ceriel d25472bbfb many fixes; now passes the tests 1989-10-10 10:44:26 +00:00
ceriel 8f74dd7ae6 Initial revision 1989-10-10 10:38:39 +00:00
ceriel 7e0c59d59a some fixes 1989-10-09 14:15:51 +00:00
ceriel eb2a76270f corrected XOR problem, and ILOCAL does not exist for m68k4 1989-10-06 11:13:16 +00:00
ceriel 5d8db9045e fixed: removed an #endif 1989-10-04 11:06:18 +00:00
ceriel 463a0e7f40 use the con_float include file 1989-10-04 10:28:50 +00:00
ceriel 77259cd2f9 removed yet another eor.l error 1989-09-29 11:45:19 +00:00
ceriel 18439ffa3f exit from main instead of return 1989-08-22 11:46:56 +00:00
ceriel 360caa08bb use strindex instead of index 1989-08-21 17:03:05 +00:00
ceriel 4c0ea89fe0 use strindex instead of index 1989-08-21 16:56:15 +00:00
ceriel 319d9bcfe0 declaration of sprintf only if __STDC__ is not defined 1989-08-21 11:43:41 +00:00
ceriel 04dcaf5685 did not handle -0.0 right 1989-08-15 09:04:49 +00:00
ceriel 650c178631 fix: did not handle 0.0 right 1989-08-15 09:02:38 +00:00
ceriel 92bccdd4fa inline FEF code for M68881 was wrong; replaced bu subroutine call 1989-08-10 14:17:50 +00:00
ceriel 8a096ffacb removed old comment 1989-08-09 16:38:12 +00:00
ceriel f755d6683d fix to fix: did not handle negative arguments right 1989-08-09 16:29:15 +00:00
ceriel 5785bb133b fixed problem with fef on Infinity 1989-08-09 14:37:37 +00:00
ceriel 98f011552e improved rounding 1989-08-09 14:37:07 +00:00
ceriel c302ed167c much improved version 1989-08-01 16:40:28 +00:00
ceriel 2b2698c44c Added fp68881.s 1989-08-01 16:32:34 +00:00
ceriel 3ed9932864 removed #define for IEEEFORMAT; now, the floating point package always
uses this format
1989-07-31 15:15:41 +00:00
ceriel 37379d70ba some fixes: fif did loose too many bits; unnormalized form did not work 1989-07-31 15:10:54 +00:00
ceriel 338fb5fb30 use con_float routine 1989-07-31 15:10:36 +00:00
ceriel d12053873a adapted for changed floating point package 1989-07-31 14:54:53 +00:00
ceriel ed19a3d568 removed IEEEFORMAT #define 1989-07-31 14:52:45 +00:00
ceriel 6572fa2def use con_float file, and use new interface to fif and fef routines 1989-07-31 14:50:19 +00:00
ceriel 066c005493 Added #define for CODE_GENERATOR 1989-07-31 14:45:40 +00:00
ceriel 0ad83c648e fixed interface to fef routines 1989-07-31 14:43:51 +00:00
ceriel 1280176fb0 removed IEEEFORMAT #define, and define USE_DIVIDE for i386 1989-07-31 14:35:34 +00:00
ceriel 022b40d40c use new interface to fif and fef routines 1989-07-31 14:34:23 +00:00
ceriel fc9e01c8d8 removed IEEEFORMAT #define 1989-07-31 14:32:08 +00:00
ceriel 0ef99949bc use con_float file, and use new interface to fif and fef routines 1989-07-31 14:25:53 +00:00
ceriel ef8450fce9 use con_float file, and use new interface to fif and fef routines 1989-07-31 11:42:27 +00:00
ceriel 4759f1c9f9 use con_float file 1989-07-31 11:22:43 +00:00
ceriel 6f9afbf0d5 use IEEE format in floating point package 1989-07-25 15:50:29 +00:00
ceriel f7360f0fec many changes, to use IEEE format 1989-07-25 14:21:09 +00:00
ceriel c7be2d1a44 bug fix in NGI for longs 1989-07-24 10:40:21 +00:00
ceriel c8ca61ba6e con_float now uses the flt_arith module 1989-07-11 14:17:34 +00:00
ceriel 96916a7ab4 there is no longer a lib directory; it is replaced by ../libce 1989-07-11 11:34:51 +00:00
ceriel a7b5504034 new mechanism for floating point constants 1989-07-10 17:15:55 +00:00
ceriel c820d77690 new floating point constant mechanism 1989-07-10 16:52:02 +00:00
ceriel 811612634a replaced some db.. instructions; they are wrong if the count register
contains a count > 65535
1989-07-07 16:01:03 +00:00
ceriel 00c4a00675 replaced some db.. instructions; they are wrong if the count register
contains a count > 65535
1989-07-07 15:11:35 +00:00
ceriel b32fb46dfe replaced some db.. instructions; they are wrong if the count register
contains a count > 65535
1989-07-07 15:05:33 +00:00
ceriel 01a95e3b08 replaced some db.. instructions; they are wrong if the count register
contains a count > 65535
1989-07-07 13:53:37 +00:00
ceriel 55da4da081 some fixes 1989-06-28 12:51:16 +00:00
ceriel 3aec06a088 Added ret.s 1989-06-28 12:40:22 +00:00
ceriel 7fadcacc26 fixed bug: the assembler suppressed a relocation record because it
thought it was RELPC. It was not
1989-06-27 16:26:02 +00:00
ceriel b005d26d3f removed the ACKFLOAT #define 1989-06-27 13:17:39 +00:00
ceriel 1ae39bf15b Added con_float, for floating point constants 1989-06-27 13:16:17 +00:00
ceriel 869ba1ec9e use make_asobj 1989-06-19 11:27:36 +00:00
ceriel 0374c089c3 Added some patterns for floating point code 1989-06-19 11:24:10 +00:00
ceriel eabc223bf0 generated stupid code for long unsigned comparison 1989-06-19 11:23:08 +00:00
ceriel 9953b58092 don't remove compiler generated labels when they are external 1989-06-19 11:19:22 +00:00
ceriel a9102764e6 Added ranlib line 1989-06-19 11:16:53 +00:00
ceriel 56e985729d some added patterns for M688881, and a fix 1989-06-15 10:35:42 +00:00
ceriel e8aadf4409 some optimizations for M68881; it is still horrible, though 1989-06-12 14:05:25 +00:00
ceriel 43fb961091 Added simple support for M68881 1989-06-12 09:30:39 +00:00
ceriel 133ecee90d fixed typo 1989-06-09 09:53:29 +00:00
ceriel 2b8ee048c8 Added saving of registers 1989-06-09 09:32:40 +00:00
ceriel 2cd40f68e6 Added support for MC68881 floating point processor 1989-06-08 12:46:17 +00:00
ceriel 7c26c21b87 fixed typo, which resulted in memory fault 1989-05-30 10:41:42 +00:00
ceriel 2f81a59738 removed printf.s, put in dia.s 1989-05-30 10:38:45 +00:00
ceriel 3d7da616bf Added files 1989-05-29 14:45:56 +00:00
ceriel 013ccf9149 changed printf name: removed underscore 1989-05-29 14:42:18 +00:00
ceriel ce81b47935 removed printf.s 1989-05-29 14:40:51 +00:00
ceriel 03d44703a2 bug fixes 1989-05-16 16:02:46 +00:00
ceriel f45eda8c23 call .sts instead of .sti for STS instruction 1989-05-16 15:44:49 +00:00
ceriel 57106471dc some fixes 1989-05-16 15:41:36 +00:00
ceriel 7531131416 fix: kills line for STI 1 with ADDR_LOCAL was wrong 1989-05-11 13:55:31 +00:00
ceriel 3c8a8f0349 fixes: you cannot do stack-references in EM replacements! 1989-05-11 11:25:16 +00:00
ceriel 5a9d09a854 some fixes 1989-05-11 10:57:34 +00:00
ceriel b7c7d50513 fixed typo 1989-05-11 10:43:37 +00:00
ceriel ff4f0602ff Added 'all' entry 1989-05-08 12:42:53 +00:00
ceriel bc1ab42895 some fixes 1989-05-01 18:32:24 +00:00
ceriel 6d9d69aebf take care of proper exit status 1989-04-14 18:33:56 +00:00
ceriel 50114318e2 fixed typo 1989-04-06 14:18:17 +00:00
ceriel 1b6fe5b9ed Added DUP pattern 1989-04-04 09:46:47 +00:00
ceriel c847bfb6c8 improved ASP patterns 1989-04-03 16:16:10 +00:00
ceriel f1c6de0f1f fix: initialize relocation records properly: some fields that are
not used on SunOs 3.5 are used on SunOs 4.0
1989-03-30 14:36:07 +00:00
ceriel 52d3ee55e2 Added ce and libce to .distr 1989-03-22 15:16:36 +00:00
ceriel eef9b6237b Initial revision 1989-03-22 15:06:05 +00:00
ceriel 3ecaa0b634 some fixes: fix order in which registers are allocated, make sure that
a pattern chosen by the distance routine can be made from the stack if the
fakestack does not contain enough tokens
1989-03-17 16:49:58 +00:00
ceriel 7ed597eefc Added tables1 files to .distr 1989-03-16 11:32:16 +00:00
ceriel c69004d5df Added pattern for BLS 4 1989-03-16 11:21:37 +00:00
ceriel c1fc03b7e2 fixed typo's 1989-03-16 11:20:47 +00:00
ceriel fb0051c85a fixed: pattern for ADI STL and the like was wrong 1989-03-14 14:05:10 +00:00
ceriel 101e93205b some more improvements; made fancy modes dependant on #define 1989-03-14 12:47:11 +00:00
ceriel bf62834959 commented out some code 1989-03-06 18:15:50 +00:00
ceriel 7e2d5f6065 commented out some code 1989-03-06 18:02:53 +00:00
ceriel e8aab09b4b some improvements and corrections 1989-03-03 15:16:12 +00:00
ceriel 62729ad0b2 Added some patterns 1989-03-03 12:46:59 +00:00
ceriel 0e3f85e837 Added some patterns 1989-03-03 11:10:13 +00:00
ceriel bc1eb3116e made several patterns dependant on a #define. Using some of the
fancy addressing modes actually made the code slower.
1989-03-01 16:28:18 +00:00
ceriel 992dc3eb65 Many new patterns 1989-03-01 11:32:37 +00:00
ceriel da2ba8e093 Added some patterns 1989-03-01 11:28:49 +00:00
ceriel a22bbe847f use calloc instead of malloc, to make sure block is initialized to 0 1989-03-01 10:00:37 +00:00
ceriel 5c7325e0de fix: tst instruction also allowed on address register 1989-02-28 18:40:35 +00:00
ceriel ef6efdee12 simplified CFF somewhat 1989-02-24 14:58:21 +00:00
ceriel 4c755666b8 fixed bug in Usage line 1989-02-24 14:53:49 +00:00
ceriel 587a8e8274 Added patterns and made some improvements 1989-02-24 14:09:46 +00:00
ceriel 80d87777f0 Added pattern for unlk after stack adjustment 1989-02-24 13:34:49 +00:00
ceriel c3408302c1 better rule for LOE LOF DUP ADP ... 1989-02-23 17:59:30 +00:00
ceriel c6a806ac4d generate better code for LOL ADP STL 1989-02-23 15:46:46 +00:00
ceriel b4e24c5bdd bug fix: some variables were not initialized all the time 1989-02-23 10:40:12 +00:00
ceriel 6f4bdccf04 removed prt_ext 1989-02-23 10:08:20 +00:00
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 13c2a9a2a5 changed interface to CSA and CSB 1989-02-22 17:18:17 +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 b37c8b0b24 improve signal handling of Floating Point Exception 1989-02-21 10:49:51 +00:00
ceriel 6beb10355e changed entry points csa and csb 1989-02-21 10:11:26 +00:00
ceriel 3b61d605c1 fixed syntax error in table 1989-02-21 10:09:22 +00:00
ceriel 75c18ef56c changed entry points csa and csb; strscript should call m68020
instead of acc
1989-02-21 10:09:01 +00:00
ceriel 432cf9054d changed entry points for csa and csb 1989-02-21 10:05:03 +00:00
ceriel a4178ca843 do not catch floating point exceptions anymore 1989-02-17 09:58:06 +00:00
ceriel 59ea3478ac Add include directory when compiling head 1989-02-16 09:40:52 +00:00
ceriel 4da1930ff4 Initial revision 1989-02-15 16:39:58 +00:00
ceriel 0c19cc22e0 fixed some incorrect kills 1989-02-15 11:39:13 +00:00
ceriel fcc033df20 Initial revision 1989-02-14 18:03:13 +00:00
ceriel 01626b2c32 Initial revision 1989-02-14 15:52:25 +00:00
ceriel d7ce393510 Adapted; Do not use /dev/tty 1989-02-09 15:55:33 +00:00
ceriel b11b5996c1 minor correction 1989-02-09 13:26:24 +00:00
ceriel d79ad333bf *** empty log message *** 1989-02-09 13:24:20 +00:00
ceriel dcde07e7a7 use pusha and popa instructions, and on the proper place 1989-02-08 15:47:22 +00:00
ceriel cd70a74d25 Added 1989-02-08 15:29:51 +00:00
ceriel e91749bbce Added 1989-02-08 15:19:42 +00:00
ceriel 143abc2420 Initial revision 1989-02-08 15:12:03 +00:00
ceriel f682c264a8 Initial revision 1989-02-08 14:57:48 +00:00
ceriel 7c22618cb8 make sure that every command ends up in the same directory where it started 1989-02-08 09:44:32 +00:00
ceriel be89699a1a fixed return value of signal 1989-02-08 09:29:27 +00:00
ceriel a13ea6d098 fix in IMUL, define DEBUG 1 1989-02-07 14:30:47 +00:00
ceriel 9dcae8fcd0 made arg_error dependent on DEBUG; fixed cmp instruction in as_table 1989-02-07 11:42:28 +00:00
ceriel fa6900fbbc made back.a dependent on some C files in this directory 1989-02-07 11:32:47 +00:00
ceriel f3584b3d52 made back.a dependent on some C files in this directory 1989-02-07 11:12:13 +00:00
ceriel 37fd03b14b some fixes 1989-02-06 15:15:27 +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 76684055eb some simplifications and a bug fix 1989-02-03 16:32:07 +00:00
ceriel 9ea59fd48a corrected print formats 1989-02-02 16:32:19 +00:00
ceriel 920ba0eebe delinted somewhat 1989-02-02 16:31:51 +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 f7df668450 delinted, added chstack.c 1989-02-02 13:24:50 +00:00
ceriel 1daac3c5d1 made arg_error dependant on DEBUG 1989-02-02 12:49:21 +00:00
ceriel 0291c897be hidden names, made arg_error dependant on DEBUG 1989-02-02 12:29:14 +00:00
ceriel bf6a1eb0ba removed unused code 1989-02-02 12:27:33 +00:00
ceriel 542eb9a7d8 made arg_error dependant on a DEBUG constant, improved Makefile 1989-02-02 11:45:50 +00:00
ceriel 45a94c9858 made arg_error dependant on a DEBUG constant 1989-02-02 11:42:53 +00:00
ceriel df69d70608 Changed some names 1989-01-27 14:15:55 +00:00
ceriel 8811a2af14 Makefile added 1989-01-27 13:22:55 +00:00
ceriel d87e8f72a9 Makefile added 1989-01-27 13:10:44 +00:00
ceriel 7bcd261f8e minor mods 1989-01-27 13:09:37 +00:00
ceriel 039552a46c define CODE_EXPANDER 1989-01-27 12:41:43 +00:00
ceriel c9df20878f improved Makefile 1989-01-27 12:02:55 +00:00
ceriel 817facac14 Added prefix C_ to the names prolog, jump, and locals 1989-01-26 14:04:11 +00:00
ceriel 3a546eb8dd be a bit more liberal with prefixes 1989-01-24 13:51:05 +00:00
ceriel fa9d7ce5ce Added Makefile 1989-01-19 17:51:44 +00:00
ceriel c951295521 Initial revision 1989-01-19 16:43:32 +00:00
ceriel b45706ce7a delinted a little 1989-01-19 16:41:55 +00:00
ceriel 57dfee488a Added .distr 1989-01-19 16:26:18 +00:00
ceriel 6833adfb50 Initial revision 1989-01-19 16:20:46 +00:00
ceriel 4c76583aba simplified assertion 1989-01-19 13:48:09 +00:00
ceriel b83fca4445 use STS and LOS routines 1989-01-19 09:16:15 +00:00
ceriel 6420525753 Added STS and LOS routines 1989-01-18 10:51:57 +00:00
ceriel 7c39967dc5 use STS and LOS routine 1989-01-18 10:51:06 +00:00
ceriel 406d024e9f change to keep lint happy 1989-01-17 11:23:33 +00:00
ceriel ed34e06d2d Added floating point, fixed LPB 1989-01-17 11:05:02 +00:00
ceriel 9c5f0e8159 changes to hide names and some fixes 1989-01-17 10:27:55 +00:00
ceriel b800af87af changes to hide names and some fixes 1989-01-17 09:48:32 +00:00
ceriel 56c0f3bc5b many improvements 1989-01-16 16:10:32 +00:00
ceriel 6ba5c0b850 Added patterns 1989-01-16 13:35:02 +00:00
ceriel 46f633870d fixes and improvements 1988-12-14 15:33:20 +00:00
ceriel 3d6ab89bc1 fix from Lindsey 1988-11-24 09:23:51 +00:00
ceriel e43a0746a8 some more improvements and a fix 1988-11-21 16:55:16 +00:00
ceriel fec83f1be3 many improvements 1988-11-21 15:04:23 +00:00
ceriel 7f77ee091c Added some new patterns 1988-11-15 10:54:37 +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 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
ceriel 50cf97a378 Initial revision 1988-04-06 14:13:41 +00:00
ceriel 0320f9c7ba Added an 'all' entry 1988-04-06 14:08:08 +00:00
ceriel f635588643 Initial revision 1988-04-06 14:03:28 +00:00
ceriel f687134a38 Added an 'all' entry 1988-04-06 13:56:46 +00:00
ceriel 4afb2f0b23 Initial revision 1988-04-06 13:46:40 +00:00
ceriel dc24ab8b57 Added an 'all' entry 1988-04-06 13:41:06 +00:00
ceriel dc547a271a added .distr file 1988-04-06 13:38:42 +00:00
ceriel 6211edb4c6 z8000 uses asld 1988-04-06 13:18:10 +00:00
ceriel ffff65a8d7 Initial revision 1988-04-06 13:17:21 +00:00
ceriel 6507aa0a73 Added .distr 1988-04-06 13:06:08 +00:00
ceriel e566fc551d some fixes 1988-03-31 17:58:56 +00:00
ceriel 92f28ae164 Added another debug statement 1988-03-31 12:50:12 +00:00
ceriel 14d7db7499 remove some of the lint complaints 1988-03-31 11:17:47 +00:00
ceriel 4e419a19cd delinted 1988-03-31 10:38:05 +00:00
ceriel 092292683c modified to use a different 'panic' strategy, and use
new clash-table in tables.c when possible, and some other tuning
1988-03-31 10:14:48 +00:00
ceriel 21f4403fdb Initial revision 1988-03-30 13:06:41 +00:00
ceriel 934568dcf4 new translation of BLS, fix in LOF 1988-03-23 16:07:03 +00:00
ceriel cb52407188 Added .distr file 1988-03-21 18:02:45 +00:00
ceriel 6a51fac1e4 Initial revision 1988-03-21 13:48:24 +00:00
ceriel fd467fd63d removed a cntrl-a character in the comments 1988-03-17 09:39:43 +00:00
ceriel 2c01d45a49 fix in csb: must be able to handle 0 cases 1988-03-17 09:24:01 +00:00
ceriel 0030ddd97f fixed csb so that it also handles 0 cases 1988-03-16 19:38:14 +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 bf3cfae610 CMI was translated wrongly; corrected 1988-03-14 13:56:33 +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 f846c1648b changed definition of BITMAX 1988-03-12 13:47:11 +00:00
ceriel a24c41e9cf fix in LXA 1988-03-11 16:34:22 +00:00
ceriel 9258a2a3e9 fixes from Nigel Hall 1988-03-10 16:00:58 +00:00
ceriel 1d98b5fd02 bug fix: did not work when procedure descriptors started on block boundary 1988-03-10 13:03:53 +00:00
ceriel 304f03a836 fixes from Nigel Hall 1988-03-09 18:07:05 +00:00
ceriel 75aba83724 some fixes 1988-03-07 11:44:39 +00:00
ceriel 653cd869ba deleted cvf.s 1988-03-07 09:47:06 +00:00
ceriel 14997fe479 "deleted -LIB, already in proto makefile" 1988-02-19 17:15:45 +00:00
ceriel 75986f7ac5 deleted -LIB, already in proto makefile 1988-02-19 17:05:26 +00:00
ceriel 41077644d1 fixed 1988-02-18 11:58:10 +00:00
ceriel fd08220e2b fixes 1988-02-18 11:17:39 +00:00
ceriel a298b55b95 sbu was replaced by sbu; is now replaced by sbi 1988-02-18 11:09:11 +00:00
ceriel 0058f45243 corrected 1988-02-18 10:36:22 +00:00
ceriel 25e21494f1 corrected 1988-02-18 10:22:15 +00:00
ceriel 3ccbd9cdc7 Initial revision 1988-02-18 10:22:14 +00:00
ceriel 083404fc90 corrected 1988-02-18 10:12:10 +00:00
ceriel bab801171f Initial revision 1988-02-18 10:08:42 +00:00
ceriel 02db417d31 Initial revision 1988-02-18 09:48:35 +00:00
ceriel 642acd5cbe Added .distr file 1988-02-18 09:32:26 +00:00
ceriel ccf7ef96b5 Initial revision 1988-02-18 09:20:09 +00:00
ceriel 31ed7f7e30 Added .distr file 1988-02-17 15:52:20 +00:00
ceriel e9271376dc Initial revision 1988-02-17 15:44:54 +00:00
ceriel 83d7633503 a minor improvement 1988-02-17 15:41:27 +00:00
ceriel 8fc22f0db7 allow assembler to read from STDIN 1988-02-05 15:10:08 +00:00
ceriel d4e2dcfb67 prevent some 'bombed out of codegen' crashes 1988-01-12 11:48:38 +00:00
ceriel 538896f0a3 improved some code for floating point 1988-01-11 17:06:11 +00:00
ceriel 85348f653d cas instruction was encoded wrong 1988-01-11 13:25:28 +00:00
ceriel 3f2a4d9c7c added .distr file 1987-12-02 14:01:26 +00:00
ceriel f8ede83073 deleted some incorrect patterns 1987-12-02 13:21:20 +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 048eac2d67 fixed to also read from standard input 1987-11-25 16:55:51 +00:00
ceriel f00951f788 replaced some move.w by move.l 1987-11-16 15:52:57 +00:00
ceriel c998623932 Some more adaptions to new semantics of ncgg 1987-11-10 13:49:04 +00:00
ceriel 2f37e8d600 Some more adaptions to new semantics of ncgg 1987-11-10 13:37:19 +00:00
ceriel ae6e2acb87 Some more adaptions to new semantics of ncgg 1987-11-10 13:26:40 +00:00
ceriel 028beaf5e6 corrected con_float 1987-11-06 13:12:21 +00:00
ceriel 734d549473 corrected signal.s 1987-11-05 10:34:04 +00:00
ceriel 77bcd64f03 improved the alilgnment checking somewhat 1987-11-04 10:41:32 +00:00
ceriel bad6246b59 improved the alilgnment checking somewhat 1987-11-04 10:26:41 +00:00
ceriel 9e9a6d4575 improved ffp.s 1987-11-04 10:07:57 +00:00
ceriel 086a086d12 included floating point code in table 1987-11-04 09:44:00 +00:00
ceriel 4b265a4f0a improved alignment checking 1987-11-03 16:43:24 +00:00
ceriel 80af6ce214 improved previous improvements 1987-11-03 16:17:37 +00:00
ceriel b236a708e2 improved the checking of sections 1987-11-03 16:09:55 +00:00
ceriel 2b3f059c55 Added fakfp.s 1987-11-03 15:56:44 +00:00
ceriel e2037c2e4b fixed some problems, and added floating point library 1987-11-03 15:35:43 +00:00
ceriel 9ae4e7924a Added Xstat.c, to convert between different alignments 1987-11-03 14:50:32 +00:00
ceriel 72ab7b68b8 Added Xstat.c 1987-11-03 14:43:40 +00:00
ceriel ab5a0efd48 fixed some bugs 1987-11-02 14:23:38 +00:00
ceriel c41fae1f8a avoid *REG constructions because of bug in assembler 1987-11-02 10:52:40 +00:00
ceriel e61d8f6356 made to work 1987-10-30 15:35:50 +00:00
ceriel a93d4a1e29 corrected alignments in tbl 1987-10-30 11:30:17 +00:00
ceriel f7c479d40b fixed typo 1987-10-30 10:49:35 +00:00
ceriel e0c73d5195 Added fake floating point routines 1987-10-30 10:42:36 +00:00
ceriel 032e9ebda5 fixed some problems with 1 and 2 byte compares 1987-10-29 15:10:30 +00:00
ceriel 98e6c244da CIU should not cause conversion errors! 1987-10-27 15:54:14 +00:00
ceriel 7de7b0c7ec CIU should not cause conversion errors! 1987-10-27 15:43:06 +00:00
ceriel 3ea6d40b4c fixed a typo. Case errors gave wrong trap number 1987-10-26 09:30:26 +00:00
ceriel bf0ee1f16c some fixes 1987-10-16 17:57:09 +00:00
ceriel 772ead2f9e adapted fakfp.s 1987-10-14 13:22:57 +00:00
ceriel 2401ca127e Initial revision 1987-10-08 11:34:19 +00:00
ceriel f19ffa5328 Initial revision 1987-10-06 16:58:10 +00:00
ceriel 4043036e27 Initial revision 1987-10-06 16:39:14 +00:00
ceriel 158d0505ea Added unmount, now unmount as well as umount exist 1987-10-05 09:17:42 +00:00
ceriel 7114bf47ec Adapted to new ncgg 1987-09-29 11:32:45 +00:00
ceriel 876026bedf Some improvements 1987-09-29 09:03:49 +00:00
ceriel 6db64e924c several fixes 1987-09-17 16:57:03 +00:00
ceriel 1ce6abf3de replaced printfs by fputs where possible 1987-09-08 09:00:29 +00:00
ceriel 8120857c5b disabled listing facilities 1987-09-08 08:59:03 +00:00
ceriel 4059840c43 some fixes/improvements 1987-09-07 19:05:29 +00:00
ceriel a1ae336247 first arg to putc must be int or char, not long 1987-09-01 18:31:42 +00:00
ceriel f00c143b28 added declaration for fopen 1987-09-01 15:58:30 +00:00
ceriel cb16212a09 declared freopen; apparently it is not declared in stdio.h
on some systems
1987-09-01 15:24:15 +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 dfbbf1e5d8 adapted table to new semantics of STACK 1987-08-26 13:54:20 +00:00
ceriel 12d731dfcf adapted table to new semantics of STACK 1987-08-26 13:47:37 +00:00
ceriel 7de2968629 added return.s 1987-08-26 13:06:09 +00:00
ceriel fd4f548d6e fixed addition, better patterns for SDL, SDE 1987-08-20 15:30:01 +00:00
ceriel cbcde9a311 told ncg that jsr kills the scratch registers 1987-08-19 19:51:13 +00:00
ceriel 939cc2432e fix 1987-08-17 19:39:30 +00:00
ceriel b3e649e463 fixes to additions 1987-08-17 18:09:31 +00:00
ceriel ddecd62870 minor fix 1987-08-17 16:30:14 +00:00
ceriel b3a30acb30 some more additions 1987-08-17 16:24:56 +00:00
ceriel 76d34a00e6 fix in LDC CMS 1987-08-17 14:18:40 +00:00
ceriel 07a8c48171 fix in one of those tricky addressing modes 1987-08-14 00:15:49 +00:00
ceriel 538f21b781 some fixes to additions 1987-08-13 15:30:48 +00:00
ceriel a0e4cd23cc signed compares were just wrong, added a few patterns 1987-08-13 11:22:59 +00:00
ceriel e571911b1b added cmi4.s 1987-08-13 11:09:24 +00:00
ceriel 3d90e41a7f fixed a fix, which did not fix a bug after all 1987-08-13 10:18:25 +00:00
ceriel 4769a76ca0 corrected 1987-08-12 21:36:30 +00:00
ceriel a0f89188b9 fixed 1987-08-12 20:51:23 +00:00
ceriel ab341e1c93 fixed EXG instruction 1987-08-12 18:37:20 +00:00
ceriel a6bf3e8892 yet another fix, this time to divu/divul/divs/divsl 1987-08-12 18:32:15 +00:00
ceriel 0ba64871f6 added many patterns 1987-08-12 16:19:02 +00:00
ceriel 9338e4e97d revised some patterns that could lead to NO REGS AVAILABLE 1987-08-12 15:58:54 +00:00
ceriel 887f6d16c9 some adaptions undone 1987-08-12 14:51:58 +00:00
ceriel c3fec1f112 take alignments into account 1987-08-11 15:28:06 +00:00
ceriel fe67243700 generate commons for bss 1987-08-06 15:11:09 +00:00
ceriel c24f960d82 moved the FCONST moves, so that they are found before the source moves 1987-08-06 13:08:02 +00:00
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 e516b1e321 added end.s 1987-08-06 12:56:11 +00:00
ceriel b80ad3f9b3 added missing patterns 1987-08-06 12:48:27 +00:00
ceriel 7f7f9b36cd some nofits are actually errors 1987-08-06 11:17:30 +00:00
ceriel 285654f044 some minor improvements 1987-08-05 18:24:31 +00:00
ceriel c9f7d845a2 temporary fix for commas within operands 1987-08-05 13:09:37 +00:00
ceriel 84bce837a0 fix in a call to record 1987-07-30 16:04:29 +00:00
ceriel aa5ab51147 do better bad-pointer testing 1987-07-30 09:20:59 +00:00
ceriel 05831b3438 System V has no ftime systemcall 1987-07-24 13:24:19 +00:00
ceriel 4600a65f07 did not export cerror, did not define _errno 1987-07-22 12:46:07 +00:00
ceriel 3929b47776 deleted useless tst.b instruction 1987-07-20 14:31:46 +00:00
ceriel 96957f398a call .trp instead of jmp to it 1987-07-17 14:16:39 +00:00
ceriel 2381b2e136 disabled assertions, fixed bug with pack/unpk 1987-07-16 09:44:44 +00:00
ceriel a8e086dbc3 yet another bug fix: the brk systemcall destroyed d1 1987-07-10 11:57:45 +00:00
ceriel f12358bfb0 fix: sbu was wrong for 4-4 1987-07-09 17:46:31 +00:00
ceriel 9d66bc3258 fix: sometimes the index mode was used in the wrong way 1987-07-08 16:36:45 +00:00
ceriel 69843cf9ce Added -DNDEBUG to Makefile, table now kills regvars 1987-07-06 15:28:59 +00:00
ceriel d120b2b73a tried to make faster 1987-07-06 13:03:14 +00:00
ceriel d6593abd5e bug fix: sometimes register variables were treated as scratch regs! 1987-07-06 10:24:51 +00:00
ceriel 54a85f705b fix: errmod --> errmon 1987-07-03 15:50:38 +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 9179494c16 fix: rck must call trp, not jmp to it. Return is possible. 1987-06-29 18:13:47 +00:00
ceriel 7d26d60bd4 Added the modifications that were made to the Minix code generator 1987-06-29 15:57:48 +00:00
ceriel ef7fd61029 enabled range checks 1987-06-19 09:47:53 +00:00
ceriel 1e5688a10e exg instruction translated wrong 1987-06-11 14:44:48 +00:00
ceriel a33bd07a3d fix in asp -2 1987-06-11 10:47:13 +00:00
ceriel 278eca6c56 modified print to use _write 1987-06-10 14:52:39 +00:00
ceriel 91bdfb9a12 some more fixes 1987-06-10 14:06:14 +00:00
ceriel 130abb7e3b bug fixes 1987-06-10 13:46:21 +00:00
ceriel e43a1b00f6 bug fix 1987-06-10 10:33:19 +00:00
ceriel 85023f4c14 some fixes 1987-06-09 15:15:18 +00:00
ceriel 7698c135be corrected some errors 1987-06-09 11:05:09 +00:00
ceriel 7f64ff28c0 added some routines 1987-06-09 10:50:47 +00:00
ceriel 33bd1f17af corrected syntax error 1987-06-09 10:35:22 +00:00
ceriel f751192942 many changes because of introduction of register variables si/di 1987-06-09 10:22:50 +00:00
ceriel 798261d992 pass EMHOME to nested make 1987-06-09 10:19:47 +00:00
ceriel 470dcc3d11 Added register variables: registers si and di 1987-06-09 09:47:02 +00:00
ceriel 3997e07366 removed printf.s 1987-06-09 09:24:05 +00:00
ceriel 791ec39e57 fix to fix 1987-05-26 15:35:17 +00:00
ceriel ac3c871ff8 yet another fix: conditional jumps did not work when exactly 256 bytes away 1987-05-26 15:31:43 +00:00
ceriel 61a5c8ce08 divided time costs by 10, because of overflow 1987-05-21 13:59:55 +00:00
ceriel dd2cf6bbaa Fix in wrong assertion 1987-05-21 09:28:33 +00:00
ceriel 1d213e28c4 use stdio to do output 1987-05-20 17:17:42 +00:00
ceriel 1b47f26e4b Some more adaptions to new assembler 1987-05-20 17:15:59 +00:00
ceriel a8db0ab298 Fixed some bugs 1987-05-20 17:15:22 +00:00
ceriel e0694e88a2 Added 'loc slu' pattern 1987-05-20 14:13:29 +00:00
ceriel 10e1c10bcf some bug fixes: filename and unintialized data descriptor 1987-05-19 15:13:57 +00:00
ceriel 643dee0ab6 Added a pattern for better *p++ operation 1987-05-19 08:50:17 +00:00
ceriel 6731de5286 some bug fixes with 'bisb' 1987-05-18 18:34:59 +00:00
ceriel e0c3807b29 -1 is now represented as such 1987-05-18 15:54:52 +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 46a07e1da5 Added conversion program 1987-05-18 11:37:18 +00:00
ceriel d2c6f22e32 Added *REG addressing mode, fixed a bug 1987-05-18 10:40:19 +00:00
ceriel 9e72c25a0f deleted FORMAT, fixed con_float 1987-05-15 16:32:14 +00:00
ceriel decfd1ce9c bug fix in jmp instruction 1987-05-15 16:31:00 +00:00
ceriel 0679596d4d bug fix in RMI 1987-05-15 15:46:50 +00:00
ceriel 98da0bbffb added end.s 1987-05-15 12:55:51 +00:00
ceriel 3077cb6610 libraries can now be made on any machine 1987-05-15 09:30:47 +00:00
ceriel 4888f39b05 use aal 1987-05-15 09:28:57 +00:00
ceriel 212a9e04ce addd .distr 1987-05-15 09:22:54 +00:00
ceriel 04dc83c149 converted to ACK assembler format 1987-05-15 09:11:10 +00:00
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 de8aceeeb4 use aal 1987-05-13 16:32:57 +00:00
ceriel b8b798706f fix 1987-05-13 16:19:49 +00:00
ceriel 43c8fb156b Initial revision 1987-05-13 16:13:52 +00:00
ceriel 0cc5442188 Initial revision 1987-05-13 14:36:45 +00:00
ceriel e4cc45b56f fixed problem with em_last file for int24 1987-05-13 10:18:42 +00:00
ceriel e91a85cbec minor fix 1987-05-12 12:34:04 +00:00
ceriel 35fa794781 Fixes to return sequence 1987-05-11 10:24:36 +00:00
ceriel 2d8e5089f4 vfork was wrong 1987-04-27 13:11:17 +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 8f1fba2b7b Initial revision 1987-04-13 17:10:33 +00:00
ceriel 161c523488 Added execle.c and ececv.c 1987-04-13 17:09:38 +00:00
ceriel 218c1c46c4 Bug fix, program was not partable. it assumed same byte order as i86. 1987-04-13 15:57:33 +00:00
ceriel 3433445bbb Bug fix: did not accept loc 1 loc 4 cii 1987-04-13 12:52:38 +00:00
ceriel 81b1d21c35 Initial revision 1987-04-13 10:32:47 +00:00
ceriel 924d580670 yet another bug fix 1987-04-07 09:57:50 +00:00
ceriel a71813b911 Some more bug fixes 1987-04-06 17:59:57 +00:00