Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Re: [Caml-list] Native compiler support for m68k?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-08-24 (20:07)
From: Richard Zidlicky <rz@l...>
Subject: Re: [Caml-list] Native compiler support for m68k?
On Wed, Aug 20, 2003 at 02:32:38PM +0200, Xavier Leroy wrote:
> > I recently got interested into OCaml and thought about
> > resurrecting the native m68k compiler for m68k, is the old
> > bitrotten code available somewhere?
> Yes, you can find it in release 2.04 (the last stable release before
> m68k support was deprecated):

ok, I got 2.0.4 working for m68k-linux, not very hard.
Speed is quite impressive, fib is faster than gcc code ?!

One thing that I need to verify is the interaction of the native
compiler and the strange m68k-linux ABI which is different from
SUN or BSD. The unusual part of m68k-linux ABI is that functions
returning pointer return their value in register a0, while integer
types are retuned in d0.

How does the code generated by the native compiler interact
with c-ABI functions?


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: