On 18/03/11 13:26, Georg-Johann Lay wrote:
note that the last moves are two QI moves, the add is HI.
Yes, correct, this seems to cause some confusion on gcc side then... humm!
Without splitting HI the moves will disappear, try -fno-split-wide-types.
It does work! It's enabled by -O1, maybe it should be disabled by -Os if it improves the code size consistently.
Try newer version of gcc, like 4.5.2
Thanks, I will. Hopefully it will do the optimisation out of the box without the need for the extra option.
Cheers, -- PMatos