[Mono-devel-list] [PATCH] Faster array bounds checking
05mauben at hawken.edu
Mon Apr 5 13:46:39 EDT 2004
MONO_EMIT_NEW_X86_COMPARE_MEMBASE_(REG/IMM) -- emit the opcode cmp
MONO_EMIT_BOUNDS_CHECK[_IMM] -- override the generic version with an
x86 specific version.
MONO_EMIT_BOUNDS_CHECK[_IMM] -- a new macro that checks for array
bounds. A arch can override this if it is able to provide a version
faster than the default.
OP_GETCHR, CEE_LDELEMA -- use the above macro.
>>> Miguel de Icaza <miguel at ximian.com> 04/05/04 13:17 PM >>>
> The attached patch makes mini use the compare reg,membase operation
> it is doing array bounds checking. so, rather than:
As usual, you *must* provide a ChangeLog entry for your changes.
Do not even wait for me to ask for the ChangeLog entry, you are only
adding latency to the approval process.
More information about the Mono-devel-list