Cross-platform Burst intrinsics
Read time 1 minuteLast updated 20 days ago
The intrinsics are for functionality shared across the hardware targets that Burst supports.
Unity.Burst.Intrinsics.CommonPause
Unity.Burst.Intrinsics.Common.PausepauseyieldUse it to stop spin locks over contending on an atomic access, which reduces contention and power on that section of code.
Prefetch
The is an intrinsic that provides a hint that Burst should prefetch the memory location into the cache.
Unity.Burst.Intrinsics.Common.Prefetchumul128
Use the intrinsic to access 128-bit unsigned multiplication. These multiplies are useful for hashing functions. It maps 1:1 with hardware instructions on x86 and ARM targets.
Unity.Burst.Intrinsics.Common.umul128InterlockedAnd & InterlockedOr
The and are intrinsics that provides atomic and/or operations on , , , and types.
Unity.Burst.Intrinsics.Common.InterlockedAndUnity.Burst.Intrinsics.Common.InterlockedOrintuintlongulong