MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / printx

Function printx

Source/astcenc_vecmathlib_common_4.h:389–399  ·  view source on GitHub ↗

* @brief Debug function to print a vector of ints. */

Source from the content-addressed store, hash-verified

387 * @brief Debug function to print a vector of ints.
388 */
389ASTCENC_SIMD_INLINE void printx(vint4 a)
390{
391 ASTCENC_ALIGNAS int v[4];
392 storea(a, v);
393
394 unsigned int uv[4];
395 std::memcpy(uv, v, sizeof(int) * 4);
396
397 printf("v4_i32:\n %08x %08x %08x %08x\n",
398 uv[0], uv[1], uv[2], uv[3]);
399}
400
401/**
402 * @brief Debug function to print a vector of floats.

Callers

nothing calls this directly

Calls 1

storeaFunction · 0.70

Tested by

no test coverage detected