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] introduce __FLOAT_WORD_ORDER__ in lieu of LIBGCC2_FLOAT_WORDS_BIG_ENDIAN


On 11/22/2010 05:05 AM, Nathan Froyd wrote:
> Just as $SUBJECT suggests.  The only target where this could possibly
> matter is ARM, since it has a non-trivial implementation of
> FLOAT_WORDS_BIG_ENDIAN.  However, as discussed in:
> 
>   http://gcc.gnu.org/ml/gcc/2010-11/msg00393.html
> 
> the ARM ABI doesn't implement decimal floats (so ARM is not affected by
> the libdecnumber/libbid changes) and contains its own custom FP
> functions, so any FP-related changes don't matter either.
> 
> Tested on x86_64-unknown-linux-gnu.  OK to commit?
> 
> -Nathan
> 
> gcc/
>     	* cppbuiltin.c (define_builtin_macros_for_type_sizes): Define
>     	__FLOAT_WORD_ORDER__ according to FLOAT_WORDS_BIG_ENDIAN.
>     	* config/dfp-bit.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Delete.
>     	* doc/cpp.texi (__FLOAT_WORD_ORDER__): Document.
>     	* system.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Poison.
>     
> libgcc/
>     	* config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
>     	__FLOAT_WORD_ORDER__.
>     	* config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
>     	Delete.
>     
> libdecnumber/
>     	* dconfig.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Delete.
>     	(WORDS_BIG_ENDIAN): Define based on value of __FLOAT_WORD_ORDER__.

Ok.


r~


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