[pcre-dev] [Bug 1430] Request to spin up a new version of pc…

Αρχική Σελίδα
Delete this message
Συντάκτης: Tony Reix
Ημερομηνία:  
Προς: pcre-dev
Αντικείμενο: [pcre-dev] [Bug 1430] Request to spin up a new version of pcre with ppc64le support
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1430




--- Comment #12 from Tony Reix <tony.reix@???>  2014-01-15 15:44:10 ---
(gdb) si
0x000000001007f5f4      7260    return
convert_executable_func.call_executable_func(arguments);
1: x/i $pc
=> 0x1007f5f4 <jit_machine_stack_exec+200>:     mtctr   r12
(gdb) si
0x000000001007f5f8      7260    return
convert_executable_func.call_executable_func(arguments);
1: x/i $pc
=> 0x1007f5f8 <jit_machine_stack_exec+204>:     bctrl
(gdb) si
0x00003fffb7dfe290 in ?? ()
1: x/i $pc
=> 0x3fffb7dfe290:      sthu    r30,-8176(r31)
(gdb) disassemble $pc,$pc+80
Dump of assembler code from 0x3fffb7dfe290 to 0x3fffb7dfe2e0:
=> 0x00003fffb7dfe290:  sthu    r30,-8176(r31)
   0x00003fffb7dfe294:  .long 0x3fff
   0x00003fffb7dfe298:  mflr    r0
   0x00003fffb7dfe29c:  std     r0,16(r1)
   0x00003fffb7dfe2a0:  std     r31,-8(r1)
   0x00003fffb7dfe2a4:  stdu    r1,-144(r1)
   0x00003fffb7dfe2a8:  .long 0x0
   0x00003fffb7dfe2ac:  .long 0x0
   0x00003fffb7dfe2b0:  .long 0x0
   0x00003fffb7dfe2b4:  .long 0x0
   0x00003fffb7dfe2b8:  .long 0x0
   0x00003fffb7dfe2bc:  .long 0x0
   0x00003fffb7dfe2c0:  .long 0x0
   0x00003fffb7dfe2c4:  .long 0x0
   0x00003fffb7dfe2c8:  .long 0x0
   0x00003fffb7dfe2cc:  .long 0x0
   0x00003fffb7dfe2d0:  .long 0x0
   0x00003fffb7dfe2d4:  .long 0x0
   0x00003fffb7dfe2d8:  .long 0x0
   0x00003fffb7dfe2dc:  .long 0x0
End of assembler dump.
(gdb) x/80 $pc
0x3fffb7dfe290: -1210064880     16383   2080899750      -134152176
0x3fffb7dfe2a0: -69074952       -131989647      0       0
0x3fffb7dfe2b0: 0       0       0       0
.....


(gdb) x/20 0x3fffb7dfe290
0x3fffb7dfe290: 0xb7dfe010      0x00003fff      0x7c0802a6      0xf8010010
0x3fffb7dfe2a0: 0xfbe1fff8      0xf821ff71      0x00000000      0x00000000
0x3fffb7dfe2b0: 0x00000000      0x00000000      0x00000000      0x00000000



(gdb) disassemble jit_machine_stack_exec
Dump of assembler code for function jit_machine_stack_exec:
   0x000000001007f52c <+0>:     lis     r2,4114
   0x000000001007f530 <+4>:     addi    r2,r2,20312
   0x000000001007f534 <+8>:     mflr    r0
   0x000000001007f538 <+12>:    std     r0,16(r1)
   0x000000001007f53c <+16>:    std     r31,-8(r1)
   0x000000001007f540 <+20>:    lis     r0,-1
   0x000000001007f544 <+24>:    ori     r0,r0,32656
   0x000000001007f548 <+28>:    stdux   r1,r1,r0
   0x000000001007f54c <+32>:    mr      r31,r1
   0x000000001007f550 <+36>:    addi    r9,r31,-32672
   0x000000001007f554 <+40>:    std     r3,32712(r9)
   0x000000001007f558 <+44>:    addi    r9,r31,-32672
   0x000000001007f55c <+48>:    std     r4,32704(r9)
   0x000000001007f560 <+52>:    addis   r9,r31,1
   0x000000001007f564 <+56>:    ld      r10,-28688(r13)
   0x000000001007f568 <+60>:    std     r10,-32680(r9)
   0x000000001007f56c <+64>:    li      r10,0
   0x000000001007f570 <+68>:    addi    r9,r31,-32672
   0x000000001007f574 <+72>:    addi    r10,r9,32760
   0x000000001007f578 <+76>:    addi    r9,r31,-32672
   0x000000001007f57c <+80>:    std     r10,32728(r9)
   0x000000001007f580 <+84>:    addi    r9,r31,-32672
   0x000000001007f584 <+88>:    ld      r10,32728(r9)
   0x000000001007f588 <+92>:    addi    r9,r31,-32672
   0x000000001007f58c <+96>:    std     r10,32736(r9)
   0x000000001007f590 <+100>:   addi    r9,r31,-32672
   0x000000001007f594 <+104>:   ld      r9,32736(r9)
   0x000000001007f598 <+108>:   addis   r9,r9,1
   0x000000001007f59c <+112>:   addi    r10,r9,-32768
   0x000000001007f5a0 <+116>:   addi    r9,r31,-32672
   0x000000001007f5a4 <+120>:   std     r10,32744(r9)
   0x000000001007f5a8 <+124>:   addi    r9,r31,-32672
   0x000000001007f5ac <+128>:   ld      r10,32744(r9)
   0x000000001007f5b0 <+132>:   addi    r9,r31,-32672
   0x000000001007f5b4 <+136>:   std     r10,32752(r9)
   0x000000001007f5b8 <+140>:   addi    r9,r31,-32672
   0x000000001007f5bc <+144>:   ld      r9,32712(r9)
   0x000000001007f5c0 <+148>:   addi    r10,r31,-32672
   0x000000001007f5c4 <+152>:   addi    r10,r10,32728
   0x000000001007f5c8 <+156>:   std     r10,0(r9)
   0x000000001007f5cc <+160>:   addi    r9,r31,-32672
   0x000000001007f5d0 <+164>:   ld      r10,32704(r9)
   0x000000001007f5d4 <+168>:   addi    r9,r31,-32672
   0x000000001007f5d8 <+172>:   std     r10,32720(r9)
   0x000000001007f5dc <+176>:   addi    r9,r31,-32672
   0x000000001007f5e0 <+180>:   ld      r9,32720(r9)
   0x000000001007f5e4 <+184>:   addi    r10,r31,-32672
   0x000000001007f5e8 <+188>:   ld      r3,32712(r10)
   0x000000001007f5ec <+192>:   std     r2,24(r1)
   0x000000001007f5f0 <+196>:   mr      r12,r9
   0x000000001007f5f4 <+200>:   mtctr   r12
   0x000000001007f5f8 <+204>:   bctrl
   0x000000001007f5fc <+208>:   ld      r2,24(r1)
   0x000000001007f600 <+212>:   mr      r9,r3
   0x000000001007f604 <+216>:   mr      r3,r9
   0x000000001007f608 <+220>:   addis   r9,r31,1
   0x000000001007f60c <+224>:   ld      r10,-32680(r9)
   0x000000001007f610 <+228>:   ld      r9,-28688(r13)
   0x000000001007f614 <+232>:   cmpld   cr7,r10,r9
   0x000000001007f618 <+236>:   li      r10,0
   0x000000001007f61c <+240>:   li      r9,0
   0x000000001007f620 <+244>:   beq     cr7,0x1007f62c
<jit_machine_stack_exec+256>
   0x000000001007f624 <+248>:   bl      0x10000f40
<00000017.plt_call.__stack_chk_fail@@GLIBC_2.18>
   0x000000001007f628 <+252>:   ld      r2,24(r1)
   0x000000001007f62c <+256>:   ld      r1,0(r1)
   0x000000001007f630 <+260>:   ld      r0,16(r1)
   0x000000001007f634 <+264>:   mtlr    r0
   0x000000001007f638 <+268>:   ld      r31,-8(r1)
   0x000000001007f63c <+272>:   blr
   0x000000001007f640 <+276>:   .long 0x0
   0x000000001007f644 <+280>:   .long 0x1000000
   0x000000001007f648 <+284>:   .long 0x1000180



$ ./pcre_jit_test
Running JIT regression tests
target CPU of SLJIT compiler: PowerPC 64bit (big endian + unaligned)
in 8 bit mode with utf8 enabled and ucp enabled:
in 16 bit mode with utf16 enabled and ucp enabled:


It seems to say "big endian" !


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email