GNU Radio Manual and C++ API Reference  3.7.7
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
volk_32f_log2_32f.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include <math.h>

Go to the source code of this file.

Macros

#define POLY0(x, c0)   _mm_set1_ps(c0)
 
#define POLY1(x, c0, c1)   _mm_add_ps(_mm_mul_ps(POLY0(x, c1), x), _mm_set1_ps(c0))
 
#define POLY2(x, c0, c1, c2)   _mm_add_ps(_mm_mul_ps(POLY1(x, c1, c2), x), _mm_set1_ps(c0))
 
#define POLY3(x, c0, c1, c2, c3)   _mm_add_ps(_mm_mul_ps(POLY2(x, c1, c2, c3), x), _mm_set1_ps(c0))
 
#define POLY4(x, c0, c1, c2, c3, c4)   _mm_add_ps(_mm_mul_ps(POLY3(x, c1, c2, c3, c4), x), _mm_set1_ps(c0))
 
#define POLY5(x, c0, c1, c2, c3, c4, c5)   _mm_add_ps(_mm_mul_ps(POLY4(x, c1, c2, c3, c4, c5), x), _mm_set1_ps(c0))
 
#define LOG_POLY_DEGREE   6
 
#define INCLUDED_volk_32f_log2_32f_u_H
 

Macro Definition Documentation

#define INCLUDED_volk_32f_log2_32f_u_H
#define LOG_POLY_DEGREE   6
#define POLY0 (   x,
  c0 
)    _mm_set1_ps(c0)
#define POLY1 (   x,
  c0,
  c1 
)    _mm_add_ps(_mm_mul_ps(POLY0(x, c1), x), _mm_set1_ps(c0))
#define POLY2 (   x,
  c0,
  c1,
  c2 
)    _mm_add_ps(_mm_mul_ps(POLY1(x, c1, c2), x), _mm_set1_ps(c0))
#define POLY3 (   x,
  c0,
  c1,
  c2,
  c3 
)    _mm_add_ps(_mm_mul_ps(POLY2(x, c1, c2, c3), x), _mm_set1_ps(c0))
#define POLY4 (   x,
  c0,
  c1,
  c2,
  c3,
  c4 
)    _mm_add_ps(_mm_mul_ps(POLY3(x, c1, c2, c3, c4), x), _mm_set1_ps(c0))
#define POLY5 (   x,
  c0,
  c1,
  c2,
  c3,
  c4,
  c5 
)    _mm_add_ps(_mm_mul_ps(POLY4(x, c1, c2, c3, c4, c5), x), _mm_set1_ps(c0))