similar to: [LLVMdev] GSoC Mips backend improvement

Displaying 20 results from an estimated 6000 matches similar to: "[LLVMdev] GSoC Mips backend improvement"

2008 Mar 20
0
[LLVMdev] GSoC Mips backend improvement
On Mar 18, 2008, at 10:46 PM, Bruno Cardoso Lopes wrote: > Hi all, > > Last year i was mentored by Chris Lattner at GSoC and i created the > Mips back-end for LLVM. The back-end is still experimental (working > with simple benchmarks only) and this year i would like to improve it > as my GSoC proposal. Mips is still fairly used nowadays in a lot of > devices - routers,
2008 Mar 09
2
[LLVMdev] llvm-gcc and mips
Hi Kevin, > Supposed that you knew my approach was intentional (correct me if I'm > wrong), what problem did you see here? Yes, i'm trying to help raising possible problems. For example, there are Mips machines with different endianess, the llvm Mips default (Big) is different from the psp toochain default one (correct me if I'm wrong - Little), maybe this is messing up...
2008 Mar 10
0
[LLVMdev] llvm-gcc and mips
On Sun, Mar 9, 2008 at 2:05 AM, Bruno Cardoso Lopes <bruno.cardoso at gmail.com> wrote: > > Supposed that you knew my approach was intentional (correct me if I'm > > wrong), what problem did you see here? > > Yes, i'm trying to help raising possible problems. For example, there are > Mips machines with different endianess, the llvm Mips default (Big) is
2008 Mar 11
1
[LLVMdev] llvm-gcc and mips
> Good point. I added "-EL" to the options to get little-endian code, > but it doesn't solve the problem. And I'm sure the code is compiled as > 32-bit because my arch-info program prints 4 for sizeof(int) when > compiled with the current llvm-gcc. Could it be something else I > missed? I think that "-EL" will no work, I would try changing
2008 Mar 07
0
[LLVMdev] llvm-gcc and mips
On Fri, Mar 7, 2008 at 8:28 PM, Bruno Cardoso Lopes <bruno.cardoso at gmail.com> wrote: > When using mips-unknown-linux-gnu as a cross-compiler, the llvm Mips > backend is called by cc1 and with that you get llvm bytecode defined > relative to the Mips ABI. That was my intention. The PSP has a 32-bit MIPS (derived) CPU. What I don't know is if that triple is the right one
2008 Mar 07
2
[LLVMdev] llvm-gcc and mips
Hi, When using mips-unknown-linux-gnu as a cross-compiler, the llvm Mips backend is called by cc1 and with that you get llvm bytecode defined relative to the Mips ABI. This can be messing up somehow your generated C code. 2008/3/7, HyperQuantum <hyperquantum at gmail.com>: > On Fri, Feb 29, 2008 at 2:23 PM, HyperQuantum <hyperquantum at gmail.com> wrote: > > At least I got
2008 Feb 18
4
[LLVMdev] cross compiling with the C backend
For my master's thesis, I am trying to cross compile programs for the PSP (PlayStation Portable) with LLVM and llvm-gcc. This is what I do: (1) compile a program and the libraries it uses (libpng etc.) with llvm-gcc (2) link the bitcode files with llvm-ld into one file (3) run "llc -march=c" on the result (4) compile the resulting C source with the PSP toolchain It seems to work
2008 Feb 18
0
[LLVMdev] cross compiling with the C backend
> What could solve this problem? Do I have to configure llvm-gcc as a > cross compiler? MIPS might be a better candidate than the 'i686' from > the native configuration. Or could it be simply a bug in llvm-gcc or > LLVM? Btw, cross-compiling llvm-gcc for Mips wont work since the support in llvm-gcc isnt ready yet! > Another option could be to add real support for the PSP
2007 Jul 19
4
[LLVMdev] LLVM-MIPS
On 19/07/2007 01:29:18, Seung Jae Lee (lee225 at uiuc.edu) wrote: > Somebody in this dev-list alreday did it with LLVM. I guess you are speaking about Bruno Cardoso Lopes ? I can see there is a MIPS implementation in LLVM repository but it looks like uncomplete (that is, I'm not even sure it can compile any source). What I hope is to have a complete MIPS implementation so I can adapt
2007 Jul 19
0
[LLVMdev] LLVM-MIPS
Hi Hidle, 2007/7/19, Hlide <hlide at free.fr>: > > On 19/07/2007 01:29:18, Seung Jae Lee (lee225 at uiuc.edu) wrote: > > Somebody in this dev-list alreday did it with LLVM. > > I guess you are speaking about Bruno Cardoso Lopes ? I can see there is > a MIPS implementation in LLVM repository but it looks like uncomplete > (that is, I'm not even sure it can
2009 Mar 27
3
[LLVMdev] GSoC 2009: proposals!
Hi all, I have interest in some ideas, some I've seen in the Open project pages (copied straight from there) and some are by my own, they are: 1) Implement MachOWriter and ELFWriter to allow LLVM-based compilers to bypass an external assembler. This may include the idea of an assembler for inline assembly 2) Write a disassembler for machine code that would use TableGen to output
2007 Feb 15
4
[LLVMdev] llvm mips backend!
Hello, I'm interested on implementing the MIPS backend as a student in a compiler course on my university, starting in 2 weeks from now!! I've seen on the mailing list history no one has done it so far (although a lot said they would)! am i right? Thanks! -- Bruno Cardoso Lopes http://www.brunocardoso.org "The knack of flying is learning how to throw yourself at the ground and
2008 Feb 28
2
[LLVMdev] llvm-gcc and mips
On Wed, Feb 27, 2008 at 7:32 PM, Mike Stump <mrs at apple.com> wrote: > On Feb 27, 2008, at 8:38 AM, HyperQuantum wrote: > > I tried to cross-compile llvm-gcc for mips, but it crashes > > But now I'm stuck. I don't need a full cross-compiler, just generating > > LLVM code is sufficient for me. > > make -k install will install a mips cross compiler for
2011 Sep 01
2
[LLVMdev] Cross compling with LLVM for MIPS
I have installed LLVM on my machine (ubuntu) a while ago. I think my LLVM version is 2.8. is it supported in 2.8 ? When I install i didn't configure LLVM for mips. Do I have to configure it when I build ? Thanks in advance. Really appreciate it. --- On Thu, 9/1/11, Bruno Cardoso Lopes <bruno.cardoso at gmail.com> wrote: From: Bruno Cardoso Lopes <bruno.cardoso at gmail.com>
2011 Sep 01
2
[LLVMdev] Cross compling with LLVM for MIPS
Hello All, I am trying to cross compile for MIPS on x86 architecture. I want to do it using LLVM ? How can I do it ? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110901/b4e68ea3/attachment.html>
2011 Sep 01
0
[LLVMdev] Cross compling with LLVM for MIPS
Using LLVM+CLANG, you can do something like: clang -ccc-host-triple mips-unknown-linux -ccc-clang-archs mips ... On Thu, Sep 1, 2011 at 1:15 PM, janarbek <canarbekmatay at yahoo.com> wrote: > Hello All, > > I am trying to cross compile for MIPS on x86 architecture. I want to do it > using LLVM ? > How can I do it ? Thanks in advance. > > >
2011 Sep 01
0
[LLVMdev] Cross compling with LLVM for MIPS
> I have installed LLVM on my machine (ubuntu) a while ago. I think my LLVM version is 2.8. is it supported in 2.8 ? When I install i didn't configure LLVM for mips. Do I have to configure it when I build ? I don't know what's the default llvm configuration for ubuntu! But you can check for mips support using "llc --version". Yes, it's supported in 2.8, although it
2010 Nov 14
2
[LLVMdev] Is it possible to run llvm on mips machine?
I like to get the support of llvm runtime so that I can run some VM that depends on llvm. I googled porting keyword and also simply try to cross compile llvm. Just like to know is it possbile ? Does any modification needed? Thanks MK -- www.skyeye.org
2010 Nov 17
3
[LLVMdev] Is it possible to run llvm on mips machine?
On Wed, Nov 17, 2010 at 12:11 AM, Bruno Cardoso Lopes <bruno.cardoso at gmail.com> wrote: > Hi, > > On Sun, Nov 14, 2010 at 5:39 AM, Michael.Kang <blackfin.kang at gmail.com> wrote: >> I like to get the support of llvm runtime so that I can run some VM >> that depends on llvm. I googled porting keyword >> and also simply try to cross compile llvm. Just like
2010 Feb 03
2
[LLVMdev] Does mips backend support variable arguments in release version(llvm-2.6)?
Hi everyone, It seems variable arguments is not support by mips backend in llvm-2.6. int func(int i, ...) { return 0; } llvm-gcc func.c -emit-llvm -c -O3 -o func.bc llc func.bc -relocation-model=static -march=mips -O0 -o func.s Command llc fails: llc:SelectionDAGBuilder.cpp:6440:void llvm::SelectionDAGISel::LowerArguments( llvm::BasicBlock):Assertion 'Invals.size() ==