This is the mail archive of the gcc-patches@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: [patch i386 libgcc]: Enable support for __float128 (TFmode) IEEE quad type for x86/x64 mingw targets


2009/6/21 Kai Tietz <ktietz70@googlemail.com>:
> Hello,
>
> this patch enable the 128-bit floating pointer feature for the x86 and
> x64 mingw targets. I added to the mingw32.h file the defines to enable
> the TFmode for it. I am a bit curious about that for cygwin those
> defines aren't necessary (at least the cygwin's patch was applied in
> front and as told should work). Dave could you verify this?
>
> I tested this patch for i686-pc-mingw32 and for x86_64-pc-mingw32
> without having regressions.
>
> ChangeLog for gcc
>
> 2009-06-21 ?Kai Tietz ?<kai.tietz@onevision.com>
>
> ? ? ? ?* config.gcc: Add for x86 and x64 mingw targets t-fprules-soft
> ? ? ? ?and t-softfp support.
> ? ? ? ?* config/i386/mingw32.h (LIBGCC2_HAS_TF_MODE): Enable TFmode.
> ? ? ? ?(LIBGCC2_TF_CEXT): Define.
> ? ? ? ?(TF_SIZE): Define.
>
> ChangeLog for libgcc
>
> ? ? ? ?* config.host: Add soft emulation for x86 and x64 mingw targets.
> ? ? ? ?* config/i386/64/_divtc3.c: Disable for mingw targets usage of
> ? ? ? ?.symver assembly symbol.
> ? ? ? ?* config/i386/64/_multc3.c: Likewise.
> ? ? ? ?* config/i386/64/_powitf2.c: Likewise.
> ? ? ? ?* config/i386/64/eqtf2.c: Likewise.
> ? ? ? ?* config/i386/64/getf2.c: Likewise.
> ? ? ? ?* config/i386/64/letf2.c: Likewise.
> ? ? ? ?* config/i386/64/letf2.c: Likewise.
> ? ? ? ?* config/i386/64/sfp-machine.h (_FP_W_TYPE): Define it
> ? ? ? ?for x64 mingw target as unsigned long long.
> ? ? ? ?(_FP_WS_TYPE): Define it for x64 mingw target as signed long
> ? ? ? ?long.
> ? ? ? ?(_FP_I_TYPE): Define it for x64 mingw target as long long.
>
>
> Is this patch ok for apply on trunk?
>
> Cheers,
> Kai
>
> --
> | ?(\_/) This is Bunny. Copy and paste
> | (='.'=) Bunny into your signature to help
> | (")_(") him gain world domination
>

Committed at revision 148799. Approved by Ian via IRC and pre-approved by Uros.

Thanks,
Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination


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