Eric Dumazet <dada1@cosmosbay.com> writes:I would have expected 1997 compilers to already do these standard muliplication optimizations. To be fair Linux runs on a lot of CPUs which are not quite as fast at multiplying as an Opteron, especially not for 64bit multiplies. So some optimizations might be still a good idea. For divisions at least Linux also actively does this. On the other hand compilers also get worse. Modern gccs now turn while (nsec >= NANOSEC) { nsec -= NANOSEC; sec++; } into a division which is actually much slower. Or insert unnecessary cache misses randomly. See the recent gcc thread safety discussion where it turned out that the thread breaking optimization is actually more a general pessimization. -Andi -
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Randy Dunlap | Re: 2.6.25-mm1 (build error: driver core) |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Winkler, Tomas | RE: iwlwifi: fix build bug in "iwlwifi: fix LED stall" |
| Johann Baudy | Packet mmap: TX RING and zero copy |
