Diff
checker
テキスト
テキスト
画像
ドキュメント
Excel
フォルダ
Legal
Enterprise
デスクトップ
料金
ログイン
Diffchecker デスクトップのダウンロード
テキスト比較
2 つのテキスト ファイルの違いを見つける
ツール
履歴
ライブエディター
空白の変更を非表示
未変更行を折りたたむ
折り返しなし
レイアウト
分割
統合
比較精度
スマート
単語
文字
テキストスタイル
外観を変更
シンタックスハイライト
構文を選択
無視
テキスト変換
最初の差分へ移動
入力を編集
Diffchecker Desktop
Diffcheckerを実行する最も安全な方法。Diffchecker Desktopアプリを入手:あなたの差分はコンピューターから出ることはありません!
Desktopを入手
Untitled diff
作成日
4 年前
差分は期限切れになりません
クリア
エクスポート
共有
説明
43 削除
行
合計
削除
文字
合計
削除
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
122 行
すべてコピー
59 追加
行
合計
追加
文字
合計
追加
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
138 行
すべてコピー
.text
.text
.file ""
.file ""
.globl foo # -- Begin function foo
.globl foo # -- Begin function foo
.p2align 4, 0x90
.p2align 4, 0x90
.type foo,@function
.type foo,@function
foo: # @foo
foo: # @foo
.cfi_startproc
.cfi_startproc
# %bb.0: # %entry
# %bb.0: # %entry
pushq %rbp
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_def_cfa_offset 16
pushq %rbx
pushq %rbx
.cfi_def_cfa_offset 24
.cfi_def_cfa_offset 24
pushq %rax
pushq %rax
.cfi_def_cfa_offset 32
.cfi_def_cfa_offset 32
.cfi_offset %rbx, -24
.cfi_offset %rbx, -24
.cfi_offset %rbp, -16
.cfi_offset %rbp, -16
movl $1, %eax
movl $1, %eax
cmpl $1, %edi
cmpl $1, %edi
je .LBB0_3
je .LBB0_3
# %bb.1: # %lor.lhs.false
# %bb.1: # %lor.lhs.false
movl %edi, %ebx
movl %edi, %ebx
testl %edi, %edi
testl %edi, %edi
je .LBB0_3
je .LBB0_3
# %bb.2: # %if.else
# %bb.2: # %if.else
leal -1(%rbx), %edi
leal -1(%rbx), %edi
callq foo
callq foo
movl %eax, %ebp
movl %eax, %ebp
addl $-2, %ebx
addl $-2, %ebx
movl %ebx, %edi
movl %ebx, %edi
callq foo
callq foo
addl %ebp, %eax
addl %ebp, %eax
.LBB0_3: # %return
.LBB0_3: # %return
addq $8, %rsp
addq $8, %rsp
.cfi_def_cfa_offset 24
.cfi_def_cfa_offset 24
popq %rbx
popq %rbx
.cfi_def_cfa_offset 16
.cfi_def_cfa_offset 16
popq %rbp
popq %rbp
.cfi_def_cfa_offset 8
.cfi_def_cfa_offset 8
retq
retq
.Lfunc_end0:
.Lfunc_end0:
.size foo, .Lfunc_end0-foo
.size foo, .Lfunc_end0-foo
.cfi_endproc
.cfi_endproc
# -- End function
# -- End function
.globl main # -- Begin function main
.globl main # -- Begin function main
.p2align 4, 0x90
.p2align 4, 0x90
.type main,@function
.type main,@function
main: # @main
main: # @main
.cfi_startproc
.cfi_startproc
# %bb.0: # %entry
# %bb.0: # %entry
pushq %rbp
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_def_cfa_offset 16
コピー
コピー済み
コピー
コピー済み
pushq %r1
4
pushq %r1
5
.cfi_def_cfa_offset 24
.cfi_def_cfa_offset 24
コピー
コピー済み
コピー
コピー済み
pushq %
rbx
pushq %
r14
.cfi_def_cfa_offset 32
.cfi_def_cfa_offset 32
コピー
コピー済み
コピー
コピー済み
.cfi_offset %rbx, -32
pushq %r13
.cfi_offset %r14, -24
.cfi_def_cfa_offset 40
pushq %r12
.cfi_def_cfa_offset 48
pushq %rbx
.cfi_def_cfa_offset 56
pushq %rax
.cfi_def_cfa_offset 64
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
.cfi_offset %rbp, -16
.cfi_offset %rbp, -16
コピー
コピー済み
コピー
コピー済み
movl $50000, %r1
4
d # imm = 0xC350
xorl %r13d, %r13d
xorl %ebx, %ebx
movl $50000, %r1
5
d # imm = 0xC350
movl $9999, %
ebp
# imm = 0x270F
movl $9999, %
r14d
# imm = 0x270F
.p2align 4, 0x90
.p2align 4, 0x90
.LBB1_1: # %while.cond
.LBB1_1: # %while.cond
# =>This Inner Loop Header: Depth=1
# =>This Inner Loop Header: Depth=1
コピー
コピー済み
コピー
コピー済み
movl %
ebp
, %eax
movl %
r14d
, %eax
cltd
cltd
コピー
コピー済み
コピー
コピー済み
idivl %
r14d
idivl %
r15d
movl %edx, %r12d
movl %r13d, 4(%rsp) # 4-byte Spill
movslq %edx, %rdi
movslq %edx, %rdi
コピー
コピー済み
コピー
コピー済み
imulq $1717986919, %rdi, %
rcx
# imm = 0x66666667
imulq $1717986919, %rdi, %
rbp
# imm = 0x66666667
movq %
rcx
, %r
d
x
movq %
rbp
, %r
b
x
shrq $63, %r
d
x
shrq $63, %r
b
x
sarq $33, %
rcx
sarq $33, %
rbp
addl %edx
, %ecx
leal (%rbx,%rbp)
, %ecx
leal (%rcx,%rcx,4), %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %edi
subl %ecx, %edi
コピー
コピー済み
コピー
コピー済み
movl %eax, %
ebp
movl %eax, %
r14d
# kill: def $edi killed $edi killed $rdi
# kill: def $edi killed $edi killed $rdi
callq foo
callq foo
コピー
コピー済み
コピー
コピー済み
cmpl $1
, %r1
4
d
movl %eax
, %r1
3
d
jne .LBB1_3
addl 4(%rsp), %r13d
#
4-byte Folded Reload
# %bb.2:
#
in Loop: Header=BB1_1 Depth=1
cmpl $1
, %
r15d
movl $3
, %
ecx
je
.LBB1_
2
jmp
.LBB1_
4
# %bb.
3: # %if.end
.p2align 4, 0x90
.LBB1_
3: # %if.end
# in Loop: Header=BB1_1 Depth=1
imull %eax, %ebp
xorl %ecx, %ecx
.LBB1_4: # %cleanup
# in Loop: Header=BB1_1 Depth=1
addl %eax, %ebx
testl %ecx, %ecx
jne .LBB1_6
# %bb.5: # %cleanup.cont
# in Loop: Header=BB1_1 Depth=1
# in Loop: Header=BB1_1 Depth=1
コピー
コピー済み
コピー
コピー済み
addl $-1, %r1
4
d
addl %ebx, %ebp
leal (%rbp,%rbp,4), %eax
subl %eax, %r12d
movl %r12d, %edi
callq foo
imull %eax, %r14d
addl $-1, %r1
5
d
jmp .LBB1_1
jmp .LBB1_1
コピー
コピー済み
コピー
コピー済み
.LBB1_
6
: # %
while.end
.LBB1_
2
: # %
if.then
movl $.L.str, %edi
movl $.L.str, %edi
コピー
コピー済み
コピー
コピー済み
movl %
ebx
, %esi
movl %
r13d
, %esi
xorl %eax, %eax
xorl %eax, %eax
callq printf
callq printf
xorl %eax, %eax
xorl %eax, %eax
コピー
コピー済み
コピー
コピー済み
addq $8, %rsp
.cfi_def_cfa_offset 56
popq %rbx
popq %rbx
コピー
コピー済み
コピー
コピー済み
.cfi_def_cfa_offset 48
popq %r12
.cfi_def_cfa_offset 40
popq %r13
.cfi_def_cfa_offset 32
popq %r14
.cfi_def_cfa_offset 24
.cfi_def_cfa_offset 24
コピー
コピー済み
コピー
コピー済み
popq %r1
4
popq %r1
5
.cfi_def_cfa_offset 16
.cfi_def_cfa_offset 16
popq %rbp
popq %rbp
.cfi_def_cfa_offset 8
.cfi_def_cfa_offset 8
retq
retq
.Lfunc_end1:
.Lfunc_end1:
.size main, .Lfunc_end1-main
.size main, .Lfunc_end1-main
.cfi_endproc
.cfi_endproc
# -- End function
# -- End function
.type .L.str,@object # @.str
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.L.str:
.asciz "%d\n"
.asciz "%d\n"
.size .L.str, 4
.size .L.str, 4
.ident "clang version 14.0.0 (https://github.com/llvm/llvm-project edff0070a126d9a27263958dbb22133f4ed6526e)"
.ident "clang version 14.0.0 (https://github.com/llvm/llvm-project edff0070a126d9a27263958dbb22133f4ed6526e)"
.section ".note.GNU-stack","",@progbits
.section ".note.GNU-stack","",@progbits
保存された差分
原文
ファイルを開く
.text .file "" .globl foo # -- Begin function foo .p2align 4, 0x90 .type foo,@function foo: # @foo .cfi_startproc # %bb.0: # %entry pushq %rbp .cfi_def_cfa_offset 16 pushq %rbx .cfi_def_cfa_offset 24 pushq %rax .cfi_def_cfa_offset 32 .cfi_offset %rbx, -24 .cfi_offset %rbp, -16 movl $1, %eax cmpl $1, %edi je .LBB0_3 # %bb.1: # %lor.lhs.false movl %edi, %ebx testl %edi, %edi je .LBB0_3 # %bb.2: # %if.else leal -1(%rbx), %edi callq foo movl %eax, %ebp addl $-2, %ebx movl %ebx, %edi callq foo addl %ebp, %eax .LBB0_3: # %return addq $8, %rsp .cfi_def_cfa_offset 24 popq %rbx .cfi_def_cfa_offset 16 popq %rbp .cfi_def_cfa_offset 8 retq .Lfunc_end0: .size foo, .Lfunc_end0-foo .cfi_endproc # -- End function .globl main # -- Begin function main .p2align 4, 0x90 .type main,@function main: # @main .cfi_startproc # %bb.0: # %entry pushq %rbp .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cfa_offset 24 pushq %rbx .cfi_def_cfa_offset 32 .cfi_offset %rbx, -32 .cfi_offset %r14, -24 .cfi_offset %rbp, -16 movl $50000, %r14d # imm = 0xC350 xorl %ebx, %ebx movl $9999, %ebp # imm = 0x270F .p2align 4, 0x90 .LBB1_1: # %while.cond # =>This Inner Loop Header: Depth=1 movl %ebp, %eax cltd idivl %r14d movslq %edx, %rdi imulq $1717986919, %rdi, %rcx # imm = 0x66666667 movq %rcx, %rdx shrq $63, %rdx sarq $33, %rcx addl %edx, %ecx leal (%rcx,%rcx,4), %ecx subl %ecx, %edi movl %eax, %ebp # kill: def $edi killed $edi killed $rdi callq foo cmpl $1, %r14d jne .LBB1_3 # %bb.2: # in Loop: Header=BB1_1 Depth=1 movl $3, %ecx jmp .LBB1_4 .p2align 4, 0x90 .LBB1_3: # %if.end # in Loop: Header=BB1_1 Depth=1 imull %eax, %ebp xorl %ecx, %ecx .LBB1_4: # %cleanup # in Loop: Header=BB1_1 Depth=1 addl %eax, %ebx testl %ecx, %ecx jne .LBB1_6 # %bb.5: # %cleanup.cont # in Loop: Header=BB1_1 Depth=1 addl $-1, %r14d jmp .LBB1_1 .LBB1_6: # %while.end movl $.L.str, %edi movl %ebx, %esi xorl %eax, %eax callq printf xorl %eax, %eax popq %rbx .cfi_def_cfa_offset 24 popq %r14 .cfi_def_cfa_offset 16 popq %rbp .cfi_def_cfa_offset 8 retq .Lfunc_end1: .size main, .Lfunc_end1-main .cfi_endproc # -- End function .type .L.str,@object # @.str .section .rodata.str1.1,"aMS",@progbits,1 .L.str: .asciz "%d\n" .size .L.str, 4 .ident "clang version 14.0.0 (https://github.com/llvm/llvm-project edff0070a126d9a27263958dbb22133f4ed6526e)" .section ".note.GNU-stack","",@progbits
変更されたテキスト
ファイルを開く
.text .file "" .globl foo # -- Begin function foo .p2align 4, 0x90 .type foo,@function foo: # @foo .cfi_startproc # %bb.0: # %entry pushq %rbp .cfi_def_cfa_offset 16 pushq %rbx .cfi_def_cfa_offset 24 pushq %rax .cfi_def_cfa_offset 32 .cfi_offset %rbx, -24 .cfi_offset %rbp, -16 movl $1, %eax cmpl $1, %edi je .LBB0_3 # %bb.1: # %lor.lhs.false movl %edi, %ebx testl %edi, %edi je .LBB0_3 # %bb.2: # %if.else leal -1(%rbx), %edi callq foo movl %eax, %ebp addl $-2, %ebx movl %ebx, %edi callq foo addl %ebp, %eax .LBB0_3: # %return addq $8, %rsp .cfi_def_cfa_offset 24 popq %rbx .cfi_def_cfa_offset 16 popq %rbp .cfi_def_cfa_offset 8 retq .Lfunc_end0: .size foo, .Lfunc_end0-foo .cfi_endproc # -- End function .globl main # -- Begin function main .p2align 4, 0x90 .type main,@function main: # @main .cfi_startproc # %bb.0: # %entry pushq %rbp .cfi_def_cfa_offset 16 pushq %r15 .cfi_def_cfa_offset 24 pushq %r14 .cfi_def_cfa_offset 32 pushq %r13 .cfi_def_cfa_offset 40 pushq %r12 .cfi_def_cfa_offset 48 pushq %rbx .cfi_def_cfa_offset 56 pushq %rax .cfi_def_cfa_offset 64 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 .cfi_offset %rbp, -16 xorl %r13d, %r13d movl $50000, %r15d # imm = 0xC350 movl $9999, %r14d # imm = 0x270F .p2align 4, 0x90 .LBB1_1: # %while.cond # =>This Inner Loop Header: Depth=1 movl %r14d, %eax cltd idivl %r15d movl %edx, %r12d movl %r13d, 4(%rsp) # 4-byte Spill movslq %edx, %rdi imulq $1717986919, %rdi, %rbp # imm = 0x66666667 movq %rbp, %rbx shrq $63, %rbx sarq $33, %rbp leal (%rbx,%rbp), %ecx leal (%rcx,%rcx,4), %ecx subl %ecx, %edi movl %eax, %r14d # kill: def $edi killed $edi killed $rdi callq foo movl %eax, %r13d addl 4(%rsp), %r13d # 4-byte Folded Reload cmpl $1, %r15d je .LBB1_2 # %bb.3: # %if.end # in Loop: Header=BB1_1 Depth=1 addl %ebx, %ebp leal (%rbp,%rbp,4), %eax subl %eax, %r12d movl %r12d, %edi callq foo imull %eax, %r14d addl $-1, %r15d jmp .LBB1_1 .LBB1_2: # %if.then movl $.L.str, %edi movl %r13d, %esi xorl %eax, %eax callq printf xorl %eax, %eax addq $8, %rsp .cfi_def_cfa_offset 56 popq %rbx .cfi_def_cfa_offset 48 popq %r12 .cfi_def_cfa_offset 40 popq %r13 .cfi_def_cfa_offset 32 popq %r14 .cfi_def_cfa_offset 24 popq %r15 .cfi_def_cfa_offset 16 popq %rbp .cfi_def_cfa_offset 8 retq .Lfunc_end1: .size main, .Lfunc_end1-main .cfi_endproc # -- End function .type .L.str,@object # @.str .section .rodata.str1.1,"aMS",@progbits,1 .L.str: .asciz "%d\n" .size .L.str, 4 .ident "clang version 14.0.0 (https://github.com/llvm/llvm-project edff0070a126d9a27263958dbb22133f4ed6526e)" .section ".note.GNU-stack","",@progbits
違いを見つける