![Xilinx Virtex-II Pro PPC405 Скачать руководство пользователя страница 86](http://html1.mh-extra.com/html/xilinx/virtex-ii-pro-ppc405/virtex-ii-pro-ppc405_user-manual_3410279086.webp)
394
March 2002 Release
1-800-255-7778
Virtex-II Pro™ Platform FPGA Documentation
Chapter 3:
User Programming Model
R
Multiply Instructions
shows the PowerPC
integer-multiply
instructions. Multiplication of two 32-bit
values can result in a 64-bit result. The multiply low-word instructions are used with the
multiply high-word instructions to calculate the full 64-bit product. For each type of
instruction shown, the “Operation” column indicates the multiplication-operation
performed. The column also shows, on an instruction-by-instruction basis, how the XER
and CR registers are updated (if at all). “SIMM” indicates an immediate value that is sign-
extended prior to being used in the operation.
Table 3-26:
Negation Instructions
Mnemonic
Name
Operation
Operand
Syntax
Negation Instructions
r
D is loaded with the sum
¬
(
r
A) + 1.
neg
Negate
XER and CR0 are
not
updated.
r
D,
r
A
neg.
Negate and Record
CR0 is updated to reflect the result.
nego
Negate with Overflow Enabled
XER[OV,SO] are updated to reflect the result.
nego.
Negate with Overflow Enabled and
Record
XER[OV,SO] and CR0 are updated to reflect the
result.
Table 3-27:
Multiply Instructions
Mnemonic
Name
Operation
Operand
Syntax
Multiply Low-Word Instructions
r
D is loaded with the low-32 bits of the product (
r
A)
×
(
r
B).
mullw
Multiply Low Word
XER and CR0 are
not
updated.
r
D,
r
A,
r
B
mullw.
Multiply Low Word and Record
CR0 is updated to reflect the result.
mullwo
Multiply Low Word with Overflow
Enabled
XER[OV,SO] are updated to reflect the result.
mullwo.
Multiply Low Word with Overflow
Enabled and Record
XER[OV,SO] and CR0 are updated to reflect the
result.
Multiply Low-Word Immediate Instructions
r
D is loaded with the low-32 bits of the product (
r
A)
×
SIMM.
mulli
Multiply Low Immediate
XER and CR0 are
not
updated.
r
D,
r
A,SIMM
Multiply High-Word Instructions
r
D is loaded with the high-32 bits of the product (
r
A)
×
(
r
B).
mulhw
Multiply High Word
XER and CR0 are
not
updated.
r
D,
r
A,
r
B
mulhw.
Multiply High Word and Record
CR0 is updated to reflect the result.
Multiply High-Word Unsigned Instructions
r
D is loaded with the high-32 bits of the product (
r
A)
×
(
r
B). The
contents of
r
A and
r
B are interpreted as unsigned integers.
mulhwu
Multiply High Word
XER and CR0 are
not
updated.
r
D,
r
A,
r
B
mulhwu.
Multiply High Word and Record
CR0 is updated to reflect the result.
Содержание 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...