MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / setXY

Method setXY

include/daScript/simulate/sim_policy.h:430–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428 static __forceinline vec4f setAligned ( const int32_t *__restrict x ) { return v_cast_vec4f(v_ldi(x)); }
429 static __forceinline vec4f setAligned ( const uint32_t *__restrict x ) { return setAligned((const int32_t*)x); }
430 static __forceinline vec4f setXY ( const float *__restrict x ) { return v_cast_vec4f(v_cvt_vec4i(v_ldu_half(x))); }
431 static __forceinline vec4f setXY ( const double *__restrict X ) { int32_t x[2] = {int32_t(X[0]), int32_t(X[1])}; return setXY(x); }
432 static __forceinline vec4f setXY ( const int32_t *__restrict x ) { return v_cast_vec4f(v_ldui_half(x)); }
433 static __forceinline vec4f setXY ( const uint32_t *__restrict x ) { return setXY((const int32_t*)x); }

Callers

nothing calls this directly

Calls 4

v_cvt_vec4iFunction · 0.85
v_cast_vec4fFunction · 0.50
v_ldu_halfFunction · 0.50
v_ldui_halfFunction · 0.50

Tested by

no test coverage detected