Displaying 3 results from an estimated 3 matches for "lcpi1".
Did you mean:
lcfi1
2012 Jul 19
2
[LLVMdev] Help with PPC64 JIT
...g the JIT function code is
an ODP.
Now I'm trying to make the relocation work properly. Using the testcase '2003-01-04-ArgumentBug'
the assembly generated for main functions is the following:
.L.main:
# BB#0:
mflr 0
std 0, 16(1)
stdu 1, -112(1)
lis 3, .LCPI1_0 at ha
li 4, 1
lfs 1, .LCPI1_0 at l(3)
li 3, 0
bl foo
nop
addi 1, 1, 112
ld 0, 16(1)
mtlr 0
blr
Which is correct, however for the JIT one generated in memory the relocations generate some issues.
First the 'lis 3, .L...
2012 Jul 20
0
[LLVMdev] Help with PPC64 JIT
...#39;m trying to make the relocation work properly. Using the testcase '2003-01-04-ArgumentBug'
> the assembly generated for main functions is the following:
>
> .L.main:
> # BB#0:
> mflr 0
> std 0, 16(1)
> stdu 1, -112(1)
> lis 3, .LCPI1_0 at ha
> li 4, 1
> lfs 1, .LCPI1_0 at l(3)
> li 3, 0
> bl foo
> nop
> addi 1, 1, 112
> ld 0, 16(1)
> mtlr 0
> blr
>
> Which is correct, however for the JIT one generated in memory the...
2012 Jul 20
3
[LLVMdev] Help with PPC64 JIT
...properly. Using the testcase '2003-01-04-ArgumentBug'
> > the assembly generated for main functions is the following:
> >
> > .L.main:
> > # BB#0:
> > mflr 0
> > std 0, 16(1)
> > stdu 1, -112(1)
> > lis 3, .LCPI1_0 at ha
> > li 4, 1
> > lfs 1, .LCPI1_0 at l(3)
> > li 3, 0
> > bl foo
> > nop
> > addi 1, 1, 112
> > ld 0, 16(1)
> > mtlr 0
> > blr
> >
> > Which is co...