Subject: Re: gcc improvements
To: Ian Dall <Ian.Dall@dsto.defence.gov.au>
From: Jon Buller <jonb@metronet.com>
List: port-pc532
Date: 07/16/1997 21:18:02
Ian Dall wrote:
> I looked back through my archives and found a copy of the message Jon
> sent to Richard Kenner. These patches are not in gcc up to 2.7.2.2.
> Maybe they will be in 2.8. I notice that they are *also* not in the
> netbsd-current source tree! I also noticed that there are some other
> much older differences between the ns32k.md in the netbsd tree and the
> FSF distribution -- notably the ffs instruction definitions. I have merged
> both these changes into my version.
Now wait... I'm sure I SUPed those gcc changes once, if only to
stroke my ego 8-) Maybe I just got a notification in source-changes,
and it went to a different branch? Maybe I have no ability to
remember past events? Maybe...
Perhaps someone should fix the source tree, and/or ping Mr. Kenner.
> I am making good progress with my changes, but still have a few weird
> things to sort out. I have it so gcc recognizes it can combine
> multiply and add into multiply add, but for some reason it recognizes
> the double precision case but not the single precision case. Also it
> missed some apparently obvious opportunities to combine. It appears to
> generate correct inline memcpy code, but in at least one instance,
> puts something in a stack slot when there are perfectly good registers
> not being used!
Cool! I ran into a few hitches (as explained in a previous message) that
I hope you don't... I *think* I thought about merging mul and add, but
figured other things I couldn't solve were more important and easier.
(Maybe I should have tried just a little harder...)
Jon Buller