[LLVMdev] dragonegg on PPC

Duncan Sands baldrick at free.fr
Thu Oct 13 22:43:41 PDT 2011


>> I am interested in getting dragonegg to work on PowerPC. Obviously the
>> stuff in src/x86 needs to be replaced/replicated for PowerPC, but if you
>> have a few minutes, can you provide your thoughts on what has to be
>> changed between x86 and PPC.
>
> you should probably start by doing this: copy gcc/config/rs6000/llvm-rs6000.cpp
> to (in the dragonegg source) src/ppc/Target.cpp.  Extract the LLVM bits of
> rs6000.h into include/ppc/dragonegg/Target.h.  Be inspired by the corresponding
> x86 Target.cpp and Target.h.  Try to compile.

I meant: copy from llvm-gcc.

Ciao, Duncan.



More information about the llvm-dev mailing list