On Wed, Jan 30, 2013 at 1:51 AM, Umesh Kalappa <umesh.kalap...@gmail.com> wrote:
>
> First ,As per the gcc Gimple to RTL conversion ,the RTL insns set
> should be same for the both target ...am i rite here ???...or do i
> miss something here ???

Although you didn't say that the targets are, you said that you had
two different targets.  RTL is inherently target dependent.  It is
normal to see different RTL for different targets.

> Second,If @ first i'm wrong here ..i need to emit the RTL insns for
> the target-2 as similiar to target-1..Please some one from the group
> can guide me here to so same ????

The question is too general to answer specifically.  The general
answer is that to get different RTL you need to change the backend for
your target, typically the CPU/CPU.md file for your CPU.  But the RTL
has to be right for the CPU.  It doesn't make sense to change the RTL
for target 2 to look like the RTL for target 1, unless you want to
compile for target 1 rather than target 2.

If you have a more specific question, ask that.

Ian

Reply via email to