[Mono-devel-list] Patch for CONV_I/U handling in mini.c
bernard at ugsolutions.com
Fri Jul 30 14:10:01 EDT 2004
I attach a patch to mini.h/c to improve handling of cast to native int for
64 bit machines.
This affects CONV_I and similar opcodes.
If the type is already the same size as a ptr no instruction is generated so
for a 64bit machine if a CEE_CONV_I gets through to the code generation
stage (as it does for sparc V9) it must be a 4 to 8 byte widening operation.
I added the STACK_I macro to make this easier to code.
OK to commit?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Mono-devel-list