PintS  0.1
Portable Intrinsics for SIMD
 All Data Structures Files Functions Groups
Related Functions
v1d Struct Reference

Type for the manipulation of 1 double packed into one single vector. More...

#include <pints-doc.h>

Related Functions

(Note that these are not member functions.)

v1d v1d_load (const double *p)
 Loads 1 double from memory into a v1d vector. More...
 
v1d v1d_loadu (const double *p)
 Loads 1 double from memory into a v1d vector. More...
 
v1d v1d_load1 (const double *p)
 Loads 1 double from memory and broadcasts it into a v1d vector. More...
 
void v1d_store (double *p, v1d a)
 Stores a v1d vector into memory. More...
 
void v1d_storeu (double *p, v1d a)
 Stores a v1d vector into memory. More...
 
void v1d_store1 (double *p, v1d a)
 Stores the first element of a v1d vector into memory. More...
 
v1d v1d_set (double v0)
 Sets the elements of a v1d vector. More...
 
v1d v1d_rset (double v0)
 Sets the elements of a v1d vector (reverse order). More...
 
v1d v1d_set1 (double v)
 Broadcasts a single value into all elements of a v1d vector. More...
 
v1d v1d_zeros ()
 Sets all bits to 0. More...
 
v1d v1d_ones ()
 Sets all bits to 1. More...
 
v1d v1d_zero ()
 Sets all elements to 0. More...
 
v1d v1d_one ()
 Sets all elements to 1. More...
 
m1d m1d_eq (v1d a, v1d b)
 Compares the equality of the two input vectors. More...
 
m1d m1d_neq (v1d a, v1d b)
 Compares the inequality of the two input vectors. More...
 
m1d m1d_gt (v1d a, v1d b)
 Compares if elements of a are greater than those of b. More...
 
m1d m1d_geq (v1d a, v1d b)
 Compares if elements of a are greater than or equal to those of b. More...
 
m1d m1d_lt (v1d a, v1d b)
 Compares if elements of a are less than those of b. More...
 
m1d m1d_leq (v1d a, v1d b)
 Compares if elements of a are less than or equal to those of b. More...
 
m1d m1d_and (m1d a, m1d b)
 Bitwise and ( a & b ) More...
 
m1d m1d_or (m1d a, m1d b)
 Bitwise or ( a | b ) More...
 
m1d m1d_xor (m1d a, m1d b)
 Bitwise xor ( a ^ b ) More...
 
m1d m1d_not (m1d a)
 Bitwise not ( ~a ) More...
 
m1d m1d_nand (m1d a, m1d b)
 Bitwise nand ( ~(a & b) ) More...
 
m1d m1d_nor (m1d a, m1d b)
 Bitwise nor ( ~(a | b) ) More...
 
m1d m1d_nxor (m1d a, m1d b)
 Bitwise nxor ( ~(a ^ b) ) More...
 
m1d m1d_andnot (m1d a, m1d b)
 Bitwise andnot ( a & ~b ) More...
 
m1d m1d_ornot (m1d a, m1d b)
 Bitwise ornot ( a | ~b ) More...
 
v1d v1d_eq (v1d a, v1d b)
 Compares the equality of the two input vectors. More...
 
v1d v1d_neq (v1d a, v1d b)
 Compares the inequality of the two input vectors. More...
 
v1d v1d_gt (v1d a, v1d b)
 Compares if elements of a are greater than those of b. More...
 
v1d v1d_geq (v1d a, v1d b)
 Compares if elements of a are greater than or equal to those of b. More...
 
v1d v1d_lt (v1d a, v1d b)
 Compares if elements of a are less than those of b. More...
 
v1d v1d_leq (v1d a, v1d b)
 Compares if elements of a are less than or equal to those of b. More...
 
v1d v1d_and (v1d a, v1d b)
 Bitwise and ( a & b ) More...
 
v1d v1d_or (v1d a, v1d b)
 Bitwise or ( a | b ) More...
 
v1d v1d_xor (v1d a, v1d b)
 Bitwise xor ( a ^ b ) More...
 
v1d v1d_not (v1d a)
 Bitwise not ( ~a ) More...
 
v1d v1d_nand (v1d a, v1d b)
 Bitwise nand ( ~(a & b) ) More...
 
v1d v1d_nor (v1d a, v1d b)
 Bitwise nor ( ~(a | b) ) More...
 
v1d v1d_nxor (v1d a, v1d b)
 Bitwise nxor ( ~(a ^ b) ) More...
 
v1d v1d_andnot (v1d a, v1d b)
 Bitwise andnot ( a & ~b ) More...
 
v1d v1d_ornot (v1d a, v1d b)
 Bitwise ornot ( a | ~b ) More...
 
v1d v1d_add (v1d a, v1d b)
 Elementwise addition ( a + b ) More...
 
v1d v1d_sub (v1d a, v1d b)
 Elementwise subtraction ( a - b ) More...
 
v1d v1d_neg (v1d a)
 Elementwise negation ( -a ) More...
 
v1d v1d_min (v1d a, v1d b)
 Elementwise min ( a < b ? a : b ) More...
 
v1d v1d_max (v1d a, v1d b)
 Elementwise max ( a > b ? a : b ) More...
 
v1d v1d_abs (v1d a)
 Elementwise absolute value ( a > 0 ? a : -a ) More...
 
v1d v1d_mul (v1d a, v1d b)
 Elementwise multiplication ( a * b ) More...
 
v1d v1d_div (v1d a, v1d b)
 Elementwise division ( a / b ) More...
 
v1d v1d_rcp (v1d a)
 Elementwise reciprocal ( 1 / a ) More...
 
v1d v1d_frcp (v1d a)
 Fast elementwise reciprocal ( 1 / a ) More...
 
v1d v1d_sqrt (v1d a)
 Elementwise square root ( sqrt(a) ) More...
 
v1d v1d_rsqrt (v1d a)
 Elementwise square root reciprocal ( 1 / sqrt(a) ) More...
 
v1d v1d_frsqrt (v1d a)
 Fast elementwise square root reciprocal ( 1 / sqrt(a) ) More...
 
v1d v1d_fmadd (v1d a, v1d b, v1d acc)
 Fused Multiply-Add ( (a * b) + acc ) More...
 
v1d v1d_fmsub (v1d a, v1d b, v1d acc)
 Fused Multiply-Sub ( (a * b) - acc ) More...
 
v1d v1d_fnmadd (v1d a, v1d b, v1d acc)
 Fused Multiply-Add ( -(a * b) + acc ) More...
 
v1d v1d_fnmsub (v1d a, v1d b, v1d acc)
 Fused Multiply-Add ( -(a * b) - acc ) More...
 
v1d v1d_blend1 (v1d a, v1d b, uint_fast8_t mask)
 Creates a new v1d vector whose elements are from a and b choosed by mask. More...
 
v1d v1d_blend1x1 (v1d a, v1d b, uint_fast8_t mask)
 Creates a new v1d vector whose elements are from a and b choosed by mask. More...
 
v1d v1d_blend (v1d a, v1d b, uint_fast8_t mask)
 Creates a new v1d vector whose elements are from a and b choosed by mask. More...
 
v1d v1d_hshuffle (v1d a, v1d b, uint_fast8_t rule)
 Shuffles a and b together using the control in rule. More...
 
v1d v1d_permute (v1d a, uint_fast8_t rule)
 Shuffles a using the control in rule. More...
 
v1d v1d_fshuffle (v1d a, v1d b, uint_fast8_t rule, uint_fast8_t mask)
 Fully shuffles (inner) a and b using the control in rule, and blends them together using mask. More...
 
v1d v1d_reduce_add (v1d a)
 Reduction add ( + ) More...
 
v1d v1d_reduce_add_v1d (v1d a)
 Reduction add ( + ) More...
 
v1d v1d_reduce_add_v2d (v2d a)
 Reduction add ( + ) More...
 
v1d v1d_reduce_add_v4d (v4d a)
 Reduction add ( + ) More...
 
v1d v1d_reduce_add_v8d (v8d a)
 Reduction add ( + ) More...
 
v1d sd_reduce_add_v1d (v1d a)
 Reduction add ( + ) More...
 
v1d v1d_reduce_mul (v1d a)
 Reduction mul ( * ) More...
 
v1d v1d_reduce_mul_v1d (v1d a)
 Reduction mul ( * ) More...
 
v1d v1d_reduce_mul_v2d (v2d a)
 Reduction mul ( * ) More...
 
v1d v1d_reduce_mul_v4d (v4d a)
 Reduction mul ( * ) More...
 
v1d v1d_reduce_mul_v8d (v8d a)
 Reduction mul ( * ) More...
 
v1d sd_reduce_mul_v1d (v1d a)
 Reduction mul ( * ) More...
 
v1d v1d_reduce_and (v1d a)
 Reduction and ( & ) More...
 
v1d v1d_reduce_and_v1d (v1d a)
 Reduction and ( & ) More...
 
v1d v1d_reduce_and_v2d (v2d a)
 Reduction and ( & ) More...
 
v1d v1d_reduce_and_v4d (v4d a)
 Reduction and ( & ) More...
 
v1d v1d_reduce_and_v8d (v8d a)
 Reduction and ( & ) More...
 
v1d sd_reduce_and_v1d (v1d a)
 Reduction and ( & ) More...
 
v1d v1d_reduce_or (v1d a)
 Reduction or ( | ) More...
 
v1d v1d_reduce_or_v1d (v1d a)
 Reduction or ( | ) More...
 
v1d v1d_reduce_or_v2d (v2d a)
 Reduction or ( | ) More...
 
v1d v1d_reduce_or_v4d (v4d a)
 Reduction or ( | ) More...
 
v1d v1d_reduce_or_v8d (v8d a)
 Reduction or ( | ) More...
 
v1d sd_reduce_or_v1d (v1d a)
 Reduction or ( | ) More...
 
v1d v1d_reduce_min (v1d a)
 Reduction min ( min ) More...
 
v1d v1d_reduce_min_v1d (v1d a)
 Reduction min ( min ) More...
 
v1d v1d_reduce_min_v2d (v2d a)
 Reduction min ( min ) More...
 
v1d v1d_reduce_min_v4d (v4d a)
 Reduction min ( min ) More...
 
v1d v1d_reduce_min_v8d (v8d a)
 Reduction min ( min ) More...
 
v1d sd_reduce_min_v1d (v1d a)
 Reduction min ( min ) More...
 
v1d v1d_reduce_max (v1d a)
 Reduction max ( max ) More...
 
v1d v1d_reduce_max_v1d (v1d a)
 Reduction max ( max ) More...
 
v1d v1d_reduce_max_v2d (v2d a)
 Reduction max ( max ) More...
 
v1d v1d_reduce_max_v4d (v4d a)
 Reduction max ( max ) More...
 
v1d v1d_reduce_max_v8d (v8d a)
 Reduction max ( max ) More...
 
v1d sd_reduce_max_v1d (v1d a)
 Reduction max ( max ) More...
 
v1d v1d_move (v1d a)
 Forwards the input. More...
 
v1d v1d_maskz_move (m1d mask, v1d a)
 Mask the input. More...
 
v1d v1d_mask_move (m1d mask, v1d src, v1d a)
 Mask the input. More...
 
void v1d_fprintf (FILE *file, v1d a, const char *format)
 Prints a v1d vector. More...
 
void v1d_printf (v1d a, const char *format)
 Prints a v1d vector. More...
 
void v1d_fprint (FILE *file, v1d a)
 Prints a v1d vector. More...
 
void v1d_print (v1d a)
 Prints a v1d vector. More...
 
void v1d_rfprintf (FILE *file, v1d a, const char *format)
 Prints a v1d vector (reversed order) More...
 
void v1d_rprintf (v1d a, const char *format)
 Prints a v1d vector (reversed order) More...
 
void v1d_rfprint (FILE *file, v1d a)
 Prints a v1d vector (reversed order) More...
 
void v1d_rprint (v1d a)
 Prints a v1d vector (reversed order) More...
 
v1d v1d_cast_v1d (v1d a)
 Casts a v1d vector into a v1d vector. More...
 
v1d v1d_cast_v1f (v1f a)
 Casts a v1f vector into a v1d vector. More...
 
v1d v1d_cast_v1i (v1i a)
 Casts a v1i vector into a v1d vector. More...
 
v1d v1d_cast_v1l (v1l a)
 Casts a v1l vector into a v1d vector. More...
 
v1d v1d_cast_v2d (v2d a)
 Casts a v2d vector into a v1d vector. More...
 
v1d v1d_cast_v2f (v2f a)
 Casts a v2f vector into a v1d vector. More...
 
v1d v1d_cast_v2i (v2i a)
 Casts a v2i vector into a v1d vector. More...
 
v1d v1d_cast_v2l (v2l a)
 Casts a v2l vector into a v1d vector. More...
 
v1d v1d_cast_v4d (v4d a)
 Casts a v4d vector into a v1d vector. More...
 
v1d v1d_cast_v4f (v4f a)
 Casts a v4f vector into a v1d vector. More...
 
v1d v1d_cast_v4i (v4i a)
 Casts a v4i vector into a v1d vector. More...
 
v1d v1d_cast_v4l (v4l a)
 Casts a v4l vector into a v1d vector. More...
 
v1d v1d_cast_v8d (v8d a)
 Casts a v8d vector into a v1d vector. More...
 
v1d v1d_cast_v8f (v8f a)
 Casts a v8f vector into a v1d vector. More...
 
v1d v1d_cast_v8i (v8i a)
 Casts a v8i vector into a v1d vector. More...
 
v1d v1d_cast_v8l (v8l a)
 Casts a v8l vector into a v1d vector. More...
 
v1d v1d_cast_v16f (v16f a)
 Casts a v16f vector into a v1d vector. More...
 
v1d v1d_cast_v16i (v16i a)
 Casts a v16i vector into a v1d vector. More...
 
m1d m1d_cast_v1d (v1d a)
 Casts a v1d vector into a m1d vector-mask. More...
 
v1d v1d_cast_m1d (m1d a)
 Casts a m1d vector-mask into a v1d vector. More...
 
v1d v1d_cvt_v1d (v1d a)
 Converts a v1d vector into a v1d vector. More...
 
v1d v1d_cvt_v1f (v1f a)
 Converts a v1f vector into a v1d vector. More...
 
v1d v1d_cvt_v1i (v1i a)
 Converts a v1i vector into a v1d vector. More...
 
v1d v1d_cvt_v1l (v1l a)
 Converts a v1l vector into a v1d vector. More...
 
v1d v1d_cvt_v2d (v2d a)
 Converts a v2d vector into a v1d vector. More...
 
v1d v1d_cvt_v2f (v2f a)
 Converts a v2f vector into a v1d vector. More...
 
v1d v1d_cvt_v2i (v2i a)
 Converts a v2i vector into a v1d vector. More...
 
v1d v1d_cvt_v2l (v2l a)
 Converts a v2l vector into a v1d vector. More...
 
v1d v1d_cvt_v4d (v4d a)
 Converts a v4d vector into a v1d vector. More...
 
v1d v1d_cvt_v4f (v4f a)
 Converts a v4f vector into a v1d vector. More...
 
v1d v1d_cvt_v4i (v4i a)
 Converts a v4i vector into a v1d vector. More...
 
v1d v1d_cvt_v4l (v4l a)
 Converts a v4l vector into a v1d vector. More...
 
v1d v1d_cvt_v8d (v8d a)
 Converts a v8d vector into a v1d vector. More...
 
v1d v1d_cvt_v8f (v8f a)
 Converts a v8f vector into a v1d vector. More...
 
v1d v1d_cvt_v8i (v8i a)
 Converts a v8i vector into a v1d vector. More...
 
v1d v1d_cvt_v8l (v8l a)
 Converts a v8l vector into a v1d vector. More...
 
v1d v1d_cvt_v16f (v16f a)
 Converts a v16f vector into a v1d vector. More...
 
v1d v1d_cvt_v16i (v16i a)
 Converts a v16i vector into a v1d vector. More...
 
double sd_cvt_v1d (v1d a)
 Converts the first value of a v1d vector into double. More...
 
double sd_cvt_v1f (v1f a)
 Converts the first value of a v1f vector into double. More...
 
double sd_cvt_v1i (v1i a)
 Converts the first value of a v1i vector into double. More...
 
double sd_cvt_v1l (v1l a)
 Converts the first value of a v1l vector into double. More...
 
double sd_cvt_v2d (v2d a)
 Converts the first value of a v2d vector into double. More...
 
double sd_cvt_v2f (v2f a)
 Converts the first value of a v2f vector into double. More...
 
double sd_cvt_v2i (v2i a)
 Converts the first value of a v2i vector into double. More...
 
double sd_cvt_v2l (v2l a)
 Converts the first value of a v2l vector into double. More...
 
double sd_cvt_v4d (v4d a)
 Converts the first value of a v4d vector into double. More...
 
double sd_cvt_v4f (v4f a)
 Converts the first value of a v4f vector into double. More...
 
double sd_cvt_v4i (v4i a)
 Converts the first value of a v4i vector into double. More...
 
double sd_cvt_v4l (v4l a)
 Converts the first value of a v4l vector into double. More...
 
double sd_cvt_v8d (v8d a)
 Converts the first value of a v8d vector into double. More...
 
double sd_cvt_v8f (v8f a)
 Converts the first value of a v8f vector into double. More...
 
double sd_cvt_v8i (v8i a)
 Converts the first value of a v8i vector into double. More...
 
double sd_cvt_v8l (v8l a)
 Converts the first value of a v8l vector into double. More...
 
double sd_cvt_v16f (v16f a)
 Converts the first value of a v16f vector into double. More...
 
double sd_cvt_v16i (v16i a)
 Converts the first value of a v16i vector into double. More...
 
m1d m1d_cvt_v1d (v1d a)
 Converts a v1d vector into a m1d vector-mask. More...
 
v1d v1d_cvt_m1d (m1d a)
 Converts a m1d vector-mask into a v1d vector. More...
 
m1d m1d_cvt_m1d (m1d a)
 Converts a m1d vector-mask into a m1d vector-mask. More...
 
m1d m1d_cvt_m1f (m1f a)
 Converts a m1f vector-mask into a m1d vector-mask. More...
 
m1d m1d_cvt_m1i (m1i a)
 Converts a m1i vector-mask into a m1d vector-mask. More...
 
m1d m1d_cvt_m1l (m1l a)
 Converts a m1l vector-mask into a m1d vector-mask. More...
 

Detailed Description

Type for the manipulation of 1 double packed into one single vector.

This structure does not actually exist. Depending on the target architecture, it can be:

Sizes of this vector:

Attention
This definition does not correspond to any actual implementation and should never be used directly. Use PintS functions instead.
The actual implementation depends on the target architecture.

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