Skip to content
Snippets Groups Projects
  1. Jun 10, 2008
    • Joseph Myers's avatar
      dfp.c (WORDS_BIGENDIAN): Define to 0 if not defined. · bc6d4c3f
      Joseph Myers authored
      gcc:
      	* dfp.c (WORDS_BIGENDIAN): Define to 0 if not defined.
      	(encode_decimal64, decode_decimal64, encode_decimal128,
      	decode_decimal128): Reverse order of 32-bit parts of value if host
      	and target endianness differ.
      
      libdecnumber:
      	* dconfig.h: New.
      	* decContext.c, decExcept.c, decExcept.h, decLibrary.c,
      	decNumber.c, decNumberLocal.h, decRound.c, dpd/decimal128.c,
      	dpd/decimal32.c, dpd/decimal64.c: Include dconfig.h not config.h.
      	* dpd/decimal128Local.h (decimal128SetSign, decimal128ClearSign,
      	decimal128FlipSign): Use WORDS_BIGENDIAN not
      	FLOAT_WORDS_BIG_ENDIAN.
      	* bid/host-ieee128.c: Include dconfig.h.
      	(__host_to_ieee_128, __ieee_to_host_128): Swap 64-bit halves of
      	value if WORDS_BIGENDIAN.
      
      libgcc:
      	* Makefile.in (DECNUMINC): Remove
      	-I$(MULTIBUILDTOP)../../libdecnumber.
      	* gstdint.h: New.
      
      From-SVN: r136641
      bc6d4c3f
Loading