Skip to content

Instantly share code, notes, and snippets.

@jlevon
Created April 29, 2020 12:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jlevon/b50ecf02d143b247037d412ce0005c93 to your computer and use it in GitHub Desktop.
Save jlevon/b50ecf02d143b247037d412ce0005c93 to your computer and use it in GitHub Desktop.
--- 2.genpeep.dis 2020-04-29 12:46:07.272807571 +0000
+++ 3.genpeep.dis 2020-04-29 12:46:12.296832303 +0000
@@ -1,4 +1,4 @@
-disassembly for stage2-gcc/build/genpeep.o
+disassembly for stage3-gcc/build/genpeep.o
section .text
@@ -326,84 +326,83 @@
00
_ZL9match_rtxP7rtx_defP4linki+0x354: 83 c4 10 addl $0x10,%esp
_ZL9match_rtxP7rtx_defP4linki+0x357: 80 3e 00 cmpb $0x0,(%esi)
- _ZL9match_rtxP7rtx_defP4linki+0x35a: 75 26 jne +0x26 <_ZL9match_rtxP7rtx_defP4linki+0x382>
- _ZL9match_rtxP7rtx_defP4linki+0x35c: eb 51 jmp +0x51 <_ZL9match_rtxP7rtx_defP4linki+0x3af>
+ _ZL9match_rtxP7rtx_defP4linki+0x35a: 75 27 jne +0x27 <_ZL9match_rtxP7rtx_defP4linki+0x383>
+ _ZL9match_rtxP7rtx_defP4linki+0x35c: eb 52 jmp +0x52 <_ZL9match_rtxP7rtx_defP4linki+0x3b0>
_ZL9match_rtxP7rtx_defP4linki+0x35e: 66 90 nop
- _ZL9match_rtxP7rtx_defP4linki+0x360: 0f b6 16 movzbl (%esi),%edx
+ _ZL9match_rtxP7rtx_defP4linki+0x360: 0f b6 06 movzbl (%esi),%eax
- _ZL9match_rtxP7rtx_defP4linki+0x363: a1 14 00 00 00 movl 0x14,%eax
- _ZL9match_rtxP7rtx_defP4linki+0x368: 83 c6 01 addl $0x1,%esi
- _ZL9match_rtxP7rtx_defP4linki+0x36b: 0f b6 92 00 00 00 movzbl 0x0(%edx),%edx
- 00
- _ZL9match_rtxP7rtx_defP4linki+0x372: 8d 48 01 leal 0x1(%eax),%ecx
- _ZL9match_rtxP7rtx_defP4linki+0x375: 89 0d 14 00 00 00 movl %ecx,0x14
- _ZL9match_rtxP7rtx_defP4linki+0x37b: 88 10 movb %dl,(%eax)
- _ZL9match_rtxP7rtx_defP4linki+0x37d: 80 3e 00 cmpb $0x0,(%esi)
- _ZL9match_rtxP7rtx_defP4linki+0x380: 74 2d je +0x2d <_ZL9match_rtxP7rtx_defP4linki+0x3af>
- _ZL9match_rtxP7rtx_defP4linki+0x382: 83 2d 10 00 00 00 subl $0x1,0x10
+ _ZL9match_rtxP7rtx_defP4linki+0x363: 8b 15 14 00 00 00 movl 0x14,%edx
+ _ZL9match_rtxP7rtx_defP4linki+0x369: 83 c6 01 addl $0x1,%esi
+ _ZL9match_rtxP7rtx_defP4linki+0x36c: 0f b6 80 00 00 00 movzbl 0x0(%eax),%eax
+ 00
+ _ZL9match_rtxP7rtx_defP4linki+0x373: 8d 4a 01 leal 0x1(%edx),%ecx
+ _ZL9match_rtxP7rtx_defP4linki+0x376: 89 0d 14 00 00 00 movl %ecx,0x14
+ _ZL9match_rtxP7rtx_defP4linki+0x37c: 88 02 movb %al,(%edx)
+ _ZL9match_rtxP7rtx_defP4linki+0x37e: 80 3e 00 cmpb $0x0,(%esi)
+ _ZL9match_rtxP7rtx_defP4linki+0x381: 74 2d je +0x2d <_ZL9match_rtxP7rtx_defP4linki+0x3b0>
+ _ZL9match_rtxP7rtx_defP4linki+0x383: 83 2d 10 00 00 00 subl $0x1,0x10
01
- _ZL9match_rtxP7rtx_defP4linki+0x389: 79 d5 jns -0x2b <_ZL9match_rtxP7rtx_defP4linki+0x360>
- _ZL9match_rtxP7rtx_defP4linki+0x38b: 83 ec 08 subl $0x8,%esp
- _ZL9match_rtxP7rtx_defP4linki+0x38e: 83 c6 01 addl $0x1,%esi
- _ZL9match_rtxP7rtx_defP4linki+0x391: 68 10 00 00 00 pushl $0x10
- _ZL9match_rtxP7rtx_defP4linki+0x396: 0f b6 46 ff movzbl -0x1(%esi),%eax
- _ZL9match_rtxP7rtx_defP4linki+0x39a: 0f b6 80 00 00 00 movzbl 0x0(%eax),%eax
- 00
- _ZL9match_rtxP7rtx_defP4linki+0x3a1: 50 pushl %eax
- _ZL9match_rtxP7rtx_defP4linki+0x3a2: e8 fc ff ff ff call -0x4 <_ZL9match_rtxP7rtx_defP4linki+0x3a3>
- _ZL9match_rtxP7rtx_defP4linki+0x3a7: 83 c4 10 addl $0x10,%esp
- _ZL9match_rtxP7rtx_defP4linki+0x3aa: 80 3e 00 cmpb $0x0,(%esi)
- _ZL9match_rtxP7rtx_defP4linki+0x3ad: 75 d3 jne -0x2d <_ZL9match_rtxP7rtx_defP4linki+0x382>
- _ZL9match_rtxP7rtx_defP4linki+0x3af: 83 ec 08 subl $0x8,%esp
- _ZL9match_rtxP7rtx_defP4linki+0x3b2: ff 75 d0 pushl -0x30(%ebp)
- _ZL9match_rtxP7rtx_defP4linki+0x3b5: 68 5a 00 00 00 pushl $0x5a
- _ZL9match_rtxP7rtx_defP4linki+0x3ba: e8 fc ff ff ff call -0x4 <_ZL9match_rtxP7rtx_defP4linki+0x3bb>
- _ZL9match_rtxP7rtx_defP4linki+0x3bf: 0f b6 43 02 movzbl 0x2(%ebx),%eax
- _ZL9match_rtxP7rtx_defP4linki+0x3c3: 83 c4 10 addl $0x10,%esp
- _ZL9match_rtxP7rtx_defP4linki+0x3c6: 84 c0 testb %al,%al
- _ZL9match_rtxP7rtx_defP4linki+0x3c8: 0f 85 42 01 00 00 jne +0x142 <_ZL9match_rtxP7rtx_defP4linki+0x510>
- _ZL9match_rtxP7rtx_defP4linki+0x3ce: 8b 45 d4 movl -0x2c(%ebp),%eax
- _ZL9match_rtxP7rtx_defP4linki+0x3d1: 0f b6 b7 00 00 00 movzbl 0x0(%edi),%esi
+ _ZL9match_rtxP7rtx_defP4linki+0x38a: 79 d4 jns -0x2c <_ZL9match_rtxP7rtx_defP4linki+0x360>
+ _ZL9match_rtxP7rtx_defP4linki+0x38c: 83 ec 08 subl $0x8,%esp
+ _ZL9match_rtxP7rtx_defP4linki+0x38f: 83 c6 01 addl $0x1,%esi
+ _ZL9match_rtxP7rtx_defP4linki+0x392: 68 10 00 00 00 pushl $0x10
+ _ZL9match_rtxP7rtx_defP4linki+0x397: 0f b6 46 ff movzbl -0x1(%esi),%eax
+ _ZL9match_rtxP7rtx_defP4linki+0x39b: 0f b6 80 00 00 00 movzbl 0x0(%eax),%eax
+ 00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment