On this page
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/UnrealMathNeon.h |
Include |
#include "Math/UnrealMathNeon.h" |
VectorRegister VectorZero()
define VectorPermute(Vec1, Vec2, Mask) my_perm(Vec1, Vec2, Mask)
/ ** Reads NumBytesMinusOne+1 bytes from the address pointed to by Ptr, always reading the aligned 16 bytes containing the start of Ptr, but only reading the next 16 bytes if the data straddles the boundary * / FORCEINLINE VectorRegister VectorLoadNPlusOneUnalignedBytes(const void* Ptr, int NumBytesMinusOne) { return VectorPermute( my_ld (0, (float*)Ptr), my_ld(NumBytesMinusOne, (float*)Ptr), my_lvsl(0, (float*)Ptr) ); } Returns a vector with all zeros.