C-6
DSP96002 USER’S MANUAL
MOTOROLA
generated exclusively by the DSP96002 data ALU as a result of floating point arithmetic operations, is em-
bedded in the DP format, and is thus stored implicitly as a DP number with zeros in the lower 21 bits of the
fraction.
C.1.3 DSP96002 Floating Point Storage Format in the Data ALU
The data ALU is designed to accommodate mixed-precision operands in a common format. To this end, a
common DP storage format is used internal to the data ALU. SP and DP numbers from memory are auto-
matically converted to the internal format by means of a format conversion unit, the operation of which is
transparent to the user.
The bit-level DP representation internal to the ALU is illustrated in Figure C-5. The internal floating point
format is 96 bits wide and consists of the following fields:
1.
Sign of the mantissa (S) bit 95.
2.
SP Unnormalized tag (U) bit 94. The U-TAG is set when writing a floating-point register with a
denormalized SP number. Cleared otherwise.
3.
DP Unnormalized tag (V) bit 93. The V-TAG is set when writing a floating-point register with a
denormalized DP number (denormalized SEP in the DSP96002). Cleared otherwise.
4.
Unused bits (Z) bits 75 through 92 and bits 0 through 10. These bits read as zeros, and should
be written with zeros for future compatibility. They are cleared by floating-point moves and op-
erations.
5.
Biased Exponent (e) bits 64 through 74. Since the internal ALU format is DP, there are 11 ex-
ponent bits, with an integer bias of 1023 ($3FF). The encodings of the exponent are identical
to the ones explained in the section on memory storage formats (Appendix D.1.2) .
6.
Integer bit (i or b
0
) bit 63. The integer bit is explicitly presented in the internal representation as
bit 63 and is the integer part of the mantissa.
7.
Fraction – bits 11 through 62. This is a 52-bit field representing the fractional part of the man-
tissa (only 31 are used by the DSP96002 floating-point ALU). The remaining bits are set to
zero by floating-point ALU operations or single-precision floating-point moves. Since the inter-
nal format is DP, the fraction consists of 52 bits. The data ALU arithmetic, however, only pro-
vides results in either SP or SEP. The SEP format is the same as the DP format, except for the
size of the fraction. The SEP fraction consists of only 31 bits. Consequently, the lower 21 or 29
bits of the fraction will consist of zeros when representing SEP or SP arithmetic results, respec-
tively. When DP values are moved from memory to the data ALU, the fraction contains all 52
significant bits. However, when using these DP values as operands in a floating-point arithmetic
operation, only 31 bits of the 52-bit fraction are used; the remaining bits are simply truncated.
The SEP format is shown in Figure C-7.
C.1.4 IEEE Floating Point Exceptions
The IEEE standard defines five types of exceptions which must be signaled when detected. The DSP96002
implements the default "trap disabled" way of signaling exceptions: when an exception occurs, a flag is set
and program execution continues. The flag remains set until cleared by the user. The different exceptions
are:
1.
Invalid operation: The invalid operation exception is signaled when an operand is invalid for the
Содержание DSP96002
Страница 3: ...1 2 DSP96002 USER S MANUAL MOTOROLA ...
Страница 38: ...MOTOROLA DSP96002 USER S MANUAL 3 15 Figure 3 4 Modulo Arithmetic Unit Block Diagram ...
Страница 39: ...3 16 DSP96002 USER S MANUAL MOTOROLA ...
Страница 53: ...4 14 DSP96002 USER S MANUAL MOTOROLA ...
Страница 76: ...MOTOROLA DSP96002 USER S MANUAL 5 23 Figure 5 8 Address Modifier Summary ...
Страница 86: ...6 10 DSP96002 USER S MANUAL MOTOROLA ...
Страница 101: ...MOTOROLA DSP96002 USER S MANUAL 7 15 Figure 7 9 HI Block Diagram One Port ...
Страница 140: ...7 54 DSP96002 USER S MANUAL MOTOROLA ...
Страница 166: ...9 10 DSP96002 USER S MANUAL MOTOROLA ...
Страница 181: ...MOTOROLA DSP96002 USER S MANUAL 10 15 Figure 10 8 Program Address Bus FIFO ...
Страница 336: ...A 148 DSP96002 USER S MANUAL MOTOROLA FMPY S2 S1 D1 FSUB S S3 D2 move syntax see the MOVE instruction de scription ...
Страница 337: ...MOTOROLA DSP96002 USER S MANUAL A 149 ...
Страница 404: ...A 216 DSP96002 USER S MANUAL MOTOROLA PC xxxx D ...
Страница 460: ...A 272 DSP96002 USER S MANUAL MOTOROLA SIOP Not affected ...
Страница 484: ...A 296 DSP96002 USER S MANUAL MOTOROLA SSH PC SSL SR SP 1 SP ...
Страница 519: ...MOTOROLA DSP96002 USER S MANUAL A 331 ...
Страница 580: ...MOTOROLA DSP96002 USER S MANUAL B 61 X Memory Y Memory n0 3 r0 x0 Xmin r4 y0 Xmax z0 Ymin x1 Ymax y1 Zmin z1 Zmax ...
Страница 718: ...MOTOROLA DSP96002 USER S MANUAL B 199 ...
Страница 871: ... MOTOROLA INC 1994 MOTOROLA TECHNICAL DATA SEMICONDUCTOR M Addendum ...
Страница 888: ...MOTOROLA INDEX 1 INDEX ...
Страница 889: ......