Created
February 1, 2013 18:02
-
-
Save agargiulo/4692950 to your computer and use it in GitHub Desktop.
Some interesting output from GCC and Clang with different sections of the same source file from my latest sys prog project
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
# From GCC 4.6.3 | |
movl GLOBAL_TIME, %eax | |
addl $1, %eax | |
movl %eax, GLOBAL_TIME | |
movl GLOBAL_TIME, %eax | |
# From Clang 3.0-6ubuntu | |
movl ALARM_TIME, %eax | |
cmpl GLOBAL_TIME, %eax | |
jne .LBB0_5 | |
.LBB0_5: | |
jmp .LBB0_7 | |
.LBB0_6: | |
.LBB0_7: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment