OSDN Git Service

(FLO_union_type): Remove bitfields to set sign, exponent, and
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Sep 1995 22:53:34 +0000 (22:53 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Sep 1995 22:53:34 +0000 (22:53 +0000)
commit30b51a2932f54b6ef6dbf1507a14afa9dac51349
tree3c8f1e6284f6e2a0110edfc94ca3e5c9aeab27ac
parent617de311b3d9dd917e953df72d286b4bdf4a0ede
(FLO_union_type): Remove bitfields to set sign, exponent, and
mantissa, and add value_raw field, which is an integer of the
appropriate type.  If _DEBUG_BITFLOAT is defined, provide little and
big endian bitfields.  If the macro FLOAT_BIT_ORDER_MISMATCH is
defined, use explicit bitfields.
(pack_d, unpack_d): Switch to use value_raw and explicit shifts and
masks so that we don't have to worry about whether the target is big
or little endian unless FLOAT_BIT_ORDER_MISMATCH is defined.  If
single precision floating point, rename to pack_f and unpack_f, so
there is no confusion in the debugger.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10313 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/config/fp-bit.c