Displaying 3 results from an estimated 3 matches for "ldtoc".
Did you mean:
dtoc
2011 Mar 23
4
[LLVMdev] Calling external functions failed on PowerPC
...ef> = COPY %RBX
CALL64r %RAX<kill>, %RDI<kill>, %RAX<imp-def,dead>,
%RCX<imp-def,dead>, %RDX<imp-def,dead>, %RSI<imp-def,dead>,
%%RDI<imp-def,dead>, %R8<imp-def,dead>,
%EFLAGS<imp-def,dead>, %RSP<imp-use>, ...
- ppc
%X4<def> = LDtoc <ga:@helper_shack_flush>, %X2
The x86 JIT can call the external function correctly, but
the ppc JIT give me the error belows,
%X4<def> = LDtoc <ga:@helper_shack_flush>, %X2
UNREACHABLE executed!
Stack dump:
0. Running pass 'PowerPC Machine Code Emitter' on funct...
2012 Jun 08
2
[LLVMdev] Strong vs. default phi elimination and single-reg classes
...reg11 GPRC:%vreg10
Successors according to CFG: BB#1
112B BB#1: derived from LLVM BB %for.body, ADDRESS TAKEN
Predecessors according to CFG: BB#0 BB#1
%vreg12<def> = PHI %vreg13, <BB#1>, %vreg11,
<BB#0>;CTRRC8:%vreg12,%vreg13,%vreg11
%vreg5<def> = LDtoc <ga:@a>, %X2; G8RC:%vreg5
%vreg6<def> = LWZ 0, %vreg5; mem:Volatile LD4[@a](tbaa=!"int")
GPRC:%vreg6 G8RC:%vreg5
%vreg7<def> = ADD4 %vreg6<kill>, %vreg3; GPRC:%vreg7,%vreg6,%vreg3
STW %vreg7<kill>, 0, %vreg5<kill>; mem:Volatile ST4[@a](tbaa=!"int&q...
2011 Mar 25
0
[LLVMdev] Calling external functions failed on PowerPC
Hi, all
I found the example code examples/HowToUseJIT.cpp also shows
the same error.
Attachment is the LLVM module created by HowToUseJIT. And here
is the error,
Running foo: %X4<def> = LDtoc <ga:@add1>, %X2
UNREACHABLE executed!
Stack dump:
0. Running pass 'PowerPC Machine Code Emitter' on function '@foo'
Aborted
Currently, I use gdb try to track down where the problem is. Here
is the backtrace,
(gdb) bt
#0 0x00000fffb7b84090 in .raise () from /lib/libc....