Henri Moilanen wrote:
Hello,
I thought you might be interested in following. There was this "feature"
that gcc did not generate autoincrementing addresses for byte accesses. I
looked at it and got it fixed imho. Now it seems to produce a bit more
optimized code. Code looks good for my eyes, but please review the patch.
Also included in the patch is a fix for a case where negation of a 32-bit
operand generates some unnecessary movs. Now the code generated looks
again fine. But please review...
The patch was for gcc-core 3.3.6
Do you have a test case for this? some code than generates the "feature"
and the fixed output from the compiler? the output from --save-temps
(the .i file) are useful.
Thanks,
--
Peter Jansen
STS
Antarctic Division
203 Channel Highway
Kingston
TAS 7050
AUSTRALIA
Phone +61 3 6232 3533
___________________________________________________________________________
Australian Government Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not
the
intended recipient, you are notified that use or dissemination of this
communication is
strictly prohibited by Commonwealth law. If you have received this transmission
in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232
3209 and
DELETE the message.
Visit our web site at http://www.aad.gov.au/
___________________________________________________________________________