Commit graph

1587 commits

Author SHA1 Message Date
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