search for: readarrayel

Displaying 4 results from an estimated 4 matches for "readarrayel".

Did you mean: readarray
2010 Jul 16
3
[LLVMdev] Tool for run-time code generation?
> > What's wrong with running LLVM on ARM? > > LLVM can generate code for ARM, but the JIT requires extra target and > platform dependent stuff, and that's not done for arm-wince. The release notes say "compiler_rt now supports ARM targets". What else is needed? Keep in mind that I do not need (or want) Clang or any of the optimizers: I just want to generate
2010 Jul 16
0
[LLVMdev] Tool for run-time code generation?
...rovide a table that tells LLVM the address of malloc and any other >methods I want to call?), even then it is not a problem, since the code I want >to generate will simply access records and do some arithmetic. For example, I >might generate a function that does this: > > int ReadArrayElement(byte* record, int index, int defValue) > { > unsigned arraySize = (*(unsigned*)(record + 4) & 0x7F); > if (index > arraySize) > return defValue; > return *(int*)(record + 8 + index * 4); > } > > No method calls there. > There's o...
2010 Jul 16
0
[LLVMdev] Tool for run-time code generation?
----- Original Message ---- > From: David Piepgrass <dpiepgrass at mentoreng.com> > To: Óscar Fuentes <ofv at wanadoo.es> > Cc: "LLVMdev at cs.uiuc.edu" <LLVMdev at cs.uiuc.edu> > Sent: Fri, July 16, 2010 2:22:57 PM > Subject: Re: [LLVMdev] Tool for run-time code generation? > > > > What's wrong with running LLVM on ARM? > > >
2010 Jul 16
2
[LLVMdev] Tool for run-time code generation?
...oc (why not? Couldn't I provide a table that tells LLVM the address of malloc and any other methods I want to call?), even then it is not a problem, since the code I want to generate will simply access records and do some arithmetic. For example, I might generate a function that does this: int ReadArrayElement(byte* record, int index, int defValue) { unsigned arraySize = (*(unsigned*)(record + 4) & 0x7F); if (index > arraySize) return defValue; return *(int*)(record + 8 + index * 4); } No method calls there.