MSIL and MIPS backend for LLVM

Hello everyone,

I'm a little new to LLVM.
I know that the backends are still in experimental stage. MSIL and MIPS would be very useful for a project that I'm working on. Do you have any plans to have it completed in the next few months? I could generate the MSIL assembly but when compiled it, which compiles sucessfully, it generates invalid opcode errors.

MIPS should work reasonably well for at least simple code. Do you have anything
that explicitly fails?

-eric

Hello, Eduardo

plans to have it completed in the next few months? I could generate the
MSIL assembly but when compiled it, which compiles sucessfully, it
generates invalid opcode errors.

There is no maintainer for MSIL backend. So, consider it as some sort
of "demonstration backend". And I think it won't be ever completed
until someone will take maintainership over it.

Hi Eduardo,

I'm a little new to LLVM.
I know that the backends are still in experimental stage. MSIL and MIPS
would be very useful for a project that I'm working on. Do you have any
plans to have it completed in the next few months? I could generate the
MSIL assembly but when compiled it, which compiles sucessfully, it
generates invalid opcode errors.

As Eric said, it should work fine for simple code, if you have anything
that isn't compiling, please report bugs so I can try fix them for you!

Thanks,

Hi,

The code that I was using was this:
http://shootout.alioth.debian.org/u32q/benchmark.php?test=nbody&lang=gcc&id=1

I followed the footsteps for compiling it to BC than I took the BC code and
compiled it with ilasm2 (Mono).
After that I tried to run the .exe with mono and it gave me a invalid opcode.
I wish I could give more information about the bug but my ext3fs partition
crashed and I'm now recovering it. Maybe later I could give more detailed
information about the bug.

Thanks,
Eduardo Brito

-----Mensagem original-----

Hi

Ok, I'll wait for a more detailed description
You can report directly at http://www.llvm.org/bugs/

This seems to be MSIL related, not MIPS. I don't think anyone will be
interested in fixing problems of this backend

We're both talking about the mips backend, not msil btw as I think I said in my
original mail :slight_smile:

-eric

oops! :slight_smile:

Both backends are important but I find it more important the MSIL backend, for now.
It's a shame that nobody is picking up the MSIL backend; it would be useful another
backend that is machine-independent and that has support for several tools.

-----Mensagem original-----

Yes, an MSIL backend would be a useful stopgap for people developing
high-level languages, allowing them to create a correct LLVM-based compiler
for their language before implementing their own GC.