mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-29 09:18:43 +00:00
Fixed building on Windows with cmake, ninja, and clang
This commit is contained in:
parent
dd683073bb
commit
a91ab883e9
6 changed files with 10 additions and 8 deletions
|
|
@ -34,7 +34,7 @@ SDL_memcpySSE(Uint8 * dst, const Uint8 * src, int len)
|
|||
|
||||
__m128 values[4];
|
||||
for (i = len / 64; i--;) {
|
||||
_mm_prefetch(src, _MM_HINT_NTA);
|
||||
_mm_prefetch((const char *)src, _MM_HINT_NTA);
|
||||
values[0] = *(__m128 *) (src + 0);
|
||||
values[1] = *(__m128 *) (src + 16);
|
||||
values[2] = *(__m128 *) (src + 32);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue