public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@redhat.com>
To: Dale Johannesen <dalej@apple.com>
Cc: David Edelsohn <dje@watson.ibm.com>, gcc@gcc.gnu.org
Subject: Re: store double-cvtd-to-int to memory
Date: Thu, 13 Mar 2003 22:52:00 -0000	[thread overview]
Message-ID: <20030313223358.GI30854@redhat.com> (raw)
In-Reply-To: <7C8B66E0-54F5-11D7-B9FE-000393D76DAA@apple.com>

You might also want to look at Alpha's pattern for this:

(define_insn_and_split "*fix_truncdfsi_internal"
  [(set (match_operand:SI 0 "memory_operand" "=m")
        (subreg:SI (fix:DI (match_operand:DF 1 "reg_or_0_operand" "fG")) 0))
   (clobber (match_scratch:DI 2 "=f"))]
  "TARGET_FP && alpha_fptm < ALPHA_FPTM_SU"
  "#"
  "&& reload_completed"
  [(set (match_dup 2) (fix:DI (match_dup 1)))
   (set (match_dup 3) (unspec:SI [(match_dup 2)] UNSPEC_CVTQL))
   (set (match_dup 0) (match_dup 3))]
  ;; Due to REG_CANNOT_CHANGE_SIZE issues, we cannot simply use SUBREG.
  "operands[3] = gen_rtx_REG (SImode, REGNO (operands[2]));"
  [(set_attr "type" "fadd")
   (set_attr "trap" "yes")])



r~

  parent reply	other threads:[~2003-03-13 22:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-13  3:20 Dale Johannesen
2003-03-13 22:37 ` Richard Henderson
2003-03-14 19:15   ` Dale Johannesen
2003-03-14 19:52     ` David Edelsohn
2003-03-14 20:00       ` Geoff Keating
2003-03-14 20:10         ` Dale Johannesen
2003-03-14 21:24     ` Richard Henderson
2003-03-13 22:52 ` Richard Henderson [this message]
2003-03-23 22:18 Dale Johannesen
2003-12-08 16:55 Name of front-end Richard Kenner
2003-12-08 17:03 ` Robert Dewar
2003-12-08 17:40   ` Andrew Haley
2003-12-08 23:44     ` Robert Dewar
2003-12-08 23:51       ` Laurent GUERBY
2003-12-09  1:32         ` Robert Dewar
2003-12-09  0:00       ` Daniel Berlin
2003-12-08 18:37 ` Dale Johannesen
     [not found]   ` <dalej@apple.com>
2003-12-08 19:15     ` Felix Lee
2003-12-08 20:06   ` [GCC] " Trevor Jenkins

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=20030313223358.GI30854@redhat.com \
    --to=rth@redhat.com \
    --cc=dalej@apple.com \
    --cc=dje@watson.ibm.com \
    --cc=gcc@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).