mirror of https://github.com/xemu-project/xemu.git
![]() A class of instructions of the form:
op Target,A,B
which operate like:
Target = Target * A + B
have a bit set which distinguishes them from instructions that operate as:
Target = Target * B + A
This bit is not being checked properly (using PPC_BIT macro), so all
instructions in this class are operating incorrectly as the second form
above. The bit was being checked as if it were part of a 64-bit
instruction opcode, rather than a proper 32-bit opcode. Fix by using the
macro (PPC_BIT32) which treats the opcode as a 32-bit quantity.
Fixes:
|
||
---|---|---|
.. | ||
dfp-impl.inc.c | ||
dfp-ops.inc.c | ||
fp-impl.inc.c | ||
fp-ops.inc.c | ||
spe-impl.inc.c | ||
spe-ops.inc.c | ||
vmx-impl.inc.c | ||
vmx-ops.inc.c | ||
vsx-impl.inc.c | ||
vsx-ops.inc.c |