March 2002 Release
415
Virtex-II Pro™ Platform FPGA Documentation
1-800-255-7778
Multiply-Accumulate Instruction-Set Extensions
R
shows the operation of the negative multiply-accumulate cross-halfword to
word
instructions.
Negative Multiply-Accumulate High-Halfword to Word Instructions
shows the PPC405
negative multiply-accumulate high-halfword to word
instructions. These instructions multiply the high halfword of both source operands,
r
A[0:15] and
r
B[0:15], producing a signed 32-bit product. This product is negated and
added to the value in the destination register,
r
D, producing a 33-bit intermediate result
(this is the same as subtracting the product from
r
D). Generally,
r
D is loaded with the
lower-32 bits of the 33-bit intermediate result. However, if the instruction performs
saturating arithmetic and the intermediate result overflows,
r
D is loaded with the nearest
representable value (see
Modulo and Saturating Arithmetic
For each type of instruction shown in
, the “Operation” column indicates the
negative multiply-accumulate operation performed. The column also shows, on an
instruction-by-instruction basis, how the XER and CR registers are updated (if at all).
Figure 3-31:
Negative Multiply-Accumulate Cross-Halfword to Word Operation
UG011_23_033101
r
D
0
31
0
32
r
A
0
31
16
r
B
0
31
15
×
r
D
0
31
+
Intermediate Result
−
1
1
Содержание Virtex-II Pro PPC405
Страница 1: ...R Volume 2 a PPC405 User Manual Virtex II Pro Platform FPGA Developer s Kit March 2002 Release...
Страница 14: ...322 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation Preface R...
Страница 252: ...560 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation R...
Страница 260: ...568 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation R...
Страница 562: ...870 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation R...