This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Why does __float80 depend on -mmmx/-msse?
- From: Ian Lance Taylor <iant at google dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: 26 Jun 2006 14:09:36 -0700
- Subject: Re: Why does __float80 depend on -mmmx/-msse?
- References: <20060626203136.GA10840@lucon.org>
"H. J. Lu" <hjl@lucon.org> writes:
> There are
>
> ix86_init_mmx_sse_builtins ()
> {
> ..
> /* The __float80 type. */
> if (TYPE_MODE (long_double_type_node) == XFmode)
> (*lang_hooks.types.register_builtin_type) (long_double_type_node,
> "__float80");
> else
> {
> /* The __float80 type. */
> float80_type = make_node (REAL_TYPE);
> TYPE_PRECISION (float80_type) = 80;
> layout_type (float80_type);
> (*lang_hooks.types.register_builtin_type) (float80_type,
> "__float80");
> }
>
> That means __float80 is only available when -mmmx/-msse is used for
> 32bit compiler. Why does __float80 have to depend on -mmmx/-msse?
As far as I can see, it doesn't. On the other hand, as far as I can
see, __float80 is undocumented and unused for the i386. Why does it
exist?
Ian