MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / cast

Method cast

include/simd/Vector.hpp:193–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193inline Vector<float, 4> Vector<float, 4>::cast(Vector<int32_t, 4> a) {
194 return Vector(_mm_castsi128_ps(a.v));
195}
196
197inline Vector<int32_t, 4> Vector<int32_t, 4>::cast(Vector<float, 4> a) {
198 return Vector(_mm_castps_si128(a.v));

Callers

nothing calls this directly

Calls 1

VectorClass · 0.85

Tested by

no test coverage detected