9 accumulator arithmetic instructions, 9 accumulator arithmetic instructions -45 – Cirrus Logic EP93xx User Manual

Page 115

Advertising
background image

DS785UM1

3-45

Copyright 2007 Cirrus Logic

MaverickCrunch Co-Processor

EP93xx User’s Guide

3

3

3

Bit Definitions:

CRd: Destination/addend

register

CRn: Multiplicand

register

CRm: Multiplicand

register

32-bit Integer Multiply-Subtract

Description:

Multiplies two 32-bit integers and subtracts the result from another 32-bit
integer:
CRd = CRd - (CRn

×

CRm)

Mnemonic:

CFMSC32<cond> CRd, CRn, CRm

Bit Definitions:

CRd: Destination/minuend

register

CRn: Multiplicand

register

CRm: Multiplicand

register

3.5.9 Accumulator Arithmetic Instructions

32-bit Integer Multiply-Add, Result to Accumulator

Description:

Multiplies two 32-bit integers, adds the product to a third 32-bit integer, and
stores the result in an accumulator:
CRa = CRd + (CRn

×

CRm)

Mnemonic:

CFMADD32<cond> CRa, CRd, CRn, CRm

Bit Definitions:

CRa: Destination

accumulator

CRd: Addend

register

CRn: Multiplicand

register

CRm: Multiplicand

register

31:28

27:24

23:22

21:20

19:16

15:12

11:8

7:5

4

3:0

cond

1 1 1 0

0 0

0 1

CRn

CRd

0 1 0 1

0 1 1

0

CRm

31:28

27:24

23:22

21:20

19:16

15:12

11:8

7:5

4

3:0

cond

1 1 1 0

0 0

0 0

CRn

CRd

0 1 1 0

CRa

0

CRm

Advertising