X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=docs%2Fmini-porting.txt;h=7cf14775b1d1d659e99e864ceeab253515ef0733;hb=5cb72e6d53ee8c829a48268e669220c0697e9243;hp=25be0a775665700e4144717a60be84635f938c60;hpb=0a09faca2e4c3d910ebd40d205b9308a33b5f474;p=mono.git 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 is 32 bit op + OP_L and CEE_ 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