Displaying 3 results from an estimated 3 matches for "_dtime".
Did you mean:
dtime
2011 Jan 25
1
[LLVMdev] LLVM targeting HLLs
...ative, and C-to-Luajit at 10%. I now want to see what sort of
results I get when applying LLVM's optimisations and some more
intelligence to the code generation. (Plus, Sparse is buggy and really
awkward to work with.)
For giggles, here's some example Javascript produced by Clue.
function _dtime(fp, stack) {
var sp;
var H0;
var H1;
var H2;
var H3;
var H4;
var state = 0;
for (;;) {
switch (state) {
case 0:
sp = 2;
sp = fp + sp;
H1 = null;
H0 = 0;
H2 = fp;
H3 = _gettimeofday;
H4 = H3(sp, stack, H2, stack, H0, H1);
H0 = fp;
H1 = stack[H0 + 0];
H0 = fp;
H2 = stack[H0 + 1];
H0 = 1000000.000000;...
2011 Jan 25
0
[LLVMdev] LLVM targeting HLLs
David Given <dg at cowlark.com> writes:
> The obvious place to start on this is the C backend, except in these 2.8
> days the C backend is so hedged about with caveats I'm rather wary of
> basing anything on it. I also recall seeing comments here that it's due
> for a rewrite from scratch, and that various people were looking into
> it. Can anyone go into more detail
2011 Jan 24
6
[LLVMdev] LLVM targeting HLLs
I am interested in using LLVM to translate C and C++ into high-level
language code. (As an update to an earlier project of mine, Clue, which
used the Sparse compiler library to do this: it targets Lua, Javascript,
Perl 5, C, Java and Common Lisp, with a disturbing amount of success.
See http://cluecc.sourceforge.net for details.)
The obvious place to start on this is the C backend, except in