Motorola DSP96002 User Manual page 667

32-bit digital signal processor
Table of Contents

Advertisement

Implementation of nextafter(d0,d4)
d0 for single precision numbers:
ftst
ftfr.s
ftst
fjor
move
jmp
fjinf
bclr
neg
fcmp
inc
dec
tst
neg
or
move
fcmpm
fjge
ori
ori
_not_denorm
fjninf
ori
ori
_ok
Either operand a NaN:
X is + or - infinity:
Result is normalized:
Result denormalized:
Result overflowed:
B-148
d4
d4,d0
ffun
d0
d0.s,d1.l
_not_nan
#$7fffffff,d0.s
_ok
_ok
#31,d1.l
d1
ifcs
d0,d4
#$00800000,d3.s
d1
ffgt
d1
fflt
d1
#$80000000,d2.l
d1
ifmi
d2,d1
ifmi
d1.l,d0.s
d3,d0
_not_denorm
#$5,er
#$5,ier
_ok
#$9,er
#$9,ier
Execution Timing in ICycles
DSP96002 USER'S MANUAL
Totals:
9
7
26
24
26
Program ICycles
Words
1
1
1
1
1
1
2
2
2
2
2
2
_not_nan
2
2
2
2
1
1
2
2
1
1
1
1
2
2
1
1
1
1
1
1
1
1
2
2
1
1
1
1
2
2
1
1
1
1
---
---
32
*
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents