FreeBSD Bugzilla – Attachment 165773 Details for
Bug 206376
emulators/mednafen: Fix build with clang 3.8.0 or recent versions of GCC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Use local asm labels to prevent problems with unrolling
emulators__mednafen-fix-asm-label-1.diff (text/plain), 1.87 KB, created by
Dimitry Andric
on 2016-01-18 18:54:08 UTC
(
hide
)
Description:
Use local asm labels to prevent problems with unrolling
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2016-01-18 18:54:08 UTC
Size:
1.87 KB
patch
obsolete
>Index: emulators/mednafen/files/patch-src__sound__OwlResampler.cpp >=================================================================== >--- emulators/mednafen/files/patch-src__sound__OwlResampler.cpp (nonexistent) >+++ emulators/mednafen/files/patch-src__sound__OwlResampler.cpp (working copy) >@@ -0,0 +1,38 @@ >+--- src/sound/OwlResampler.cpp.orig 2014-02-27 20:29:19.000000000 +0100 >++++ src/sound/OwlResampler.cpp 2016-01-18 14:00:48.775922000 +0100 >+@@ -340,7 +340,7 @@ static INLINE void DoMAC_SSE(float *wave >+ "movups 0(%%" X86_REGC "di), %%xmm0\n\t" >+ "movups 16(%%" X86_REGC "di), %%xmm1\n\t" >+ >+-"SSE_Loop:\n\t" >++"1:\n\t" >+ >+ "movups 32(%%" X86_REGC "di), %%xmm2\n\t" >+ "mulps 0(%%" X86_REGC "si), %%xmm0\n\t" >+@@ -378,7 +378,7 @@ static INLINE void DoMAC_SSE(float *wave >+ "add" X86_REGAT " $128, %%" X86_REGC "si\n\t" >+ "add" X86_REGAT " $128, %%" X86_REGC "di\n\t" >+ "subl $1, %%ecx\n\t" >+-"jnz SSE_Loop\n\t" >++"jnz 1b\n\t" >+ >+ "addps %%xmm3, %%xmm7\n\t" // For a loop optimization >+ >+@@ -445,7 +445,7 @@ static INLINE void DoMAC_SSE(float *wave >+ "xorps %%xmm7, %%xmm7\n\t" >+ >+ "movups 0(%%" X86_REGC "di), %%xmm0\n\t" >+-"SSE_Loop:\n\t" >++"1:\n\t" >+ >+ "movups 16(%%" X86_REGC "di), %%xmm1\n\t" >+ "mulps 0(%%" X86_REGC "si), %%xmm0\n\t" >+@@ -466,7 +466,7 @@ static INLINE void DoMAC_SSE(float *wave >+ "add" X86_REGAT " $64, %%" X86_REGC "si\n\t" >+ "add" X86_REGAT " $64, %%" X86_REGC "di\n\t" >+ "subl $1, %%ecx\n\t" >+-"jnz SSE_Loop\n\t" >++"jnz 1b\n\t" >+ >+ "addps %%xmm3, %%xmm7\n\t" // For a loop optimization >+ > >Property changes on: emulators/mednafen/files/patch-src__sound__OwlResampler.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 206376
: 165773 |
167165