This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: Processor-specific code


>>>>> "Dave" == Dave Korn <dave.korn@artimi.com> writes:

 Dave> Doesn't the C language spec require the mode to be switchable
 Dave> at runtime?

 Dave> In any case, the ARM or Alpha isn't prevented from working in
 Dave> such a fashion just because the rounding mode is encoded in the
 Dave> instruction; it just means that fp primitives have to be
 Dave> compiled as intrinsics that test whatever flag controls the
 Dave> rounding mode and then branch to an fp insn of the appropriate
 Dave> form.

That only works if the notion of switchable rounding mode exists.  It
doesn't on VAX, PDP-11, PDP-10, ...

	paul


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