MKM34Z256VLx7 Bare Metal Software Drivers  R4.1.6
Reference Manual
MMAU Signed Fractional Routines

Overview

This section describes arithmetic routines on signed fractional data types.

Return typeMUL MULS MAC MACS DIV DIVS SQR Load/Read
frac16- - - - s_sqr_l -
frac32l_mul_ll
l_mul_dl
l_mula_l
l_muls_dl
l_mulas_l
l_mac_ll
l_mac_dl
l_maca_dl
l_macs_ll
l_macs_dl
l_macas_dl
l_div_ll l_divs_ll l_sqr_d
l_sqra
l_rda
frac64d_mul_ll
d_mul_dl
d_mula_l
d_muls_dl
d_mulas_l
d_mac_ll
d_mac_dl
d_maca_dl
d_macs_ll
d_macs_dl
d_macas_dl
d_div_dl
d_diva_l
d_divs_dl
d_divas_l
- d_rda
void mul_ll
mul_dl
mula_l
muls_dl
mulas_l
mac_ll
mac_dl
maca_dl
macs_ll
macs_dl
macas_dl
div_ll
div_dl
diva_l
divs_ll
divs_dl
divas_l
sqr_l
sqr_d
lda_l
lda_d

Macros

#define lda_d(dval)
 Load A10 accumulator register of the MMAU by 64-bit fractional value. More...
 
#define mul_ll(lval1, lval2)
 Multiply two 32-bit fractional values. More...
 
#define muls_ll(lval1, lval2)
 Saturating multiply two 32-bit fractional values. More...
 
#define mul_dl(dval, lval)
 Multiply 64-bit fractional value with 32-bit fractional value. More...
 
#define muls_dl(dval, lval)
 Saturating multiply 64-bit fractional value with 32-bit fractional value. More...
 
#define mula_l(lval)
 Multiply 32-bit fractional value with 64-bit fractional value stored in the A10 register of the MMAU. More...
 
#define mulas_l(lval)
 Saturating multiply 32-bit fractional value with 64-bit fractional value stored in the A10 register of the MMAU. More...
 
#define mac_ll(lval1, lval2)
 Multiply two 32-bit fractional values and add product with value stored in the A10 register of the MMAU. More...
 
#define macs_ll(lval1, lval2)
 Saturating multiply two 32-bit fractional values and add product with value stored in the A10 register of the MMAU. More...
 
#define mac_dl(dval, lval)
 Multiply 64-bit fractional value with 32-bit fractional value and add product with value stored in the A10 register of the MMAU. More...
 
#define macs_dl(dval, lval)
 Saturating multiply 64-bit fractional value with 32-bit fractional value and add product with value stored in the A10 register of the MMAU. More...
 
#define maca_dl(dval, lval)
 Multiply 32-bit fractional value by value stored in the A10 register of the MMAU and add product with 64-bit fractional value. More...
 
#define macas_dl(dval, lval)
 Saturating multiply 32-bit fractional value by value stored in the A10 register of the MMAU and add product with 64-bit fractional value. More...
 
#define div_ll(lnum, lden)
 Divide two 32-bit fractional values. More...
 
#define divs_ll(lnum, lden)
 Divide two 32-bit fractional values. More...
 
#define div_dl(dnum, lden)
 Divide 64-bit fractional value by 32-bit fractional value. More...
 
#define divs_dl(dnum, lden)
 Divide 64-bit fractional value by 32-bit fractional value. More...
 
#define diva_l(lden)
 Divide 64-bit fractional value stored in the A10 register of the MMAU by 32-bit fractional value. More...
 
#define divas_l(lden)
 Divide 64-bit fractional value stored in the A10 register of the MMAU by 32-bit fractional value. More...
 
#define sqr_l(lrad)
 Compute a 16-bit fractional square root of the 32-bit fractional radicand. More...
 
#define sqr_d(drad)
 Compute a 32-bit fractional square root of the 64-bit fractional radicand. More...
 

Functions

static void lda_l (register frac32 lval)
 Load upper A1 accumulator register of the MMAU by 32-bit fractional value and clear lower A0 accumulator register. More...
 
static frac32 l_rda (void)
 Read 32-bit fractional value from the A1 accumulator register of the MMAU. More...
 
static frac64 d_rda (void)
 Read 64-bit fractional value from the A10 accumulator register of the MMAU. More...
 
static frac32 l_mul_ll (register frac32 lval1, register frac32 lval2)
 Multiply two 32-bit fractional values returning a 32-bit fractional product. More...
 
static frac32 l_muls_ll (register frac32 lval1, register frac32 lval2)
 Saturating multiply two 32-bit fractional values returning saturated 32-bit fractional product. More...
 
static frac64 d_mul_ll (register frac32 lval1, register frac32 lval2)
 Multiply two 32-bit fractional values returning a 64-bit fractional product. More...
 
static frac64 d_muls_ll (register frac32 lval1, register frac32 lval2)
 Saturating multiply two 32-bit fractional values returning saturated 64-bit fractional product. More...
 
static frac32 l_mul_dl (register frac64 dval, register frac32 lval)
 Multiply 64-bit fractional value with 32-bit fractional value returning a 32-bit fractional product. More...
 
static frac32 l_muls_dl (register frac64 dval, register frac32 lval)
 Saturating multiply 64-bit fractional value with 32-bit fractional value returning saturated 32-bit fractional product. More...
 
static frac64 d_mul_dl (register frac64 dval, register frac32 lval)
 Multiply 64-bit fractional value with 32-bit fractional value returning a 64-bit fractional product. More...
 
static frac64 d_muls_dl (register frac64 dval, register frac32 lval)
 Saturating multiply 64-bit fractional value with 32-bit fractional value returning saturated 64-bit fractional product. More...
 
static frac32 l_mula_l (register frac32 lval)
 Multiply 32-bit fractional value with 64-bit fractional value stored in the A10 register of the MMAU returning a 32-bit fractional product. More...
 
static frac32 l_mulas_l (register frac32 lval)
 Saturating multiply 32-bit fractional value with 64-bit fractional value stored in the A10 register of the MMAU returning saturated 32-bit fractional product. More...
 
static frac64 d_mula_l (register frac32 lval)
 Multiply 32-bit fractional value with 64-bit fractional value stored in the A10 register of the MMAU returning a 64-bit fractional product. More...
 
static frac64 d_mulas_l (register frac32 lval)
 Saturating multiply 32-bit fractional value with 64-bit fractional value stored in the A10 register of the MMAU returning saturated 64-bit fractional product. More...
 
static frac32 l_mac_ll (register frac32 lval1, register frac32 lval2)
 Multiply two 32-bit fractional values and add product with value stored in the A10 register of the MMAU returning a 32-bit fractional A10 register value. More...
 
static frac32 l_macs_ll (register frac32 lval1, register frac32 lval2)
 Saturating multiply two 32-bit fractional values and add product with value stored in the A10 register of the MMAU returning a 32-bit fractional A10 register value. More...
 
static frac64 d_mac_ll (register frac32 lval1, register frac32 lval2)
 Multiply two 32-bit fractional values and add product with value stored in the A10 register of the MMAU returning a 64-bit fractional A10 register value. More...
 
static frac64 d_macs_ll (register frac32 lval1, register frac32 lval2)
 Saturating multiply two 32-bit fractional values and add product with value stored in the A10 register of the MMAU returning a 64-bit fractional A10 register value. More...
 
static frac32 l_mac_dl (register frac64 dval, register frac32 lval)
 Multiply 64-bit fractional value with 32-bit fractional value and add product with value stored in the A10 register of the MMAU returning a 32-bit fractional A10 register value. More...
 
static frac32 l_macs_dl (register frac64 dval, register frac32 lval)
 Saturating multiply 64-bit fractional value with 32-bit fractional value and add product with value stored in the A10 register of the MMAU returning saturated 32-bit fractional A10 register value. More...
 
static frac64 d_mac_dl (register frac64 dval, register frac32 lval)
 Multiply 64-bit fractional value with 32-bit fractional value and add product with value stored in the A10 register of the MMAU returning a 64-bit fractional A10 register value. More...
 
static frac64 d_macs_dl (register frac64 dval, register frac32 lval)
 Saturating multiply 64-bit fractional value with 32-bit fractional value and add product with value stored in the A10 register of the MMAU returning saturated 64-bit fractional A10 register value. More...
 
static frac32 l_maca_dl (register frac64 dval, register frac32 lval)
 Multiply 32-bit fractional value by value stored in the A10 register of the MMAU and add product with 64-bit fractional value returning a 32-bit fractional A10 register value. More...
 
static frac32 l_macas_dl (register frac64 dval, register frac32 lval)
 Saturating multiply 32-bit fractional value by value stored in the A10 register of the MMAU and add product with 64-bit fractional value returning a saturated 32-bit fractional A10 register value. More...
 
static frac64 d_maca_dl (register frac64 dval, register frac32 lval)
 Multiply 32-bit fractional value by value stored in the A10 register of the MMAU and add product with 64-bit fractional value returning a 64-bit fractional A10 register value. More...
 
static frac64 d_macas_dl (register frac64 dval, register frac32 lval)
 Saturating multiply 32-bit fractional value by value stored in the A10 register of the MMAU and add product with 64-bit fractional value returning a saturated 64-bit fractional A10 register value. More...
 
static frac32 l_div_ll (register frac32 lnum, register frac32 lden)
 Divide two 32-bit fractional values returning a 32-bit fractional quotient. More...
 
static frac32 l_divs_ll (register frac32 lnum, register frac32 lden)
 Divide two 32-bit fractional values returning a 32-bit fractional quotient. More...
 
static frac64 d_div_dl (register frac64 dnum, register frac32 lden)
 Divide 64-bit fractional value by 32-bit fractional value returning a 64-bit fractional quotient. More...
 
static frac64 d_divs_dl (register frac64 dnum, register frac32 lden)
 Divide 64-bit fractional value by 32-bit fractional value returning a 64-bit fractional quotient. More...
 
static frac32 l_diva_l (register frac32 lden)
 Divide 64-bit fractional value stored in the A10 register of the MMAU by 32-bit fractional value returning a 32-bit fractional quotient. More...
 
static frac32 l_divas_l (register frac32 lden)
 Divide 64-bit fractional value stored in the A10 register of the MMAU by 32-bit fractional value returning saturated 32-bit fractional quotient. More...
 
static frac64 d_diva_l (register frac32 lden)
 Divide 64-bit fractional value stored in the A10 register of the MMAU by 32-bit fractional value returning a 64-bit fractional quotient. More...
 
static frac64 d_divas_l (register frac32 lden)
 Divide 64-bit fractional value stored in the A10 register of the MMAU by 32-bit fractional value returning saturated 64-bit fractional quotient. More...
 
static frac16 s_sqr_l (register frac32 lrad)
 Compute and return a 16-bit fractional square root of the 32-bit fractional radicand. More...
 
static frac32 l_sqr_l (register frac32 lrad)
 Compute and return a 32-bit fractional square root of the 32-bit fractional radicand. More...
 
static frac32 l_sqr_d (register frac64 drad)
 Compute and return a 32-bit fractional square root of the 64-bit fractional radicand. More...
 
static frac32 l_sqra (void)
 Compute and return a 32-bit fractional square root of the radicand stored in the A10 register of the MMAU. More...
 

Macro Definition Documentation

#define lda_d (   dval)

The lda_d function loads A10 accumulator register of the MMAU by 64-bit fractional value.

Parameters
dvalfrac64 fractional value.
#define mul_ll (   lval1,
  lval2 
)

The mul_ll function multiplies two 32-bit fractional values.

Parameters
lval1frac32 fractional value.
lval2frac32 fractional value.
Note
Product is stored in A10 register of the MMAU for next computation.
#define muls_ll (   lval1,
  lval2 
)

The muls_ll function multiplies two 32-bit fractional values.

Parameters
lval1frac32 fractional value.
lval2frac32 fractional value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
#define mul_dl (   dval,
  lval 
)

The mul_dl function multiplies 64-bit fractional value with 32-bit fractional value.

Parameters
dvalfrac64 fractional value.
lvalfrac32 fractional value.
Note
Product is stored in A10 register of the MMAU for next computation.
#define muls_dl (   dval,
  lval 
)

The muls_dl function multiplies 64-bit fractional value with 32-bit fractional value.

Parameters
dvalfrac64 fractional value.
lvalfrac32 fractional value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
#define mula_l (   lval)

The mula_l function multiplies 32-bit fractional value with 64-bit fractional value stored in the A10 register of the MMAU.

Parameters
lvalfrac32 fractional value.
Note
Product is stored in A10 register of the MMAU for next computation.
#define mulas_l (   lval)

The mulas_l function multiplies 32-bit fractional value with 64-bit fractional value stored in the A10 register of the MMAU.

Parameters
lvalfrac32 fractional value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
#define mac_ll (   lval1,
  lval2 
)

The mac_ll function multiplies two 32-bit fractional values and add product with value stored in the A10 register of the MMAU.

Parameters
lval1frac32 fractional value.
lval2frac32 fractional value.
Note
Product is stored in A10 register of the MMAU for next computation.
#define macs_ll (   lval1,
  lval2 
)

The macs_ll function multiplies two 32-bit fractional values and add product with value stored in the A10 register of the MMAU.

Parameters
lval1frac32 fractional value.
lval2frac32 fractional value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
#define mac_dl (   dval,
  lval 
)

The mac_dl function multiplies 64-bit fractional value with 32-bit fractional value and add product with value stored in the A10 register of the MMAU.

Parameters
dvalfrac64 fractional value.
lvalfrac32 fractional value.
Note
Product is stored in A10 register of the MMAU for next computation.
#define macs_dl (   dval,
  lval 
)

The macs_dl function multiplies 64-bit fractional value with 32-bit fractional value and add product with value stored in the A10 register of the MMAU.

Parameters
dvalfrac64 fractional value.
lvalfrac32 fractional value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
#define maca_dl (   dval,
  lval 
)

The maca_dl function multiplies 32-bit fractional value by value stored in the A10 register of the MMAU and add product with 64-bit fractional value.

Parameters
dvalfrac64 fractional value.
lvalfrac32 fractional value.
Note
Product is stored in A10 register of the MMAU for next computation.
#define macas_dl (   dval,
  lval 
)

The macas_dl function multiplies 32-bit fractional value by value stored in the A10 register of the MMAU and add product with 64-bit fractional value.

Parameters
dvalfrac64 fractional value.
lvalfrac32 fractional value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
#define div_ll (   lnum,
  lden 
)

The div_ll function divides two 32-bit fractional values.

Parameters
lnumfrac32 fractional value.
ldenfrac32 fractional value.
Note
Quotient is stored in A1 register of the MMAU for next computation.
#define divs_ll (   lnum,
  lden 
)

The divs_ll function divides two 32-bit fractional values.

Parameters
lnumfrac32 fractional value.
ldenfrac32 fractional value.
Note
Saturated quotient is stored in A1 register of the MMAU for next computation.
#define div_dl (   dnum,
  lden 
)

The div_dl function divides 64-bit fractional value by 32-bit fractional value.

Parameters
dnumfrac64 fractional value.
ldenfrac32 fractional value.
Note
Quotient is stored in A10 register of the MMAU for next computation.
#define divs_dl (   dnum,
  lden 
)

The divs_dl function divides 64-bit fractional value by 32-bit fractional value.

Parameters
dnumfrac64 fractional value.
ldenfrac32 fractional value.
Note
Saturated quotient is stored in A10 register of the MMAU for next computation.
#define diva_l (   lden)

The diva_l function divides 64-bit fractional value stored in the A10 register of the MMAU by 32-bit fractional value.

Parameters
ldenfrac32 fractional value.
Note
Quotient is stored in A10 register of the MMAU for next computation.
#define divas_l (   lden)

The divas_l function divides 64-bit fractional value stored in the A10 register of the MMAU by 32-bit fractional value.

Parameters
ldenfrac32 fractional value.
Note
Saturated quotient is stored in A10 register of the MMAU for next computation.
#define sqr_l (   lrad)

The sqr_l function computes a 16-bit fractional square root of the 32-bit fractional radicand.

Parameters
lradfrac32 fractional radicand.
Note
Square root is stored in A1 register of the MMAU for next computation.
#define sqr_d (   drad)

The sqr_d function computes a 32-bit fractional square root of the 64-bit fractional radicand.

Parameters
dradfrac64 fractional radicand.
Note
Square root is stored in A1 register of the MMAU for next computation.

Function Documentation

static void lda_l ( register frac32  lval)
inlinestatic

The lda_l function loads upper A1 accumulator register of the MMAU by 32-bit fractional value and clears lower A0 accumulator register.

Parameters
lvalfrac32 fractional value.
static frac32 l_rda ( void  )
inlinestatic

The l_rda function reads 32-bit fractional value from the A1 accumulator register of the MMAU.

Returns
frac32 fractional value.
static frac64 d_rda ( void  )
inlinestatic

The d_rda function reads 64-bit fractional value from the A10 accumulator register of the MMAU.

Returns
frac64 fractional value.
static frac32 l_mul_ll ( register frac32  lval1,
register frac32  lval2 
)
inlinestatic

The l_mul_ll function multiplies two 32-bit fractional values returning a 32-bit fractional product.

Parameters
lval1frac32 fractional value.
lval2frac32 fractional value.
Returns
frac32 fractional value.
Note
Product is stored in A10 register of the MMAU for next computation.
static frac32 l_muls_ll ( register frac32  lval1,
register frac32  lval2 
)
inlinestatic

The l_muls_ll function multiplies two 32-bit fractional values returning saturated 32-bit fractional product.

Parameters
lval1frac32 fractional value.
lval2frac32 fractional value.
Returns
frac32 fractional value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
static frac64 d_mul_ll ( register frac32  lval1,
register frac32  lval2 
)
inlinestatic

The d_mul_ll function multiplies two 32-bit fractional values returning a 64-bit fractional product.

Parameters
lval1frac32 fractional value.
lval2frac32 fractional value.
Returns
frac64 fractional value.
Note
Product is stored in A10 register of the MMAU for next computation.
static frac64 d_muls_ll ( register frac32  lval1,
register frac32  lval2 
)
inlinestatic

The d_muls_ll function multiplies two 32-bit fractional values returning saturated 64-bit fractional product.

Parameters
lval1frac32 fractional value.
lval2frac32 fractional value.
Returns
frac64 fractional value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
static frac32 l_mul_dl ( register frac64  dval,
register frac32  lval 
)
inlinestatic

The l_mul_dl function multiplies 64-bit fractional value with 32-bit fractional value returning a 32-bit fractional product.

Parameters
dvalfrac64 fractional value.
lvalfrac32 fractional value.
Returns
frac32 fractional value.
Note
Product is stored in A10 register of the MMAU for next computation.
static frac32 l_muls_dl ( register frac64  dval,
register frac32  lval 
)
inlinestatic

The l_muls_dl function multiplies 64-bit fractional value with 32-bit fractional value returning saturated 32-bit fractional product.

Parameters
dvalfrac64 fractional value.
lvalfrac32 fractional value.
Returns
frac32 fractional value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
static frac64 d_mul_dl ( register frac64  dval,
register frac32  lval 
)
inlinestatic

The d_mul_dl function multiplies 64-bit fractional value with 32-bit fractional value returning a 64-bit fractional product.

Parameters
dvalfrac64 fractional value.
lvalfrac32 fractional value.
Returns
frac64 fractional value.
Note
Product is stored in A10 register of the MMAU for next computation.
static frac64 d_muls_dl ( register frac64  dval,
register frac32  lval 
)
inlinestatic

The d_muls_dl function multiplies 64-bit fractional value with 32-bit fractional value returning saturated 64-bit fractional product.

Parameters
dvalfrac64 fractional value.
lvalfrac32 fractional value.
Returns
frac64 fractional value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
static frac32 l_mula_l ( register frac32  lval)
inlinestatic

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

Parameters
lvalfrac32 fractional value.
Returns
frac32 fractional value.
Note
Product is stored in A10 register of the MMAU for next computation.
static frac32 l_mulas_l ( register frac32  lval)
inlinestatic

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

Parameters
lvalfrac32 fractional value.
Returns
frac32 fractional value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
static frac64 d_mula_l ( register frac32  lval)
inlinestatic

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

Parameters
lvalfrac32 fractional value.
Returns
frac64 fractional value.
Note
Product is stored in A10 register of the MMAU for next computation.
static frac64 d_mulas_l ( register frac32  lval)
inlinestatic

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

Parameters
lvalfrac32 fractional value.
Returns
frac64 fractional value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
static frac32 l_mac_ll ( register frac32  lval1,
register frac32  lval2 
)
inlinestatic

The l_mac_ll function multiplies two 32-bit fractional values and add product with value stored in the A10 register of the MMAU returning a 32-bit fractional A1 register value.

Parameters
lval1frac32 fractional value.
lval2frac32 fractional value.
Returns
frac32 fractional value.
Note
Product is stored in A10 register of the MMAU for next computation.
static frac32 l_macs_ll ( register frac32  lval1,
register frac32  lval2 
)
inlinestatic

The l_macs_ll function multiplies two 32-bit fractional values and add product with value stored in the A10 register of the MMAU returning saturated 32-bit fractional A1 register value.

Parameters
lval1frac32 fractional value.
lval2frac32 fractional value.
Returns
frac32 fractional value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
static frac64 d_mac_ll ( register frac32  lval1,
register frac32  lval2 
)
inlinestatic

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

Parameters
lval1frac32 fractional value.
lval2frac32 fractional value.
Returns
frac64 fractional value.
Note
Product is stored in A10 register of the MMAU for next computation.
static frac64 d_macs_ll ( register frac32  lval1,
register frac32  lval2 
)
inlinestatic

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

Parameters
lval1frac32 fractional value.
lval2frac32 fractional value.
Returns
frac64 fractional value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
static frac32 l_mac_dl ( register frac64  dval,
register frac32  lval 
)
inlinestatic

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

Parameters
dvalfrac64 fractional value.
lvalfrac32 fractional value.
Returns
frac32 fractional value.
Note
Product is stored in A10 register of the MMAU for next computation.
static frac32 l_macs_dl ( register frac64  dval,
register frac32  lval 
)
inlinestatic

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

Parameters
dvalfrac64 fractional value.
lvalfrac32 fractional value.
Returns
frac32 fractional value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
static frac64 d_mac_dl ( register frac64  dval,
register frac32  lval 
)
inlinestatic

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

Parameters
dvalfrac64 fractional value.
lvalfrac32 fractional value.
Returns
frac64 fractional value.
Note
Product is stored in A10 register of the MMAU for next computation.
static frac64 d_macs_dl ( register frac64  dval,
register frac32  lval 
)
inlinestatic

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

Parameters
dvalfrac64 fractional value.
lvalfrac32 fractional value.
Returns
frac64 fractional value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
static frac32 l_maca_dl ( register frac64  dval,
register frac32  lval 
)
inlinestatic

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

Parameters
dvalfrac64 fractional value.
lvalfrac32 fractional value.
Returns
frac32 fractional value.
Note
Product is stored in A10 register of the MMAU for next computation.
static frac32 l_macas_dl ( register frac64  dval,
register frac32  lval 
)
inlinestatic

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

Parameters
dvalfrac64 fractional value.
lvalfrac32 fractional value.
Returns
frac32 fractional value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
static frac64 d_maca_dl ( register frac64  dval,
register frac32  lval 
)
inlinestatic

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

Parameters
dvalfrac64 fractional value.
lvalfrac32 fractional value.
Returns
frac64 fractional value.
Note
Product is stored in A10 register of the MMAU for next computation.
static frac64 d_macas_dl ( register frac64  dval,
register frac32  lval 
)
inlinestatic

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

Parameters
dvalfrac64 fractional value.
lvalfrac32 fractional value.
Returns
frac64 fractional value.
Note
Saturated product is stored in A10 register of the MMAU for next computation.
static frac32 l_div_ll ( register frac32  lnum,
register frac32  lden 
)
inlinestatic

The l_div_ll function divides two 32-bit fractional values returning a 32-bit fractional quotient.

Parameters
lnumfrac32 fractional value.
ldenfrac32 fractional value.
Returns
frac32 fractional value.
Note
Quotient is stored in A1 register of the MMAU for next computation.
static frac32 l_divs_ll ( register frac32  lnum,
register frac32  lden 
)
inlinestatic

The l_divs_ll function divides two 32-bit fractional values returning a 32-bit fractional quotient.

Parameters
lnumfrac32 fractional value.
ldenfrac32 fractional value.
Returns
frac32 fractional value.
Note
Saturated quotient is stored in A1 register of the MMAU for next computation.
static frac64 d_div_dl ( register frac64  dnum,
register frac32  lden 
)
inlinestatic

The d_div_dl function divides 64-bit fractional value by 32-bit fractional value returning a 64-bit fractional quotient.

Parameters
dnumfrac64 fractional value.
ldenfrac32 fractional value.
Returns
frac64 fractional value.
Note
Quotient is stored in A10 register of the MMAU for next computation.
static frac64 d_divs_dl ( register frac64  dnum,
register frac32  lden 
)
inlinestatic

The d_divs_dl function divides 64-bit fractional value by 32-bit fractional value returning a 64-bit fractional quotient.

Parameters
dnumfrac64 fractional value.
ldenfrac32 fractional value.
Returns
frac64 fractional value.
Note
Saturated quotient is stored in A10 register of the MMAU for next computation.
static frac32 l_diva_l ( register frac32  lden)
inlinestatic

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

Parameters
ldenfrac32 fractional value.
Returns
frac32 fractional value.
Note
Quotient is stored in A1 register of the MMAU for next computation.
static frac32 l_divas_l ( register frac32  lden)
inlinestatic

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

Parameters
ldenfrac32 fractional value.
Returns
frac32 fractional value.
Note
Saturated quotient is stored in A1 register of the MMAU for next computation.
static frac64 d_diva_l ( register frac32  lden)
inlinestatic

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

Parameters
ldenfrac32 fractional value.
Returns
frac64 fractional value.
Note
Quotient is stored in A10 register of the MMAU for next computation.
static frac64 d_divas_l ( register frac32  lden)
inlinestatic

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

Parameters
ldenfrac32 fractional value.
Returns
frac64 fractional value.
Note
Saturated quotient is stored in A10 register of the MMAU for next computation.
static frac16 s_sqr_l ( register frac32  lrad)
inlinestatic

The s_sqr_l function computes and returns a 16-bit fractional square root of the 32-bit fractional radicand.

Parameters
lradfrac32 fractional radicand.
Returns
frac16 fractional square root.
Note
Square root is stored in A1 register of the MMAU for next computation.
static frac32 l_sqr_l ( register frac32  lrad)
inlinestatic

The l_sqr_l function computes and returns a 32-bit fractional square root of the 32-bit fractional radicand.

Parameters
lradfrac32 fractional radicand.
Returns
frac32 fractional square root.
Note
Square root is stored in A1 register of the MMAU for next computation.
static frac32 l_sqr_d ( register frac64  drad)
inlinestatic

The l_sqr_d function computes and returns a 32-bit fractional square root of the 64-bit fractional radicand.

Parameters
dradfrac64 fractional radicand.
Returns
frac32 fractional square root.
Note
Square root is stored in A1 register of the MMAU for next computation.
static frac32 l_sqra ( void  )
inlinestatic

The l_sqra function computes and returns a 32-bit fractional square root of the radicand stored in the A10 register of the MMAU.

Returns
frac32 fractional square root.
Note
Square root is stored in A1 register of the MMAU for next computation.