Audacity 3.2.0
Namespaces | Macros | Functions
SimdTypes.h File Reference
#include <cassert>
#include <cstdlib>
#include "SimdTypes_scalar.h"
Include dependency graph for SimdTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  staffpad
 
namespace  staffpad::audio
 
namespace  staffpad::audio::simd
 

Macros

#define __finl   inline __attribute__((always_inline))
 
#define __vecc
 

Functions

void * staffpad::audio::simd::aligned_malloc (size_t required_bytes, size_t alignment)
 reserve aligned memory. Needs to be freed with aligned_free() More...
 
void staffpad::audio::simd::aligned_free (void *p)
 free memory allocated with aligned_malloc More...
 
template<typename cls >
cls * staffpad::audio::simd::aligned_new (int alignment)
 create a c++ class at an memory-aligned spot that needs to be deleted using aligned_delete More...
 
template<typename cls >
void staffpad::audio::simd::aligned_delete (cls *obj)
 
template<typename T >
bool staffpad::audio::simd::is_aligned (T *obj, int alignment)
 
template<typename fnc >
__finl void staffpad::audio::simd::perform_parallel_simd_aligned (float *a, float *b, int n, const fnc &f)
 
template<typename fnc >
__finl void staffpad::audio::simd::perform_parallel_simd_aligned (float *a, int n, const fnc &f)
 template for applying math to one data buffer More...
 

Macro Definition Documentation

◆ __finl

#define __finl   inline __attribute__((always_inline))

Definition at line 14 of file SimdTypes.h.

◆ __vecc

#define __vecc

Definition at line 15 of file SimdTypes.h.