This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: make gcov counters 64bit take 2


On Thu, Jun 14, 2001 at 04:46:21PM +0200, Jan Hubicka wrote:
> updated patch. Now chooses the GCOV_TYPE_SIZE as LONG_TYPE_SIZE if it is
> greater or equal to 64. Otherwise LONG_LONG_TYPE_SIZE is used.
> This way 72bit long targets noted by Lars will be happy.

One thing -- GCOV_TYPE_SIZE should be overridable by the target.

At some point we need the option to generate atomic updates to
the counters so that we can collect profile data for threaded
programs.  Since we're annotating those edges off the minimal 
spanning tree, any missed updates means we can't solve the 
graph.  The target may not be able to do atomic updates on a
64-bit counter.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]