search for: llvm_print

Displaying 8 results from an estimated 8 matches for "llvm_print".

2011 Sep 15
2
[LLVMdev] problem with sgt's on Sparc machine
...f(i8* nocapture, ...) nounwind ------------------------------------------------------------------------------------------------------------------- On Sparc I get: 1 1 0 0 1 1 1 On X86 I get all 1's which I believe is correct. I used the following command to compile on sparc: llc -march=sparc llvm_print.bc -o llvm_print.s ( on a x86 machine) /usr/sfw/bin/gcc -mcpu=v9 -mtune=v9 llvm_print.s -o llvm_print (on sparc) Could anyone give me some clue about what's going on? Is 'sgt' not working for loaded values? Thanks, Christine -------------- next part -------------- An HTML attachm...
2011 Sep 15
0
[LLVMdev] problem with sgt's on Sparc machine
...------------------------------------------------------------------------------- > > On Sparc I get: > 1 > 1 > 0 > 0 > 1 > 1 > 1 > > On X86 I get all 1's which I believe is correct. > > I used the following command to compile on sparc: > llc -march=sparc llvm_print.bc -o llvm_print.s ( on a x86 machine) > /usr/sfw/bin/gcc -mcpu=v9 -mtune=v9 llvm_print.s -o llvm_print (on sparc) > > > Could anyone give me some clue about what's going on? Is 'sgt' not working for > loaded values? > > Thanks, > > Christine > > >...
2011 Sep 15
2
[LLVMdev] problem with sgt's on Sparc machine
...--------- > > > > On Sparc I get: > > 1 > > 1 > > 0 > > 0 > > 1 > > 1 > > 1 > > > > On X86 I get all 1's which I believe is correct. > > > > I used the following command to compile on sparc: > > llc -march=sparc llvm_print.bc -o llvm_print.s ( on a x86 machine) > > /usr/sfw/bin/gcc -mcpu=v9 -mtune=v9 llvm_print.s -o llvm_print (on > sparc) > > > > > > Could anyone give me some clue about what's going on? Is 'sgt' not > working for > > loaded values? > > > &g...
2011 Sep 16
2
[LLVMdev] problem with sgt's on Sparc machine
...m> wrote: > Hi, > > On Thu, Sep 15, 2011 at 3:15 PM, Christine Cheng <clcheng at stanford.edu> wrote: >> Hi guys, >> >> Thanks for the input. However, it seems that the code still produces the >> wrong output on a Sparc machine. >> >> My current llvm_print.bc code is: >> -------------------------------------------------------------------------------------------------- >> ; MduleID = '<stdin>' >> target datalayout = >> "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-n32...
2011 Sep 16
0
[LLVMdev] problem with sgt's on Sparc machine
...Thu, Sep 15, 2011 at 3:15 PM, Christine Cheng <clcheng at stanford.edu> > wrote: > >> Hi guys, > >> > >> Thanks for the input. However, it seems that the code still produces the > >> wrong output on a Sparc machine. > >> > >> My current llvm_print.bc code is: > >> > -------------------------------------------------------------------------------------------------- > >> ; MduleID = '<stdin>' > >> target datalayout = > >> > "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32...
2011 Sep 15
2
[LLVMdev] problem with sgt's on Sparc machine
Hi guys, Thanks for the input. However, it seems that the code still produces the wrong output on a Sparc machine. My current llvm_print.bc code is: -------------------------------------------------------------------------------------------------- ; MduleID = '<stdin>' target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-n32" target triple = "sparc-u...
2011 Sep 15
0
[LLVMdev] problem with sgt's on Sparc machine
Hi, On Thu, Sep 15, 2011 at 3:15 PM, Christine Cheng <clcheng at stanford.edu> wrote: > Hi guys, > > Thanks for the input. However, it seems that the code still produces the > wrong output on a Sparc machine. > > My current llvm_print.bc code is: > -------------------------------------------------------------------------------------------------- > ; MduleID = '<stdin>' > target datalayout = > "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-n32" > targ...
2011 Sep 15
0
[LLVMdev] problem with sgt's on Sparc machine
On Thu, Sep 15, 2011 at 11:06 AM, Christine Cheng <clcheng at stanford.edu> wrote: > Hi Duncan, > > Thanks for the reply! There is no LLVM on the Sparc machine so I cannot > compile my code there into .s file. How shall I modify the target data > layout and triple so it works on Sparc? Basically I got these from compiling > C code using llvm-gcc. You can use clang for