From: brahmaiah vallabhaneni <vbrahmaiah@yahoo.com>
To: gcc-help@gcc.gnu.org
Subject: help needed
Date: Wed, 13 Sep 2000 03:54:00 -0000 [thread overview]
Message-ID: <20000913105221.19216.qmail@web3102.mail.yahoo.com> (raw)
__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
Hi all,
Currently I am going through the documents of "Porting Gcc".
But I have got one small basic doubt, i.e.,
how should I choose between define_expand and define_insn.
Please, see the following two defs .These are from Sparc port. I do n't understand why they
chose define_expand for cmpsi. Please explain me this part.
Thanks and regards
V.Brahmaiah
(define_expand "cmpsi"
[(set (reg:CC 100)
(compare:CC (match_operand:SI 0 "register_operand" "")
(match_operand:SI 1 "arith_operand" "")))]
""
"
{
sparc_compare_op0 = operands[0];
sparc_compare_op1 = operands[1];
DONE;
}")
(define_insn "*cmpsi_insn"
[(set (reg:CC 100)
(compare:CC (match_operand:SI 0 "register_operand" "r")
(match_operand:SI 1 "arith_operand" "rI")))]
""
"cmp\\t%0, %1"
[(set_attr "type" "compare")])
next reply other threads:[~2000-09-13 3:54 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-13 3:54 brahmaiah vallabhaneni [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-07-27 10:17 anandulle
2009-07-27 18:10 ` Andi Hellmund
2006-03-07 2:03 Help needed wenghwee
2005-08-25 23:40 RALPH OLD JR
2005-08-26 5:20 ` Arturas Moskvinas
[not found] <20040830122911.24797.qmail@webmail17.rediffmail.com>
2004-08-30 16:09 ` Help Needed Eljay Love-Jensen
2004-06-08 16:22 help needed lrtaylor
2004-06-09 9:25 ` Claudio Bley
2004-06-06 2:55 Naga Raju Thogiti
2004-06-08 10:17 ` Claudio Bley
2004-06-08 14:22 ` Claudio Bley
2004-05-29 0:41 xuyi
2004-05-29 19:03 ` Sumith Makam
2004-04-28 5:19 Help Needed Prashant S Kulkarni
2004-04-28 17:51 ` David Edelsohn
2003-11-20 12:46 help needed Jomy Abraham
2003-03-17 7:51 Help Needed Dockeen
2003-03-16 21:32 R.Karthik Narayanan
2003-03-17 3:02 ` LLeweLLyn Reese
2003-03-18 0:25 ` Karthik Narayanan
[not found] ` <1048367240.1224.51.camel@x1-6-00-e0-18-67-55-94>
2003-03-18 1:51 ` LLeweLLyn Reese
2001-10-13 0:36 help needed ram
2001-10-13 1:41 ` Florian Weimer
2000-09-26 6:30 Kazu Hirata
2000-09-26 4:44 BRAHMAIAH VALLABHANENI
2000-09-26 21:49 ` Kiran Kumar K
2000-04-09 21:24 Help needed Mahadev Cholachgudda
2000-04-07 23:07 Mahadev Cholachgudda
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=20000913105221.19216.qmail@web3102.mail.yahoo.com \
--to=vbrahmaiah@yahoo.com \
--cc=gcc-help@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).