public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* middle-end/7285: unsigned-to-floating conversion not IA64 spec conformant
@ 2002-07-12  4:56 jbeulich
  0 siblings, 0 replies; only message in thread
From: jbeulich @ 2002-07-12  4:56 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7285
>Category:       middle-end
>Synopsis:       unsigned-to-floating conversion not IA64 spec conformant
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 12 04:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jan Beulich
>Release:        3.1
>Organization:
>Environment:
Cross compiler hosted on Cygwin/Win2K
>Description:
Since fcvt.xuf is an alias of fnorm (and hence pf fma),
it will always raise the denormal/unnormal exception (or if
disabled, set the status flag in ar.fpsr), but since this is
not intended, fpsr.sf1 should be used for these conversions
rather than fpsr.sf0. This is then consistent with fcvt.xf,
which never raises any exception.
>How-To-Repeat:
Compile code like

long double test(unsigned long long x) {return x;}

examine the result, and compare with the equivalent code
generated by Intel's compiler.
>Fix:
Add the .sf1 completer to all three floatunsdi?f2 insn-s in
ia64.md.
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-12 11:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-12  4:56 middle-end/7285: unsigned-to-floating conversion not IA64 spec conformant jbeulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).