- Sync goom emms clang patch with the one from
multimedia/gstreamer-plugins-good, removing #ifdef __clang__. - No PORTREVISION bump as there should be no functional change. Submitted by: dim Obtained from: multimedia/gstreamer-plugins-good/files/patch-gst_goom_mmx.h
This commit is contained in:
parent
8c2c7ef1b0
commit
5a07305282
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335109
@ -1,32 +1,18 @@
|
|||||||
--- src/post/goom/mmx.h.orig
|
--- src/post/goom/mmx.h.orig
|
||||||
+++ src/post/goom/mmx.h
|
+++ src/post/goom/mmx.h
|
||||||
@@ -721,17 +721,29 @@ void zoom_filter_xmmx (int prevX, int pr
|
@@ -725,13 +725,13 @@ void zoom_filter_xmmx (int prevX, int pr
|
||||||
*/
|
|
||||||
#ifdef MMX_TRACE
|
|
||||||
|
|
||||||
+#ifdef __clang__
|
|
||||||
+#define emms() \
|
|
||||||
+ { \
|
|
||||||
+ printf("emms()\n"); \
|
|
||||||
+ __asm__ __volatile__ ("emms"); \
|
|
||||||
+ }
|
|
||||||
+#else
|
|
||||||
#define emms() \
|
|
||||||
{ \
|
{ \
|
||||||
printf("emms()\n"); \
|
printf("emms()\n"); \
|
||||||
__asm__ __volatile__ ("emms" \
|
__asm__ __volatile__ ("emms" \
|
||||||
"st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)"); \
|
- "st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)"); \
|
||||||
|
+ "st","st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)"); \
|
||||||
}
|
}
|
||||||
+#endif
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
+#ifdef __clang__
|
|
||||||
+#define emms() __asm__ __volatile__ ("emms")
|
|
||||||
+#else
|
|
||||||
#define emms() __asm__ __volatile__ ("emms"::: \
|
#define emms() __asm__ __volatile__ ("emms"::: \
|
||||||
"st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)")
|
- "st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)")
|
||||||
+#endif
|
+ "st","st(1)","st(2)","st(3)","st(4)","st(5)","st(6)","st(7)")
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user