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 09:30:41PM -0500, Stephen L Moshier wrote:
> 
>     Therefore no additional signaling is
>     required when the value is already in a register.
> 
> Therefore?  Suppose the value was loaded for some other operation,
> then the user clears the IEEE flags, then calls for a conversion operation
> on the value that is still in the register.  Mustn't there be
> another exception, on the conversion?

I sure _hope_ the user ain't fooling aroung with exception flags
behind my back with asms. 

If they do things properly, they'll be making a function call
to feclearexcept (iso c9x <fenv.h>).  And since all fp regs
are call-clobbered, there will be no values live in registers.


r~


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