similar to: [LLVMdev] Is the llvm ARM support big endian elf/obj output?

Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Is the llvm ARM support big endian elf/obj output?"

2013 Apr 23
0
[LLVMdev] Is the llvm ARM support big endian elf/obj output?
Hello There is not support for big endian ARM at all. On Tue, Apr 23, 2013 at 9:26 AM, gamma_chen <gamma_chen at yahoo.com.tw> wrote: > The llvm ARM backend is little endian elf output as my examination as > below. Is it support bid endian by other llc options as below? > > llc -filetype=obj -march=arm // little endian > llc -filetype=obj -march=? or -otheroption=? // to
2013 Apr 23
2
[LLVMdev] Is the llvm ARM support big endian elf/obj output?
On Tue, Apr 23, 2013 at 10:29:32AM +0400, Anton Korobeynikov wrote: > Hello > > There is not support for big endian ARM at all. I guess he need to change the data layout string in ARMTargetMachine::ARMTargetMachine (ARMTargetMachine.cpp) from "e" to "E" to get big endian output? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information
2013 Apr 23
0
[LLVMdev] Is the llvm ARM support big endian elf/obj output?
> I guess he need to change the data layout string in > ARMTargetMachine::ARMTargetMachine (ARMTargetMachine.cpp) > from "e" to "E" to get big endian output? That would be a start, but I'd expect a significant number of bugs where the backend writers have assumed ARM was little-endian (lib/Target/Mips, which *does* support both, has many more endian checks in the
2012 Dec 04
0
[LLVMdev] LLVM documentation work help
On Mon, Dec 3, 2012 at 11:09 PM, gamma_chen <gamma_chen at yahoo.com.tw> wrote: > I add the empty file .nojekyll to https://github.com/Jonathan2251/lbd/tree/gh-pages and do "make gh-pages" again. It's the same. I check the uvbook has the gh-pages as mine as follows, The book looks really good at <http://jonathan2251.github.com/lbd/>! I think if you change the PDF
2012 Dec 04
2
[LLVMdev] LLVM documentation work help
Sean, I add the empty file .nojekyll to https://github.com/Jonathan2251/lbd/tree/gh-pages and do "make gh-pages" again. It's the same. I check the uvbook has the gh-pages as mine as follows, https://github.com/nikhilm/uvbook/tree/gh-pages https://github.com/Jonathan2251/lbd/tree/gh-pages In addition to gh-pages, uvbook has the the other web site on
2012 Dec 04
1
[LLVMdev] LLVM documentation work help
Wei-Ren, Sorry, currently, I have an English helper in documentation. The cpu0 is my brother teaching material for college, and I did llvm backend compiler tutorial  for cpu0 since I didn't find a good tutorial in llvm backend design. As I know, there are many way to contribute back to open source or llvm. For example, write qemu for cpu0 is a extended work in cpu0 llvm backend design. Or
2012 Dec 04
5
[LLVMdev] LLVM documentation work help
Sean, I can create html, pdf and epub, then put them on <https://github.com/Jonathan2251/lbd/tree/gh-pages>. The uvbook example as below can click the pdf link and pop up a download window while I cannot. The uvbook link is put on http://username.github.com/... while the "make gh-pages" put them on https://github.com/username/...  How can I have the download link like uvbook
2012 Dec 04
0
[LLVMdev] LLVM documentation work help
You may need a ".nojekyll" file. uvbook has one < https://github.com/nikhilm/uvbook/blob/gh-pages/.nojekyll>. Also see < https://help.github.com/articles/files-that-start-with-an-underscore-are-missing >. Let me know if that doesn't work. -- Sean Silva On Mon, Dec 3, 2012 at 9:15 PM, gamma_chen <gamma_chen at yahoo.com.tw> wrote: > Sean, > > I can
2012 Dec 04
0
[LLVMdev] LLVM documentation work help
Hi Jonathan, sorry for the hijack. Can I help you writing the document? Regards, chenwj On Tue, Dec 04, 2012 at 10:15:33AM +0800, gamma_chen wrote: > Sean, > > I can create html, pdf and epub, then put them on > <https://github.com/Jonathan2251/lbd/tree/gh-pages>. > The uvbook example as below can click the pdf link and pop up a download window > while I cannot. The
2012 Jun 02
3
[LLVMdev] Big endian ARM?
Hi, I've been trying to set up clang/LLVM to compile for big endian ARM and I need a little help. The code generation works for the most part and most of my regression tests pass, but I noticed that code like this extern void g(void); int *p; int main() { if (*p & 0x01000000) g(); } generates ldr r0, [r0] ldrb r0, [r0, #3]
2012 Jun 03
0
[LLVMdev] Big endian ARM?
On Saturday, June 02, 2012 10:20:03 AM Richard Pennington wrote: > Hi, > > I've been trying to set up clang/LLVM to compile for big endian ARM and I > need a little help. The code generation works for the most part and most of > my regression tests pass, but I noticed that code like this > > extern void g(void); > int *p; > > int main() > { > if (*p
2012 Jun 03
2
[LLVMdev] Big endian ARM?
On Jun 2, 2012, at 8:35 PM, Richard Pennington wrote: >> i.e. the test of the value is optimized to use a byte load, but the ldrb is >> done assuming a little endian address space. >> >> I've been snooping around, but can't seem to find where the conversion to a >> byte operation is done. Could someone point me in the right direction? >> > >
2013 Aug 08
2
[LLVMdev] lld build
Hi, Currently, I can build lld/llvm on Fedora 17 but fail to build it on iMac. The commands I use as follows. Anyone can help me? Or is there the lld mail list I can post the question? Linux/Fedora can be built by the following command cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_FLAGS=-std=c++11 -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles" ../src/ make iMac
2012 Nov 04
3
[LLVMdev] I can debug llvm source code by lldb on iMac
Ten days ago, I asked "Can I debug llvm source code by iMac Xcode?". I still cannot do it now, but I can debug llvm source code by iMac lldb. I write it down on section  "1.4  Create LLVM.xcodeproj of supporting cpu0 by terminal cmake command" of GammaLLVMBackendBook.pdf in https://www.dropbox.com/sh/2pkh1fewlq2zag9/r9n4gnqPm7  Best regards Jonathan
2013 Aug 08
0
[LLVMdev] lld build
Le 8 août 2013 à 07:22, gamma_chen <gamma_chen at yahoo.com.tw> a écrit : > Hi, > > Currently, I can build lld/llvm on Fedora 17 but fail to build it on iMac. The commands I use as follows. Anyone can help me? Or is there the lld mail list I can post the question? > > Linux/Fedora can be built by the following command > cmake -DCMAKE_CXX_COMPILER=clang++
2013 Sep 05
4
[LLVMdev] C int type for 48bits cpu
Hi, LLVM only support primitive type i32 and i64, no i48. The clang translate "C int type" to i32 too. My question is if a cpu is 48 bits register size, how to write the backend for 48 bits register architecture. Can someone help me with this problem? Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL:
2012 Dec 04
2
[LLVMdev] LLVM documentation work help
Sean, It is not work even though I change the PDF link as you indicated. I think I can just use directory/link https://github.com/Jonathan2251/lbd/tree/gh-pages instead http://jonathan2251.github.com/lbd/WriteAnLLVMBackendTutorialForCpu0.pdf as a work around solution. User can click the link and click left top button "ZIP" and get the epub and pdf. Jonathan --- 12/12/4 (二),Sean Silva
2013 Sep 05
0
[LLVMdev] C int type for 48bits cpu
On Sep 5, 2013, at 3:37 AM, gamma_chen <gamma_chen at yahoo.com.tw> wrote: > LLVM only support primitive type i32 and i64, no i48. The clang translate "C int type" to i32 too. My question is if a cpu is 48 bits register size, how to write the backend for 48 bits register architecture. Can someone help me with this problem? I'm not LLVM expert, but I'm pretty sure your
2012 Dec 03
3
[LLVMdev] LLVM documentation work help
Sean, The `.. code-block:: bash` is work. Thank your information. Currently, I can put reStructuredText files on github. But, your example uvbook seems put the html and pdf on different github directory. Do you put html and pdf on github with version control? Jonathan On 2012/12/3, at 上午7:43, Sean Silva <silvas at purdue.edu> wrote: > It looks like things are going well. > >
2012 Dec 03
0
[LLVMdev] LLVM documentation work help
Let me explain how uvbook does it. They use a feature of github called "github pages", which provides small static website hosting. The way that github pages works is that you make a git branch `gh-pages` which contains the generated HTML. They explain it better here <https://help.github.com/articles/creating-project-pages-manually>. You can see how uvbook does it by looking at