Message175353
> Unaligned accesses are not a problem on x86(-64), but they will segfault
(bus error, IIRC) on other architectures such as SPARC, unfortunately.
On x86(-64) this kills performance and makes the optimization be senseless.
> FWIW, on x86/x64 gcc often generates identical code for x = y and
memcpy(x, y, 8).
The code can be identical, but the time will differ significantly for aligned and non-aligned data. |
|
Date |
User |
Action |
Args |
2012-11-11 12:20:51 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, tim.peters, gregory.p.smith, jcea, mark.dickinson, pitrou, christian.heimes, skrah |
2012-11-11 12:20:51 | serhiy.storchaka | set | messageid: <1352636451.48.0.0723873299569.issue16427@psf.upfronthosting.co.za> |
2012-11-11 12:20:51 | serhiy.storchaka | link | issue16427 messages |
2012-11-11 12:20:51 | serhiy.storchaka | create | |
|