Commit graph

1392 commits

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