GNU Radio's BLOCKSTREAM Package
mipp_scalar_op.h
Go to the documentation of this file.
1 #ifndef MIPP_SCALAR_OP_H_
2 #define MIPP_SCALAR_OP_H_
3 
4 namespace mipp_scop // My Intrinsics Plus Plus SCalar OPerations
5 {
6  template <typename T>
7  inline T andb(const T val1, const T val2);
8 
9  template <typename T>
10  inline T xorb(const T val1, const T val2);
11 
12  template <typename T>
13  inline T msb(const T val);
14 
15  template <typename T>
16  inline T div2(const T val);
17 
18  template <typename T>
19  inline T div4(const T val);
20 
21  template <typename T>
22  inline T rshift(const T val, const int n);
23 
24  template <typename T>
25  inline T lshift(const T val, const int n);
26 }
27 
28 #include "mipp_scalar_op.hxx"
29 
30 #endif /* MIPP_SCALAR_OP_H_ */
T xorb(const T val1, const T val2)
T lshift(const T val, const int n)
T rshift(const T val, const int n)
T div4(const T val)
T div2(const T val)
T andb(const T val1, const T val2)
T msb(const T val)