This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: porting gcc for a VLIW architecture
- From: Jim Wilson <wilson at specifixinc dot com>
- To: zysheu <zysheu at sslab dot cs dot nthu dot edu dot tw>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 16 Jul 2004 12:19:08 -0700
- Subject: Re: porting gcc for a VLIW architecture
- References: <003b01c46a25$f99bd490$6152290a@chaiy>
zysheu wrote:
> but , I can't understand the the standard name so much. Do I need to define
> all standard name pattren for RTL generation ?? Where can I find the
> information about it ?
You don't have to define all of them. You only have to define the ones
you need. You should define all of the ones that map into target
instructions. For the ones that you don't define, gcc will synthesize
the operations from ones you did define, or else call library routines.
If you can get better code by defining them, then you likely want to
do that.
You do have to have the mov* patterns, but most of the rest are
optional, as long as you provide enough operations that gcc can
synthesize the rest. Since there are many ways to do this, there is no
definitive set of required patterns.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com