Runtime  Version 1.0
PULP Kernel Library
 All Files Functions Typedefs Groups Pages

Functions

v2s __builtin_pulp_cplxmuls (v2s x, v2s y)
 Complex Multiplication, Q15x15 into Q15. More...
 
v2s __builtin_pulp_cplxmulsdiv2 (v2s x, v2s y)
 Complex Multiplication, Q15x15 into Q15 followed by a division by 2. More...
 
v2s __builtin_pulp_cplxmulsdiv4 (v2s x, v2s y)
 Complex Multiplication, Q15x15 into Q15 followed by a division by 4. More...
 
v2s __builtin_pulp_sub2rotmj (v2s x, v2s y)
 Complex substration, result rotated by -pi/2. More...
 
v2s __builtin_pulp_cplx_conj (v2s x)
 Complex conjugate. More...
 

Description

Function Documentation

v2s __builtin_pulp_cplx_conj ( v2s  x)

Complex conjugate.

Returns: (v2s) {(x)[0], -(x)[1]}

Available macros:

    gap8_cplxconf(x, x)
    __CPLXCONJ(x, x)
Parameters
xA complex vector, <I,Q>

Referenced by __CPLXCONJ(), and gap8_cplxconj().

v2s __builtin_pulp_cplxmuls ( v2s  x,
v2s  y 
)

Complex Multiplication, Q15x15 into Q15.

Returns: (v2s) {(signed short) ((((int) (x)[0]*(int) (y)[0]) - ((int) (x)[1]*(int) (y)[1]))>>15), (signed short) ((((int) (x)[0]*(int) (y)[1]) + ((int) (x)[1]*(int) (y)[0]))>>15)}

Available macros:

    gap8_cplxmuls(x, x)
    __CPLXMULS(x, x)
Parameters
xA complex vector, <I,Q>
yA complex vector, <I,Q>

Referenced by __CPLXMULS(), and gap8_cplxmuls().

v2s __builtin_pulp_cplxmulsdiv2 ( v2s  x,
v2s  y 
)

Complex Multiplication, Q15x15 into Q15 followed by a division by 2.

Returns: (v2s) {((signed short) ((((int) (x)[0]*(int) (y)[0]) - ((int) (x)[1]*(int) (y)[1]))>>15))>>1, ((signed short) ((((int) (x)[0]*(int) (y)[1]) + ((int) (x)[1]*(int) (y)[0]))>>15))>>1}

Available macros:

    gap8_cplxmulsdiv2(x, x)
    __CPLXMULSDIV2(x, x)
Parameters
xA complex vector, <I,Q>
yA complex vector, <I,Q>

Referenced by __CPLXMULSDIV2(), and gap8_cplxmulsdiv2().

v2s __builtin_pulp_cplxmulsdiv4 ( v2s  x,
v2s  y 
)

Complex Multiplication, Q15x15 into Q15 followed by a division by 4.

Returns: (v2s) {((signed short) ((((int) (x)[0]*(int) (y)[0]) - ((int) (x)[1]*(int) (y)[1]))>>15))>>2, ((signed short) ((((int) (x)[0]*(int) (y)[1]) + ((int) (x)[1]*(int) (y)[0]))>>15))>>2}

Available macros:

    gap8_cplxmulsdiv4(x, x)
    __CPLXMULSDIV4(x, x)
Parameters
xA complex vector, <I,Q>
yA complex vector, <I,Q>

Referenced by __CPLXMULSDIV4(), and gap8_cplxmulsdiv4().

v2s __builtin_pulp_sub2rotmj ( v2s  x,
v2s  y 
)

Complex substration, result rotated by -pi/2.

Returns: (v2s) {(x)[1]-(y)[1], (y)[0]-(x)[0]}

Available macros:

    gap8_sub2rotmj(x, x)
    __SUB2ROTMJ(x, x)
Parameters
xA complex vector, <I,Q>
yA complex vector, <I,Q>

Referenced by __SUB2ROTMJ(), and gap8_sub2rotmj().