Kinetis SDK v.1.3 API Reference Manual  Rev. 0
Freescale Semiconductor, Inc.
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Signed Integer Operands

Overview

Functions

static void MMAU_HAL_slda_d (register int64_t dval)
 Loads A10 accumulator register of the MMAU by 64-bit integer value. More...
 
static int64_t MMAU_HAL_d_smul_ll (register int32_t lval1, register int32_t lval2)
 Multiplies two 32-bit integer values returning a 64-bit integer product. More...
 
static int64_t MMAU_HAL_d_smul_dl (register int64_t dval, register int32_t lval)
 Multiplies 64-bit integer value with 32-bit integer value returning a 64-bit integer product. More...
 
static int64_t MMAU_HAL_d_smuls_dl (register int64_t dval, register int32_t lval)
 Saturating multiply 64-bit integer value with 32-bit integer value returning saturated 64-bit integer product. More...
 
static int64_t MMAU_HAL_d_smula_l (register int32_t lval)
 Multiplies 32-bit integer value with 64-bit integer value stored in the A10 register of the MMAU returning a 64-bit integer product. More...
 
static int64_t MMAU_HAL_d_smulas_l (register int32_t lval)
 Saturating multiply 32-bit integer value with 64-bit integer value stored in the A10 register of the MMAU returning saturated 64-bit integer product. More...
 
static int64_t MMAU_HAL_d_smac_ll (register int32_t lval1, register int32_t lval2)
 Multiplies two 32-bit integer values and adds product with value stored in the A10 register of the MMAU returning a 64-bit integer A10 register value. More...
 
static int64_t MMAU_HAL_d_smacs_ll (register int32_t lval1, register int32_t lval2)
 Saturating multiply two 32-bit integer values and add product with value stored in the A10 register of the MMAU returning a 64-bit integer A10 register value. More...
 
static int64_t MMAU_HAL_d_smac_dl (register int64_t dval, register int32_t lval)
 Multiplies 64-bit integer value with 32-bit integer value and adds product with value stored in the A10 register of the MMAU returning a 64-bit integer A10 register value. More...
 
static int64_t MMAU_HAL_d_smacs_dl (register int64_t dval, register int32_t lval)
 Saturating multiply 64-bit integer value with 32-bit integer value and add product with value stored in the A10 register of the MMAU returning saturated 64-bit integer A10 register value. More...
 
static int64_t MMAU_HAL_d_smaca_dl (register int64_t dval, register int32_t lval)
 Multiplies 32-bit integer value by value stored in the A10 register of the MMAU and adds product with 64-bit integer value returning a 64-bit integer A10 register value. More...
 
static int64_t MMAU_HAL_d_smacas_dl (register int64_t dval, register int32_t lval)
 Saturating multiply 32-bit integer value by value stored in the A10 register of the MMAU and add product with 64-bit integer value returning a saturated 64-bit integer A10 register value. More...
 
static int32_t MMAU_HAL_l_sdiv_ll (register int32_t lnum, register int32_t lden)
 Divides two 32-bit integer values returning a 32-bit integer quotient. More...
 
static int32_t MMAU_HAL_l_sdivs_ll (register int32_t lnum, register int32_t lden)
 Divides two 32-bit integer values returning a 32-bit integer quotient. More...
 
static int64_t MMAU_HAL_d_sdiv_dl (register int64_t dnum, register int32_t lden)
 Divides 64-bit integer value by 32-bit integer value returning a 64-bit integer quotient. More...
 
static int64_t MMAU_HAL_d_sdivs_dl (register int64_t dnum, register int32_t lden)
 Divides 64-bit integer value by 32-bit integer value returning a 64-bit integer quotient. More...
 
static int64_t MMAU_HAL_d_sdiv_dd (register int64_t dnum, register int64_t dden)
 Divides two 64-bit integer values returning a 64-bit integer quotient. More...
 
static int64_t MMAU_HAL_d_sdivs_dd (register int64_t dnum, register int64_t dden)
 Divides two 64-bit integer values returning a 64-bit integer quotient. More...
 
static int64_t MMAU_HAL_d_sdiva_l (register int32_t lden1)
 Divides 32-bit integer value stored in the A10 register of the MMAU by 32-bit integer value returning a 64-bit integer quotient. More...
 
static int64_t MMAU_HAL_d_sdivas_l (register int32_t lden1)
 Divides 32-bit integer value stored in the A10 register of the MMAU by 32-bit integer value returning saturated 64-bit integer quotient. More...
 
static int64_t MMAU_HAL_d_sdiva_d (register int64_t dden1)
 Divides 64-bit integer value stored in the A10 register of the MMAU by 64-bit integer value returning a 64-bit integer quotient. More...
 
static int64_t MMAU_HAL_d_sdivas_d (register int64_t dden1)
 Divides 64-bit integer value stored in the A10 register of the MMAU by 64-bit integer value returning saturated 64-bit integer quotient. More...
 

Function Documentation

static void MMAU_HAL_slda_d ( register int64_t  dval)
inlinestatic

The MMAU_HAL_slda_d function loads A10 accumulator register of the MMAU by 64-bit integer value.

Parameters
dvalint64_t integer value.
static int64_t MMAU_HAL_d_smul_ll ( register int32_t  lval1,
register int32_t  lval2 
)
inlinestatic

The MMAU_HAL_d_smul_ll function multiplies two 32-bit integer values returning a 64-bit integer product.

Parameters
lval1int32_t integer value.
lval2int32_t integer value.
Returns
int64_t integer value.
Note
Product is stored in A10 register of the MMAU for next computation.
static int64_t MMAU_HAL_d_smul_dl ( register int64_t  dval,
register int32_t  lval 
)
inlinestatic

The MMAU_HAL_d_smul_dl function multiplies 64-bit integer value with 32-bit integer value returning a 64-bit integer product.

Parameters
dvalint64_t integer value.
lvalint32_t integer value.
Returns
int64_t integer value.
Note
Product is stored in A10 register of the MMAU for next computation.
static int64_t MMAU_HAL_d_smuls_dl ( register int64_t  dval,
register int32_t  lval 
)
inlinestatic

The MMAU_HAL_d_smuls_dl function multiplies 64-bit integer value with 32-bit integer value returning saturated 64-bit integer product.

Parameters
dvalint64_t integer value.
lvalint32_t integer value.
Returns
int64_t integer value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
static int64_t MMAU_HAL_d_smula_l ( register int32_t  lval)
inlinestatic

The MMAU_HAL_d_smula_l function multiplies 32-bit integer value with 64-bit integer value stored in the A10 register of the MMAU returning a 64-bit integer product.

Parameters
lvalint32_t integer value.
Returns
int64_t integer value.
Note
Product is stored in A10 register of the MMAU for next computation.
static int64_t MMAU_HAL_d_smulas_l ( register int32_t  lval)
inlinestatic

The MMAU_HAL_d_smulas_l function multiplies 32-bit integer value with 64-bit integer value stored in the A10 register of the MMAU returning saturated 64-bit integer product.

Parameters
lvalint32_t integer value.
Returns
int64_t integer value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
static int64_t MMAU_HAL_d_smac_ll ( register int32_t  lval1,
register int32_t  lval2 
)
inlinestatic

The MMAU_HAL_d_smac_ll function multiplies two 32-bit integer values and add product with value stored in the A10 register of the MMAU returning a 64-bit integer A10 register value.

Parameters
lval1int32_t integer value.
lval2int32_t integer value.
Returns
int64_t integer value.
Note
Product is stored in A10 register of the MMAU for next computation.
static int64_t MMAU_HAL_d_smacs_ll ( register int32_t  lval1,
register int32_t  lval2 
)
inlinestatic

The MMAU_HAL_d_smacs_ll function multiplies two 32-bit integer values and add product with value stored in the A10 register of the MMAU returning saturated 64-bit integer A10 register value.

Parameters
lval1int32_t integer value.
lval2int32_t integer value.
Returns
int64_t integer value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
static int64_t MMAU_HAL_d_smac_dl ( register int64_t  dval,
register int32_t  lval 
)
inlinestatic

The MMAU_HAL_d_smac_dl function multiplies 64-bit integer value with 32-bit integer value and add product with value stored in the A10 register of the MMAU returning a 64-bit integer A10 register value.

Parameters
dvalint64_t integer value.
lvalint32_t integer value.
Returns
int64_t integer value.
Note
Product is stored in A10 register of the MMAU for next computation.
static int64_t MMAU_HAL_d_smacs_dl ( register int64_t  dval,
register int32_t  lval 
)
inlinestatic

The MMAU_HAL_d_smacs_dl function multiplies 64-bit integer value with 32-bit integer value and add product with value stored in the A10 register of the MMAU returning saturated 64-bit integer A10 register value.

Parameters
dvalint64_t integer value.
lvalint32_t integer value.
Returns
int64_t integer value.
Note
Saturated product is stored in A10 register of the MMAU for next computation. If saturation occurs, the instruction sets the accumulation overflow (Q) and multiply or divide overflow (V) flags to 1 in the CSR. Otherwise, it clears the Q and V flags.
static int64_t MMAU_HAL_d_smaca_dl ( register int64_t  dval,
register int32_t  lval 
)
inlinestatic

The MMAU_HAL_d_smaca_dl function multiplies 32-bit integer value by value stored in the A10 register of the MMAU and add product with 64-bit integer value returning a 64-bit integer A10 register value.

Parameters
dvalint64_t integer value.
lvalint32_t integer value.
Returns
int64_t integer value.
Note
Product is stored in A10 register of the MMAU for next computation.
static int64_t MMAU_HAL_d_smacas_dl ( register int64_t  dval,
register int32_t  lval 
)
inlinestatic

The MMAU_HAL_d_smacas_dl function multiplies 32-bit integer value by value stored in the A10 register of the MMAU and add product with 64-bit integer value returning saturated 64-bit integer A10 register value.

Parameters
dvalint64_t integer value.
lvalint32_t integer value.
Returns
int64_t integer value.
Note
Saturated product is stored in A10 register of the MMAU for next computation. If saturation occurs, the instruction sets the accumulation overflow (Q) and multiply or divide overflow (V) flags to 1 in the CSR. Otherwise, it clears the Q and V flags.
static int32_t MMAU_HAL_l_sdiv_ll ( register int32_t  lnum,
register int32_t  lden 
)
inlinestatic

The MMAU_HAL_l_sdiv_ll function divides two 32-bit integer values returning a 32-bit integer quotient.

Parameters
lnumint32_t integer value.
ldenint32_t integer value.
Returns
int32_t integer value.
Note
Quotient is stored in A0 register of the MMAU for next computation.
static int32_t MMAU_HAL_l_sdivs_ll ( register int32_t  lnum,
register int32_t  lden 
)
inlinestatic

The MMAU_HAL_l_sdivs_ll function divides two 32-bit integer values returning a 32-bit integer quotient.

Parameters
lnumint32_t integer value.
ldenint32_t integer value.
Returns
int32_t integer value.
Note
Saturated quotient is stored in A0 register of the MMAU for next computation.
static int64_t MMAU_HAL_d_sdiv_dl ( register int64_t  dnum,
register int32_t  lden 
)
inlinestatic

The MMAU_HAL_d_sdiv_dl function divides 64-bit integer value by 32-bit integer value returning a 64-bit integer quotient.

Parameters
dnumint64_t integer value.
ldenint32_t integer value.
Returns
int64_t integer value.
Note
Quotient is stored in A10 register of the MMAU for next computation.
static int64_t MMAU_HAL_d_sdivs_dl ( register int64_t  dnum,
register int32_t  lden 
)
inlinestatic

The MMAU_HAL_d_sdivs_dl function divides 64-bit integer value by 32-bit integer value returning a 64-bit integer quotient.

Parameters
dnumint64_t integer value.
ldenint32_t integer value.
Returns
int64_t integer value.
Note
Saturated quotient is stored in A10 register of the MMAU for next computation.
static int64_t MMAU_HAL_d_sdiv_dd ( register int64_t  dnum,
register int64_t  dden 
)
inlinestatic

The MMAU_HAL_d_sdiv_dd function divides two 64-bit integer values returning a 64-bit integer quotient.

Parameters
dnumint64_t integer value.
ddenint64_t integer value.
Returns
int64_t integer value.
Note
Quotient is stored in A10 register of the MMAU for next computation.
static int64_t MMAU_HAL_d_sdivs_dd ( register int64_t  dnum,
register int64_t  dden 
)
inlinestatic

The MMAU_HAL_d_sdivs_dd function divides two 64-bit integer values returning a 64-bit integer quotient.

Parameters
dnumint64_t integer value.
ddenint64_t integer value.
Returns
int64_t integer value.
Note
Saturated quotient is stored in A10 register of the MMAU for next computation.
static int64_t MMAU_HAL_d_sdiva_l ( register int32_t  lden1)
inlinestatic

The MMAU_HAL_d_sdiva_l function divides 32-bit integer value stored in the A10 register of the MMAU by 32-bit integer value returning a 64-bit integer quotient.

Parameters
lden1int32_t integer value.
Returns
int64_t integer value.
Note
Quotient is stored in A10 register of the MMAU for next computation.
static int64_t MMAU_HAL_d_sdivas_l ( register int32_t  lden1)
inlinestatic

The MMAU_HAL_d_sdivas_l function divides 32-bit integer value stored in the A10 register of the MMAU by 32-bit integer value returning a saturated 64-bit integer quotient.

Parameters
lden1int32_t integer value.
Returns
int64_t integer value.
Note
Saturated quotient is stored in A10 register of the MMAU for next computation.
static int64_t MMAU_HAL_d_sdiva_d ( register int64_t  dden1)
inlinestatic

The MMAU_HAL_d_sdiva_d function divides 64-bit integer value stored in the A10 register of the MMAU by 64-bit integer value returning a 64-bit integer quotient.

Parameters
dden1int64_t integer value.
Returns
int64_t integer value.
Note
Quotient is stored in A10 register of the MMAU for next computation.
static int64_t MMAU_HAL_d_sdivas_d ( register int64_t  dden1)
inlinestatic

The MMAU_HAL_d_sdivas_d function divides 64-bit integer value stored in the A10 register of the MMAU by 64-bit integer value returning a saturated 64-bit integer quotient.

Parameters
dden1int64_t integer value.
Returns
int64_t integer value.
Note
Saturated quotient is stored in A10 register of the MMAU for next computation.