Building MD files for register-less machine
Alexandre Courbot
Alexandre.Courbot@lifl.fr
Tue Feb 26 03:10:00 GMT 2002
Hello everybody,
I'm currently trying to get GCC to compile to a quite simple machine
assembly. This machine doesn't have any hard-register (well, at least
not accessible), everything (including argument passing, and so on) is
handled in the memory. I've seen that many MD macros are dealing with
hard registers. Can I write a machine description for a register-less
machine?
More specifically, and as writing a MD for the first time is quite a
hard sport, could someone point me to a very simple (simplistic?) MD
example for GCC 3, if it exists? The ones that are provided with the
sources are quite complex, and although the manual is very complete and
helpfull in that respect, I'm rather the kind of guy who learn by
example.
Thanks in advance!
Alex.
--
http://www.gnurou.org
More information about the Gcc-help
mailing list