B-4 PPC405 Core User’s Manual
mullhwu RT, RA, RB (RT)
16:31
← (RA)
0:15
x (RB)
16:31
unsigned 9-128
mullhwu. CR[CR0]
nmacchw RT, RA, RB nprod
0:31
← –((RA)
16:31
x (RB)
0:15
) signed
temp
0:32
← nprod
0:31
+ (RT)
(RT)
← temp
1:32
9-133
nmacchw. CR[CR0]
nmacchwo XER[SO, OV]
nmacchwo. CR[CR0]
XER[SO, OV]
nmacchws RT, RA, RB nprod
0:31
← –((RA)
16:31
x (RB)
0:15
) signed
temp
0:32
← nprod
0:31
+ (RT)
if ((nprod
0
= RT
0
) ∧ (RT
0
≠ temp
1
)) then
(RT)
← (RT
0
||
31
(¬RT
0
))
else (RT)
← temp
1:32
9-134
nmacchws. CR[CR0]
nmacchwso XER[SO, OV]
nmacchwso. CR[CR0]
XER[SO, OV]
nmachhw RT, RA, RB nprod
0:31
← –((RA)
0:15
x (RB)
0:15
) signed
temp
0:32
← nprod
0:31
+ (RT)
(RT)
← temp
1:32
9-135
nmachhw. CR[CR0]
nmachhwo XER[SO, OV]
nmachhwo. CR[CR0]
XER[SO, OV]
nmachhws RT, RA, RB nprod
0:31
← –((RA)
0:15
x (RB)
0:15
) signed
temp
0:32
← nprod
0:31
+ (RT)
if ((nprod
0
= RT
0
) ∧ (RT
0
≠ temp
1
)) then
(RT)
← (RT
0
||
31
(¬RT
0
))
else (RT)
← temp
1:32
9-136
nmachhws. CR[CR0]
nmachhwso XER[SO, OV]
nmachhwso. CR[CR0]
XER[SO, OV]
nmaclhw RT, RA, RB nprod
0:31
← –((RA)
16:31
x (RB)
16:31
) signed
temp
0:32
← nprod
0:31
+ (RT)
(RT)
← temp
1:32
9-137
nmaclhw. CR[CR0]
nmaclhwo XER[SO, OV]
nmaclhwo. CR[CR0]
XER[SO, OV]
nmaclhws RT, RA, RB nprod
0:31
← –((RA)
16:31
x (RB)
16:31
) signed
temp
0:32
← nprod
0:31
+ (RT)
if ((nprod
0
= RT
0
) ∧ (RT
0
≠ temp
1
)) then
(RT)
← (RT
0
||
31
(¬RT
0
))
else (RT)
← temp
1:32
9-138
nmaclhws. CR[CR0]
nmaclhwso XER[SO, OV]
nmaclhwso. CR[CR0]
XER[SO, OV]
Table B-2. Implementation-specific Instructions (continued)
Mnemonic Operands Function
Other Registers
Changed Page