summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2016-12-04 17:41:40 +1100
committerErik de Castro Lopo <erikd@mega-nerd.com>2016-12-04 17:41:45 +1100
commit8a78aad1b999719abad88630f45e04fbb76a6a0b (patch)
tree0b716015cf39e50f13ad7afc7bed57c104506628
parent1abd8794ca2fe6e371b7d512c8a2ab3876d891d2 (diff)
downloadflac-8a78aad1b999719abad88630f45e04fbb76a6a0b.tar.gz
libFLAC/cpu.c: Whitespace fixes
Patch-from : lvqcl.mail <lvqcl.mail@gmail.com>
-rw-r--r--src/libFLAC/cpu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libFLAC/cpu.c b/src/libFLAC/cpu.c
index ee484a7f..220bd058 100644
--- a/src/libFLAC/cpu.c
+++ b/src/libFLAC/cpu.c
@@ -112,7 +112,7 @@ ia32_cpu_info (FLAC__CPUInfo *info)
return;
#endif
/* http://www.sandpile.org/x86/cpuid.htm */
- if (FLAC__HAS_X86INTRIN) {
+ if (FLAC__HAS_X86INTRIN) {
FLAC__cpu_info_x86(0, &flags_eax, &flags_ebx, &flags_ecx, &flags_edx);
info->ia32.intel = (flags_ebx == 0x756E6547 && flags_edx == 0x49656E69 && flags_ecx == 0x6C65746E) ? true : false; /* GenuineIntel */
FLAC__cpu_info_x86(1, &flags_eax, &flags_ebx, &flags_ecx, &flags_edx);
@@ -130,8 +130,8 @@ ia32_cpu_info (FLAC__CPUInfo *info)
info->ia32.sse41 = (flags_ecx & FLAC__CPUINFO_IA32_CPUID_SSE41) ? true : false;
info->ia32.sse42 = (flags_ecx & FLAC__CPUINFO_IA32_CPUID_SSE42) ? true : false;
- if (FLAC__HAS_X86INTRIN && FLAC__AVX_SUPPORTED) {
- ia32_osxsave = (flags_ecx & FLAC__CPUINFO_IA32_CPUID_OSXSAVE) ? true : false;
+ if (FLAC__HAS_X86INTRIN && FLAC__AVX_SUPPORTED) {
+ ia32_osxsave = (flags_ecx & FLAC__CPUINFO_IA32_CPUID_OSXSAVE) ? true : false;
info->ia32.avx = (flags_ecx & FLAC__CPUINFO_IA32_CPUID_AVX ) ? true : false;
info->ia32.fma = (flags_ecx & FLAC__CPUINFO_IA32_CPUID_FMA ) ? true : false;
FLAC__cpu_info_x86(7, &flags_eax, &flags_ebx, &flags_ecx, &flags_edx);
@@ -194,7 +194,7 @@ x86_64_cpu_info (FLAC__CPUInfo *info)
info->x86.sse42 = (flags_ecx & FLAC__CPUINFO_IA32_CPUID_SSE42) ? true : false;
if (FLAC__AVX_SUPPORTED) {
- x86_osxsave = (flags_ecx & FLAC__CPUINFO_IA32_CPUID_OSXSAVE) ? true : false;
+ x86_osxsave = (flags_ecx & FLAC__CPUINFO_IA32_CPUID_OSXSAVE) ? true : false;
info->x86.avx = (flags_ecx & FLAC__CPUINFO_IA32_CPUID_AVX ) ? true : false;
info->x86.fma = (flags_ecx & FLAC__CPUINFO_IA32_CPUID_FMA ) ? true : false;
FLAC__cpu_info_x86(7, &flags_eax, &flags_ebx, &flags_ecx, &flags_edx);