On Sun, Oct 27, 2013 at 12:18 AM, Ben Kloosterman <[email protected]>wrote:
> > Anything to do with newObj > - The constant sized bump allocation you mention > - get size ( even variable size for string) > - mem clear if done on a per object basis ( not > really needed with Nursery and RC) > - set object /gc header . > memcpy just very common > any SIMD intrinsic ( unless your generating instructions directly and not > using intrisics) > bounds check > Thanks, Ben. I meant to be asking solely about intrinsics between the mutator and the GC, so SIMD is out. Mem clear is GC-internal, so that's not an intrinsic. I had imagined that the size field would be generic and could therefore be handled by normal inlined code, but you may be right about that one. Mutator has no business setting the object/gc header, so no intrinsic there. The instructions to *test* the header are part of the load/store barriers. Bump allocation is what the constant-sized allocation intrinsic is for.
_______________________________________________ bitc-dev mailing list [email protected] http://www.coyotos.org/mailman/listinfo/bitc-dev
