Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Stefan Strogin
flac
Commits
85c902fb
Commit
85c902fb
authored
Jun 27, 2016
by
Erik de Castro Lopo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libFLAC/cpu.c: More MSVC fixes
With help from lvqcl <lvqcl.mail@gmail.com>
parent
a08e90c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
src/libFLAC/cpu.c
src/libFLAC/cpu.c
+7
-3
No files found.
src/libFLAC/cpu.c
View file @
85c902fb
...
...
@@ -122,7 +122,7 @@ static void sigill_handler_sse_os(int signal, siginfo_t *si, void *uc)
}
#endif
#if defined FLAC__CPU_IA32
|| defined FLAC__CPU_X86_64
#if defined FLAC__CPU_IA32
static
void
ia32_disable_sse
(
FLAC__CPUInfo
*
info
)
{
...
...
@@ -141,7 +141,9 @@ ia32_disable_avx(FLAC__CPUInfo *info)
info
->
ia32
.
avx2
=
false
;
info
->
ia32
.
fma
=
false
;
}
#endif
#if defined FLAC__CPU_X86_64
static
void
x86_64_disable_avx
(
FLAC__CPUInfo
*
info
)
{
...
...
@@ -149,7 +151,9 @@ x86_64_disable_avx(FLAC__CPUInfo *info)
info
->
x86
.
avx2
=
false
;
info
->
x86
.
fma
=
false
;
}
#endif
#if defined FLAC__CPU_IA32 || defined FLAC__CPU_X86_64
static
uint32_t
cpu_xgetbv_x86
(
void
)
{
...
...
@@ -168,7 +172,7 @@ cpu_xgetbv_x86(void)
static
void
ia32_cpu_info
(
FLAC__CPUInfo
*
info
)
{
#if !defined FLAC__CPU_IA32
&& !defined FLAC__CPU_X86_64
#if !defined FLAC__CPU_IA32
(
void
)
info
;
return
;
#else
...
...
@@ -362,7 +366,7 @@ ia32_cpu_info (FLAC__CPUInfo *info)
static
void
x86_64_cpu_info
(
FLAC__CPUInfo
*
info
)
{
#if !defined
FLAC__CPU_IA32 && !defined
FLAC__CPU_X86_64
#if !defined FLAC__CPU_X86_64
(
void
)
info
;
return
;
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment