2006/1/27, Nigel Stephens <nigel@xxxxxxxx>: > > Not that I'm a Linux hacker, but aren't those separate things? Can't you > compile with -march=4ksd to get the CPU-specific compiler optimisations, > but then use the more generic CONFIG_CPU_MIPSR2 and/or > CONFIG_CPU_SMARTMIPS to select the appropriate code inside the kernel > source (i.e. no need for CONFIG_CPU_4KSD)? > To use -march=4ksd, you need to tell to the building process that you're using a 4KSD cpu. The only way to do that is to define a new CPU_4KSD. But, if I understood mips configuration script, you cannot define CPU_4KSD _and_ CPU_MIPS32R2 at the same time; at least easily. Thanks -- Franck