On Sat, Nov 20, 1999 at 12:48:21PM -0500, Byung Yang wrote:
> I lowered the optimization level from -O6 to -O and now it shows the cpu
Offical GCC Project stance is that levels above -O3 are not offically
supported. Above -O3 are experimental (if they are even paid attention
to). Levels above -
-On [19991120 04:01], Byung Yang ([EMAIL PROTECTED]) wrote:
>as I see the source code, it is not doing what it is supposed to do.. any
>suggestions? (it's not a big deal but still it's a bug)
>I did not modify any of the source codes.
I think someone else suggested lowering the optimisation level
>> printf("CPU: ");
> Look again, the AMD identification can fill cpu_model using cpuid.
>
> The code doesn't appear to have changed lately, so if there is a
> problem it's probably a matter of some processor being incorrectly
> identified as supporting the feature. Or the processor is broken.
I lowered the optimization level from -O6 to -O and now it shows the cpu
name properly. I was using "-O6 -march=pentium" for the optimization flag
before, but would it affect the performance of the kernela lot if I lower
the optimization flag to -O?
On Sat, 20 Nov 1999, Jeroen Ruigrok/Asmodai wr
On Sat, 20 Nov 1999, Byung Yang wrote:
> I lowered the optimization level from -O6 to -O and now it shows the cpu
> name properly. I was using "-O6 -march=pentium" for the optimization flag
> before, but would it affect the performance of the kernela lot if I lower
> the optimization flag to -O?
On Sat, 20 Nov 1999, Byung Yang wrote:
> I lowered the optimization level from -O6 to -O and now it shows the cpu
> name properly. I was using "-O6 -march=pentium" for the optimization flag
> before, but would it affect the performance of the kernela lot if I lower
> the optimization flag to -O?
as I see the source code, it is not doing what it is supposed to do.. any
suggestions? (it's not a big deal but still it's a bug)
I did not modify any of the source codes.
Byung
On Fri, 19 Nov 1999, Jeroen Ruigrok/Asmodai wrote:
> -On [19991119 04:02], Byung Yang ([EMAIL PROTECTED]) wrote:
> >
Byung Yang wrote:
> supped && made world a min ago:
> check out the CPU: name
> I am using AMD K6-2 333Mhz
>
> CPU: \^E (334.40-MHz 586-class CPU)
Hmm, let me guess... probably you are compiling your kernel with -O3 (or
higher)? If so, try to remove /sys/compile/MYKERNEL and compile with -O or w
Jeroen Ruigrok/Asmodai <[EMAIL PROTECTED]> writes:
> Looking at /usr/src/sys/i386/i386/identcpu.c I see that the 0x580 is:
>
> case 0x580:
> strcat(cpu_model, "K6-2");
> break;
>
> Which gets copied into:
>
> printf("CPU: ");
> strncpy(cpu_model, i386_cpus[cpu].cpu_name, sizeof cp
-On [19991119 04:02], Byung Yang ([EMAIL PROTECTED]) wrote:
>supped && made world a min ago:
>check out the CPU: name
>I am using AMD K6-2 333Mhz
>---
>CPU: \^E (334.40-MHz 586-class CPU)
> Origin = "AuthenticAMD" Id = 0x580 Stepping = 0
10 matches
Mail list logo