FreeBSD Bugzilla – Attachment 166028 Details for
Bug 206542
games/libretro-cores: fix build with clang 3.8.0
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
games__libretro-cores-fix-mednafen-resampler-1.diff (text/plain), 2.02 KB, created by
Dimitry Andric
on 2016-01-23 22:13:05 UTC
(
hide
)
Description:
Use local asm labels to prevent problems with unrolling
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2016-01-23 22:13:05 UTC
Size:
2.02 KB
patch
obsolete
>Index: games/libretro-cores/files/patch-beetle-pcfx-libretro-mednafen-sound-OwlResampler.cpp >=================================================================== >--- games/libretro-cores/files/patch-beetle-pcfx-libretro-mednafen-sound-OwlResampler.cpp (nonexistent) >+++ games/libretro-cores/files/patch-beetle-pcfx-libretro-mednafen-sound-OwlResampler.cpp (working copy) >@@ -0,0 +1,38 @@ >+--- beetle-pcfx-libretro/mednafen/sound/OwlResampler.cpp.orig 2015-10-16 02:50:34.000000000 +0200 >++++ beetle-pcfx-libretro/mednafen/sound/OwlResampler.cpp 2016-01-23 21:47:18.614641000 +0100 >+@@ -346,7 +346,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" >+@@ -384,7 +384,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 >+ >+@@ -451,7 +451,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" >+@@ -472,7 +472,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: games/libretro-cores/files/patch-beetle-pcfx-libretro-mednafen-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
Flags:
koobs
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 206542
: 166028