public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: hp@bitrange.com
To: gcc-gnats@gcc.gnu.org
Subject: target/5985: fix_truncMN2 (e.g. fix_truncdfdi) and fixuns_truncMN2 incorrect on a29k, alpha, arm, c4x, dsp16xx, i370, i386, ia64, m88k, mips, ns32k, pj, romp, rs6000, s390, sh, xtensa
Date: Sun, 17 Mar 2002 05:46:00 -0000	[thread overview]
Message-ID: <20020317134214.4223.qmail@sources.redhat.com> (raw)


>Number:         5985
>Category:       target
>Synopsis:       fix_truncMN2 (e.g. fix_truncdfdi) and fixuns_truncMN2 incorrect on a29k, alpha, arm, c4x, dsp16xx, i370, i386, ia64, m88k, mips, ns32k, pj, romp, rs6000, s390, sh, xtensa
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 17 05:46:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hans-Peter Nilsson
>Release:        trunk and 3.1 branch and everywhere else
>Organization:
>Environment:

>Description:
>From <URL:http://gcc.gnu.org/ml/gcc-patches/2002-03/msg01023.html>, edited:
While checking on the floating point operations and comparing
with the manual and other targets, it seems several targets
(briefly: a29k, alpha, arm, c4x, dsp16xx, i370, i386, ia64,
m88k, mips, ns32k, pj, romp, rs6000, s390, sh, xtensa) have fix_truncMN2
patterns that are incorrectly expressed.  For example for M=df
N=di, the input operand should be (fix:DI (fix:DF (DF-operand))
not just (fix:DI (DF-operand)), since the latter expression
requires/promises that the operand is already truncated to an
integer in a float-mode, which is the input operand for the
fixdfdi2 pattern.  Similarly for fixuns_truncMN2.
>How-To-Repeat:
Read .md for target, specifically fix_truncMN2 and fixuns_truncMN2
patterns.  Compare with docs and other targets, like sparc.md, m68k.md.
Marvel at how it doesn't seem to affect anything.
>Fix:
See sparc.md, m68k.md, mmix.md.
>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2002-03-17 13:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-17  5:46 hp [this message]
2002-03-30 16:01 rth
2003-01-02 18:33 neroden
2003-01-02 20:26 Hans-Peter Nilsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020317134214.4223.qmail@sources.redhat.com \
    --to=hp@bitrange.com \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).