On Tue, Aug 17, 2010 at 11:59, Steve Ellcey <s...@cup.hp.com> wrote:
> On Tue, 2010-08-17 at 11:51 +0800, Mingjie Xing wrote:
>> Hello,
>>
>> Does anyone have tried to translate whirl to gcc rtl? Or in the other
>> words, use gcc's code generator plus open64's optimizer. I'm wondering
>> if it is practical and useful. Any suggestions are appreciated.

Would whirl2c followed by an invocation of GCC work for you?

>>
>> Regards,
>> Mingjie
>
> I am not aware of any whirl to rtl translators.  If anyone were to look
> into such a thing I would recommend tanslating into GCC trees instead of
> into RTL.  GCC trees are more generic then RTL and would be easier to
> deal with, especially given the GCC plugin model that was added in GCC
> 4.5.

Agreed.
One other solution is to adapt whirl2c to produce Gimple that will have
a front-end in GCC 4.7 or so, see http://gcc.gnu.org/wiki/GimpleFrontEnd

Sebastian Pop
--
AMD / Open Source Compiler Engineering / GNU Tools

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to