diff options
| author | xsacha <xsacha@gmail.com> | 2011-01-10 13:14:56 +0000 |
|---|---|---|
| committer | xsacha <xsacha@gmail.com> | 2011-01-10 13:14:56 +0000 |
| commit | f9e4e73e428ea0ce594fb2017272fc47d447f2fa (patch) | |
| tree | 67481fcf2a969871988958e3daae1569b4a543b2 /Source/Core/VideoCommon/Src/DLCache.cpp | |
| parent | f49efa8868ed7435c01f139b91a69b8538494454 (diff) | |
Use SSSE3 shuffle for DataReader's DataReadU32xN in VideoCommon. The function is used for reading up to 16 u32's at a time (512-bits) and then converting endianness.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6802 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/DLCache.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/DLCache.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Src/DLCache.cpp b/Source/Core/VideoCommon/Src/DLCache.cpp index 4d76cfb290..8d1a9b829b 100644 --- a/Source/Core/VideoCommon/Src/DLCache.cpp +++ b/Source/Core/VideoCommon/Src/DLCache.cpp @@ -305,7 +305,6 @@ u8 AnalyzeAndRunDisplayList(u32 address, int size, CachedDisplayList *dl) u32 Cmd2 = DataReadU32(); int transfer_size = ((Cmd2 >> 16) & 15) + 1; u32 xf_address = Cmd2 & 0xFFFF; - // TODO - speed this up. pshufb? u32 data_buffer[16]; DataReadU32xFuncs[transfer_size-1](data_buffer); LoadXFReg(transfer_size, xf_address, data_buffer); @@ -453,7 +452,6 @@ bool CompileAndRunDisplayList(u32 address, int size, CachedDisplayList *dl) u32 Cmd2 = DataReadU32(); int transfer_size = ((Cmd2 >> 16) & 15) + 1; u32 xf_address = Cmd2 & 0xFFFF; - // TODO - speed this up. pshufb? ReferencedDataRegion* NewRegion = new ReferencedDataRegion; NewRegion->MustClean = true; NewRegion->size = transfer_size * 4; |
