HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VM_BasicAVXFunc.h File Reference
#include "VM_API.h"
#include <SYS/SYS_Math.h>
#include <SYS/SYS_Types.h>
+ Include dependency graph for VM_BasicAVXFunc.h:

Go to the source code of this file.

Classes

class  v8sf
 
class  v8si
 

Macros

#define V8SF(A)   (v8sf)A
 
#define V8SI(A)   (v8si)A
 
#define vm_BASIC_IFF_AVX(OP)
 
#define vm_BASIC_CF_AVX(OP)
 
#define vm_BASIC_CI_AVX(OP)
 
#define vm_BASIC_III_AVX(OP)
 
#define vm_BASIC_FFF_AVX(OP)
 
#define vm_BASIC_FFFF_AVX(OP1, OP2)
 
#define vm_BASIC_UFuncF_AVX(FUNC)
 
#define vm_BASIC_UFuncFF_AVX(FUNC)
 
#define VM_EXTRACT_AVX   vm_extract_avx
 
#define VM_INSERT_AVX   vm_insert_avx
 
#define VM_SPLATS_AVX   vm_splats_avx
 
#define VM_LOAD_AVX   vm_load_avx
 
#define VM_STORE_AVX   vm_store_avx
 
#define VM_CMPLT_AVX   vm_clt_avx
 
#define VM_CMPLE_AVX   vm_cle_avx
 
#define VM_CMPGT_AVX   vm_cgt_avx
 
#define VM_CMPGE_AVX   vm_cge_avx
 
#define VM_CMPEQ_AVX   vm_ceq_avx
 
#define VM_CMPNE_AVX   vm_cne_avx
 
#define VM_ICMPLT_AVX   vm_clt_avx
 
#define VM_ICMPGT_AVX   vm_cgt_avx
 
#define VM_ICMPEQ_AVX   vm_ceq_avx
 
#define VM_IADD_AVX   vm_add_avx
 
#define VM_ISUB_AVX   vm_sub_avx
 
#define VM_ADD_AVX   vm_add_avx
 
#define VM_SUB_AVX   vm_sub_avx
 
#define VM_MUL_AVX   vm_mul_avx
 
#define VM_DIV_AVX   vm_div_avx
 
#define VM_FDIV_AVX   vm_div_avx
 
#define VM_NEG_AVX   vm_negate_avx
 
#define VM_SQRT_AVX   vm_sqrt_avx
 
#define VM_FSQRT_AVX   vm_sqrt_avx
 
#define VM_ISQRT_AVX   vm_isqrt_avx
 
#define VM_ABS_AVX   vm_abs_avx
 
#define VM_MADD_AVX   vm_madd_avx
 
#define VM_INVERT_AVX   vm_reciprocal_avx
 
#define VM_MIN_AVX   vm_min_avx
 
#define VM_MAX_AVX   vm_max_avx
 
#define VM_AND_AVX   vm_and_avx
 
#define VM_ANDNOT_AVX   vm_andnot_avx
 
#define VM_OR_AVX   vm_or_avx
 
#define VM_XOR_AVX   vm_xor_avx
 
#define VM_ALLBITS_AVX   vm_allbits_avx
 
#define VM_SHUFFLE_AVX   vm_shuffle_avx
 
#define VM_P_FLOOR_AVX()
 
#define VM_FLOOR_AVX   vm_floor_avx
 
#define VM_E_FLOOR_AVX()
 
#define VM_INT_AVX   vm_intcast_avx
 
#define VM_IFLOAT_AVX   vm_floatcast_avx
 
#define VM_SHIFTLEFT_AVX(A, C)   vm_shiftleft_avx(A,C)
 
#define VM_SHIFTRIGHT_AVX(A, C)   vm_shiftright_avx(A,C)
 
#define VM_SINCOS_AVX   vm_sincos_avx
 
#define VM_SIN_AVX   vm_sin_avx
 
#define VM_COS_AVX   vm_cos_avx
 
#define VM_TAN_AVX   vm_tan_avx
 

Macro Definition Documentation

#define V8SF (   A)    (v8sf)A

Definition at line 78 of file VM_BasicAVXFunc.h.

#define V8SI (   A)    (v8si)A

Definition at line 79 of file VM_BasicAVXFunc.h.

#define VM_ABS_AVX   vm_abs_avx

Definition at line 454 of file VM_BasicAVXFunc.h.

#define VM_ADD_AVX   vm_add_avx

Definition at line 445 of file VM_BasicAVXFunc.h.

#define VM_ALLBITS_AVX   vm_allbits_avx

Definition at line 467 of file VM_BasicAVXFunc.h.

#define VM_AND_AVX   vm_and_avx

Definition at line 462 of file VM_BasicAVXFunc.h.

#define VM_ANDNOT_AVX   vm_andnot_avx

Definition at line 463 of file VM_BasicAVXFunc.h.

#define vm_BASIC_CF_AVX (   OP)
Value:
r.i[0] = a.f[0] OP b.f[0] ? 0xFFFFFFFF : 0; \
r.i[1] = a.f[1] OP b.f[1] ? 0xFFFFFFFF : 0; \
r.i[2] = a.f[2] OP b.f[2] ? 0xFFFFFFFF : 0; \
r.i[3] = a.f[3] OP b.f[3] ? 0xFFFFFFFF : 0; \
r.i[4] = a.f[4] OP b.f[4] ? 0xFFFFFFFF : 0; \
r.i[5] = a.f[5] OP b.f[5] ? 0xFFFFFFFF : 0; \
r.i[6] = a.f[6] OP b.f[6] ? 0xFFFFFFFF : 0; \
r.i[7] = a.f[7] OP b.f[7] ? 0xFFFFFFFF : 0; \
return r;
GLboolean GLboolean GLboolean GLboolean a
Definition: glcorearb.h:1222
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:1222
GLboolean r
Definition: glcorearb.h:1222

Definition at line 93 of file VM_BasicAVXFunc.h.

#define vm_BASIC_CI_AVX (   OP)
Value:
r.i[0] = a.i[0] OP b.i[0] ? 0xFFFFFFFF : 0; \
r.i[1] = a.i[1] OP b.i[1] ? 0xFFFFFFFF : 0; \
r.i[2] = a.i[2] OP b.i[2] ? 0xFFFFFFFF : 0; \
r.i[3] = a.i[3] OP b.i[3] ? 0xFFFFFFFF : 0; \
r.i[4] = a.i[4] OP b.i[4] ? 0xFFFFFFFF : 0; \
r.i[5] = a.i[5] OP b.i[5] ? 0xFFFFFFFF : 0; \
r.i[6] = a.i[6] OP b.i[6] ? 0xFFFFFFFF : 0; \
r.i[7] = a.i[7] OP b.i[7] ? 0xFFFFFFFF : 0; \
return r;
GLboolean GLboolean GLboolean GLboolean a
Definition: glcorearb.h:1222
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:1222
GLboolean r
Definition: glcorearb.h:1222

Definition at line 105 of file VM_BasicAVXFunc.h.

#define vm_BASIC_FFF_AVX (   OP)
Value:
r.f[0] = a.f[0] OP b.f[0]; \
r.f[1] = a.f[1] OP b.f[1]; \
r.f[2] = a.f[2] OP b.f[2]; \
r.f[3] = a.f[3] OP b.f[3]; \
r.f[4] = a.f[4] OP b.f[4]; \
r.f[5] = a.f[5] OP b.f[5]; \
r.f[6] = a.f[6] OP b.f[6]; \
r.f[7] = a.f[7] OP b.f[7]; \
return r;
GLboolean GLboolean GLboolean GLboolean a
Definition: glcorearb.h:1222
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:1222
GLboolean r
Definition: glcorearb.h:1222

Definition at line 129 of file VM_BasicAVXFunc.h.

#define vm_BASIC_FFFF_AVX (   OP1,
  OP2 
)
Value:
r.f[0] = a.f[0] OP1 b.f[0] OP2 c.f[0]; \
r.f[1] = a.f[1] OP1 b.f[1] OP2 c.f[1]; \
r.f[2] = a.f[2] OP1 b.f[2] OP2 c.f[2]; \
r.f[3] = a.f[3] OP1 b.f[3] OP2 c.f[3]; \
r.f[4] = a.f[4] OP1 b.f[4] OP2 c.f[4]; \
r.f[5] = a.f[5] OP1 b.f[5] OP2 c.f[5]; \
r.f[6] = a.f[6] OP1 b.f[6] OP2 c.f[6]; \
r.f[7] = a.f[7] OP1 b.f[7] OP2 c.f[7]; \
return r;
GLboolean GLboolean GLboolean GLboolean a
Definition: glcorearb.h:1222
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:1222
GLboolean r
Definition: glcorearb.h:1222

Definition at line 141 of file VM_BasicAVXFunc.h.

#define vm_BASIC_IFF_AVX (   OP)
Value:
r.i[0] = a.f[0] OP b.f[0]; \
r.i[1] = a.f[1] OP b.f[1]; \
r.i[2] = a.f[2] OP b.f[2]; \
r.i[3] = a.f[3] OP b.f[3]; \
r.i[4] = a.f[4] OP b.f[4]; \
r.i[5] = a.f[5] OP b.f[5]; \
r.i[6] = a.f[6] OP b.f[6]; \
r.i[7] = a.f[7] OP b.f[7]; \
return r;
GLboolean GLboolean GLboolean GLboolean a
Definition: glcorearb.h:1222
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:1222
GLboolean r
Definition: glcorearb.h:1222

Definition at line 81 of file VM_BasicAVXFunc.h.

#define vm_BASIC_III_AVX (   OP)
Value:
r.i[0] = a.i[0] OP b.i[0]; \
r.i[1] = a.i[1] OP b.i[1]; \
r.i[2] = a.i[2] OP b.i[2]; \
r.i[3] = a.i[3] OP b.i[3]; \
r.i[4] = a.i[4] OP b.i[4]; \
r.i[5] = a.i[5] OP b.i[5]; \
r.i[6] = a.i[6] OP b.i[6]; \
r.i[7] = a.i[7] OP b.i[7]; \
return r;
GLboolean GLboolean GLboolean GLboolean a
Definition: glcorearb.h:1222
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:1222
GLboolean r
Definition: glcorearb.h:1222

Definition at line 117 of file VM_BasicAVXFunc.h.

#define vm_BASIC_UFuncF_AVX (   FUNC)
Value:
r.f[0] = FUNC(a.f[0]); \
r.f[1] = FUNC(a.f[1]); \
r.f[2] = FUNC(a.f[2]); \
r.f[3] = FUNC(a.f[3]); \
r.f[4] = FUNC(a.f[4]); \
r.f[5] = FUNC(a.f[5]); \
r.f[6] = FUNC(a.f[6]); \
r.f[7] = FUNC(a.f[7]); \
return r;
GLboolean GLboolean GLboolean GLboolean a
Definition: glcorearb.h:1222
GLboolean r
Definition: glcorearb.h:1222

Definition at line 153 of file VM_BasicAVXFunc.h.

#define vm_BASIC_UFuncFF_AVX (   FUNC)
Value:
r.f[0] = FUNC(a.f[0], b.f[0]); \
r.f[1] = FUNC(a.f[1], b.f[1]); \
r.f[2] = FUNC(a.f[2], b.f[2]); \
r.f[3] = FUNC(a.f[3], b.f[3]); \
r.f[4] = FUNC(a.f[4], b.f[4]); \
r.f[5] = FUNC(a.f[5], b.f[5]); \
r.f[6] = FUNC(a.f[6], b.f[6]); \
r.f[7] = FUNC(a.f[7], b.f[7]); \
return r;
GLboolean GLboolean GLboolean GLboolean a
Definition: glcorearb.h:1222
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:1222
GLboolean r
Definition: glcorearb.h:1222

Definition at line 165 of file VM_BasicAVXFunc.h.

#define VM_CMPEQ_AVX   vm_ceq_avx

Definition at line 435 of file VM_BasicAVXFunc.h.

#define VM_CMPGE_AVX   vm_cge_avx

Definition at line 434 of file VM_BasicAVXFunc.h.

#define VM_CMPGT_AVX   vm_cgt_avx

Definition at line 433 of file VM_BasicAVXFunc.h.

#define VM_CMPLE_AVX   vm_cle_avx

Definition at line 432 of file VM_BasicAVXFunc.h.

#define VM_CMPLT_AVX   vm_clt_avx

Definition at line 431 of file VM_BasicAVXFunc.h.

#define VM_CMPNE_AVX   vm_cne_avx

Definition at line 436 of file VM_BasicAVXFunc.h.

#define VM_COS_AVX   vm_cos_avx

Definition at line 516 of file VM_BasicAVXFunc.h.

#define VM_DIV_AVX   vm_div_avx

Definition at line 448 of file VM_BasicAVXFunc.h.

#define VM_E_FLOOR_AVX ( )

Definition at line 473 of file VM_BasicAVXFunc.h.

#define VM_EXTRACT_AVX   vm_extract_avx

Definition at line 425 of file VM_BasicAVXFunc.h.

#define VM_FDIV_AVX   vm_div_avx

Definition at line 449 of file VM_BasicAVXFunc.h.

#define VM_FLOOR_AVX   vm_floor_avx

Definition at line 472 of file VM_BasicAVXFunc.h.

#define VM_FSQRT_AVX   vm_sqrt_avx

Definition at line 452 of file VM_BasicAVXFunc.h.

#define VM_IADD_AVX   vm_add_avx

Definition at line 442 of file VM_BasicAVXFunc.h.

#define VM_ICMPEQ_AVX   vm_ceq_avx

Definition at line 440 of file VM_BasicAVXFunc.h.

#define VM_ICMPGT_AVX   vm_cgt_avx

Definition at line 439 of file VM_BasicAVXFunc.h.

#define VM_ICMPLT_AVX   vm_clt_avx

Definition at line 438 of file VM_BasicAVXFunc.h.

#define VM_IFLOAT_AVX   vm_floatcast_avx

Definition at line 477 of file VM_BasicAVXFunc.h.

#define VM_INSERT_AVX   vm_insert_avx

Definition at line 426 of file VM_BasicAVXFunc.h.

#define VM_INT_AVX   vm_intcast_avx

Definition at line 475 of file VM_BasicAVXFunc.h.

#define VM_INVERT_AVX   vm_reciprocal_avx

Definition at line 457 of file VM_BasicAVXFunc.h.

#define VM_ISQRT_AVX   vm_isqrt_avx

Definition at line 453 of file VM_BasicAVXFunc.h.

#define VM_ISUB_AVX   vm_sub_avx

Definition at line 443 of file VM_BasicAVXFunc.h.

#define VM_LOAD_AVX   vm_load_avx

Definition at line 428 of file VM_BasicAVXFunc.h.

#define VM_MADD_AVX   vm_madd_avx

Definition at line 456 of file VM_BasicAVXFunc.h.

#define VM_MAX_AVX   vm_max_avx

Definition at line 460 of file VM_BasicAVXFunc.h.

#define VM_MIN_AVX   vm_min_avx

Definition at line 459 of file VM_BasicAVXFunc.h.

#define VM_MUL_AVX   vm_mul_avx

Definition at line 447 of file VM_BasicAVXFunc.h.

#define VM_NEG_AVX   vm_negate_avx

Definition at line 450 of file VM_BasicAVXFunc.h.

#define VM_OR_AVX   vm_or_avx

Definition at line 464 of file VM_BasicAVXFunc.h.

#define VM_P_FLOOR_AVX ( )

Definition at line 471 of file VM_BasicAVXFunc.h.

#define VM_SHIFTLEFT_AVX (   A,
 
)    vm_shiftleft_avx(A,C)

Definition at line 480 of file VM_BasicAVXFunc.h.

#define VM_SHIFTRIGHT_AVX (   A,
 
)    vm_shiftright_avx(A,C)

Definition at line 481 of file VM_BasicAVXFunc.h.

#define VM_SHUFFLE_AVX   vm_shuffle_avx

Definition at line 469 of file VM_BasicAVXFunc.h.

#define VM_SIN_AVX   vm_sin_avx

Definition at line 515 of file VM_BasicAVXFunc.h.

#define VM_SINCOS_AVX   vm_sincos_avx

Definition at line 514 of file VM_BasicAVXFunc.h.

#define VM_SPLATS_AVX   vm_splats_avx

Definition at line 427 of file VM_BasicAVXFunc.h.

#define VM_SQRT_AVX   vm_sqrt_avx

Definition at line 451 of file VM_BasicAVXFunc.h.

#define VM_STORE_AVX   vm_store_avx

Definition at line 429 of file VM_BasicAVXFunc.h.

#define VM_SUB_AVX   vm_sub_avx

Definition at line 446 of file VM_BasicAVXFunc.h.

#define VM_TAN_AVX   vm_tan_avx

Definition at line 517 of file VM_BasicAVXFunc.h.

#define VM_XOR_AVX   vm_xor_avx

Definition at line 465 of file VM_BasicAVXFunc.h.