<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 9/19/13 9:53 AM, Herbei Dacian
wrote:<br>
</div>
<blockquote
cite="mid:1379602425.84692.YahooMailNeo@web172602.mail.ir2.yahoo.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div style="color:#000; background-color:#fff; font-family:arial,
helvetica, sans-serif;font-size:10pt"><br>
Hi Konstantin,<br>
good point.<br>
but I my intention is to have something like the llva project.<br>
</div>
</blockquote>
<br>
If you want something like the LLVA project for user-space
applications, then you basically want to use LLVM as-is. The only
things missing are the instructions that replace certain in-line
assembly sequences that cannot be represented by regular LLVM
instructions or LLVM intrinsics (e.g., context switching), and
chances are good that you don't need them unless you're supporting
kernel code or something like a user-space pthreads library (or you
are really pedantic about not using inline assembly code).<br>
<br>
As an FYI, I'm building a new version of SVA (LLVA) that works on
64-bit x86 processors. It supports the FreeBSD 9.0 kernel. I
probably won't replace all the inline assembly code in the FreeBSD
kernel like I did for Linux 2.4.22 years ago, but most of the
important features will be there (and are, in fact, already
implemented).<br>
<br>
We plan to release this version as open-source software within the
next year (I suppose we could release the old version, too, but
nobody uses Linux 2.4 on x86 anymore), but I don't have a timeline
for that yet. My first order of business is to use the new SVA
system to graduate.<br>
:)<br>
<br>
-- John T.<br>
<br>
<br>
<blockquote
cite="mid:1379602425.84692.YahooMailNeo@web172602.mail.ir2.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:arial,
helvetica, sans-serif;font-size:10pt">Basically I would like to
define a machine that looks as if it has processors running
natively llvm code.<br>
And when that runs enhance the llvm byte code with some specific
instructions.<br>
Besides this if I make my measurements on the running of llvm
bytecode I can test several platforms simultaneously because I
can translate the enhancements done on llvm code in
optimizations specific for each platform without having to redo
the research.<br>
regards,<br>
dacian<br>
<div><span><br>
</span></div>
<div><br>
</div>
<div style="font-family: arial, helvetica, sans-serif;
font-size: 10pt;">
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;">
<div dir="ltr">
<hr size="1"> <font face="Arial" size="2"> <b><span
style="font-weight:bold;">From:</span></b>
Konstantin Tokarev <a class="moz-txt-link-rfc2396E" href="mailto:annulen@yandex.ru"><annulen@yandex.ru></a><br>
<b><span style="font-weight: bold;">To:</span></b>
Herbei Dacian <a class="moz-txt-link-rfc2396E" href="mailto:dacian_herbei@yahoo.fr"><dacian_herbei@yahoo.fr></a>;
<a class="moz-txt-link-rfc2396E" href="mailto:llvmdev@cs.uiuc.edu">"llvmdev@cs.uiuc.edu"</a> <a class="moz-txt-link-rfc2396E" href="mailto:llvmdev@cs.uiuc.edu"><llvmdev@cs.uiuc.edu></a> <br>
<b><span style="font-weight: bold;">Sent:</span></b>
Thursday, 19 September 2013, 16:25<br>
<b><span style="font-weight: bold;">Subject:</span></b>
Re: [LLVMdev] LLVM virtual machine<br>
</font> </div>
<div class="y_msg_container"><br>
<br>
19.09.2013, 18:20, "Herbei Dacian" <<a
moz-do-not-send="true"
ymailto="mailto:dacian_herbei@yahoo.fr"
href="mailto:dacian_herbei@yahoo.fr">dacian_herbei@yahoo.fr</a>>:<br>
> Hi,<br>
> Is there possible to run the llvm byte code purely
interpreted with lli?<br>
> I know there is this option but in the documentation
is stated also that the option is not working and is not
maintained.<br>
> Did I understand wrong? Is it working?<br>
> Is anyone working on this option?<br>
> I would like to make something similar to q-emu or
bochs.<br>
<br>
In this case you probably need to interpret machine code
(or assembly language) instead of llvm bitcode.<br>
<br>
<br>
-- <br>
Regards,<br>
Konstantin<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
</blockquote>
<br>
</body>
</html>