[Mono-dev] Mono on SH4: a work in progress
Cedric VINCENT
cedric.vincent at st.com
Mon Jan 5 08:51:43 EST 2009
Hi Rodrigo,
> Maybe we can factor out the code for the constant pool to be used by
> more archs. ARM is one that would benefit from such thing - we emit
> large constants as a 2-4 instructions sequence. What do you think
> about it?
It would certainly be a very good idea. From a practical point of view
the constant pool manager is still at a very early stage of development
(we currently emit sequences of instructions instead of "true" constant
pools) but the overall API is in place.
Now if more architectures are to be supported, there may be some target
specific points to abstract away from the current code. In particular
each target has its own alignment constraints, maximum pool size, delay
slot, ...
Cheers,
Yves & Cedric.
More information about the Mono-devel-list
mailing list