Skip to content

Instantly share code, notes, and snippets.

#ifdef __PPC64__
#include <altivec.h>
#include <stddef.h>
//--------------------------------------------------------------------------------------------------
// THDoubleVector_fill_VSX:
//--------------------------------------------------------------------------------------------------
static void THDoubleVector_fill_VSX(double *x, const double c, const ptrdiff_t n)
{