added memory barrier and prefetch_nta