Profiling on S390

Jan Hubicka jh@suse.cz
Wed Apr 23 19:18:00 GMT 2003


> On Wed, Apr 23, 2003 at 09:45:37AM +0200, Jan Hubicka wrote:
> > > It could, but if you don't have add/load/store insns that don't
> > > clobber CC, then you'll get in trouble with reload too.  Of
> > We can conclude to use some named patterns.  For instance
> > "save_state" "restore_state" to fold profiler code in.  Does this sound
> > plausible?
> 
> No.  How much state are you planning to save?  I think it'd
> make more sense to have an add_nocc pattern instead.
Perhaps, but Zdenek already has come code to measure extra stuff (like
value ranges) that do other thinks than plain add.  How would one
accomplish that?

Honza
> 
> 
> r~



More information about the Gcc mailing list