[sldev] Alignment and optimizations
Jason Giglio
gigstaggart at gmail.com
Sat Jun 2 12:11:13 PDT 2007
Dzonatas wrote:
> General data alignment is another way to reduce cache pollution, but we
> are aways from that being worthwhile. I've turned on alignment and
> optimizations for more recent processors. With the viewer completely
> compiled that way, I've seen code run 2 to 3 times faster. However, that
> would mean maintenance overhead for separate binaries for similar
> processors, which I've learned has been discussed and passed on.
Would it? How bad is the performance hit on a system it wasn't compiled
for? Is there a "best compromise" CPU that could be optimized for that
has the least negative impact on other CPUs?
-Jason
More information about the SLDev
mailing list