mirror of https://github.com/PCSX2/pcsx2.git
ReorderingMTGS: Hackfix Linux, until some assembly is written.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/ReorderingMTGS@3476 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
43cd559801
commit
f6d0222a8c
|
@ -41,5 +41,8 @@ void _memset16_unaligned( void* dest, u16 data, size_t size );
|
|||
#define memcpy_aligned(d,s,c) memcpy_amd_(d,s,c) // Memcpy with 16-byte Aligned addresses
|
||||
#define memcpy_const memcpy_amd_ // Memcpy with constant size
|
||||
#define memcpy_constA memcpy_amd_ // Memcpy with constant size and 16-byte aligned
|
||||
#ifndef __LINUX__
|
||||
#define memcpy_qwc(d,s,c) memcpy_amd_qwc(d,s,c)
|
||||
//#define memcpy_qwc(d,s,c) memcpy_amd_(d,s,c*16)
|
||||
#else
|
||||
#define memcpy_qwc(d,s,c) memcpy_amd_(d,s,c*16)
|
||||
#endif
|
||||
|
|
|
@ -886,9 +886,17 @@ static int __fastcall _CopyTag_tmpl(const u128* pMem, u32 size)
|
|||
|
||||
void GIFPath_Initialize()
|
||||
{
|
||||
#ifdef __LINUX__
|
||||
// It's already thrown an exception if it isn't SSE, and the check was giving me a compilation error.
|
||||
// I could fix it, but why bother?
|
||||
tbl_CopyTag[0] = _CopyTag_tmpl<CpuExt_SSE, 0>;
|
||||
tbl_CopyTag[1] = _CopyTag_tmpl<CpuExt_SSE, 1>;
|
||||
tbl_CopyTag[2] = _CopyTag_tmpl<CpuExt_SSE, 2>;
|
||||
#else
|
||||
tbl_CopyTag[0] = x86caps.hasStreamingSIMDExtensions ? _CopyTag_tmpl<CpuExt_SSE, 0> : _CopyTag_tmpl<CpuExt_Base, 0>;
|
||||
tbl_CopyTag[1] = x86caps.hasStreamingSIMDExtensions ? _CopyTag_tmpl<CpuExt_SSE, 1> : _CopyTag_tmpl<CpuExt_Base, 1>;
|
||||
tbl_CopyTag[2] = x86caps.hasStreamingSIMDExtensions ? _CopyTag_tmpl<CpuExt_SSE, 2> : _CopyTag_tmpl<CpuExt_Base, 2>;
|
||||
#endif
|
||||
}
|
||||
|
||||
__forceinline int GIFPath_CopyTag(GIF_PATH pathidx, const u128* pMem, u32 size)
|
||||
|
|
|
@ -195,8 +195,6 @@
|
|||
<Unit filename="../spdif.h" />
|
||||
<Unit filename="../spu2freeze.cpp" />
|
||||
<Unit filename="../spu2sys.cpp" />
|
||||
<Unit filename="../utf8.cpp" />
|
||||
<Unit filename="../utf8.h" />
|
||||
<Extensions>
|
||||
<code_completion />
|
||||
<debugger />
|
||||
|
|
Loading…
Reference in New Issue