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

Method Equ

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

basic

Source from the content-addressed store, hash-verified

437 static __forceinline vec4f splats ( uint32_t x ) { return v_cast_vec4f(v_splatsi(x)); }
438 // basic
439 static __forceinline bool Equ ( vec4f a, vec4f b, Context &, LineInfo * ) {
440 return (v_signmask(v_cast_vec4f(v_cmp_eqi(v_cast_vec4i(a),v_cast_vec4i(b)))) & mask) == mask;
441 }
442 static __forceinline bool NotEqu ( vec4f a, vec4f b, Context &, LineInfo * ) {
443 return (v_signmask(v_cast_vec4f(v_cmp_eqi(v_cast_vec4i(a), v_cast_vec4i(b)))) & mask) != mask;
444 }

Callers

nothing calls this directly

Calls 4

v_signmaskFunction · 0.50
v_cast_vec4fFunction · 0.50
v_cmp_eqiFunction · 0.50
v_cast_vec4iFunction · 0.50

Tested by

no test coverage detected