Created
May 2, 2017 19:03
-
-
Save timshen91/b2b5166128c3cd6e7dd137b5004e1d41 to your computer and use it in GitHub Desktop.
scheduling
This file contains 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
a.cc: | |
void Bar(); | |
void Foo(std::atomic<uint32_t> *a) { | |
if (a->load(std::memory_order_acquire) != 0) { | |
Bar(); | |
} | |
} | |
# *** IR Dump After Rename Disconnected Subregister Components ***: | |
... | |
32B %vreg1<def> = LWZ 0, %vreg0; mem:Volatile LD4[%_M_i.i1] GPRC:%vreg1 G8RC_and_G8RC_NOX0:%vreg0 | |
48B SYNC 1 | |
64B %vreg2<def> = CMPLWI %vreg1, 0; CRRC:%vreg2 GPRC:%vreg1 | |
... | |
# *** IR Dump After Machine Instruction Scheduler ***: | |
... | |
32B %vreg1<def> = LWZ 0, %vreg0; mem:Volatile LD4[%_M_i.i1] GPRC:%vreg1 G8RC_and_G8RC_NOX0:%vreg0 | |
64B %vreg2<def> = CMPLWI %vreg1, 0; CRRC:%vreg2 GPRC:%vreg1 | |
72B SYNC 1 | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment