Displaying 1 result from an estimated 1 matches for "len_ty".
Did you mean:
len_rtn
2017 May 08
3
RFC: Element-atomic memory intrinsics
...t_ty), sizeof(src_ty))
* isunordered param: bit 0 == 1 => stores to dest must be marked ‘unordered’; bit 1 == 1 => loads from src must be marked ‘unordered'
* expanded memcpy code has this sort of form (ignoring alignment for simplicity):
template<typename len_ty, uint16_t element_size>
void memcpy_element_atomic(char *dest, char *src, len_ty len) {
copy_ty = <int type with sizeof(type) == element_size>;
len_ty num_iters = len / sizeof(copy_ty);
for (len_ty i=0; i < num_...