Paste: disassembly

Author: slava
Mode: factor
Date: Sun, 26 Jul 2009 21:50:54
Plain Text |
( scratchpad ) : foo ( -- ) 1000 [ ] times ;
( scratchpad ) \ foo disassemble
000000010bf1c720: 49bb401f000000000000  mov r11, 0x1f40
000000010bf1c72a: 48bd0000000000000000  mov rbp, 0x0
000000010bf1c734: 4983c610              add r14, 0x10
000000010bf1c738: 90                    nop 
000000010bf1c739: 90                    nop 
000000010bf1c73a: 90                    nop 
000000010bf1c73b: 90                    nop 
000000010bf1c73c: 90                    nop 
000000010bf1c73d: 90                    nop 
000000010bf1c73e: 90                    nop 
000000010bf1c73f: 90                    nop 
000000010bf1c740: 4989ea                mov r10, rbp
000000010bf1c743: 4d8d6a08              lea r13, [r10+0x8]
000000010bf1c747: 4d39dd                cmp r13, r11
000000010bf1c74a: 0f8d08000000          jge dword 0x10bf1c758
000000010bf1c750: 4c89ed                mov rbp, r13
000000010bf1c753: e9e8ffffff            jmp 0x10bf1c740
000000010bf1c758: 4983ee10              sub r14, 0x10
000000010bf1c75c: c3                    ret 

Annotation: after copy coalescing

Author: slava
Mode: factor
Date: Mon, 27 Jul 2009 07:33:07
Plain Text |
000000010e181a20: 49bb401f000000000000  mov r11, 0x1f40
000000010e181a2a: 48bd0000000000000000  mov rbp, 0x0
000000010e181a34: 4983c610              add r14, 0x10
000000010e181a38: 90                    nop 
000000010e181a39: 90                    nop 
000000010e181a3a: 90                    nop 
000000010e181a3b: 90                    nop 
000000010e181a3c: 90                    nop 
000000010e181a3d: 90                    nop 
000000010e181a3e: 90                    nop 
000000010e181a3f: 90                    nop 
000000010e181a40: 4c39dd                cmp rbp, r11
000000010e181a43: 0f8d09000000          jge dword 0x10e181a52
000000010e181a49: 488d6d08              lea rbp, [rbp+0x8]
000000010e181a4d: e9eeffffff            jmp 0x10e181a40
000000010e181a52: 4983ee10              sub r14, 0x10
000000010e181a56: c3                    ret 

Annotation: slava

Author: after loop head rotation
Mode: factor
Date: Wed, 29 Jul 2009 01:53:28
Plain Text |
000000010c039840: 49bd0050d6dc01000000  mov r13, 0x1dcd65000
000000010c03984a: 4831ff                xor rdi, rdi
000000010c03984d: 4983c610              add r14, 0x10
000000010c039851: e904000000            jmp 0x10c03985a
000000010c039856: 4883c708              add rdi, 0x8
000000010c03985a: 4c39ef                cmp rdi, r13
000000010c03985d: 0f8cf3ffffff          jl dword 0x10c039856
000000010c039863: 4983ee10              sub r14, 0x10
000000010c039867: c3                    ret 

New Annotation

Summary:
Author:
Mode:
Body: