search for: iasm

Displaying 7 results from an estimated 7 matches for "iasm".

Did you mean: asm
2009 Aug 01
1
[LLVMdev] Inserting Instructions (pass)
Hi, both versions are working: FunctionType *asm_Ftype = FunctionType::get(Type::VoidTy, std::vector<const Type*>(), false); InlineAsm* Iasm = InlineAsm::get(asm_Ftype,"isync","~{dirflag},~{fpsr},~{flags}",true); How can I insert this InlineAsm, because it is no instruction and this way it will not work: Instruction *pi = bi; pi->getParent()->getInstList().insert(pi, Iasm); I try to build a CallIns...
2004 Mar 04
0
WSEAS NEWSLETTER in MECHANICAL ENGINEERING
...you want to contact us, the Subject of your email must contains the code: WSEAS CALL FOR PAPERS -- CALL FOR REVIEWERS -- CALL FOR SPECIAL SESSIONS wseas at canada.com http://wseas.freeservers.com **************************************************************** Udine, Italy, March 25-27, 2004: IASME/WSEAS 2004 Int.Conf. on MECHANICS and MECHATRONICS **************************************************************** Miami, Florida, USA, April 21-23, 2004 5th WSEAS International Conference on APPLIED MATHEMATICS (SYMPOSIA on: Linear Algebra and Applications, Numerical Analysis and Applicatio...
2009 Aug 01
0
[LLVMdev] Inserting Instructions (pass)
On Jul 31, 2009, at 5:04 PM, Michael Graumann wrote: > Thank you Chris, > for your hint, but I am still too stupid. I tried two versions > > asm_arguments.push_back(Type::VoidTy); > FunctionType *asm_type = FunctionType::get(Type::VoidTy, > asm_arguments, false); > > Alternatively > > FunctionType *asm_type = FunctionType::get(Type::VoidTy, >
2009 Aug 01
2
[LLVMdev] Inserting Instructions (pass)
Thank you Chris, for your hint, but I am still too stupid. I tried two versions asm_arguments.push_back(Type::VoidTy); FunctionType *asm_type = FunctionType::get(Type::VoidTy, asm_arguments, false); Alternatively FunctionType *asm_type = FunctionType::get(Type::VoidTy, std::vector<const Type*>(), false); . Can you give me a snippet of example code, or somebody else?
2006 Nov 25
3
[LLVMdev] LLVM Newb: Getting started
...onditional comilation, so the following would be completely valid: void foo(){ version(x86) { asm { /* x86 assembler */ } } else version(llvm) { asm { /* llvm assembler */ } } else { /* plain D implementation */ } } <http://www.digitalmars.com/d/iasm.html> <http://www.digitalmars.com/d/version.html> Any ideas, how this could be integrated with LLVM? The IMHO most naive approach would be to add labels where the asm begins and ends. Then the plattform dependent assembler being parted from the code llvm gets to see and being processed...
2006 Nov 24
0
[LLVMdev] LLVM Newb: Getting started
Hi Wolfgang, On Thu, 2006-11-23 at 19:47 +0100, Wolfgang Draxinger wrote: > A few days ago Craig Black made the suggestion in the D newsgroup, > that someone creates a D <http://www.digitalmars.com/d/index.html> > frontend for LLVM. Never having heard of LLVM in the past, I > immediately got captured by its design when I've read the > documentation. I was always
2006 Nov 23
3
[LLVMdev] LLVM Newb: Getting started
A few days ago Craig Black made the suggestion in the D newsgroup, that someone creates a D <http://www.digitalmars.com/d/index.html> frontend for LLVM. Never having heard of LLVM in the past, I immediately got captured by its design when I've read the documentation. I was always scared by GCC - a great piece of software, but horribly bad documented, and in it's own way not very