Int4

Types

struct Int4 A SIMD vector of 4 ints. On Intel, this is an m128i, on Arm this is a int32x4_t.

Functions

Int4_Init( int32_t value ) : Int4

Int4_New( int3t x, int32_t y, int32_t z, int32_t w ) : Int4

Int4_ToFloat( Int4 v ) : Vector4

Int4_X( Int4 a ) : int32_t

Int4_Y( Int4 a ) : int32_t

Int4_Z( Int4 a ) : int32_t

Int4_W( Int4 a ) : int32_t

Int4_Add( Int4 a, Int4 b ) : Int4

Int4_Sub( Int4 a, Int4 b ) : Int4

Int4_Mul( Int4 a, Int4 b ) : Int4

Int4_Min( Int4 a, Int4 b ) : Int4

Int4_Max( Int4 a, Int4 b ) : Int4

Int4_Abs( Int4 a ) : Int4

Int4_And( Int4 a, Int4 b ) : Int4

Int4_Or( Int4 a, Int4 b ) : Int4

Int4_Xor( Int4 a, Int4 b ) : Int4

Int4_AndNot( Int4 a, Int4 b ) : Int4

Int4_Select( Int4 a, Int4 b, Bool4 mask ) : Int4

Int4_Equal( Int4 a, Int4 b ) : Bool4

Int4_Less( Int4 a, Int4 b ) : Bool4

Int4_Greater( Int4 a, Int4 b ) : Bool4

Int4_NotEqual( Int4 a, Int4 b ) : Bool4

Int4_GreaterEqual( Int4 a, Int4 b ) : Bool4

Int4_LessEqual( Int4 a, Int4 b ) : Bool4

Methods

Int4_SetX( Int4 a, int32_t value ) : Int4

Int4_SetY( Int4 a, int32_t value ) : Int4

Int4_SetZ( Int4 a, int32_t value ) : Int4

Int4_SetW( Int4 a, int32_t value ) : Int4

Swizzles

Int4_XXXX( Int4 a ) : Int4
Int4_YYYY( Int4 a ) : Int4
Int4_ZZZZ( Int4 a ) : Int4
Int4_WWWW( Int4 a ) : Int4

Int4_XYZW( Int4 a ) : Int4
Int4_XYWZ( Int4 a ) : Int4
Int4_XZYW( Int4 a ) : Int4
Int4_XZWY( Int4 a ) : Int4
Int4_XWYZ( Int4 a ) : Int4
Int4_XWZY( Int4 a ) : Int4

Int4_YXZW( Int4 a ) : Int4
Int4_YXWZ( Int4 a ) : Int4
Int4_YZXW( Int4 a ) : Int4
Int4_YZWX( Int4 a ) : Int4
Int4_YWXZ( Int4 a ) : Int4
Int4_YWZX( Int4 a ) : Int4

Int4_ZXYW( Int4 a ) : Int4
Int4_ZXWY( Int4 a ) : Int4
Int4_ZYXW( Int4 a ) : Int4
Int4_ZYWX( Int4 a ) : Int4
Int4_ZWXY( Int4 a ) : Int4
Int4_ZWYX( Int4 a ) : Int4

Int4_WXYZ( Int4 a ) : Int4
Int4_WXZY( Int4 a ) : Int4
Int4_WYXZ( Int4 a ) : Int4
Int4_WYZX( Int4 a ) : Int4
Int4_WZXY( Int4 a ) : Int4
Int4_WZYX( Int4 a ) : Int4