Tzu-Chien Chiu
2005-Apr-24 11:15 UTC
[LLVMdev] trig language-like code generator generator
i'd like to know if there is any plan or existing work to add a Aho's trig language like code generator generator? "...If you are starting a new port, we recommend that you write the instruction selector using the SelectionDAG infrastructure." any other things i should know before i write one? thank you.
On Sun, Apr 24, 2005 at 07:15:03PM +0800, Tzu-Chien Chiu wrote:> i'd like to know if there is any plan or existing work to add a Aho's > trig language like code generator generator?I'm not aware of either the trig language code generator nor any work to implement it in LLVM.> "...If you are starting a new port, we recommend that you write the > instruction selector using the SelectionDAG infrastructure." > > any other things i should know before i write one?You should read these: http://llvm.cs.uiuc.edu/docs/WritingAnLLVMBackend.html http://llvm.cs.uiuc.edu/docs/TableGenFundamentals.html If you're unsure of how things are implemented, take a look at how similar things are done in X86, PowerPC, Alpha or IA64, they all have SelectionDAG-based instruction selectors (*ISelPattern.cpp). If that doesn't clear things up, ask on the list or IRC channel. -- Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu
On Sun, 24 Apr 2005, Tzu-Chien Chiu wrote:> i'd like to know if there is any plan or existing work to add a Aho's > trig language like code generator generator?Trig is a code generator generator? Is there any documentation for it available anywhere? -Chris> "...If you are starting a new port, we recommend that you write the > instruction selector using the SelectionDAG infrastructure." > > any other things i should know before i write one? > > thank you. > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev >-Chris -- http://nondot.org/sabre/ http://llvm.cs.uiuc.edu/
Tzu-Chien Chiu
2005-Apr-24 17:05 UTC
[LLVMdev] trig language-like code generator generator
yes, i did read those document. but i don't target any existing hardware. i need a compiler during the hareware design phase (i work for an ihv). preferrable a bnf syntax/rule/cost-driven and code generator generator. dynamic programming ones like twig, burg, beg, etc. On 4/25/05, Misha Brukman <brukman at uiuc.edu> wrote:> On Sun, Apr 24, 2005 at 07:15:03PM +0800, Tzu-Chien Chiu wrote: > > i'd like to know if there is any plan or existing work to add a Aho's > > trig language like code generator generator? > > I'm not aware of either the trig language code generator nor any work to > implement it in LLVM. > > > "...If you are starting a new port, we recommend that you write the > > instruction selector using the SelectionDAG infrastructure." > > > > any other things i should know before i write one? > > You should read these: > > http://llvm.cs.uiuc.edu/docs/WritingAnLLVMBackend.html > http://llvm.cs.uiuc.edu/docs/TableGenFundamentals.html > > If you're unsure of how things are implemented, take a look at how > similar things are done in X86, PowerPC, Alpha or IA64, they all have > SelectionDAG-based instruction selectors (*ISelPattern.cpp). If that > doesn't clear things up, ask on the list or IRC channel. > > -- > Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu >
Tzu-Chien Chiu
2005-Apr-24 17:46 UTC
[LLVMdev] trig language-like code generator generator
http://portal.acm.org/citation.cfm?id=75700 On 4/25/05, Chris Lattner <sabre at nondot.org> wrote:> On Sun, 24 Apr 2005, Tzu-Chien Chiu wrote: > > i'd like to know if there is any plan or existing work to add a Aho's > > trig language like code generator generator? > > Trig is a code generator generator? Is there any documentation for it > available anywhere? > > -Chris > > > "...If you are starting a new port, we recommend that you write the > > instruction selector using the SelectionDAG infrastructure." > > > > any other things i should know before i write one? > > > > thank you. > > > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > -Chris > > -- > http://nondot.org/sabre/ > http://llvm.cs.uiuc.edu/ >
Possibly Parallel Threads
- [LLVMdev] trig language-like code generator generator
- [LLVMdev] trig language-like code generator generator
- [LLVMdev] trig language-like code generator generator
- [LLVMdev] trig language-like code generator generator
- [LLVMdev] trig language-like code generator generator