Skip to content

Commit

Permalink
Configured distr system for the 6.0pre3 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrg committed Apr 29, 2007
1 parent 663f4f2 commit 54ce3f4
Show file tree
Hide file tree
Showing 12 changed files with 94 additions and 18 deletions.
2 changes: 2 additions & 0 deletions .distr
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@ lang/m2
#lang/basic

mach/proto
mach/i80
mach/i86
mach/i386

plat/cpm
plat/pc86
plat/linux386

Expand Down
9 changes: 9 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
# $State$
# $Revision$

6.0pre3

Added the cpm platform. Made some optimisations to the i80 code generator,
including getting topgen up and running and adding some peephole optimiser
rules. Fixed loads of bugs in ego so that it now works on platforms that
support it (pc86 and linux386). Made the floating point work on platforms
that support it (pc86 and linux386 again). Made stdint.h work. Lots and lots
of bugfixes and tweaks everywhere.

6.0pre2

Much simplified the syscall interface by disabling libmon and instead
Expand Down
11 changes: 6 additions & 5 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# $State$
# $Revision$

THE AMSTERDAM COMPILER KIT V6.0pre2
THE AMSTERDAM COMPILER KIT V6.0pre3
===================================

© 1987-2005 Vrije Universiteit, Amsterdam
2007-04-24
2007-04-29


INTRODUCTION
Expand Down Expand Up @@ -34,6 +34,7 @@ Platforms:

pc86 produces bootable floppy disk images for 8086 PCs
linux386 produces ELF executables for PC Linux systems
cpm produces i80 CP/M .COM files


INSTALLATION
Expand Down Expand Up @@ -125,8 +126,8 @@ GOTCHAS

There are some things you should be aware of.

- Look at plat/linux386/README and plat/pc86/README for information about the
two supported platforms.
- Look at plat/<PLATFORMNAME>/README for information about the two supported
platforms.

- The library support is fairly limited; for C, it's at roughly the ANSI C
level, and for the other languages it's similar.
Expand Down Expand Up @@ -166,4 +167,4 @@ Please enjoy.

David Given (dtrg on Sourceforge)
[email protected]
2007-04-24
2007-04-29
1 change: 0 additions & 1 deletion lang/cem/libcc.ansi/headers/.distr
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ stdbool.h
fcntl.h
tgmath.h
locale.h
stdint.h
6 changes: 2 additions & 4 deletions mach/i80/.distr
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
Action
pmfile
as
top
ncg
dl
libem
libend
libmon
mach_params
40 changes: 38 additions & 2 deletions mach/i80/libem/.distr
Original file line number Diff line number Diff line change
@@ -1,2 +1,38 @@
LIST
libem_s.a
pmfile
aar2.s
adi4.s
and.s
blm.s
cii.s
cmi4.s
cms.s
com.s
csa.s
csb.s
dup.s
dvi2.s
dvi4.s
exg.s
flp.s
inn.s
ior.s
lar2.s
loi.s
mli2.s
mli4.s
mlu2.s
ngi4.s
nop.s
rck.s
rol4.s
ror4.s
sar2.s
sbi4.s
set2.s
set.s
sli2.s
sli4.s
sri2.s
sri4.s
sti.s
xor.s
7 changes: 5 additions & 2 deletions mach/i80/libend/.distr
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
LIST
end_s.a
pmfile
edata.s
em_end.s
end.s
etext.s
1 change: 1 addition & 0 deletions mach/i80/pmfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ mach_i80 = group {

proto_as,
proto_ncg { ARCHDIR = "i80" },
proto_top,

install = pm.install("%ROOTDIR%/lib/%ARCH%/descr", "%BINDIR%%PLATIND%/%ARCH%/descr")
}
Expand Down
1 change: 1 addition & 0 deletions mach/i80/top/.distr
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
table
16 changes: 16 additions & 0 deletions mach/i80/top/table
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

/* 68020 desciptor table for ACK target optimizer */

MAXOP 2;

%%;

X, Y, Z { TRUE };
%%;

mvi X, Y : mov X, Z -> mov X, Z ;

xchg : inx h : xchg -> inx d ;
xchg : inx d : xchg -> inx h ;

%%;
9 changes: 5 additions & 4 deletions plat/cpm/.distr
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,22 @@ pmfile
README
include/ack/config.h
include/unistd.h
include/cpm.h
libsys/pmfile
libsys/_hol0.s
libsys/_bdos.s
libsys/brk.c
libsys/close.c
libsys/creat.c
libsys/errno.s
libsys/getpid.c
libsys/_hol0.s
libsys/_inn2.s
libsys/isatty.c
libsys/kill.c
libsys/libsys.h
libsys/lseek.c
libsys/open.c
libsys/read.c
libsys/signal.c
libsys/time.c
libsys/_trap.s
libsys/write.c
libsys/_sys_rawread.s
libsys/_sys_rawwrite.s
9 changes: 9 additions & 0 deletions plat/cpm/descr
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ name be
stdout
need .e
end
name asopt
from .s
to .so
program {EM}/lib.bin/{PLATFORM}/top
args
optimizer
stdin
stdout
end
name as
from .s.so
to .o
Expand Down

0 comments on commit 54ce3f4

Please sign in to comment.