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: Why does __float80 depend on -mmmx/-msse?


"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


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