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/