Displaying 20 results from an estimated 300 matches similar to: "[LLVMdev] Hello World crashes!"
2006 Jul 14
2
[LLVMdev] Hello World crashes!
Hi,
Sorry for the newbie question. I downloaded llvm and tried out the
simple "Hello, World" program but got the following error. What am I
missing? I am running RHAS 3 Update 4 with GCC 3.2.3.
Thanks,
Bharadwaj
$ ./hello
lli: /home/proj/skokomish/syadaval/ia32/Sandbox/llvm/lib/Target/X86/X86CodeEmitter.cpp:208:
unsigned char ModRMByte(unsigned int, unsigned int, unsigned int):
2013 Dec 12
3
[LLVMdev] [RFC PATCH 1/2] x86: Fix ModR/M byte output in 16-bit addressing mode
This attempts to address http://llvm.org/bugs/show_bug.cgi?id=18220
It also fixes a test which was requiring the *wrong* output.
I'm relatively happy with this part, and it even solves most of the hard
part of feature request for .code16 in bug 8684 — which was actually why
I started prodding at this. But I could do with some help with the
16-bit signed relocation handling, which I've
2013 Dec 16
0
[LLVMdev] [RFC PATCH 1/2] x86: Fix ModR/M byte output in 16-bit addressing mode
Hi David,
I'm catching up on email at the moment so I don't know if you've done this,
but patches should go to llvm-commits for review if you wouldn't mind.
Thanks!
-eric
On Thu Dec 12 2013 at 8:39:19 AM, David Woodhouse <dwmw2 at infradead.org>
wrote:
> This attempts to address http://llvm.org/bugs/show_bug.cgi?id=18220
> It also fixes a test which was requiring
2007 Jul 11
1
[LLVMdev] LLVM 2.0 / GCC 3.4
Hi there,
Is it possible to use GCC 3.4 with LLVM 2.0? I tried to compile GCC
3.4 with LLVM 2.0 and get following error message:
/scratch/spa_llvm-2.0/llvm-gcc3.4-1.9.source/build/gcc/xgcc -B/
scratch/spa_llvm-2.0/llvm-gcc3.4-1.9.source/build/gcc/ -B/scratch/
spa_llvm-2.0/llvm-gcc3.4-1.9.source/install/i386-pc-solaris2.11/bin/ -
B/scratch/spa_llvm-2.0/llvm-gcc3.4-1.9.source/install/i386-pc-
2018 Mar 28
0
x86 instruction format which takes a single 64-bit immediate
Copy Ii32 in X86InstrFormats.td rename to Ii64 and change Imm32 to Imm64.
Instantiate your instruction inheriting from Ii64. Pass RawFrm to the form
parameter.
Initial documentation for the encoding system is attached.
~Craig
On Wed, Mar 28, 2018 at 4:50 PM, Gus Smith via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> I am attempting to create an instruction which takes a single
2018 Mar 28
4
x86 instruction format which takes a single 64-bit immediate
I am attempting to create an instruction which takes a single 64-bit
immediate. This doesn't seem like a thing that would exist already (because
who needs an instruction which just takes an immediate?) How might I
implement this easily? Perhaps I could use a format which encodes a
register, which is then unused?
Thanks for the help.
Gus
-------------- next part --------------
An HTML
2011 Nov 30
0
[PATCH 2/4] x86/emulator: add emulation of SIMD FP moves
Clone the existing movq emulation to also support the most fundamental
SIMD FP moves.
Extend the testing code to also exercise these instructions.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- a/tools/tests/x86_emulator/test_x86_emulator.c
+++ b/tools/tests/x86_emulator/test_x86_emulator.c
@@ -629,6 +629,60 @@ int main(int argc, char **argv)
else
2006 Aug 25
4
[LLVMdev] updating the "Getting Started" page with more info about the gcc4 frontend
Chris Lattner wrote:
> Patches welcome. Please send a patch, or even just some suggested
> text, and we'll be happy to include it. Remember that the people who
> usually end up writing the FAQ's already know all the answers, so it's
> hard for us to see things from fresh perspectives sometimes :)
>
> -Chris
>
Actually, my request for more info in the
2008 Aug 12
0
configure for ARM Linux
Hi, all,
Samba version 3.2.1 tar ball is downloaded. Next, I'm facing how to
configure it for ARM Linux, but it's not so smooth for me. : (
The following is my environment information:
1. Development environment : Linux PC
2. Cross compiler : scratchbox/compilers/arm-gcc3.4-uclibc0.9.28
3. Configure options : (almost of them are googled)
$ ./configure --without-krb5
2006 Sep 16
0
[LLVMdev] cpp program crashes
Hi,
Sorry for the newbie question. I downloaded llvm 1.8a and llvm-gcc3.4-binary,
tried out the simple cpp program like this:
#include <iostream>
using std::cout;
using std::endl;
int main()
{
cout << "Hello World" << endl;
return 0;
}
but got the following error:
lli((anonymous namespace)::PrintStackTrace()+0x15)[0x85c4d85]
2006 Sep 02
0
[LLVMdev] updating the "Getting Started" page with more info about the gcc4 frontend
Erick Tryzelaar wrote:
> Actually, my request for more info in the "Getting Started" had some
> hidden questions, as I don't know the answer to them :) So to be a
> little more clear, here are the two I had:
>
> Does the gcc4 no longer need the "fixheaders" script that the gcc3.4
> frontends uses?
>
> Is it possible to install both the gcc4 and
2014 Apr 24
2
[LLVMdev] how to interpret MRMDestReg in X86InstrFormat.td?
hi,
i am struggling to understand how MRMDestReg is used in X86.
in X86InstrFormat.td, we have this:
class Format<bits<7> val> {
bits<7> Value =
val;
}
def MRMDestReg : Format<3>
i think eventually, MRMDestReg is mapped back to ModMRM byte. but this
still doesnt make sense to me why MRMDestReg is defined this way, and how
it is mapped back to ModRM byte.
any hint
2006 Aug 23
2
[LLVMdev] updating the "Getting Started" page with more info about the gcc4 frontend
Hello,
It looks like the "Getting Started" is missing some info about the gcc
4.0 frontend. Since it doesn't follow the setup of the cfrontend/gcc3.4
package, a couple sections describing the front end don't cover the gcc4
package. Here are the couple things I'd wish could be fleshed out a bit
more:
Under "Getting Started Quickly (A Summary)", it'd be nice
2009 Apr 08
1
[LLVMdev] [PATH] Fix instruction size computation on amd64
Hi,
The attached small path fixes X86InstrInfo::getMemModRMByteSize to be
consistent with the emit code in X86CodeEmitter::emitMemModRMByte on amd64.
Zoltan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090408/ad831982/attachment.html>
-------------- next part --------------
A non-text
2018 Mar 28
1
Taking over an x86 opcode for my own instruction
tl;dr, I'd like to add my own instruction, but I'm running into problems
due to my lack of x86 encoding/decoding understanding.
Hello all. Currently, I'm working on adding my own x86 instruction. I have
done this once before; the basic process I used was:
1. Find an unused opcode, e.g. 0xF1 in this table:
http://ref.x86asm.net/coder32.html
2. Insert an instruction into
2012 Mar 16
2
[LLVMdev] PowerPC codegen experts looking for challenges?
Hi all,
at my paid job I am pushing the Clang/LLVM combo into evaluation (we
currently use a gcc3.4 generation toolchain). Since we produce for the
embedded domain we need a reliable
host (i.e. simulation i686) / target (PPC) dual setup. To this end I
almost succeeded grinding through our large(ish) codebase but found
some PPC snags.
I filed these bugs, complete with repro IR code:
2019 Jul 31
2
[PATCH v9 10/11] x86/paravirt: Adapt assembly for PIE support
On Tue, Jul 30, 2019 at 12:12:54PM -0700, Thomas Garnier wrote:
> if PIE is enabled, switch the paravirt assembly constraints to be
> compatible. The %c/i constrains generate smaller code so is kept by
> default.
>
> Position Independent Executable (PIE) support will allow to extend the
> KASLR randomization range below 0xffffffff80000000.
>
> Signed-off-by: Thomas
2019 Jul 31
2
[PATCH v9 10/11] x86/paravirt: Adapt assembly for PIE support
On Tue, Jul 30, 2019 at 12:12:54PM -0700, Thomas Garnier wrote:
> if PIE is enabled, switch the paravirt assembly constraints to be
> compatible. The %c/i constrains generate smaller code so is kept by
> default.
>
> Position Independent Executable (PIE) support will allow to extend the
> KASLR randomization range below 0xffffffff80000000.
>
> Signed-off-by: Thomas
2008 Feb 21
6
[LLVMdev] Removing inlining of library functions
I am interested in analyzing the bytecode code produced for C files.
By default, inlining of user and library functions (libc) is done. If
I turn off inlining (-disable-inlining in gccas and gccld) then no
inlining is done. I want to be able to inline user code but disallow
library code to be inlined.
In trying to understand the InlineSimple.cpp code, I see that library
functions are
2008 Feb 22
2
[LLVMdev] Removing inlining of library functions
On Thu, 21 Feb 2008, Dale Johannesen wrote:
> The defined gcc interface for this is -fno-builtin. It seems not be
> to be working in llvm-gcc, however.
Please file a reduced testcase in bugzilla,
-Chris
>
>> I am interested in analyzing the bytecode code produced for C files.
>> By default, inlining of user and library functions (libc) is done. If
>> I turn off