Readded prefetching.
This commit is contained in:
parent
54e46822bd
commit
5fd6e51028
@ -24,8 +24,7 @@
|
|||||||
#define GL_FORCE_INLINE static GL_INLINE_DEBUG
|
#define GL_FORCE_INLINE static GL_INLINE_DEBUG
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define PREFETCH(addr) (void) 0
|
#define PREFETCH(addr) __builtin_prefetch((addr))
|
||||||
//__builtin_prefetch((addr))
|
|
||||||
|
|
||||||
GL_FORCE_INLINE void* memcpy_fast(void *dest, const void *src, size_t len) {
|
GL_FORCE_INLINE void* memcpy_fast(void *dest, const void *src, size_t len) {
|
||||||
if(!len) {
|
if(!len) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user