diff options
author | Yotam Barnoy | 2010-07-30 09:32:54 +0000 |
---|---|---|
committer | Yotam Barnoy | 2010-07-30 09:32:54 +0000 |
commit | 1532685d821322549a448e15fb438e7a96d82c33 (patch) | |
tree | caf58f8ca80058fa1d4690cc05d5ba6a59f196c2 /backends/platform/psp/memory.h | |
parent | 2fc1461f2bee59da2517a2373005deaae3dd6e0b (diff) | |
download | scummvm-rg350-1532685d821322549a448e15fb438e7a96d82c33.tar.gz scummvm-rg350-1532685d821322549a448e15fb438e7a96d82c33.tar.bz2 scummvm-rg350-1532685d821322549a448e15fb438e7a96d82c33.zip |
PSP: optimized memcpy some more and fixed memcpy testing
Found that the particular implementation was producing messy assembly for misaligned copies. Improved it and also fixed up wrapping the memcpy, which would cause endless prints in case memcpy testing is asked for.
svn-id: r51503
Diffstat (limited to 'backends/platform/psp/memory.h')
-rw-r--r-- | backends/platform/psp/memory.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/backends/platform/psp/memory.h b/backends/platform/psp/memory.h index c9b3d21cb6..793bc94888 100644 --- a/backends/platform/psp/memory.h +++ b/backends/platform/psp/memory.h @@ -52,7 +52,6 @@ private: static void copy32Aligned(uint32 *dst32, const uint32 *src32, uint32 bytes); static void swap32Aligned(uint32 *dst32, const uint32 *src32, uint32 bytes, PSPPixelFormat &format); static void copy32Misaligned(uint32 *dst32, const byte *src, uint32 bytes, uint32 alignSrc); - static uint32 misaligned32Detail(uint32 *dst32, uint32 *src32, uint32 bytes, uint32 alignSrc, const uint32 shiftValue, const uint32 lastShiftValue); static void swap32Misaligned(uint32 *dst32, const uint16 *src16, uint32 bytes, PSPPixelFormat &format); static void copy16(uint16 *dst, const uint16 *src, uint32 bytes); |