summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@Gmail.com>2013-08-03 00:45:33 +0000
committerRyan Houdek <Sonicadvance1@Gmail.com>2013-08-03 00:48:44 +0000
commitca7fb9f38e667a26ed3babb1cc996cb269fe8102 (patch)
treef85ac6c189f981880a9c6ee5b5d1ad88ecf28971 /Source/Core
parentf58edd018cda95b5c938f18664c5c462eda0ceb0 (diff)
[ARM] Fix VCVT F32<->F64 encoding.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/Src/ArmEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/Src/ArmEmitter.cpp b/Source/Core/Common/Src/ArmEmitter.cpp
index a59dc53b6f..63bd2aea0c 100644
--- a/Source/Core/Common/Src/ArmEmitter.cpp
+++ b/Source/Core/Common/Src/ArmEmitter.cpp
@@ -1242,10 +1242,10 @@ void ARMXEmitter::VCVT(ARMReg Dest, ARMReg Source, int flags)
if (single_to_double)
{
Write32(condition | (0x1D << 23) | ((Dest & 0x10) << 18) | (0x3 << 20) | (0x7 << 16) \
- | ((Dest & 0xF) << 12) | (0x2F << 6) | ((Source & 0x1) << 5) | (Source >> 1));
+ | ((Dest & 0xF) << 12) | (0x2B << 6) | ((Source & 0x1) << 5) | (Source >> 1));
} else {
Write32(condition | (0x1D << 23) | ((Dest & 0x1) << 22) | (0x3 << 20) | (0x7 << 16) \
- | ((Dest & 0x1E) << 11) | (0x2B << 6) | ((Source & 0x10) << 1) | (Source & 0xF));
+ | ((Dest & 0x1E) << 11) | (0x2F << 6) | ((Source & 0x10) << 1) | (Source & 0xF));
}
}
} else if (single_reg) {