summaryrefslogtreecommitdiffstats
path: root/cpuinfo.c
diff options
context:
space:
mode:
authorzuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-21 07:47:53 +0000
committerzuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-21 07:47:53 +0000
commit69c29620c5d6de754c4a639c2d7657063e896cef (patch)
tree5cd0215e709583665160bac2d01eb82b7ac32196 /cpuinfo.c
parent92d79f93cb4cb2c37fbe2c0ad6d1fc3910ba51e5 (diff)
downloadmpv-69c29620c5d6de754c4a639c2d7657063e896cef.tar.bz2
mpv-69c29620c5d6de754c4a639c2d7657063e896cef.tar.xz
10l: cosmetic: more trailing whitespaces removed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23364 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cpuinfo.c')
-rw-r--r--cpuinfo.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpuinfo.c b/cpuinfo.c
index be003a55d0..5649ce8ddd 100644
--- a/cpuinfo.c
+++ b/cpuinfo.c
@@ -51,7 +51,7 @@ cpuid(int func) {
#ifdef __x86_64__
asm("mov %%rbx, %%rsi\n\t"
#else
- asm("mov %%ebx, %%esi\n\t"
+ asm("mov %%ebx, %%esi\n\t"
#endif
CPUID"\n\t"
#ifdef __x86_64__
@@ -125,7 +125,7 @@ main(int argc, char **argv)
store32(idstr+4, regs.edx);
store32(idstr+8, regs.ecx);
idstr[12] = 0;
- printf("vendor_id\t: %s\n", idstr);
+ printf("vendor_id\t: %s\n", idstr);
regs_ext = cpuid((1<<31) + 0);
max_ext_cpuid = regs_ext.eax;
@@ -269,7 +269,7 @@ main(int argc, char **argv)
model_name = "Intel (R) Celeron (R) processor";
else
model_name = brandname(regs.ebx & 0xf);
- }
+ }
printf("flags\t\t:");
for (i = 0; cap[i].bit >= 0; i++) {
@@ -286,7 +286,7 @@ main(int argc, char **argv)
it is not indicated by a CPUID feature bit, so we
have to check the family, model and stepping instead. */
if (strstr(idstr, "AMD") &&
- family == 5 &&
+ family == 5 &&
(model >= 9 || model == 8 && stepping >= 8))
printf(" %s", "k6_mtrr");
/* similar for cyrix_arr. */
@@ -297,7 +297,7 @@ main(int argc, char **argv)
if (strstr(idstr, "Centaur") &&
family == 5)
printf(" %s", "centaur_mcr");
-
+
for (i = 0; cap_amd[i].bit >= 0; i++) {
if (amd_flags & (1 << cap_amd[i].bit)) {
printf(" %s", cap_amd[i].desc);
@@ -337,5 +337,5 @@ main(int argc, char **argv)
if (model_name)
printf("%s\n", model_name);
else
- printf("Unknown %s CPU\n", idstr);
+ printf("Unknown %s CPU\n", idstr);
}