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

Method setXY

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

Source from the content-addressed store, hash-verified

334 static __forceinline vec4f setAligned ( const int32_t *__restrict x ) { return v_cvt_vec4f(v_ldi(x)); }
335 static __forceinline vec4f setAligned ( const uint32_t *__restrict x ) { return v_cvtu_vec4f_ieee(v_ldi((const int32_t *)x)); }
336 static __forceinline vec4f setXY ( const float *__restrict x ) { return v_ldu_half(x); }
337 static __forceinline vec4f setXY ( const double *__restrict X ) { float x[2] = {float(X[0]),float(X[1])}; return v_ldu_half(x); }
338 static __forceinline vec4f setXY ( const int32_t *__restrict x ) { return v_cvt_vec4f(v_ldui_half(x)); }
339 static __forceinline vec4f setXY ( const uint32_t *__restrict x ) { return v_cvtu_vec4f_ieee(v_ldui_half((const int32_t *)x)); }

Callers

nothing calls this directly

Calls 4

v_cvt_vec4fFunction · 0.85
v_ldu_halfFunction · 0.50
v_ldui_halfFunction · 0.50
v_cvtu_vec4f_ieeeFunction · 0.50

Tested by

no test coverage detected