This is the mail archive of the
mailing list for the CGEN project.
About CGEN's RTL
- From: =?gb2312?B?5rEg578=?= <dam_wang at hotmail dot com>
- To: cgen at sources dot redhat dot com
- Date: Mon, 07 Oct 2002 12:28:30 +0000
- Subject: About CGEN's RTL
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
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
thank you for your help!
享用世界上最大的电子邮件系统— MSN Hotmail。http://www.hotmail.com/cn