Created
August 6, 2020 06:09
-
-
Save vsrinivas/dbc6137ab0d1e0c1443b6f29cceff3c2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffffffff801c2500: 55 push %rbp | |
ffffffff801c2501: 48 89 e5 mov %rsp,%rbp | |
ffffffff801c2504: 8b 05 66 18 1a 00 mov 0x1a1866(%rip),%eax # ffffffff80363d70 <wall_clock> | |
ffffffff801c250a: 83 f8 01 cmp $0x1,%eax | |
ffffffff801c250d: 7f 08 jg ffffffff801c2517 <arch_current_ticks()+0x17> | |
ffffffff801c250f: 85 c0 test %eax,%eax | |
ffffffff801c2511: 75 0f jne ffffffff801c2522 <arch_current_ticks()+0x22> | |
ffffffff801c2513: 31 c0 xor %eax,%eax | |
ffffffff801c2515: 5d pop %rbp | |
ffffffff801c2516: c3 retq | |
ffffffff801c2517: 83 f8 02 cmp $0x2,%eax | |
ffffffff801c251a: 75 14 jne ffffffff801c2530 <arch_current_ticks()+0x30> | |
ffffffff801c251c: 5d pop %rbp | |
ffffffff801c251d: e9 6e a1 ff ff jmpq ffffffff801bc690 <hpet_get_value> | |
ffffffff801c2522: 83 f8 01 cmp $0x1,%eax | |
ffffffff801c2525: 75 19 jne ffffffff801c2540 <arch_current_ticks()+0x40> | |
ffffffff801c2527: 48 8b 05 3a 18 1a 00 mov 0x1a183a(%rip),%rax # ffffffff80363d68 <pit_ticks> | |
ffffffff801c252e: 5d pop %rbp | |
ffffffff801c252f: c3 retq | |
ffffffff801c2530: 83 f8 03 cmp $0x3,%eax | |
ffffffff801c2533: 75 0b jne ffffffff801c2540 <arch_current_ticks()+0x40> | |
ffffffff801c2535: 0f 31 rdtsc | |
ffffffff801c2537: 48 c1 e2 20 shl $0x20,%rdx | |
ffffffff801c253b: 48 09 d0 or %rdx,%rax | |
ffffffff801c253e: 5d pop %rbp | |
ffffffff801c253f: c3 retq | |
ffffffff801c2540: 48 8d 3d 50 20 11 00 lea 0x112050(%rip),%rdi # ffffffff802d4597 <.L.str.4> | |
ffffffff801c2547: 48 8d 15 30 14 11 00 lea 0x111430(%rip),%rdx # ffffffff802d397e <.L.str.10> | |
ffffffff801c254e: be 9a 00 00 00 mov $0x9a,%esi | |
ffffffff801c2553: e8 48 ee f3 ff callq ffffffff801013a0 <assert_fail> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ffffffff801c2500 <arch_current_ticks()>:
ffffffff801c2500: 55 push %rbp
ffffffff801c2501: 48 89 e5 mov %rsp,%rbp
ffffffff801c2504: 8b 05 6e f8 14 00 mov 0x14f86e(%rip),%eax # ffffffff80311d78 <wall_clock>
ffffffff801c250a: 83 f8 01 cmp $0x1,%eax
ffffffff801c250d: 7f 0f jg ffffffff801c251e <arch_current_ticks()+0x1e>
ffffffff801c250f: 85 c0 test %eax,%eax
ffffffff801c2511: 75 16 jne ffffffff801c2529 <arch_current_ticks()+0x29>
ffffffff801c2513: 0f 31 rdtsc
ffffffff801c2515: 48 c1 e2 20 shl $0x20,%rdx
ffffffff801c2519: 48 09 d0 or %rdx,%rax
ffffffff801c251c: 5d pop %rbp
ffffffff801c251d: c3 retq
ffffffff801c251e: 83 f8 02 cmp $0x2,%eax
ffffffff801c2521: 75 14 jne ffffffff801c2537 <arch_current_ticks()+0x37>
ffffffff801c2523: 5d pop %rbp
ffffffff801c2524: e9 67 a1 ff ff jmpq ffffffff801bc690 <hpet_get_value>
ffffffff801c2529: 83 f8 01 cmp $0x1,%eax
ffffffff801c252c: 75 12 jne ffffffff801c2540 <arch_current_ticks()+0x40>
ffffffff801c252e: 48 8b 05 33 18 1a 00 mov 0x1a1833(%rip),%rax # ffffffff80363d68 <pit_ticks>
ffffffff801c2535: 5d pop %rbp
ffffffff801c2536: c3 retq
ffffffff801c2537: 83 f8 03 cmp $0x3,%eax
ffffffff801c253a: 75 04 jne ffffffff801c2540 <arch_current_ticks()+0x40>
ffffffff801c253c: 31 c0 xor %eax,%eax
ffffffff801c253e: 5d pop %rbp
ffffffff801c253f: c3 retq
ffffffff801c2540: 48 8d 3d 50 20 11 00 lea 0x112050(%rip),%rdi # ffffffff802d4597 <.L.str.4>
ffffffff801c2547: 48 8d 15 30 14 11 00 lea 0x111430(%rip),%rdx # ffffffff802d397e <.L.str.10>
ffffffff801c254e: be 9a 00 00 00 mov $0x9a,%esi
ffffffff801c2553: e8 48 ee f3 ff callq ffffffff801013a0 <assert_fail>