search for: mmix

Displaying 11 results from an estimated 11 matches for "mmix".

Did you mean: mmio
2010 Jan 13
0
[LLVMdev] invoke/unwind
.... This is why I thought the pursuit of the zero cost (exception setup with no throw), unwind approach was worth being caught by the venus fly trap. > There are actually limits to my madness, you know. :-) It would be more > profitable to learn another aspect of the system by implementing a MMIX > back-end or something. Funny I was thinking the same thing. Implementing MIX would be a cool way to learn the other side of LLVM (backends). I didn't even know there was a MMIX until your email forced me to query. > > Or, and I know this is just *crazy* talk, I could actually foll...
2008 Oct 11
1
[LLVMdev] C++ to C?
...at the compiler side of things...it makes a great educational tool in that domain, but the virtual instruction set is tailored more to the needs of compiler front-ends, optimizers, and code generators than to being a realistic model of a processor architecture. Have you taken a look at Knuth's MMIX? ( http://www-cs-faculty.stanford.edu/~uno/mmix.html ) It seems like that might be a closer match to what you are looking for. Last I looked, the core MMIX software included an assembler, but not a compiler...but I believe there is an MMIX backend for gcc available. Also, although it isn't a vi...
2010 Jan 13
2
[LLVMdev] invoke/unwind
...stack by hand, just as I already did with the parser when unwinding didn't work. The focus is on learning IR and about the simple lisp evaluation model. There are actually limits to my madness, you know. :-) It would be more profitable to learn another aspect of the system by implementing a MMIX back-end or something. Or, and I know this is just *crazy* talk, I could actually follow the intended learning path and use the main C++ API for something. :-) Dustin
2020 Feb 06
2
compatibility with gnu binutils
On Thu, Feb 06, 2020 at 11:46:26AM -0800, Jordan Rupprecht via llvm-dev wrote: > > Where was this policy, which sounds like replicating their design > mistakes bug-for-bug, agreed upon and documented? > James responded already, but just to add my perspective: on the subject of > llvm vs gnu binutils compatibility, I've heard everything in the range from > "let's do
2008 Oct 11
0
[LLVMdev] C++ to C?
Hi Daniel,   Thanks for your help.   You mentioned that "the current interpreter makes no pretense of running on a "virtual machine"", but isn't the interpreter itself a virtual machine? I'm not looking to emulate any particular processor - just interested in a tool that will help teach how a processor works.   Can LLVM help, or am I completely off track?   Thanks, M.
2008 Oct 11
5
[LLVMdev] C++ to C?
Hi Michael, On Sat, Oct 11, 2008 at 12:44 PM, Michael McDonnell < michaeldmcdonnell at yahoo.com> wrote: > > > My assumption has been that LLVM generates machine code for a virtual > machine, and that you supply an interpreter that will execute the code. > The name can be somewhat confusing. LLVM is a lot of things, the web page gives some important areas (http://llvm.org/).
2008 Mar 07
0
[LLVMdev] llvm-gcc and mips
...sr71kel \ | mipstx39 | mipstx39el \ + | mipsallegrex | mipsallegrexel \ | mn10200 | mn10300 \ | mt \ | msp430 \ @@ -346,6 +347,7 @@ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ + | mipsallegrex-* | mipsallegrexel-* \ | mmix-* \ | mt-* \ | msp430-* \ @@ -689,6 +691,10 @@ basic_machine=m68k-atari os=-mint ;; + psp) + basic_machine=mipsallegrexel-psp + os=-elf + ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; I did not see any changes in the rest of the diff...
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
2010 Jan 13
0
[LLVMdev] invoke/unwind
If it helps, to see what is involved, outside of a pure IR context, see the example code, and doc at: http://wiki.llvm.org/HowTo:_Build_JIT_based_Exception_mechanism#Source_Code:_exceptionDemo.cpp Although this is a pure example that shows several test cases, including foreign exception interaction, it is not an IR example, but rather a LLVM IR API example. It would be interesting to see a pure
2010 Jan 13
5
[LLVMdev] invoke/unwind
I put invoke/unwind aside because I couldn't get them to work, but I'm working on my evaluator now and it would be nice to figure this out so I don't have to unwind the stack manually. This was the reason for my earlier question about global declarations, and as that's cleared up I can easily pass exception data...if I can make unwind return out of some deep recursion. The
2015 Mar 10
4
[LLVMdev] n-bit bytes for clang/llvm
Back in 2009 there was some discussion of the practicality of supporting char sizes greater than 8-bit: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2009-September/thread.html#6349 http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-September/thread.html#26025 with the consensus seemingly being "quite doable, please get a good patch and submit". However the current code appears (to my