7 floating point arithmetic instructions, 7 floating point arithmetic instructions -38 – Cirrus Logic EP93xx User Manual

Page 108

Advertising
background image

3-38

DS785UM1

Copyright 2007 Cirrus Logic

MaverickCrunch Co-Processor
EP93xx User’s Guide

3

3

3

Rd:

Destination ARM register. If Rd = 15, destination is ARM
N, C, Z, and V flags.

Compare 64-bit Integers

Description:

Compares two 64-bit integers and stores an integer representing the result in
the ARM920T register; the highest four bits of the integer result match the N,
Z, C, and V bits, respectively, in the ARM920T’s program status register, while
the bottom 28 bits are zeros. If Rd = 15, then the four status bits are stored in
the ARM status register, CPSR.

Mnemonic:

CFCMP64<cond> Rd, CRn, CRm

Bit Definitions:

CRn:

First source register

CRm: Second

source

register

Rd:

Destination ARM register. If Rd = 15, destination is ARM
N, C, Z, and V flags.

3.5.7 Floating Point Arithmetic Instructions

Single Precision Floating Point Absolute Value

Description:

Computes the absolute value of a single precision floating point number:
CRd = |CRn|

Mnemonic:

CFABSS<cond> CRd, CRn

Bit Definitions:

CRd: Destination

register

CRn: Source

register

Double Precision Floating Point Absolute Value

Description:

Computes the absolute value of a double precision floating point number.

Mnemonic:

CFABSD<cond> CRd, CRn

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

Rd

0 1 0 1

1 0 1

1

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

1 1

CRn

CRd

0 1 0 0

0 0 0

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

1 1

CRn

CRd

0 1 0 0

0 0 1

0

CRm

Advertising