Displaying 8 results from an estimated 8 matches for "flac__avx_support".
Did you mean:
flac__avx_supported
2016 Jun 26
4
FLAC__SSE_OS change
...added share/compat.h.
> When I fix this, the following problem occurs:
>
> error LNK2019: unresolved external symbol ___cpuidex referenced in function _FLAC__cpu_info_x86 libflac_static.lib
> fatal error LNK1120: 1 unresolved externals flac.exe
>
> The code
>
> if (FLAC__AVX_SUPPORTED)
> __cpuidex(cpuinfo, level, 0); /* for AVX2 detection */
> else
> __cpuid(cpuinfo, level); /* some old compilers don't support __cpuidex */
>
> adds reference to __cpuidex() even though MSVC2005 doesn't have it
> (according to MSDN, it was added...
2017 Jan 09
2
1.3.2: FLAC__CPUINFO_IA32_CPUID_SSE3 undeclared
...2' undeclared (first use in this
function)
This is a result on inconsistent #if guards in src/libFLAC/cpu.c,
combined with an old compiler (GCC 4.2.1) that doesn't have
x86intrin.h.
Specifically, the definition of FLAC__CPUINFO_IA32_CPUID_SSE3 etc.
is guarded by
#if FLAC__HAS_X86INTRIN || FLAC__AVX_SUPPORTED
However, the later use in ia32_cpu_info is guarded by
#if !defined FLAC__NO_ASM && (defined FLAC__HAS_NASM || FLAC__HAS_X86INTRIN)
In our case, we have
FLAC__HAS_NASM 1
FLAC__HAS_X86INTRIN 0
FLAC__AVX_SUPPORTED 0
--
Christian "naddy" Weisgerber naddy...
2016 Jun 26
1
FLAC__SSE_OS change
lvqcl wrote:
> No, MSVC 2015 is also affected. I renamed __cpuid() to __cpuid22(),
I thought the original problem was with `___cpuidex`, not `__cpuid`!
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
2016 Jun 26
5
FLAC__SSE_OS change
First off, this code is horrible to read and work on. The recent commits
are the first of what I hope is a massive clean up of this code.
lvqcl wrote:
> So if I understand things correctly, the current meaning of --(en|dis)able-sse is:
>
> on Linux:
> --enable-sse:
> add -msse2 to the compiler switches
> do not test SSE OS support (assume that SSE is
2016 Jun 26
2
FLAC__SSE_OS change
lvqcl wrote:
> No, FLAC__AVX_SUPPORTED is 0 (initially it's undefined, then inside cpu.h
> it's defined as 0).
>
> MSVC cannot discard unused references in debug builds and when LTCG is on,
> for example: <http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2016-April/193437.html>
>
> And currently LTCG is...
2016 Jun 26
2
FLAC__SSE_OS change
lvqcl wrote:
> No, FLAC__AVX_SUPPORTED is 0 (initially it's undefined, then inside cpu.h
> it's defined as 0).
>
> MSVC cannot discard unused references in debug builds and when LTCG is on,
> for example: <http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2016-April/193437.html>
>
> And currently LTCG is...
2017 Jan 02
2
FLAC 1.3.2 has been released
...iff --git a/src/libFLAC/cpu.c b/src/libFLAC/cpu.c
index b9df19a..808d55d 100644
--- a/src/libFLAC/cpu.c
+++ b/src/libFLAC/cpu.c
@@ -269,9 +269,9 @@ void FLAC__cpu_info_x86(FLAC__uint32 level, FLAC__uint32 *eax, FLAC__uint32 *ebx
__cpuid(cpuinfo, ext);
if((unsigned)cpuinfo[0] >= level) {
#if FLAC__AVX_SUPPORTED
- __cpuidex(cpuinfo, ext, 0); /* for AVX2 detection */
+ __cpuidex(cpuinfo, level, 0); /* for AVX2 detection */
#else
- __cpuid(cpuinfo, ext); /* some old compilers don't support __cpuidex */
+ __cpuid(cpuinfo, level); /* some old compilers don't support __cpuidex */
#endif
*ea...
2017 Jan 01
12
FLAC 1.3.2 has been released
Hi all,
The latest version of FLAC has been releases. See:
https://xiph.org/flac/index.html
https://xiph.org/flac/changelog.html
The source tarball and Windows binaries are available (with
md5 and sha256 checksums) at:
http://downloads.xiph.org/releases/flac/
The source tarball is also available at:
https://sourceforge.net/projects/flac/files/flac-src/
and similarly the