Guest
Public paste!

witek

By: a guest | Jan 28th, 2010 | Syntax: None | Size: 5.14 KB | Hits: 69 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1. baryluk@sredniczarny:/tmp$ diff -y blad2_error.asm2 blad2_error_fix.asm2
  2. .text._D4blad6bisectFdZd        segment                         .text._D4blad6bisectFdZd        segment
  3.         assume  CS:.text._D4blad6bisectFdZd                             assume  CS:.text._D4blad6bisectFdZd
  4. _D4blad6bisectFdZd:                                             _D4blad6bisectFdZd:
  5.                 push    EBP                                                     push    EBP
  6.                 mov     EBP,ESP                                                 mov     EBP,ESP
  7.                 sub     ESP,020h                                                sub     ESP,020h
  8.                 mov     dword ptr -010h[EBP],0                                  mov     dword ptr -010h[EBP],0
  9.                 fld     qword ptr FLAT:.rodata[0Fh]                             fld     qword ptr FLAT:.rodata[0Fh]
  10.                 fld     qword ptr FLAT:.rodata[01Dh]                            fld     qword ptr FLAT:.rodata[01Dh]
  11.                 fxch    ST1                                                     fxch    ST1
  12.                 mov     dword ptr -0Ch[EBP],0                                   mov     dword ptr -0Ch[EBP],0
  13.                 fstp    qword ptr -020h[EBP]                                    fstp    qword ptr -020h[EBP]
  14.                 fstp    qword ptr -018h[EBP]                                    fstp    qword ptr -018h[EBP]
  15. L28:            fld     qword ptr -010h[EBP]                  |                 call    near ptr _D4blad3nicFZv@PC32
  16.                                                               > L2D:            fld     qword ptr -010h[EBP]
  17.                 fld     qword ptr -018h[EBP]                                    fld     qword ptr -018h[EBP]
  18.                 fucompp ST(1),ST                                                fucompp ST(1),ST
  19.                 fstsw   AX                                                      fstsw   AX
  20.                 sahf                                                            sahf
  21.                 jne     L40                                   |                 jne     L45
  22.                 jp      L40                                   |                 jp      L45
  23. L37:            fld     qword ptr -010h[EBP]                  | L3C:            fld     qword ptr -010h[EBP]
  24.                 mov     ESP,EBP                                                 mov     ESP,EBP
  25.                 pop     EBP                                                     pop     EBP
  26.                 ret     8                                                       ret     8
  27. L40:            fld     qword ptr -010h[EBP]                  | L45:            fld     qword ptr -010h[EBP]
  28.                 fmul    ST,ST(0)                                                fmul    ST,ST(0)
  29.                 fld     qword ptr -010h[EBP]                                    fld     qword ptr -010h[EBP]
  30.                 fxch    ST1                                                     fxch    ST1
  31.                 fdivr   qword ptr _TMP6@SYM32[02Ch]           |                 fdivr   qword ptr _TMP6@SYM32[031h]
  32.                 fxch    ST1                                                     fxch    ST1
  33.                 fadd    qword ptr _TMP6@SYM32[03Ch]           |                 fadd    qword ptr _TMP6@SYM32[041h]
  34.                 fmulp   ST(1),ST                                                fmulp   ST(1),ST
  35.                 fsub    qword ptr 8[EBP]                                        fsub    qword ptr 8[EBP]
  36.                 fst     qword ptr -8[EBP]                                       fst     qword ptr -8[EBP]
  37.                 ftst                                                            ftst
  38.                 fstsw   AX                                                      fstsw   AX
  39.                 fstp    ST                                                      fstp    ST
  40.                 sahf                                                            sahf
  41.                 jbe     L8B                                   |                 jbe     L99
  42.                 fld     qword ptr -010h[EBP]                                    fld     qword ptr -010h[EBP]
  43.                 fstp    qword ptr -018h[EBP]                                    fstp    qword ptr -018h[EBP]
  44. L6F:            fld     qword ptr -020h[EBP]                  | L74:            fld     qword ptr -020h[EBP]
  45.                 fld     ST0                                   <
  46.                 fadd    qword ptr -018h[EBP]                                    fadd    qword ptr -018h[EBP]
  47.                 fmul    qword ptr _TMP10@SYM32[01h]           |                 fmul    qword ptr _TMP10@SYM32[04h]
  48.                 fst     qword ptr -010h[EBP]                  |                 fstp    qword ptr -010h[EBP]
  49.                                                               >                 call    near ptr _D4blad3nicFZv@PC32
  50.                                                               >                 fld     qword ptr -020h[EBP]
  51.                                                               >                 fld     qword ptr -010h[EBP]
  52.                 fucompp ST(1),ST                                                fucompp ST(1),ST
  53.                 fstsw   AX                                                      fstsw   AX
  54.                 sahf                                                            sahf
  55.                 jp      L28                                   |                 jp      L2D
  56.                 je      L37                                   |                 je      L3C
  57.                 jmp short       L28                           |                 jmp short       L2D
  58. L8B:            fld     qword ptr -8[EBP]                     | L99:            fld     qword ptr -8[EBP]
  59.                 ftst                                                            ftst
  60.                 fstsw   AX                                                      fstsw   AX
  61.                 fstp    ST                                                      fstp    ST
  62.                 sahf                                                            sahf
  63.                 ja      L6F                                   |                 ja      L74
  64.                 jp      L6F                                   |                 jp      L74
  65.                 fld     qword ptr -010h[EBP]                                    fld     qword ptr -010h[EBP]
  66.                 fstp    qword ptr -020h[EBP]                                    fstp    qword ptr -020h[EBP]
  67.                 jmp short       L6F                           |                 jmp short       L74
  68.                 nop                                           <
  69.                 nop                                           <
  70.                 nop                                                             nop
  71. .text._D4blad6bisectFdZd        ends                            .text._D4blad6bisectFdZd        ends