From: Dale Johannesen <dalej@apple.com>
To: Richard Henderson <rth@redhat.com>
Cc: Dale Johannesen <dalej@apple.com>,
David Edelsohn <dje@watson.ibm.com>,
gcc@gcc.gnu.org
Subject: Re: store double-cvtd-to-int to memory
Date: Fri, 14 Mar 2003 19:15:00 -0000 [thread overview]
Message-ID: <F3756AE1-564D-11D7-B9FE-000393D76DAA@apple.com> (raw)
In-Reply-To: <20030313223206.GH30854@redhat.com>
On Thursday, March 13, 2003, at 02:32 PM, Richard Henderson wrote:
> On Wed, Mar 12, 2003 at 05:45:36PM -0800, Dale Johannesen wrote:
>> [(set (match_operand:SI 0 "memory_operand" "=m")
>> (fix:SI (match_operand:DF 1 "gpc_reg_operand" "f")))
>> (clobber (match_operand:DI 2 "gpc_reg_operand" "=f"))
>> (clobber (match_operand:DI 3 "memory_operand" "=o"))]
>>
>> where op3 is a stack temp.
>
> Do you actually need the stack temp? I understood you that
> you didn't need it, because you had an instruction for this
> directly. If not, just leave it out.
Thanks.
For this case, where the result goes in memory, you don't need a stack
temp.
For the case where it goes in a register, however, you do. (It looks
like
this is not so on Alpha?) So removing op3 from the above pattern
results
in another pattern that combine won't generate, because the original
fix_truncdfsi2 pattern does have the temp, and needs it.
next prev parent reply other threads:[~2003-03-14 18:52 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 [this message]
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
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=F3756AE1-564D-11D7-B9FE-000393D76DAA@apple.com \
--to=dalej@apple.com \
--cc=dje@watson.ibm.com \
--cc=gcc@gcc.gnu.org \
--cc=rth@redhat.com \
/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).