Displaying 20 results from an estimated 1100 matches similar to: "[LLVMdev] converting x86 instructions to LLVM instructions"
2009 Sep 29
4
[LLVMdev] converting x86 instructions to LLVM instructions
Hi Timo,
Thanks for commenting. I feel like I have to justify why I don't want to use
QEMU, which is fine since my choice is not frozen actually.
QEMU is much more than what I need for dynamically instrumenting software.
My goal is automated testing to find bugs, which can quickly be intensive in
term of computational load. Thus I am trying to get the smallest (and
fastest) tool.
Even using
2009 Sep 29
0
[LLVMdev] converting x86 instructions to LLVM instructions
Alexandre Gouraud <alexandre.gouraud at enst-bretagne.fr> writes:
> like to write the same kind of thing, but not using QEMU as they claim in
> the paper, but rather with my own pin tool.
You could also use valgrind to convert x86 to valgrind's IR and then
write a tool to convert that IR to LLVM.
2009 Sep 29
4
[LLVMdev] converting x86 instructions to LLVM instructions
Dear all,
I am studying a paper (cf below) that says they have written a piece of code
to translate x86 instructions to LLVM. I am interested in this, and would
like to write the same kind of thing, but not using QEMU as they claim in
the paper, but rather with my own pin tool.
>From what I have red until now on LLVM, and my relative poor knowledge of
assembly, I have the feeling that this is
2009 Sep 29
0
[LLVMdev] converting x86 instructions to LLVM instructions
On Tue, Sep 29, 2009 at 14:21, Alexandre Gouraud
<alexandre.gouraud at enst-bretagne.fr> wrote:
> Hi Timo,
>
> Thanks for commenting. I feel like I have to justify why I don't want to use
> QEMU, which is fine since my choice is not frozen actually.
>
> QEMU is much more than what I need for dynamically instrumenting software.
> My goal is automated testing to find
2009 Sep 29
0
[LLVMdev] converting x86 instructions to LLVM instructions
Hi Alexandre,
On Tue, Sep 29, 2009 at 12:14 PM, Alexandre Gouraud
<alexandre.gouraud at enst-bretagne.fr> wrote:
> I am studying a paper (cf below) that says they have written a piece of code
> to translate x86 instructions to LLVM. I am interested in this, and would
> like to write the same kind of thing, but not using QEMU as they claim in
> the paper, but rather with my own
2009 Sep 29
1
[LLVMdev] converting x86 instructions to LLVM instructions
>
>
> Are there particular reasons why you want to translate to LLVM IR?
> (E.g. the authors of the paper wanted to be able to use KLEE with
> machine code)
>
> Hi Tilmann
I want to do the same. Using KLEE with machine code. With such a framework,
I could try to do the same that what is explained here :
2009 Oct 12
1
[LLVMdev] current state of building analysis passes out-of-tree with llvm-config?
Hi,
what's the current state of being able to build simple analysis passes
out-of-tree against only llvm headers and libraries with llvm-config?
I see that clang and klee do not use llvm-config but for example
rubinius does. Should both approaches be documented?
Currently for example docs/WritingAnLLVMPass.html says
"you need to create a new directory somewhere in the LLVM source
2009 Oct 12
2
[LLVMdev] [PATCH] docs/Bugpoint.html: mention -debug-pass=Arguments
Hi,
when reporting
http://llvm.org/bugs/show_bug.cgi?id=5104
I spent quite a while trying to figure out what passes are used by
"-O1" so that I could give this list to bugpoint. It turns out
-debug-pass=Arguments is mentioned in docs/HowToSubmitABug.html but
under a chapter titled "Compile-time optimization bugs" which I
naively ignored since my bug was not a compile-time
2017 Mar 21
2
Re: libvirt-guests and time sync on autostart vms
On Mon, Mar 20, 2017 at 9:58 PM, Timo Juhani Lindfors
<timo.lindfors@iki.fi> wrote:
> ıuoʎ <yonjah@gmail.com> writes:
>> I have a host running a few guests all configured to autostart.
>> I'm also using libvirt-guests to suspend the guests when the host
>> restarts or shuts down
>
> I have a similar setup. I solved it by writing a small daemon that syncs
2009 Oct 15
0
[LLVMdev] strace for whole-program bitcodes
On Thu, Oct 15, 2009 at 7:14 AM, Timo Juhani Lindfors
<timo.lindfors at iki.fi> wrote:
> Tianwei <tianwei.sheng at gmail.com> writes:
>> someone suggested me to use gold-plugin, I know nothing about it yet, I will
>> have a try later. Does anyone have a good solution for this problem?
>
> Afaik gold does not help here. I tried it and managed to only generate
>
2009 Oct 16
2
[LLVMdev] strace for whole-program bitcodes
Daniel Dunbar wrote:
> On Thu, Oct 15, 2009 at 7:14 AM, Timo Juhani Lindfors
> <timo.lindfors at iki.fi> wrote:
>> Tianwei <tianwei.sheng at gmail.com> writes:
>>> someone suggested me to use gold-plugin, I know nothing about it yet, I will
>>> have a try later. Does anyone have a good solution for this problem?
>> Afaik gold does not help here. I
2009 Oct 30
2
[LLVMdev] strace for whole-program bitcodes
--emit-llvm??
On Fri, Oct 30, 2009 at 7:55 AM, Viktor Kutuzov
<vkutuzov at accesssoftek.com>wrote:
> Hello everyone,
>
> I'm working on passing parameters for gold/LTO plug-in and could add this
> one as well.
> Just need an option name. Could anybody suggest one?
>
> Viktor
>
> ----- Original Message -----
> From: "Nick Lewycky" <nicholas at
2009 Oct 29
0
[LLVMdev] strace for whole-program bitcodes
Hello everyone,
I'm working on passing parameters for gold/LTO plug-in and could add this one as well.
Just need an option name. Could anybody suggest one?
Viktor
----- Original Message -----
From: "Nick Lewycky" <nicholas at mxc.ca>
To: "Daniel Dunbar" <daniel at zuster.org>
Cc: "Kelly, Terence P (HP Labs Researcher)" <terence.p.kelly at
2009 Oct 30
0
[LLVMdev] strace for whole-program bitcodes
--emit-llvm, if not conflict
>>> Paul Davey <plmdvy at gmail.com> 10/30/2009 11:11 AM >>>
--emit-llvm??
On Fri, Oct 30, 2009 at 7:55 AM, Viktor Kutuzov <vkutuzov at accesssoftek.com> wrote:
Hello everyone,
I'm working on passing parameters for gold/LTO plug-in and could add this one as well.
Just need an option name. Could anybody suggest one?
Viktor
2003 Aug 01
1
shading in image()
Is there a way to make a shading interpolation on an image plot?
Something similar to matlab 'shading interp', I think it is called Gouraud
shading.
What I want is to make a image plot look nicer. with image() it looks very
facetted, and I would like to make it look smoother.
I've tried with interp.surface() in fields package but it (obviously) makes
nan values at the borders and
2009 Nov 17
0
[LLVMdev] lli -force-interpreter complains about external function
Timo Juhani Lindfors wrote:
> Nick Lewycky<nicholas at mxc.ca> writes:
>> The interpreter uses libffi to make external function calls. However, it
>> needs to be detected at LLVM's compile time. If you're using the
>> released packages, we disabled that because we were worried about users
>> who don't have libffi installed.
>
> This seems to be
2009 Sep 29
2
[LLVMdev] [PATCH] llvm-bcanalyzer: print percentages without scientific notation
Hi,
Andreas Neustifter <astifter-llvm at gmx.at> writes:
> Maybe you can use the already available "include/llvm/Support/Format.h"?
Thanks, that simplifies the patch a lot. See the attached patch.
Btw, llvm-bcanalyzer.cpp seems to also use fprintf -- does mixing it
with errs() cause problems and should it be converted to use format()?
best regards,
Timo Lindfors
2009 Oct 12
1
[LLVMdev] [PATCH] docs/WritingAnLLVMPass.html: s/heirarchy/hierarchy/
Hi,
attached patch fixes an obvious typo in docs/WritingAnLLVMPass.html.
best regards,
Timo Lindfors
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-docs-writing-pass-typo1.patch
Type: text/x-diff
Size: 407 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091012/27de943d/attachment.patch>
2009 Nov 18
2
[LLVMdev] lli -force-interpreter complains about external function
Hi Nick:
Thanks for pointing me to libffi.
Recompile LLVM with libffi does solve the problem of printf.
But it still has other problems:
1) sinf() returns 0 in the interpreter, but returns correct value in JIT
(see hellosin.c)
2) calling pthread_create cause lli to crash in the interpreter mode, but no
problem in JIT (see phello.c).
My questions are:
i) can I call any arbitrary external function
2009 Oct 15
2
[LLVMdev] strace for whole-program bitcodes
Tianwei <tianwei.sheng at gmail.com> writes:
> someone suggested me to use gold-plugin, I know nothing about it yet, I will
> have a try later. Does anyone have a good solution for this problem?
Afaik gold does not help here. I tried it and managed to only generate
native code.
I'm currently investigating an alternative approach to produce
whole-program bitcodes:
1) add