tm1300 NXP Semiconductors, tm1300 Datasheet - Page 345

no-image

tm1300

Manufacturer Part Number
tm1300
Description
Tm-1300 Media Processor
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tm1300-1.2
Quantity:
380
Philips Semiconductors
Floating-point square root
SYNTAX
FUNCTION
DESCRIPTION
single-precision floating-point format. Rounding is according to the IEEE rounding mode bits in PCSW. If an argument
is denormalized, zero is substituted for the argument before computing the squareroot, and the IFZ flag in the PCSW
is set. If the result is denormalized, the result is set to zero instead, and the OFZ flag in the PCSW is set. If
causes an IEEE exception, the corresponding exception flags in the PCSW are set. The PCSW exception flags are
sticky: the flags can be set as a side-effect of any floating-point operation but can only be reset by an explicit
writepcsw
other floating-point compute operations update the PCSW at the same time, the net result in each exception flag is the
logical OR of all simultaneous updates ORed with the existing PCSW value for that exception flag.
modification of the destination register. If the LSB of r guard is 1, r dest and the exception flags in PCSW are written;
otherwise, r dest is not changed and the operation does not affect the exception flags in PCSW.
EXAMPLES
r60 = 0xc0400000 (–3.0)
r40 = 0x40400000 (3.0)
r10 = 0, r40 = 0x40400000 (3.0)
r20 = 1, r40 = 0x40400000 (3.0)
r82 = 0x00c00000 (1.763241526e–38)
r84 = 0x7f800000 (+INF)
r70 = 0x7f7fffff (3.402823466e+38)
r80 = 0x00400000 (5.877471754e-39)
The
The
The
[ IF r guard ] fsqrt r src1
if r guard then
fsqrtflags
fsqrt
fsqrt
r dest
Initial Values
square_root(r src1 )
operation. The update of the PCSW exception flags occurs at the same time as r dest is written. If any
operation computes the squareroot of r src1 and stores the result into r dest . All values are in IEEE
operation optionally takes a guard, specified in r guard . If a guard is present, its LSB controls the
operation computes the exception flags that would result from an individual
fsqrt r60
fsqrt r40
IF r10 fsqrt r40
IF r20 fsqrt r40
fsqrt r82
fsqrt r84
fsqrt r70
fsqrt r80
r dest
Operation
r90
r95
r112
r113
r120
r125
PRODUCT SPECIFICATION
r100
r110
r90
r95
no change, since guard is false
r110
r112
r113
r120
r125
0xffffffff (QNaN), INV flag set
0x3fddb3d7 (1.732051), INX flag set
0x3fddb3d7 (1.732051), INX flag set
0x201cc471 (1.32787105e-19), INX flag set
0x7f800000 (+INF)
0x5f7fffff (1.8446743e19), INX flag set
0, IFZ flag set
DSPCPU Operations for TM1300
Function unit
Operation code
Number of operands
Modifier
Modifier range
Latency
Recovery
Issue slots
fsqrtflags readpcsw
Result
ATTRIBUTES
writepcsw
SEE ALSO
fsqrt
.
fsqrt
ftough
110
No
fsqrt
17
16
1
2
A-59

Related parts for tm1300