Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2012 21:25:32 -0500 (CDT)
From:      Robert Bonomi <bonomi@mail.r-bonomi.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: profiling library smaller than non-profiling, while it contains more symbols. Why?
Message-ID:  <201207130225.q6D2PWvE046140@mail.r-bonomi.com>
In-Reply-To: <20120712225218.GA69013@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

> Date: Thu, 12 Jul 2012 23:52:18 +0100
> From: Anton Shterenlikht <mexas@bristol.ac.uk>
> Subject: Re: profiling library smaller than non-profiling,
> 	while it contains more symbols. Why?
>
> Also, the library compiled on amd64 has lots more
> symbols than if compiled on ia64.

This is _not_ unexpected with different processor architectures, and thus
different instruction sets.

Speculation: the values lfor the .LC* variables look like bit-masks -- it 
may be that ia64 has opcodes that allow immediate operannds, obviating
the need for a 'data' consntat in memory.

"Something" in the source causes different processor-specific code to be
generated -- one processor uses 'data' constants, the other doesn't.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207130225.q6D2PWvE046140>