[flac-dev] PATCH: OS SSE support detection, version 2
lvqcl
lvqcl.mail at gmail.com
Sat Mar 15 00:54:23 PDT 2014
Erik de Castro Lopo wrote:
> It looks like I applied the the part1 patch and didn't apply the
> part2 patch.
>
> Please check commit 99d5154f436b389758d6a9020e448b8dbedb14bc.
>
Well, it's part2 as far as i can see...
My message contained 2 attached files:
1) cpu_part1.patch that begins with
diff --git a/src/libFLAC/cpu.c b/src/libFLAC/cpu.c
index 43592ad..ec390d5 100644
--- a/src/libFLAC/cpu.c
+++ b/src/libFLAC/cpu.c
@@ -142,7 +142,7 @@ static const unsigned FLAC__CPUINFO_IA32_CPUID_EXTENDED_AMD_EXTMMX = 0x00400000;
# define USE_TRY_CATCH_FLAVOR /* sigill_handler flavor resulted in several crash reports on win32 */
# ifdef USE_TRY_CATCH_FLAVOR
# else
- LONG CALLBACK sigill_handler_sse_os(EXCEPTION_POINTERS *ep)
+ LONG WINAPI sigill_handler_sse_os(EXCEPTION_POINTERS *ep)
2) and cpu_part2.patch that begins with
diff --git a/src/libFLAC/cpu.c b/src/libFLAC/cpu.c
index ec390d5..df97789 100644
--- a/src/libFLAC/cpu.c
+++ b/src/libFLAC/cpu.c
@@ -151,6 +151,23 @@ static const unsigned FLAC__CPUINFO_IA32_CPUID_EXTENDED_AMD_EXTMMX = 0x00400000;
return EXCEPTION_CONTINUE_SEARCH;
}
# endif
+# elif defined(_WIN32) && defined(__GNUC__)
+# undef USE_FXSR_FLAVOR
+# ifdef USE_FXSR_FLAVOR
More information about the flac-dev
mailing list