lkml.org 
[lkml]   [1999]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: CPU options during config
Date
From

> however, there remains an inconsistency between the config menu and the
> help text, which is what i was reporting in the first place. that ought
> to be addressed by someone who knows where K6 really belongs. i'm just
> guessing.
Processors ougth to be sorted by instruction set - even if gcc
don't use all instructions on new processors. It may do so
someday, and the kernel may contain processor #ifdef's with
processor-specific asm-statements.

Processors with the same instruction set may be grouped further by
what compiler optimizations they take advantage of. Optimizations
for different processors are conflicting sometimes.
>
> isn't there any way to capture a software interrupt when these new
> instructions/features are used on an old processor? i've worked on
Sure - 386 and up has a "illegal instruction" exception, but you don't
want the kernel to run emulated instructions - that's bad for performance
and a good reason for having a cpu specific setup.
You may want to provide emulations for user programs though,
floating point math is emulated for 386/486sx for example.

Helge Hafting



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.158 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site