![Xilinx Virtex-II Pro PPC405 User Manual Download Page 112](http://html1.mh-extra.com/html/xilinx/virtex-ii-pro-ppc405/virtex-ii-pro-ppc405_user-manual_3410279112.webp)
420
March 2002 Release
1-800-255-7778
Virtex-II Pro™ Platform FPGA Documentation
Chapter 3:
User Programming Model
R
shows the operation of the multiply cross-halfword to word
instructions.
Multiply High-Halfword to Word Instructions
shows the PPC405
multiply 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 32-
bit product. The product is signed or unsigned, depending on the instruction.
For each type of instruction shown in
, the “Operation” column indicates the
multiply operation performed. The column also shows, on an instruction-by-instruction
basis, how the CR register is updated (if at all). The XER register is not updated by these
instructions.
Multiply Cross-Halfword to Word Unsigned
Instructions
r
D is loaded with the unsigned product (
r
A[16:31])
×
(
r
B[0:15]).
mulchwu
Multiply Cross Halfword to Word
Unsigned
CR0 is
not
updated.
r
D,
r
A,
r
B
mulchwu.
Multiply Cross Halfword to Word
Unsigned and Record
CR0 is updated to reflect the result.
Table 3-46:
Multiply Cross-Halfword to Word Instructions
(Continued)
Mnemonic
Name
Operation
Operand
Syntax
Figure 3-34:
Multiply Cross-Halfword to Word Operation
UG011_26_033101
r
D
0
31
r
A
0
31
16
r
B
0
31
15
×
Table 3-47:
Multiply High-Halfword to Word Instructions
Mnemonic
Name
Operation
Operand
Syntax
Multiply High-Halfword to Word Signed Instructions
r
D is loaded with the signed product (
r
A[0:15])
×
(
r
B[0:15]).
mulhhw
Multiply High Halfword to Word
Signed
CR0 is
not
updated.
r
D,
r
A,
r
B
mulhhw.
Multiply High Halfword to Word
Signed and Record
CR0 is updated to reflect the result.