Additions from Albert Koelmans
This commit is contained in:
parent
0a2ee14396
commit
52cbbb11e0
3 changed files with 91 additions and 2 deletions
|
@ -1,6 +1,14 @@
|
||||||
Action
|
Action
|
||||||
|
READ_ME
|
||||||
as
|
as
|
||||||
cv
|
cv
|
||||||
|
libbc
|
||||||
libcc
|
libcc
|
||||||
libem
|
libem
|
||||||
|
libfp
|
||||||
|
libm2
|
||||||
|
liboc
|
||||||
|
libpc
|
||||||
|
libros
|
||||||
ncg
|
ncg
|
||||||
|
top
|
||||||
|
|
|
@ -1,12 +1,36 @@
|
||||||
|
name "ARM backend"
|
||||||
|
dir ncg
|
||||||
|
end
|
||||||
name "ARM assembler"
|
name "ARM assembler"
|
||||||
dir as
|
dir as
|
||||||
end
|
end
|
||||||
name "ARM backend"
|
name "ARM target optimiser"
|
||||||
dir ncg
|
dir top
|
||||||
|
end
|
||||||
|
name "ARM cv program"
|
||||||
|
dir cv
|
||||||
end
|
end
|
||||||
name "ARM C libraries"
|
name "ARM C libraries"
|
||||||
dir libcc
|
dir libcc
|
||||||
end
|
end
|
||||||
|
name "ARM Pascal libraries"
|
||||||
|
dir libpc
|
||||||
|
end
|
||||||
name "ARM EM library"
|
name "ARM EM library"
|
||||||
dir libem
|
dir libem
|
||||||
end
|
end
|
||||||
|
name "ARM RiscOs library"
|
||||||
|
dir libros
|
||||||
|
end
|
||||||
|
name "ARM floating point library"
|
||||||
|
dir libfp
|
||||||
|
end
|
||||||
|
name "ARM Modula 2 library"
|
||||||
|
dir libm2
|
||||||
|
end
|
||||||
|
name "ARM Occam libraries"
|
||||||
|
dir liboc
|
||||||
|
end
|
||||||
|
name "ARM Basic libraries"
|
||||||
|
dir libbc
|
||||||
|
end
|
||||||
|
|
57
mach/arm/READ_ME
Normal file
57
mach/arm/READ_ME
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
These are the comments as I received them from Albert Koelmans.
|
||||||
|
The only thing I did was adapt the installation mechanism for ACK, and
|
||||||
|
made some adaptions to de code generator to support the improved FP package.
|
||||||
|
I also removed some comments that were no longer up-to-date.
|
||||||
|
|
||||||
|
Ceriel Jacobs
|
||||||
|
|
||||||
|
AMSTERDAM COMPILER KIT - BACKEND FOR ACORN RISC MACHINE PROCESSOR
|
||||||
|
===========================================================================
|
||||||
|
|
||||||
|
This file contains some advice on how to go about installing the ARM backend
|
||||||
|
for the Amsterdam Compiler Kit (ACK), followed by a shar file containing the
|
||||||
|
backend itself. In what follows, ~ will denote the ACK root directory (on
|
||||||
|
most systems, this will be /usr/em), also called EMHOME in most makefiles.
|
||||||
|
|
||||||
|
Make sure that your PATH includes ~/bin
|
||||||
|
|
||||||
|
cd to ~/bin, and type
|
||||||
|
ln ack arm
|
||||||
|
|
||||||
|
cd to ~/mach/proto/ncg, and inspect file param.h. The constant MAXEMLINES
|
||||||
|
should be at least 40. Edit the file if necessary.
|
||||||
|
|
||||||
|
cd to ~/util/ncgg, and inspect file param.h. The constant MAXNODES should
|
||||||
|
have as parameters at least 1500 and 1350. If this is not the case, edit the
|
||||||
|
file and type 'make install' to generate a new ncgg.
|
||||||
|
|
||||||
|
If some compilations fail, inspect file Out in the appropriate subdirectory
|
||||||
|
to find the cause.
|
||||||
|
|
||||||
|
ACK will create an a.out file which includes an ACK header and symbol table.
|
||||||
|
Use the cv program to strip these off, after which the executable should be
|
||||||
|
downloaded onto an Archimedes machine and have it's type set to FF8.
|
||||||
|
|
||||||
|
Acknowledgements: the first version of the backend was written by an anonymous
|
||||||
|
student at the Vrije Universiteit, Amsterdam. The code generator was further
|
||||||
|
developed and debugged by Albert Koelmans. Andrew Michael wrote most of the
|
||||||
|
assembler sources. A simple RiscOs interface was added by Albert Koelmans.
|
||||||
|
All of this involved extensive help from Ceriel Jacobs. The assertion in the
|
||||||
|
ACK documentation that writing a backend is a major task is certainly true...
|
||||||
|
|
||||||
|
In case of major problems, bugs etc, contact me at the address below....
|
||||||
|
|
||||||
|
Revision history:
|
||||||
|
|
||||||
|
jan 1990 version 1.0
|
||||||
|
|
||||||
|
mar 1990 version 1.1
|
||||||
|
Some bugs sorted out
|
||||||
|
Backend generates tighter code
|
||||||
|
Much better target optimiser
|
||||||
|
apr 1990 version 2.0
|
||||||
|
Register variables introduced
|
||||||
|
more bugs removed
|
||||||
|
|
||||||
|
Albert Koelmans
|
||||||
|
(albert.koelmans@newcastle.ac.uk)
|
Loading…
Add table
Reference in a new issue