Line 0
Link Here
|
|
|
1 |
--- beetle-pcfx-libretro/mednafen/sound/OwlResampler.cpp.orig 2015-10-16 02:50:34.000000000 +0200 |
2 |
+++ beetle-pcfx-libretro/mednafen/sound/OwlResampler.cpp 2016-01-23 21:47:18.614641000 +0100 |
3 |
@@ -346,7 +346,7 @@ static INLINE void DoMAC_SSE(float *wave |
4 |
"movups 0(%%" X86_REGC "di), %%xmm0\n\t" |
5 |
"movups 16(%%" X86_REGC "di), %%xmm1\n\t" |
6 |
|
7 |
-"SSE_Loop:\n\t" |
8 |
+"1:\n\t" |
9 |
|
10 |
"movups 32(%%" X86_REGC "di), %%xmm2\n\t" |
11 |
"mulps 0(%%" X86_REGC "si), %%xmm0\n\t" |
12 |
@@ -384,7 +384,7 @@ static INLINE void DoMAC_SSE(float *wave |
13 |
"add" X86_REGAT " $128, %%" X86_REGC "si\n\t" |
14 |
"add" X86_REGAT " $128, %%" X86_REGC "di\n\t" |
15 |
"subl $1, %%ecx\n\t" |
16 |
-"jnz SSE_Loop\n\t" |
17 |
+"jnz 1b\n\t" |
18 |
|
19 |
"addps %%xmm3, %%xmm7\n\t" // For a loop optimization |
20 |
|
21 |
@@ -451,7 +451,7 @@ static INLINE void DoMAC_SSE(float *wave |
22 |
"xorps %%xmm7, %%xmm7\n\t" |
23 |
|
24 |
"movups 0(%%" X86_REGC "di), %%xmm0\n\t" |
25 |
-"SSE_Loop:\n\t" |
26 |
+"1:\n\t" |
27 |
|
28 |
"movups 16(%%" X86_REGC "di), %%xmm1\n\t" |
29 |
"mulps 0(%%" X86_REGC "si), %%xmm0\n\t" |
30 |
@@ -472,7 +472,7 @@ static INLINE void DoMAC_SSE(float *wave |
31 |
"add" X86_REGAT " $64, %%" X86_REGC "si\n\t" |
32 |
"add" X86_REGAT " $64, %%" X86_REGC "di\n\t" |
33 |
"subl $1, %%ecx\n\t" |
34 |
-"jnz SSE_Loop\n\t" |
35 |
+"jnz 1b\n\t" |
36 |
|
37 |
"addps %%xmm3, %%xmm7\n\t" // For a loop optimization |
38 |
|