This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ldq and stq on UltraSparc I and II
- From: Richard Henderson <rth at redhat dot com>
- To: "David O'Brien" <obrien at FreeBSD dot org>
- Cc: gcc at gcc dot gnu dot org, davem at redhat dot com
- Date: Tue, 30 Apr 2002 14:15:53 -0700
- Subject: Re: ldq and stq on UltraSparc I and II
- References: <20020430141112.A78266@dragon.nuxi.com>
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~