Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
dart::simd128_value_t Struct Reference

#include <globals.h>

Public Member Functions

simd128_value_treadFrom (const float *v)
 
simd128_value_treadFrom (const int32_t *v)
 
simd128_value_treadFrom (const double *v)
 
simd128_value_treadFrom (const simd128_value_t *v)
 
void writeTo (float *v)
 
void writeTo (int32_t *v)
 
void writeTo (double *v)
 
void writeTo (simd128_value_t *v)
 

Public Attributes

union {
   int32_t   int_storage [4]
 
   int64_t   int64_storage [2]
 
   float   float_storage [4]
 
   double   double_storage [2]
 
}; 
 

Detailed Description

Definition at line 146 of file globals.h.

Member Function Documentation

◆ readFrom() [1/4]

simd128_value_t & dart::simd128_value_t::readFrom ( const double *  v)
inline

Definition at line 167 of file globals.h.

167 {
168 double_storage[0] = v[0];
169 double_storage[1] = v[1];
170 return *this;
171 }
double double_storage[2]
Definition: globals.h:151

◆ readFrom() [2/4]

simd128_value_t & dart::simd128_value_t::readFrom ( const float *  v)
inline

Definition at line 153 of file globals.h.

153 {
154 float_storage[0] = v[0];
155 float_storage[1] = v[1];
156 float_storage[2] = v[2];
157 float_storage[3] = v[3];
158 return *this;
159 }
float float_storage[4]
Definition: globals.h:150

◆ readFrom() [3/4]

simd128_value_t & dart::simd128_value_t::readFrom ( const int32_t *  v)
inline

Definition at line 160 of file globals.h.

160 {
161 int_storage[0] = v[0];
162 int_storage[1] = v[1];
163 int_storage[2] = v[2];
164 int_storage[3] = v[3];
165 return *this;
166 }
int32_t int_storage[4]
Definition: globals.h:148

◆ readFrom() [4/4]

simd128_value_t & dart::simd128_value_t::readFrom ( const simd128_value_t v)
inline

Definition at line 172 of file globals.h.

172 {
173 *this = *v;
174 return *this;
175 }

◆ writeTo() [1/4]

void dart::simd128_value_t::writeTo ( double *  v)
inline

Definition at line 188 of file globals.h.

188 {
189 v[0] = double_storage[0];
190 v[1] = double_storage[1];
191 }

◆ writeTo() [2/4]

void dart::simd128_value_t::writeTo ( float *  v)
inline

Definition at line 176 of file globals.h.

176 {
177 v[0] = float_storage[0];
178 v[1] = float_storage[1];
179 v[2] = float_storage[2];
180 v[3] = float_storage[3];
181 }

◆ writeTo() [3/4]

void dart::simd128_value_t::writeTo ( int32_t *  v)
inline

Definition at line 182 of file globals.h.

182 {
183 v[0] = int_storage[0];
184 v[1] = int_storage[1];
185 v[2] = int_storage[2];
186 v[3] = int_storage[3];
187 }

◆ writeTo() [4/4]

void dart::simd128_value_t::writeTo ( simd128_value_t v)
inline

Definition at line 192 of file globals.h.

192{ *v = *this; }

Member Data Documentation

◆ 

union { ... } dart::simd128_value_t::@94

◆ double_storage

double dart::simd128_value_t::double_storage[2]

Definition at line 151 of file globals.h.

◆ float_storage

float dart::simd128_value_t::float_storage[4]

Definition at line 150 of file globals.h.

◆ int64_storage

int64_t dart::simd128_value_t::int64_storage[2]

Definition at line 149 of file globals.h.

◆ int_storage

int32_t dart::simd128_value_t::int_storage[4]

Definition at line 148 of file globals.h.


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