OSDN Git Service

(expand_float): When converting an unsigned type U
authoreggert <eggert@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Mar 1993 21:28:43 +0000 (21:28 +0000)
committereggert <eggert@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Mar 1993 21:28:43 +0000 (21:28 +0000)
commit8142649d0ebe5bc29d53f99c0907a48275c1067c
tree438d0c17c50bfb92e65fa8fbbe055db48c213c2b
parent131353cd4614bbb5787def9698449508bccf675e
(expand_float): When converting an unsigned type U
to a smaller or equal-sized floating type F where there's no
hardware support for unsigned-to-float conversion, use a temporary
floating type larger than F if possible, since this avoids
rounding problems that are worst when U is just greater than
the maximum signed integer of the same size.

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