Mercurial > mplayer.hg
changeset 23346:932c22238e5d
10l: cosmetic: more trailing whitespaces removed
author | zuxy |
---|---|
date | Mon, 21 May 2007 07:47:53 +0000 |
parents | ec89cf1d721e |
children | eac98da72763 |
files | cpuinfo.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/cpuinfo.c Mon May 21 07:46:23 2007 +0000 +++ b/cpuinfo.c Mon May 21 07:47:53 2007 +0000 @@ -51,7 +51,7 @@ #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 @@ 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 @@ 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 @@ 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 @@ 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 @@ if (model_name) printf("%s\n", model_name); else - printf("Unknown %s CPU\n", idstr); + printf("Unknown %s CPU\n", idstr); }