This is the mail archive of the gcc@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]

Re: expand and truncate and 387


On Mon, Nov 30, 1998 at 06:27:23PM -0500, Stephen L Moshier wrote:
> Look at Section 5, "Operations," and Secton 5.3, "Floating-Point Format
> Conversions."

Yes I see.

(1) Extension of normal values is exact, and does nothing since the
    numbers are already in the right form.  Likewise for infinities,
    QNaN, and what would be a denormal in the source precision.

(2) The invalid operation exception for SNaN is signaled when the
    value is loaded with `fld'.  Therefore no additional signaling is
    required when the value is already in a register.

Therefore extension in a register, on x86, is a no-op.


r~


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