search for: src_derived

Displaying 2 results from an estimated 2 matches for "src_derived".

2020 Sep 18
3
GC-parseable element atomic memcpy/memmove
...point. In order to do this we need to know the base pointers as well. How do we make the base pointers available in the copy routine? I suggest we add them explicitly as arguments during lowering. For example: __llvm_memcpy_element_unordered_atomic_safepoint_1( dest_base, dest_derived, src_base, src_derived, length) It will be up to RS4GC to do the new lowering and prepare the arguments. RS4GC knows how to compute base pointers for a given derived pointer. It also already does lowering for deoptimize intrinsics by replacing an intrinsic call with a symbol call. So there is a precedent here. Other al...
2020 Sep 30
2
GC-parseable element atomic memcpy/memmove
...point. In order to do this we need to know the base pointers as well. How do we make the base pointers available in the copy routine? I suggest we add them explicitly as arguments during lowering. For example: __llvm_memcpy_element_unordered_atomic_safepoint_1( dest_base, dest_derived, src_base, src_derived, length) It will be up to RS4GC to do the new lowering and prepare the arguments. RS4GC knows how to compute base pointers for a given derived pointer. It also already does lowering for deoptimize intrinsics by replacing an intrinsic call with a symbol call. So there is a precedent here. Other al...