Messages in this thread | | | Date | Mon, 25 Jun 2007 03:41:08 +0200 | From | Rene Herman <> | Subject | Re: -Os versus -O2 |
| |
On 06/25/2007 03:33 AM, david@lang.hm wrote:
> is the list of what's included in -O2 vs -Os different for different > CPU's? what about within a single family of processors? (even in the x86 > family the costs of jumps, loops, and cache misses varies drasticly)
At least not in the example Duron/Athlon case. Both -march=athlon{,-4) but 64K versus 256K L2 which I'd expect to be an important difference in the -Os versus -O2 behaviour.
Rene. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |