[llvm-commits] [PATCH] Added TCE target to llvm-gcc
Mikael Lepistö
mikael.lepisto at tut.fi
Thu May 7 00:56:45 PDT 2009
Mikael Lepistö wrote:
> Duncan Sands wrote:
>
>> Hi, are you planning to get this target into mainline gcc
>> at some point?
>>
> I don't think that it's possible since we generate new version of our
> backend for each processor configuration (with different instruction
> sets and registers) and load it as a plugin to our own llc replacement.
> This replacement also converts llvm bitcode to our native format.
>
>> Why do you only emit bitcode - are you
>> planning to implement an LLVM code generator for your
>> target?
>>
>
> In short: We already have LLVM code generator, but it's quite different
> approach that usual llvm backends...
>
> We do linking and optimizing on llvm IR (also linking static newlib to
> program). After we have fully linked bitcode we build code generation
> plugin which contains information about customizes resources of the
> processor. That plugin generates our native IR out of bitcode and use
> generated IR for scheduling program to a specific processor configuration.
>
> So basically bitcode programs are universal programs, which can be
> converted to run on any different processor configuration. For more
> information on tce.cs.tut.fi page contains tutorials and videos about
> the system. There is also a masters thesis about to be released (in few
> months) which covers our compiler chain.
>
>
>> Finally, does this break the llvm-gcc build if
>> llvm-gcc is configured with LLVM support disabled?
>>
>>
> Looks like it compiled fine without special --target setting. However
> --target=tce-llvm without --enable-llvm failed. Patch has really small
> changes to configure system just for recognizing that new
> --target=tce-llvm target exists.
>
>> Ciao,
>>
>> Duncan.
>>
>>
> Mikael
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
Hi,
Any news if this patch could be applied and which modifications it would
need? I attached the latest version of the patch which is made towards
llvm-gcc trunk with "svn diff -x -u".
This patch would help greatly our users to be able to use llvm-gcc
sources gotten directly from llvm, instead using our patched version.
Also it would help a bit maintaining llvm trunk synchronized branch of
the tce toolset.
Mikael Lepistö
http://llvm.org/ProjectsWithLLVM/#tta-tce
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tce_target.patch
Type: text/x-patch
Size: 47176 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090507/d2bf5d3f/attachment.bin>
More information about the llvm-commits
mailing list