pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/emulators/visualboyadvance-m
Module Name: pkgsrc
Committed By: nia
Date: Thu May 20 06:45:07 UTC 2021
Modified Files:
pkgsrc/emulators/visualboyadvance-m: distinfo
Added Files:
pkgsrc/emulators/visualboyadvance-m/patches:
patch-src_filters_xBRZ_xbrz.cpp
Log Message:
visualboyadvance-m: remove broken ASM checks
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/visualboyadvance-m/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/emulators/visualboyadvance-m/patches/patch-src_filters_xBRZ_xbrz.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/emulators/visualboyadvance-m/distinfo
diff -u pkgsrc/emulators/visualboyadvance-m/distinfo:1.1 pkgsrc/emulators/visualboyadvance-m/distinfo:1.2
--- pkgsrc/emulators/visualboyadvance-m/distinfo:1.1 Sun Jun 14 07:45:49 2020
+++ pkgsrc/emulators/visualboyadvance-m/distinfo Thu May 20 06:45:07 2021
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2020/06/14 07:45:49 ryoon Exp $
+$NetBSD: distinfo,v 1.2 2021/05/20 06:45:07 nia Exp $
SHA1 (visualboyadvance-m-2.1.4.tar.gz) = bf6e452b53f47e2fbc4e6e41c92f567aa285cdbe
RMD160 (visualboyadvance-m-2.1.4.tar.gz) = 21193576c07516d615379d7b5ecfb9e2a5c72c5b
SHA512 (visualboyadvance-m-2.1.4.tar.gz) = 9070715797c6be1648661019f236eb9328eb409f52e80e15aac52d814cf4155cf1ea37c230557c1288f152f0d27d838b11bee38679787a8d5198ca81f173d896
Size (visualboyadvance-m-2.1.4.tar.gz) = 3891574 bytes
+SHA1 (patch-src_filters_xBRZ_xbrz.cpp) = fcd461305ee5b88df27291a2f3fffbeeb1a25f13
Added files:
Index: pkgsrc/emulators/visualboyadvance-m/patches/patch-src_filters_xBRZ_xbrz.cpp
diff -u /dev/null pkgsrc/emulators/visualboyadvance-m/patches/patch-src_filters_xBRZ_xbrz.cpp:1.1
--- /dev/null Thu May 20 06:45:07 2021
+++ pkgsrc/emulators/visualboyadvance-m/patches/patch-src_filters_xBRZ_xbrz.cpp Thu May 20 06:45:07 2021
@@ -0,0 +1,27 @@
+$NetBSD: patch-src_filters_xBRZ_xbrz.cpp,v 1.1 2021/05/20 06:45:07 nia Exp $
+
+Remove broken ASM checks.
+
+--- src/filters/xBRZ/xbrz.cpp.orig 2019-10-02 14:17:30.000000000 +0000
++++ src/filters/xBRZ/xbrz.cpp
+@@ -66,20 +66,7 @@ uint32_t gradientARGB(uint32_t pixFront,
+
+ inline double fastSqrt(double n)
+ {
+-#ifdef __GNUC__ || __clang__ || __MINGW64_VERSION_MAJOR || __MINGW32_MAJOR_VERSION
+- __asm__ ("fsqrt" : "+t" (n));
+- return n;
+-#elif _MSC_VER && _M_IX86
+- // speeds up xBRZ by about 9% compared to std::sqrt which internally uses
+- // the same assembler instructions but adds some "fluff"
+- __asm {
+- fld n
+- fsqrt
+- }
+-#else // _MSC_VER && _M_X64 OR other platforms
+- // VisualStudio x86_64 does not allow inline ASM
+ return std::sqrt(n);
+-#endif
+ }
+
+
Home |
Main Index |
Thread Index |
Old Index