Re: [PATCH] mm/pg-r4k.c: Dump the generated code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 17 Oct 2007, Nigel Stephens wrote:

> Aha, that probably explains it. Franck is using the "SDE for Linux v6.05"
> toolchain, and in that version of GCC -march=mips32r2 implies a default of
> -mtune=24k. Tuning for 24K implies -falign-loops=8 -falign-jumps=8 and
> -falign-functions=8. This is undoubtedly why code compiled with
> "-march=mips32r2 -msmartmips" contains more nops than "-march=4ksd".nIn theory
> the extra nops should also disappear if you compile with -Os instead of -O2.

 Another argument for using "-mtune=" explicitly when tuning for a 
particular CPU implementation is desired. :-)

  Maciej


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux