Gromacs  2016.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Friends
gmx::SimdLoadUIProxyInternal Class Reference

#include <gromacs/simd/simd.h>

Description

Proxy object - loadU() for SimdFInt32, SImdDInt32, and int32.

This object is returned by the load() function that takes a single pointer to an integer. When the result is assigned to either SimdFInt32, SimdDInt32, or std::int32_t, the appropriate conversion method will be executed, which in turn calls the correct low-level load function. In pratice this simply means you can use load() regardless of the type.

This is an internal class you should never touch or create objects of. The only reason the constructor isn't private is that the load() function must be static to enable aggressive inlining.

Public Member Functions

 operator std::int32_t () const
 Conversion method that will execute unaligned load of scalar int32.
 
 operator SimdFInt32 () const
 Conversion method that will execute unaligned load of SimdFInt32.
 
 operator SimdDInt32 () const
 Conversion method that will execute unaligned load of SimdDInt32.
 

Friends

const SimdLoadUIProxyInternal
gmx_simdcall 
loadU (const std::int32_t *m)
 Integer loadU function (proxy object) for SimdFInt32, SImdDInt32, and int32. More...
 

Friends And Related Function Documentation

const SimdLoadUIProxyInternal gmx_simdcall loadU ( const std::int32_t *  m)
friend

Integer loadU function (proxy object) for SimdFInt32, SImdDInt32, and int32.

Parameters
mPointer to load memory
Returns
Proxy object that will call the actual load for either SimdFInt32 or SimdDInt32 when you assign it and the conversion method is called.

The documentation for this class was generated from the following file: