From: "姹 缈" <dam_wang@hotmail.com>
To: cgen@sources.redhat.com
Subject: About CGEN's RTL
Date: Mon, 07 Oct 2002 05:28:00 -0000 [thread overview]
Message-ID: <F207w5Y5z4IssCQqUk30000433c@hotmail.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb2312; format=flowed, Size: 918 bytes --]
hi
I am now trying to write an .cpu file whose ISA contains some complex
instructions, thereby it needs to invoke c code using c-code,c-call or
c-raw-call.
I found in sparccom.cpu that there is an expression of (c-call made symbol
operand1 operand2 ...). It says in the comment that 'symbol' is a c
function. I guess this expression means an c function call, and the
function was like symbol(operand1, operand2 ...), isn't it? If so, where is
the function symbol(operand1 operand2 ...)? In the cpu description of
sparccom, I found (set rd (c-call WI handler pc rs1 rs2)), but I can't
find the function description of 'handler'!
Where do I write the c funtion how to announce it to the .cpu
file?
thank you for your help!
Dam Wang
_________________________________________________________________
ÏíÓÃÊÀ½çÉÏ×î´óµÄµç×ÓÓʼþϵͳ¡ª MSN Hotmail¡£http://www.hotmail.com/cn
next reply other threads:[~2002-10-07 12:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-07 5:28 姹 缈 [this message]
2002-10-07 8:00 ` Frank Ch. Eigler
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=F207w5Y5z4IssCQqUk30000433c@hotmail.com \
--to=dam_wang@hotmail.com \
--cc=cgen@sources.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).