diff options
author | Miguel de Icaza <miguel@gnome.org> | 2004-08-03 18:36:14 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2004-08-03 18:36:14 +0400 |
commit | 4cd8d82d23c4e05132b66d60560d12ef2671d256 (patch) | |
tree | 8eed73f137ad6400de5c18b81131255530f28dbc /docs | |
parent | 444f45db1f9ede2a3d66ed74582ecca09ed44601 (diff) |
Update with some comments from Zoltan
svn path=/trunk/mono/; revision=31803
Diffstat (limited to 'docs')
-rw-r--r-- | docs/mini-porting.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/mini-porting.txt b/docs/mini-porting.txt index 25be0a77566..7cf14775b1d 100644 --- a/docs/mini-porting.txt +++ b/docs/mini-porting.txt @@ -422,3 +422,30 @@ we replace one or more instructions with others that perform better for the given architecture or CPU. +* 64 bit support tips, by Zoltan Varga (vargaz@gmail.com) + + For a 64-bit port of the Mono runtime, you will typically do + the following: + + * need to use inssel-long.brg instead of + inssel-long32.brg. + + * need to implement lots of new opcodes: + OP_I<OP> is 32 bit op + OP_L<OP> and CEE_<OP> are 64 bit ops + + + The 64 bit version of an existing port might share the code + with the 32 bit port (for example SPARC/SPARV9), or it might + be separate (x86/AMD64). + + That will depend on the similarities of the two instructions + sets/ABIs etc. + + The runtime and most parts of the JIT are 64 bit clean + at this point, so the only parts which require changing are + the arch dependent files. + + + +
\ No newline at end of file |