![Xilinx Virtex-II Pro PPC405 Скачать руководство пользователя страница 393](http://html1.mh-extra.com/html/xilinx/virtex-ii-pro-ppc405/virtex-ii-pro-ppc405_user-manual_3410279393.webp)
March 2002 Release
701
Virtex-II Pro™ Platform FPGA Documentation
1-800-255-7778
Alphabetical Instruction Listing
R
nmachhw
Negative Multiply Accumulate High Halfword to Word Modulo Signed
Description
The high-order halfword of
r
A is multiplied by the high-order halfword of
r
B. The negated
signed product is added to the contents of
r
D and the sum is stored as a 33-bit temporary
result. The contents of
r
D are replaced by the low-order 32 bits of the temporary result. An
example of this operation is shown in
.
Pseudocode
prod
0:31
←
(
r
A)
0:15
×
(
r
B)
0:15
signed
nprod
0:31
←
−
1
×
prod
0:31
signed
temp
0:32
←
nprod
0:31
+ (
r
D)
(
r
D)
←
temp
1:32
Registers Altered
•
r
D.
•
CR[CR0]
LT, GT, EQ, SO
if Rc
=
1.
•
XER[SO, OV] if OE
=
1
Exceptions
•
None.
Compatibility
This instruction is implementation specific and is not guaranteed to be supported by other
PowerPC processors.
nmachhw
r
D,
r
A,
r
B
(OE=0, Rc=0)
nmachhw.
r
D,
r
A,
r
B
(OE=0, Rc=1)
nmachhwo
r
D,
r
A,
r
B
(OE=1, Rc=0)
nmachhwo.
r
D,
r
A,
r
B
(OE=1, Rc=1)
XO Instruction Form
4
r
D
r
A
r
B
OE
46
Rc
0
6
1
1
1
6
2
1
2
2
3
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...