Commit graph

397 commits

Author SHA1 Message Date
keie 177af75c93 *** empty log message *** 1985-05-13 11:19:24 +00:00
keie 8cbd17b1ba *** empty log message *** 1985-05-13 11:06:30 +00:00
bal 0db1db10b8 Bug fixed: cg generated instructions like "and.l #2,a4", which are
not allowed on the 68000.
The condition "inreg($...) < 2" is added to every EM-pattern that
accesses local non-register variables. So the ordering of the
patterns for regvar/non-regvar is no longer important.
1985-05-01 12:53:33 +00:00
keie 5472fafa56 Add hoc solution of .align problem. 1985-04-23 12:55:01 +00:00
em a0a7a48c3b The reading of the input is now machine independent. 1985-04-22 15:13:24 +00:00
em 89a37681fc *** empty log message *** 1985-04-22 14:12:26 +00:00
bal d0e857ddb2 Initial revision 1985-04-18 15:14:37 +00:00
bal 928e341f16 Bug fixed: incorrect return value
New version adapted from m68k4 version.
1985-04-18 15:12:29 +00:00
bal 3759de23eb Extra systems calls added 1985-04-18 15:12:06 +00:00
ceriel 9c9976c121 Er zat een bug in het patroon
lol adp stl met $1 < 0.
Ten onrechte werd in de gegenereerde code het AP register gebruikt.
Dit moest natuurlijk FP zijn.
1985-04-17 13:38:36 +00:00
keie eb3fc1d43e Added provision to print (possibly in mach.h defined) modhead
on the output assmble file as the very first text.
1985-04-16 16:14:55 +00:00
bal 7b745d6fb2 Bug fixed for pattern 'sti $1 > 4' (ADDREG -> ADDSCR)
Bug was present since version 1.1
1985-04-16 15:24:23 +00:00
keie f337b8df6d Removed RANLIB . 1985-04-14 14:27:04 +00:00
em 8b4f21bd95 Added libraries needed after installation of cg. 1985-04-14 13:57:31 +00:00
em ab820d3083 8080->i80. 1985-04-14 13:54:33 +00:00
em fb23d440f0 Removed a superfluous line. 1985-04-14 13:46:54 +00:00
em bd07643039 To prevent a (incorrrect) error message from distr/mktree. 1985-04-12 20:32:06 +00:00
keie 34ccddfc2d The library name was incorrect. 1985-04-12 17:21:52 +00:00
keie c19324dfea *** empty log message *** 1985-04-12 17:06:38 +00:00
keie 772b64fabd *** empty log message *** 1985-04-12 16:56:43 +00:00
keie ef92740400 Deletion of a few coercions caused a translation failure
for setjmp.e.
The coercions have been grabbed from an old version by FvH.
1985-04-12 16:43:40 +00:00
keie ee9c5be180 Initial revision 1985-04-12 16:40:22 +00:00
bal ca9a6feeb0 floating point stuff added 1985-04-12 15:47:30 +00:00
em fb6d291d38 *** empty log message *** 1985-04-12 14:33:09 +00:00
em e4e29ae837 Added flp.s, contains subroutines for all EM fp instructions.
They trap.
1985-04-12 14:29:07 +00:00
em 94534b7c15 1- Floating point routines now call routines instead of calling trp. 1985-04-12 14:25:59 +00:00
keie dcfe4e8a97 *** empty log message *** 1985-04-09 13:48:55 +00:00
keie 620216fb26 Error code 0 was returned when the installation failed! 1985-04-02 10:55:02 +00:00
keie 70d71f4355 Copy of ../libbc/compmodule. 1985-04-02 10:50:53 +00:00
keie 6b87f1082e Removed -DCPM. 1985-04-02 10:46:43 +00:00
em fd44c34a61 *** empty log message *** 1985-04-01 17:02:55 +00:00
keie 6c247029bd *** empty log message *** 1985-04-01 14:44:26 +00:00
keie 6bbdb92784 Adapted after installation of backend. 1985-04-01 14:02:58 +00:00
em 1879c8e724 *** empty log message *** 1985-03-29 21:44:50 +00:00
em 693830b09a *** empty log message *** 1985-03-29 21:10:43 +00:00
keie b3d11b1fa5 Removed pascal library. 1985-03-26 16:27:23 +00:00
keie 2b6187a009 *** empty log message *** 1985-03-26 16:23:21 +00:00
keie a8fc6009f7 The dl programs is replaced by a more general cv. 1985-03-26 16:20:11 +00:00
keie 92141b52ce Installed backend and libraries. 1985-03-26 16:18:24 +00:00
keie b63f304db1 Or's are not allowed on a-registers, add's are. 1985-03-26 16:09:07 +00:00
keie ec3e755168 Adapted to Unisoft signal handling. 1985-03-26 16:08:09 +00:00
keie a41ff68078 *** empty log message *** 1985-03-26 15:04:46 +00:00
keie 244e172413 Added head_em. 1985-03-26 15:04:02 +00:00
keie da936740a6 Added head_em to libsys. 1985-03-26 15:00:09 +00:00
keie c5a739c68f Moved head_em to libsys. 1985-03-26 14:53:00 +00:00
keie dc92fe358e *** empty log message *** 1985-03-26 14:48:32 +00:00
keie 59996174b6 Added some more system calls.
Moved errno to a separate file.
1985-03-21 14:13:55 +00:00
keie 84f9364d4c errno is moved to a sfile of its own. 1985-03-21 14:05:03 +00:00
keie a635fb0203 *** empty log message *** 1985-03-21 14:04:45 +00:00
em e3e1c5ac20 *** empty log message *** 1985-03-18 17:27:42 +00:00
em e3e9add8b1 Initial revision 1985-03-18 17:24:31 +00:00
em ffd0d165a7 *** empty log message *** 1985-03-18 15:52:00 +00:00
em 3e743d78f3 *** empty log message *** 1985-03-18 14:39:26 +00:00
em 90c847ca59 *** empty log message *** 1985-03-18 14:32:46 +00:00
em 1b162c577e *** empty log message *** 1985-03-18 13:46:31 +00:00
em a5f4b01d82 Initial revision 1985-03-18 13:15:00 +00:00
em c5508c7c0b *** empty log message *** 1985-03-18 13:12:07 +00:00
garde 80e349860b Added RCS id. 1985-03-18 12:55:07 +00:00
em 157b243956 *** empty log message *** 1985-03-18 12:46:51 +00:00
garde d52117c8dd Some less important changes 1985-03-18 10:00:30 +00:00
keie d457c50945 The universal assembler has a bug that precludes use of .align
in text segments, except as the very last command.
1985-03-15 11:03:41 +00:00
keie b294ab5042 The universal assembler has a bug that precludes use of .align
in text segments, except as the very last command.
1985-03-15 10:50:35 +00:00
em 9d0812746b The assembler proved to contain yet another bug.
.align in text segments will not work for values that are
not a divisor of the gcd of the instruction sizes.
1985-03-14 17:33:28 +00:00
em 9f203c9a17 Expressions are now always calculated in long.
Some backends needed that.
1985-03-12 10:41:29 +00:00
em 0c92039ba4 Expression are always evaluated in longs.
Some 2-4 backends needed long expressions.
1985-03-12 10:39:24 +00:00
em cf6d084155 Use of the Pascal library will not occur.
/.
1985-03-12 10:24:51 +00:00
bal 954d3a0326 Argument is 4 bytes (pointer), not 2 bytes. 1985-03-05 12:33:29 +00:00
keie 6f6356e0b4 Initial revision 1985-03-05 00:17:40 +00:00
keie 9e26d0e0c0 *** empty log message *** 1985-03-05 00:15:40 +00:00
keie bf3ba84e92 Adapted to 4-4. 1985-03-04 17:26:31 +00:00
keie ccdb8693ee Now using 4-byte integers and clearing D1 for double size
instruction pointers.
1985-03-04 16:12:10 +00:00
keie a8c5699241 Now returns correct values. 1985-03-04 16:11:56 +00:00
keie e0c4e4b686 Added execv and execle. 1985-03-04 16:11:41 +00:00
keie 8a40c25069 Now using .reghp. 1985-03-04 16:11:26 +00:00
keie 0fd729951a Removed superfluous instruction. 1985-03-04 16:10:47 +00:00
keie 7a30dc4868 *** empty log message *** 1985-03-04 16:08:41 +00:00
keie 4b1965afbc *** empty log message *** 1985-03-04 15:55:28 +00:00
keie b2b281f525 To force the first part of a circular ring of modules in from
tail_em.
/.
1985-03-04 15:37:38 +00:00
keie d2a6847715 The previous version still assumed two-byte integers. 1985-03-04 15:33:28 +00:00
keie 2690f07cbd Incorrect alignment caused odd _end, which caused
failures of malloc().
1985-03-04 15:30:44 +00:00
keie aa82964563 Now also prints stack height. 1985-03-04 15:29:36 +00:00
keie c636aba734 Alignment now also works when the alignment ended on odd boundaries. 1985-03-04 15:28:02 +00:00
keie ce92663b0a Initial revision 1985-03-04 15:27:09 +00:00
keie a89ba7074f Always returned non-zero value. 1985-03-04 15:25:33 +00:00
keie a71e706aa4 *** empty log message *** 1985-03-04 15:14:01 +00:00
garde 736a2d1022 Many things improved and extended 1985-03-04 13:42:38 +00:00
keie 9d7b94ba34 Adapted to a single cv for all machines. 1985-03-01 22:10:44 +00:00
keie 218f7ed718 Corrected a horrible typing mistake. 1985-03-01 20:08:45 +00:00
keie cb0b2e08cf 1 - At RREMOVE also check the stack set aside for coercions.
2 - When coercions unexpectedly need stack of part of the
stakpattern, discontinue this option.
1985-03-01 16:25:21 +00:00
keie c2a990768d The top of the stack, which is set aside for certain
coercions is now saved with special routines.
This allows RREMOVE to check for registers.
1985-03-01 16:20:13 +00:00
keie 36537eccc0 Also clear D1 (for static link). 1985-03-01 16:00:23 +00:00
keie 6cdcb391fb Added RCS ID. 1985-03-01 10:34:00 +00:00
keie 9d9c9ae97b *** empty log message *** 1985-03-01 10:30:23 +00:00
keie e7f7f33f60 cg tried to stack register parameters of moves, when
these registers were killed.
1985-02-26 16:31:38 +00:00
keie 408dacc2aa The stacking pattern for ldc C and 4 with highw(c)==0 was incorrect.
The effect was that rand() from libcc/gen always returned
a 0.
1985-02-19 13:41:30 +00:00
keie 445d52de66 Moved retar from ret.s to trp.s.
trp.s needed it and is behind ret.s in the library.
When ret.s is loaded, it calls (via unknown) trp.s so
inclusion in trp.s should work.
1985-02-17 22:31:10 +00:00
keie b82c00e153 Added a line for
loc loc cuu $1==$1, because write.e contained the line
loc 2
loc 2
ciu
and the cg failed to translate.
1985-02-17 22:03:44 +00:00
em bbfb511322 Added .align 2. Prevents end of bss to be odd.
Especially important for malloc, it distinguishes between
odd and even word pointers.
1985-02-17 01:12:36 +00:00
cvs2hg 3f3bddef8f fixup commit for tag 'dist2' 1985-02-17 00:57:20 +00:00
keie 9f45dd0650 Added .align 2.
Especially important for malloc.
1985-02-17 00:57:19 +00:00