[PATCH] D31573: [Builtins] Add IEEE 754 support for __fixunsxfti

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 3 15:31:35 PDT 2017


efriedma added inline comments.


================
Comment at: lib/builtins/int_types.h:72
+#define HAS_80_BIT_LONG_DOUBLE 1
+#endif
 typedef int      ti_int __attribute__ ((mode (TI)));
----------------
weimingz wrote:
> efriedma wrote:
> > 32-bit x86 Linux/Mac/Windows/etc. targets have 80-bit long double, but no __int128_t support.
> the lib routines like fixunsxfti.c, floattixf.c  etc are guarded by CRT_HAS_128BIT(that is __LP64__)  macro.
The routines you mention are guarded by CRT_HAS_128BIT, but other 80-bit float routines aren't, e.g. __fixxfdi.


https://reviews.llvm.org/D31573





More information about the llvm-commits mailing list