This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: ldq and stq on UltraSparc I and II


On Tue, Apr 30, 2002 at 02:11:12PM -0700, David O'Brien wrote:
> I found that GCC 3.1 uses ldq and stq to load long doubles w/HARD_QUAD.
> The problem is UltraSparc I and II CPU's do not have the instructions in
> silicon.  FreeBSD has now emulated them, but of course there is a
> performance hit.  Should the sparc description be changed to not use
> these CPU's?

No.  -mhard-quad-float asserts that all of these instructions are available.

If you're concerned about performance, add the soft float routines to your
libc, then turn off -mhard-quad-float entirely.


r~


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