[PATCH 3/5] checksum: use pre increment.
Martin Mares
mj at ucw.cz
Sun Apr 25 23:33:49 CEST 2010
> Some archs(RISC like archs) can do pre increment and load
> in one insn but gcc optimization often fails to take advantage
> of that. Help gcc to do the right thing by using pre increment
> instead of post increment.
This one is a little bit dubious, I would rather not twist the code
so much in order to help a specific version of GCC. I guess that this
will vary wildly between GCC versions.
Have a nice fortnight
--
Martin `MJ' Mares <mj at ucw.cz> http://mj.ucw.cz/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"This is an object-oriented system. If we change anything, the users object."
More information about the Bird-users
mailing list