Mail Archives: pgcc/1999/05/21/09:22:39
On Fri, May 21, 1999 at 10:51:04AM +0200, Jan Hubicka wrote:
> OK... :) So I have to start.
> Just a simple question. As I remember, the latest pgcc patch is relative
> to quite old version of egcs (1.1.x times).
No, there is a cvs repository that is mostly up-to-date, so a patch
relative to the one is fine (a patch relative to egcs-snapshot might even
work)
> while updating patch for new egcs snapshots. Do you have somewhere pgcc patches
> updated for this version, so I can do it there?
At the moment only via cvs (http://www.goof.com/pcg/cvs.html). It contains
all pgcc versions (except 1.1.2 and 1.1.3) and most egcs releases (vendor
branch EGCS).
cvs log gcc/version.c is a nice way to see the tags.
> BTW there are also some of my patches pending and especially the scheduling
> one and one that adds new predicates for i387 operands seems to be quite worthwhile.
> Maybe you might consider adding them into pgcc as well, so they should be
> included in pgcc version corresponding to 2.95.0.
Sure, I have no problems with breaking copyrights or stability issues,
much of the code in pgcc is questionable ;-)
> BTW I was also thinking about using integer unit for fp comparsions. This
> technique seems to help _a lot_ for Pentium (whats situation about ppro?)
> (4.5 MLoops p/s to 8 MLoops for FP loops)
I think its not overwhelming on the ppro, and needs very careful tuning
(as not to create worse code). The ppro has extra instructions to
alliviate this case, however, many people still want to create code that
runs on i586.
> The technique I use for XaoS is macro doing just integer comparsion of two
> float values. This works for nonnegative numbers only, so it is hardly useable
> for gcc (does gcc have any support for determining whether number if nonnegative?)
ieee brainies aside, there is some fast way to do this (I believe), I
have to search through my docs to see wether I can find it and wether its
suitable. ("ha, it only costs two jumps" ;)
if you want range analysis in gcc, yes, that would be cool, but no, gcc
does not have it.
> thinking about adding some new flag (-minteger-fp-comparisons) that can
> use simple scheme, where comparing of two floats is done by substracting them,
> storing result to memory as float and testing the sign bits for comparison
> with 0.
>
> What do you think about this stuff?
Now thats an interesting idea.. Is the speed increase worth the memory
cost?
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg AT goof DOT com |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
- Raw text -