[Mono-bugs] [Bug 567040] abort in mini_emit_memcpy while JITting a verified method

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 29 09:15:02 EST 2009



Rodrigo Kumpera <rkumpera at novell.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |ASSIGNED
         AssignedTo|lupus at novell.com            |rkumpera at novell.com

--- Comment #1 from Rodrigo Kumpera <rkumpera at novell.com> 2009-12-29 14:14:56 UTC ---
The right way to fix this bug requires quite some work:

-Add a MONO_ARCH_MAX_COPY_WORDS with a possible default value.
-Rework all callers of mini_emit_memset and mini_emit_memcopy to not do a size
check and emit a memcpy/memset intrinsic.
-Add a mono_arch_emit_memcpy and mono_arch_emit_memset functions to optionally
perform a backend-optimized copy.
-Change mini_emit_memset and mini_emit_memcopy to check against
MONO_ARCH_MAX_COPY_WORDS and call the backend.

Those changes will take quite some work, but I'll do it anyway. As a bonus,
I'll add support for using SSE for those ops.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list