similar to: [LLVMdev] x86_64 and large call offsets

Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] x86_64 and large call offsets"

2019 Mar 25
2
Printing PC-relative offsets - how to get the instruction length?
Hi In my MC6809 backend, in llvm/lib/Target/MC6809/InstPrinter/MC6809InstPrinter.cpp, I have the routine void MC6809InstPrinter::printPCRelImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O) { const MCOperand &Op = MI->getOperand(OpNo); ZZ if (Op.isImm()) { int64_t Imm = Op.getImm() + 2; <<<======================== O << "$"; if (Imm
2010 Jun 17
2
[LLVMdev] Relocation issue with jump tables in ELF object files on X86_64
I had this problem a while back and received this response from Jeffrey. FWIW this is fixed in 2.7 by defaulting to CodeModel::Large and using indirect (far) calls. -----Original Message----- From: Jeffrey Yasskin [mailto:jyasskin at google.com] Sent: Monday, December 07, 2009 11:32 AM To: Howell, Nathan Cc: LLVM Developers Mailing List Subject: Re: [LLVMdev] 2.6 JIT using wrong address for
2007 Jun 12
0
[LLVMdev] How to call native functions from bytecode run in JIT?
Hi, > Jan, how are you doing this? Are you creating an external LLVM > Function > object named "get5", then using EE::addGlobalMapping? If 'get5' > exists in > the address space, why not just let the JIT resolve it (which will > then > create the stub)? Yes. I create a Function with matching signature, calling conventions and external linkage
2007 May 03
3
SIP RealTime Friends
I setup sip realtime. Is it possible to use a type of friend? User and Peer seem to work fine. -- *** Forrest Beck IAXTEL: 17002871718 jonforrest.beck@gmail.com
2007 Feb 08
3
Automatic Dial, Play message
Does anyone have some method, or AGI scripts that will automatically call a list of numbers from a database and play a pre-recorded message? For example, you have a database of FirstName LastName PhoneNumber Jon -- *** Forrest Beck IAXTEL: 17002871718 jonforrest.beck@gmail.com
2014 Jul 05
1
[PATCH 1/2] nvc0/ir: use manual TXD when offsets are involved
Something about how we're implementing offsets for TXD is wrong, just flip to the generic quadop-based implementation in that case. This is the minimal fix appropriate for backporting. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> Cc: <mesa-stable at lists.freedesktop.org> --- src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 3 ++- 1 file changed, 2
2009 Sep 30
0
[LLVMdev] long double type on ARM
Hi Jin-Gu Kang! It are possible that the problem you are experiencing have already been solved in the current llvm 2.6 release tree and the current svn trunk. So try using llc from llvm 2.6 release branch or llvm pre2.7 svn trunk! It would be helpful if you could open a bugreport for this issue and attach the problematic od.bc since we need a testcase from the bitcode that exposes the bug inorder
2015 Aug 13
4
Linking existing functions from JITed code
Hi I’ve previously used the ExecutionEngine::addGlobalMapping to make existing functions available to my JITed code. I’m currently using ORC, as MCJIT does not appear to be maintained any longer (the kaleidoscope examples have not worked for some time with MCJIT). I’m using just the basic ORC CompileLayer directly. So, I’ve essentially copied the ExecutionEngine::addGlobalMapping related
2007 Feb 25
1
Marks SNMP HowTo
I followed Marks SNMP howto on Voip Magazine and ran into a small problem... (http://www.voip-magazine.com/content/view/2877/0/1/3/) When asterisk is running as a non-root user (asterisk) SNMP request for for the Asterisk MIB tree return nothing. If I quit asterisk and run it as root, all is fine. Does anyone have a idea what is going on? I have never used agentX, so I am unsure of what it is
2007 Mar 30
1
Paging
First off, A lot of thanks to this list. I have learned ton from reading through the posts this past year. I need some advise. I have two group of phones connected to a single server. Group1= SIP/2503&SIP/2504 Group2=SIP/3501&SIP/3502 I'd like to be able to dial an extension and page a certain group of phones only if ChanIsAvail returns 1. I am not sure how to go about
2015 Aug 20
2
Linking existing functions from JITed code
Hi Andy, I think that makes sense. I'm currently rewriting the core Kaleidoscope tutorials - I'll look at adding support for this. - Lang. On Fri, Aug 14, 2015 at 7:38 AM, Andy Somogyi <andy.somogyi at gmail.com> wrote: > After some fiddling with it, it does in fact look like it works as you > describe Lang. > > The trick was you had to call > >
2012 Apr 19
1
combining large list of data.frames
It's normal for me to create a list of data.frames and then use do.call('rbind', list(...)) to create a single data.frame. However, I've noticed as the size of the list grows large, it is perhaps better to do this in chunks. As an example here's a list of 20,000 similar data.frames. # create list of data.frames dat <- vector("list", 20000) for(i in
2016 Sep 19
3
llvm interpreter does not find function defined by addGlobalMapping
Hi, I want to use a function defined in c(++)-code from code generated by llvm. For this I use ExecutionEngine.addGlobalMapping(). I started with the JIT execution engine and everything worked, then I switched to the interpreter engine and it stopped working, but only if compiled on a Linux system. More precisely it works if I use llvm 3.8.1 + gcc (Linux) + JIT llvm 3.8.0 + mingw-gcc
2015 Aug 13
2
Linking existing functions from JITed code
Hi Andy, I haven't tested this on Linux, but on MacOS the RuntimeDyldMemorManager::getSymbolAddressInProcess method should find symbol addresses in the host program, including symbols from static archives linked into the program. However, one gotcha is that the symbol has to be reachable from main, otherwise the linker may strip it from the final executable. Do you have a test-case that I
2013 Nov 01
0
[LLVMdev] [Proposal] Adding callback mechanism to Execution Engines
Unless I'm missing something, indeed addGlobalMapping should not work with MCJIT. MCJIT does not consult EEState.getGlobalAddressMap when resolving symbols. Instead it uses RTDyldMemoryManager::getSymbolAddress which checks with DynamicLibrary::SearchForAddressOfSymbol, so Andy's suggestion of DynamicLibrary::addSymbol is better as it should work with both JIT and MCJIT. Another options
2006 Nov 28
2
[LLVMdev] question about the LLVM JIT
<cc'ing llvmdev> On Tue, 28 Nov 2006, Eric van Riet Paap wrote: > I'm working on using the LLVM JIT in PyPy and I hop you can give me a few > hint. ok > I have some things working at and try to write C++ code for what I need > from Python. The unittest I am working on at the moment is looks like > this > > --- Python code... > llglobalmul4 =
2007 Apr 19
3
Outgoing CallerID
I am not sure of the best way to do this, so I thought I would query the list. I have about 100 internal extensions ranging from 2000 - 2100. Each internal extension has a external DID number. For example: 2001 = 5552871620. As you can see the internal externsion and DID don't match in any way. What would be the best way to set the DID for when a extension dials out on the PRI? In
2007 Jan 09
3
[LLVMdev] Pattern matching questions
I was able to resolve my previous question about dealing with custom loads/stores, and following Chris' suggestion, the IBM Cell SPU backend can generate code for "int main(void) { return 0; }" without crashing llc. There's a lot of work still to be done... like getting frame offsets correctly computed and hauling in the raft of intrinsics that the Cell SDK defines. Three quick
2017 Sep 21
2
Can I differentiate an imm with an imm used in memory offset in MI pass?
So I'd like to be able to tell the difference between an imm and an imm used in mem offset in MachineInstr. Or, it would be nice to tell the difference between src and dst operands. I must be missing something trivial? For example, int *b, a; b[10] = a + 2; // is there any marker/flag between 2 and 10 to tell the difference? Thanks. -------------- next part -------------- An HTML
2008 Aug 21
7
Re: Problem installing Topix
> > No you didn't do what I showed you to do. Hallo Vitamin, yes you are right, I didn't install riched20 right, but know I have done it. The fonts at the login mask appears and we can successful login. But if we open a list page (company's list, invoice's list), Topix still breaks down. Here's the terminal's journal... If you could have a look at it, can you