Commit graph

1881 commits

Author SHA1 Message Date
ceriel 0c137374ae fixed 1991-04-25 10:54:44 +00:00
ceriel 02d253d810 fixed 1991-04-25 10:49:28 +00:00
ceriel e4136ac8e5 There was no RCK 2 due to a preprocessor-directive error 1991-04-24 14:09:20 +00:00
ceriel 80c49a6ea7 Added LOS 4 and STS 4 1991-04-19 13:09:30 +00:00
ceriel 2fef7f7389 Added LOS 4 and STS 4 1991-04-19 12:02:52 +00:00
ceriel c0d92bbc76 Added some patterns 1991-04-10 10:23:34 +00:00
ceriel e5b52ce56f Added some more patterns 1991-04-05 13:27:49 +00:00
ceriel 86151519db Some small changes to reduce local variable count 1991-04-04 16:48:18 +00:00
ceriel 5b2b02ae1e Added patterns 1991-04-04 13:21:46 +00:00
ceriel cafd4a0497 Added patterns to improve code for getc() and putc() 1991-03-27 15:47:50 +00:00
ceriel f9f8f93115 Fixed typo 1991-03-26 14:43:06 +00:00
ceriel 9565b3bd24 Added some patterns 1991-03-26 10:11:23 +00:00
ceriel 8b67c1f800 Fix to fix 1991-03-25 13:16:02 +00:00
ceriel 043ad764b8 Yet another fix: this time for AND/IOR/XOR/COM ? 1991-03-25 11:39:27 +00:00
ceriel 6f4da1d70a bug fix for SET instruction on m68k2 1991-03-22 18:23:55 +00:00
ceriel 22378eaff8 produce commons for newlbss 1991-03-18 15:06:01 +00:00
ceriel 95967a04e4 newlbss takes size as unsigned 1991-03-18 14:19:27 +00:00
ceriel f48f0efe60 Added some more patterns 1991-03-13 15:56:43 +00:00
ceriel b893ec7013 m_a_i_n --> _m_a_i_n 1991-03-06 14:26:16 +00:00
ceriel 9d3696befe Changed stat() interface 1991-02-28 16:47:45 +00:00
ceriel 782d0f48bf Undid previous change 1991-02-22 13:49:51 +00:00
ceriel 579b3b29bd Removed unused variables 1991-02-22 13:43:22 +00:00
ceriel a8c0b82421 removed -i flag 1991-02-20 09:59:26 +00:00
ceriel 6765041a10 Do not copy libsrc; only extract 1991-02-20 09:56:17 +00:00
ceriel c9ece34fc5 Changed method of allocating locals 1991-02-20 09:54:55 +00:00
ceriel 1fec35a71e Added some patterns 1991-02-20 09:51:43 +00:00
ceriel 87385c49e4 Changed some identifier names (ANSI C, Ultrix ...) 1991-02-20 09:51:07 +00:00
ceriel 0d65b92220 removed -i flag 1991-02-19 16:57:39 +00:00
ceriel 1ed0f8180f hash() now returns same value on 2-byte and 4-byte machines 1991-02-04 14:25:58 +00:00
ceriel ac966f41eb Added end library and floating point processor support 1991-02-01 15:38:19 +00:00
ceriel 14ce396d6f fixed CFI problem 1991-02-01 15:33:41 +00:00
ceriel 0f4e675b50 Added end library and floating point processor support 1991-02-01 15:09:58 +00:00
ceriel e64fb88a5d Added support for floating point processor 1991-02-01 12:51:48 +00:00
ceriel 0cd1cfd249 fixed 'times' systemcall interface 1991-01-30 16:10:13 +00:00
ceriel ff766530eb hide some VAX-ce specific names 1991-01-22 13:28:21 +00:00
ceriel 2094dcecfe assembling of (xxx,a6) addressing mode was wrong for large values of xxx 1991-01-22 12:43:40 +00:00
ceriel c70195a81e assembling of (xxx,a6) addressing mode was wrong for large values of xxx 1991-01-22 12:01:25 +00:00
ceriel 1bdb0a8d96 Added libcc 1991-01-18 11:04:30 +00:00
ceriel 3e4a2c3dbc Added files 1991-01-18 11:03:05 +00:00
ceriel bda14dbba1 Added code expander to Action file 1991-01-17 11:59:25 +00:00
ceriel 0b26bdf5fb Some changes in search for more efficiency 1991-01-11 14:20:59 +00:00
ceriel 224ac1b8ff Some more optim (?) 1991-01-11 10:54:03 +00:00
ceriel f572b1fb35 some changes that may make ncg a tiny bit less inefficient 1991-01-10 18:39:36 +00:00
ceriel 5aa72b23cf corrected small ommission 1991-01-10 13:57:29 +00:00
ceriel 3ae67d0d67 some fixes 1990-12-19 12:59:36 +00:00
ceriel 974463cbd4 Fixed stat interface 1990-12-19 12:42:21 +00:00
ceriel 3764bf860b Adapted for debugger 1990-12-19 11:54:55 +00:00
ceriel 9ddcfc5b96 Adapted READ_ME file to current situation 1990-12-19 11:52:37 +00:00
ceriel 5926babe03 fixed byte order in 'desc' field 1990-12-19 11:23:25 +00:00
ceriel f72cc607a1 Correct byte order of 'desc' field 1990-12-19 10:26:39 +00:00
eck e37c249248 added casts of pointer difference to integer 1990-12-17 14:22:41 +00:00
ceriel 41dc11e497 Fixed problem with cost computation, added some assertions and
added some more precise debugging printing
1990-12-17 10:02:52 +00:00
eck 530e1a3b6d fixed error for m68k2 1990-12-13 08:31:44 +00:00
eck cb6ca0cf40 fixed nasty bug with sets that were used in kill-parts 1990-12-12 17:17:04 +00:00
ceriel d9be4de96a Fixed RMU 4 1990-12-07 11:25:45 +00:00
ceriel 456ba2b03c Fixed: some moves were wrong 1990-12-03 16:01:51 +00:00
ceriel 17af2902eb Fixed con_float for non-IEEE machines 1990-12-03 16:00:53 +00:00
ceriel 8a81dbe6fb leave SIGFPE alone 1990-12-03 14:14:48 +00:00
ceriel cfd0a9b894 NOP now does not call .nop anymore 1990-12-03 09:36:56 +00:00
ceriel b76ff7451c some more improvement to CUF 1990-11-30 15:58:33 +00:00
ceriel 70dafd79e9 fixed problem with CUF 1990-11-30 14:35:51 +00:00
ceriel 83b663388c fixed bug with auto-increments and -decrements 1990-11-30 14:34:04 +00:00
ceriel df77506e1f Some modifications to reduce the number of terminals (for Ultrix) 1990-11-30 09:42:49 +00:00
ceriel 8f661ca8a9 corrected spelling error 1990-11-29 18:05:41 +00:00
ceriel ff60fa58c3 Added _syscall.s and _sigvec.c 1990-11-29 16:13:49 +00:00
ceriel 45b18b4fc9 Added _sigsetmask.s 1990-11-29 16:04:04 +00:00
ceriel 91ee73faa3 made Makefile more portable 1990-11-27 16:51:58 +00:00
ceriel fb143bcdb5 Some corrections and simplifications 1990-11-16 16:31:40 +00:00
ceriel 449a757841 Added Johan's changes (nothing significant) 1990-11-16 16:01:04 +00:00
ceriel 99bfba6a45 Added Johan's changes 1990-11-16 15:58:36 +00:00
ceriel a06482bb41 Forgot to add ARPLOP to mach2.c 1990-11-15 16:18:33 +00:00
ceriel 2f82d25400 Added arpl instruction 1990-11-15 15:02:49 +00:00
ceriel b1cb54a2b9 Added some (short) casts, because valu_t is a long 1990-11-15 12:10:13 +00:00
ceriel 9ef7e00974 Replaced a .data4 by two .data2's: .data4 not guaranteed to work with big numbers 1990-11-15 11:53:22 +00:00
ceriel 994b1319ca Some corrections 1990-11-15 10:43:25 +00:00
ceriel da44a4c705 Added a default for WRD_FMT 1990-11-15 10:27:15 +00:00
ceriel a618b9a759 also remove barrier.so 1990-11-13 17:38:50 +00:00
ceriel ba69e4279d Added support for DBX; Unfortunately, DBX still does not like it; GDB does 1990-11-13 17:00:51 +00:00
ceriel c7fc857c2d Compile fptrp.e with EMFLAGS 1990-11-13 15:39:11 +00:00
ceriel c9b9a9b2c0 Some simplifications 1990-11-13 14:52:51 +00:00
ceriel 52cbbb11e0 Additions from Albert Koelmans 1990-11-13 13:36:15 +00:00
ceriel 0a2ee14396 Adapted for use with improved fp package 1990-11-13 13:21:21 +00:00
ceriel b7a61761f3 Albert Koelmans newest version, adapted for use with improved fp package 1990-11-13 13:10:45 +00:00
ceriel 321a62a192 Albert Koelmans newest version 1990-11-13 12:53:53 +00:00
ceriel c5b98176f6 Albert Koelmans newest version 1990-11-13 12:05:13 +00:00
ceriel f950727c44 Albert Koelmans newest version 1990-11-13 11:59:29 +00:00
ceriel c3d7275ae8 Albert Koelmans newest version 1990-11-13 11:53:52 +00:00
ceriel ff117d9f0b Albert Koelmans newest version 1990-11-13 11:46:48 +00:00
eck cc04440b5c added patterns 1990-11-13 10:03:55 +00:00
ceriel ad800075eb Albert Koelmans latest version 1990-11-12 17:13:45 +00:00
ceriel 0a1b11973a Albert Koelmans newest version 1990-11-12 17:09:15 +00:00
ceriel 064258aa8b New version from Albert Koelmans 1990-11-12 15:41:50 +00:00
ceriel 1f7c2d1f39 Latest version from Albert Koelmans 1990-11-12 15:36:03 +00:00
ceriel 33dc73d4c4 Latest version from Albert Koelmans 1990-11-12 15:29:14 +00:00
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