60 Commits

Author SHA1 Message Date
ceriel
a1aaae55f2 corrected CFU 1988-06-07 11:08:55 +00:00
ceriel
e84d183e69 dont generate .data4 1988-04-25 10:31:33 +00:00
ceriel
6253bb71b7 avoid use of modf; not portable 1988-04-22 14:11:55 +00:00
ceriel
e37e27af93 SUN4 frexp strikes again ... 1988-04-20 14:42:04 +00:00
ceriel
1f7094655b CMI was translated wrongly; corrected 1988-03-14 13:56:33 +00:00
ceriel
afffb11b6a bug fix: sometimes register variables were treated as scratch regs! 1987-07-06 10:24:51 +00:00
ceriel
bdd70c0563 pass EMHOME to nested make 1987-06-09 10:19:47 +00:00
ceriel
79b7a598aa divided time costs by 10, because of overflow 1987-05-21 13:59:55 +00:00
ceriel
db44f48cf6 Some more adaptions to new assembler 1987-05-20 17:15:59 +00:00
ceriel
f8e96a3d8c Added a pattern for better *p++ operation 1987-05-19 08:50:17 +00:00
ceriel
961c5d58b4 some bug fixes with 'bisb' 1987-05-18 18:34:59 +00:00
ceriel
aaea94c9ed deleted FORMAT, fixed con_float 1987-05-15 16:32:14 +00:00
ceriel
02c82b2765 generate code for ACK assembler, including floats 1987-05-14 14:58:21 +00:00
ceriel
553ed226de Some fixes 1987-04-23 14:49:49 +00:00
ceriel
b0df114710 Initial revision 1987-04-13 10:32:47 +00:00
ceriel
d062747473 minor mods 1987-04-03 11:16:46 +00:00
ceriel
2de30a84a8 "word" is now always a "long" 1987-04-02 09:54:41 +00:00
ceriel
e5a3e6a374 Added EMHOME 1987-04-01 08:54:00 +00:00
ceriel
c31c23a3ec Fixed a problem with SRU: no regs available 1987-03-25 16:26:58 +00:00
ceriel
32301e016b Added copyright notice 1987-03-10 01:26:51 +00:00
ceriel
f5371e1096 Added copyright notice 1987-03-09 19:15:41 +00:00
ceriel
2051a4ff62 %03x --> %x_, because the former does not work on System V 1987-02-09 16:35:24 +00:00
ceriel
c43aa963d8 Added some neccessary NC's 1987-02-04 15:11:51 +00:00
ceriel
b2a28142bd adapted to new assembler syntax 1987-02-04 15:09:31 +00:00
ceriel
950bd14ca0 Changed /lib/cpp to ../../../lib/cpp 1987-01-20 13:09:56 +00:00
ceriel
064ea695d5 replaced all occurrences of "cc" by "$(CC)". 1986-07-22 11:01:54 +00:00
keie
98761203cb 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
36f75c8404 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
keie
eed6257417 Added an entry "distr" to make tables1.c and tables1.h. 1985-02-03 23:50:51 +00:00
keie
cc246efa46 We have only one copy of the script for compare and install now
they are present in ../..
1984-10-23 15:14:17 +00:00
sater
a5c07a52b4 changed EM_WSIZE to TEM_WSIZE 1984-10-23 15:02:03 +00:00
sater
24eeca9474 Changed to use -h flag to cgg and better way of preserving old tables.h
if not changed. Nice huh, Andy?
1984-10-23 13:29:41 +00:00
sater
9d03cb68c7 added code to generate code for ACK assembler.
Works if ACK_ASS is defined.
1984-10-16 13:31:44 +00:00
sater
2aa5c6b7d9 Variable nregvars had a name clash with the array nregvar[] in the
file tables.c. That was different in the 8'th character (!"#$%&'()_).
These variables should actually be static.
1984-08-23 17:07:53 +00:00
sater
1ff6c3236f added patterns to prevent stacking in *p++ cases 1984-08-15 16:05:54 +00:00
sater
e5d1aebbae added patterns for inc/dec/adp of local and external offsetted
This makes the getc() macro from C very efficient, among others
1984-08-15 14:31:54 +00:00
sater
6180399964 reworked patterns for autoincrement stores, now that peephole optimizer
rearranged it.
1984-08-07 10:22:49 +00:00
sater
11026ace27 added setcc calls to some incrementing ops
added patterns for indirect local and external increments
added patterns for loe ine and such
1984-08-03 16:33:40 +00:00
sater
5e97bff353 Changed procedure prolog to use PR* routines. 1984-07-26 13:05:22 +00:00
sater
61da47ea52 removed all calls to blm~ from table
duplicated some patterns for in[lc] to deal with de[lc]
extra rule for adi 2 to deal with source1 cleverly
1984-07-23 11:29:59 +00:00
sater
1a0102783f A sti 8 of a regdef8 token went into panic mode. Fixed. 1984-07-20 10:32:48 +00:00
sater
1e5056bcc0 to check long >= 0 or long < 0 it is enough to test high order word. Added.
anding and oring of long constants is much better now
dvu 2 and rmu 2 by positive constants is now done inline.
1984-07-19 16:50:27 +00:00
sater
badfdeb5db removed #ifdef UNTESTED around logical instructions without arguments,
seems they were used ( which implicitly means tested ) after all
1984-07-19 14:03:49 +00:00
sater
3422e2338c added patterns for ldc adi/ldc sbi with zero high order word
added patterns for *--p with p register
added patterns to generate cmpb to compare two bytes.
added patterns to use regvar to index global array
added patterns for lol inl
added patterns for external pointer increment/decrement
1984-07-18 16:47:24 +00:00
sater
35fbddd030 added definition of index, to keep compiler happy 1984-07-18 14:14:46 +00:00
sater
c65b0f7044 removed recursive comments
removed NC with sti rules
added rule to reverse operands of adi 2
added rule to convert loc sbi to loc adi
added loc slu -> loc sli rule
added local++ rule
added rule for asping xsource2
added rule for csb when nothing on stack
1984-07-18 13:39:24 +00:00
sater
7c5508ddbd changed instruction label format to allow more than 256 procedures 1984-07-18 13:28:01 +00:00
sater
d33e4ac474 added rcsid
converted to recognize and generate new 0%o format
1984-07-18 13:14:18 +00:00
sater
97b50be407 added special patterns for:
1) long compared to constant ( ldc cms 4 zxx )
2) long increments ( ld? ldc adi 4 sd? )
3) autoincrement loads and stores ( lol lol adp stl loi/sti )
1984-07-16 14:39:21 +00:00
sater
42c556cc1f added missing #endif
added two patterns, big improvement
added patterns for ciu and cui
some cosmetic change
1984-07-13 16:13:56 +00:00