mirror of https://github.com/PCSX2/pcsx2.git
Use generic memcpy from now on. Tests show generics are good enough now.
It should be a speedup even on modern CPUs.
This commit is contained in:
parent
4d4f7ac112
commit
9168c344b1
|
@ -42,12 +42,9 @@ void _memset16_unaligned( void* dest, u16 data, size_t size );
|
|||
extern void memcpy_vibes(void * dest, const void * src, int size);
|
||||
extern void gen_memcpy_vibes();
|
||||
|
||||
#define memcpy_fast memcpy_amd_ // Fast memcpy
|
||||
#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
|
||||
#define memcpy_qwc_ memcpy_vibes // Memcpy in aligned qwc increments, with 0x400 qwc or less
|
||||
#define memcpy_qwc(d,s,c) memcpy_amd_qwc(d,s,c)
|
||||
|
||||
// Useful alternative if we think memcpy_amd_qwc is buggy
|
||||
//#define memcpy_qwc(d,s,c) memcpy_amd_(d,s,c*16)
|
||||
#define memcpy_fast memcpy
|
||||
#define memcpy_aligned(d,s,c) memcpy(d,s,c)
|
||||
#define memcpy_const memcpy
|
||||
#define memcpy_constA memcpy
|
||||
#define memcpy_qwc_ memcpy
|
||||
#define memcpy_qwc(d,s,c) memcpy(d,s,c*16)
|
||||
|
|
Loading…
Reference in New Issue