Gromacs
5.1.4
|
#include "gmxpre.h"
#include <gtest/gtest.h>
#include "gromacs/simd/simd.h"
#include "gromacs/utility/real.h"
Separate test of SIMD load/store, before we use them in the SIMD test classes.
Simple tests without using any classes/utilities, so we can use load/store functions inside our test utilities after this has passed.
This file tests:
Functions | |
template<typename T , typename TSimd > | |
void | anonymous_namespace{bootstrap_loadstore.cpp}::simdLoadStoreTester (TSimd simdLoadFn(T *mem), void simdStoreFn(T *mem, TSimd), T *simdAlignFn(T *mem), const int loadOffset, const int storeOffset, const int simdWidth) |
Generic routine to test load & store of SIMD, and check for side effects. More... | |
gmx_simd_float_t | anonymous_namespace{bootstrap_loadstore.cpp}::wrapperSimdLoadR (real *m) |
Wrapper for SIMD macro to load aligned floating-point data. | |
void | anonymous_namespace{bootstrap_loadstore.cpp}::wrapperSimdStoreR (real *m, gmx_simd_float_t s) |
Wrapper for SIMD macro to store to aligned floating-point data. | |
gmx_simd_float_t | anonymous_namespace{bootstrap_loadstore.cpp}::WrapperSimdLoadUR (real *m) |
Wrapper for SIMD macro to load unaligned floating-point data. | |
void | anonymous_namespace{bootstrap_loadstore.cpp}::WrapperSimdStoreUR (real *m, gmx_simd_float_t s) |
Wrapper for SIMD macro to store to unaligned floating-point data. | |
gmx_simd_fint32_t | anonymous_namespace{bootstrap_loadstore.cpp}::wrapperSimdLoadI (int *m) |
Wrapper for SIMD macro to load aligned integer data. | |
void | anonymous_namespace{bootstrap_loadstore.cpp}::wrapperSimdStoreI (int *m, gmx_simd_fint32_t s) |
Wrapper for SIMD macro to store to aligned integer data. | |
gmx_simd_fint32_t | anonymous_namespace{bootstrap_loadstore.cpp}::wrapperSimdLoadUI (int *m) |
Wrapper for SIMD macro to load unaligned integer data. | |
void | anonymous_namespace{bootstrap_loadstore.cpp}::wrapperSimdStoreUI (int *m, gmx_simd_fint32_t s) |
Wrapper for SIMD macro to store to unaligned integer data. | |
template<typename T , typename TSimd > | |
void | anonymous_namespace{bootstrap_loadstore.cpp}::simd4LoadStoreTester (TSimd simd4LoadFn(T *mem), void simd4StoreFn(T *mem, TSimd), T *simd4AlignFn(T *mem), const int loadOffset, const int storeOffset) |
Separate load/store tester function for SIMD4. More... | |
gmx_simd_float_t | anonymous_namespace{bootstrap_loadstore.cpp}::wrapperSimd4LoadR (real *m) |
Wrapper for SIMD4 macro to load aligned floating-point data. | |
void | anonymous_namespace{bootstrap_loadstore.cpp}::wrapperSimd4StoreR (real *m, gmx_simd_float_t s) |
Wrapper for SIMD4 macro to store to aligned floating-point data. | |
gmx_simd_float_t | anonymous_namespace{bootstrap_loadstore.cpp}::WrapperSimd4LoadUR (real *m) |
Wrapper for SIMD4 macro to load unaligned floating-point data. | |
void | anonymous_namespace{bootstrap_loadstore.cpp}::WrapperSimd4StoreUR (real *m, gmx_simd_float_t s) |
Wrapper for SIMD4 macro to store to unaligned floating-point data. | |