TriDis / llvm-tricore

LLVM Compiler Infrastructure with TriCore backend
Other
27 stars 9 forks source link

What is the status? #1

Closed b-sh closed 5 years ago

b-sh commented 5 years ago

Hi @sidneyp,

I am just curios about the status and how is this related to the thesis of Christoph Erhardt https://opus4.kobv.de/opus4-fau/frontdoor/index/index/docId/1108?

Thank you for feedback in advance.

sidneyp commented 5 years ago

Hello @b-sh,

The status is that the code is working, but partially. What I remember is that the major instructions are implemented. The thesis of Christoph Erhardt is a reference for this work together with the TriCore manual docs.

Thank you too!

b-sh commented 5 years ago

ok I will check.

b-sh commented 2 years ago

OK I have synced on llvm release/13.x branch https://github.com/b-sh/llvm-project/tree/bsh/tricore to experiment using it as backend in rust https://github.com/b-sh/ruos as a first step.

sidneyp commented 2 years ago

How was it? Did it work?

b-sh commented 2 years ago

How was it? Did it work?

Yes, but there are still some gaps in migration. I had also to fix AsmPrinter. I need to walk through the full code. I have seen that https://github.com/kumailxp/tricore_llvm/tree/master/Tests has some Tests so probably I will check the correctness of latest migration. Overall the API of LLVM is quite stable and very nice and got stronger on Types. The latest issue I have is at the moment something in DAG when compiling rust core. I have not properly migrated to the new way of handling the SDNodes. Let´s see.