uppsrc_Core_r14486.diff
uppsrc/Core/Cpu.cpp | ||
---|---|---|
149 | 149 |
void EndianSwap(int64 *v, size_t count) ENDIAN_SWAP |
150 | 150 |
void EndianSwap(uint64 *v, size_t count) ENDIAN_SWAP |
151 | 151 | |
152 |
#ifdef CPU_X86
|
|
152 |
#if defined(CPU_X86) && defined(__SSE2__)
|
|
153 | 153 |
void huge_memsetd(void *p, dword c, int len) |
154 | 154 |
{ // bypasses the cache, good for >4MB |
155 | 155 |
dword *t = (dword *)p; |
uppsrc/Core/Ops.h | ||
---|---|---|
342 | 342 |
return x >= -9223372036854775808.0 && x < 9223372036854775808.0; |
343 | 343 |
} |
344 | 344 |
|
345 |
#ifdef CPU_X86
|
|
345 |
#if defined(CPU_X86) && defined(__SSE2__)
|
|
346 | 346 |
|
347 |
#include <smmintrin.h>
|
|
347 |
#include <emmintrin.h>
|
|
348 | 348 |
|
349 | 349 |
void huge_memsetd(void *p, dword data, int len); |
350 | 350 |
|