|
|
|
|
|
by tssva
1646 days ago
|
|
I'm not a programmer by profession and barely one by hobby. I know nothing about compiler internals but looking at the definition of a basic block from Wikipedia, "In compiler construction, a basic block is a straight-line code sequence with no branches in except to the entry and no branches out except at the exit." it seems that the ternary operators in "return (x ? a : b) + (y ? c : d);" although part of the same programming block would be distinct compiler basic blocks. |
|
Perhaps they're talking about what ends up in a single basic block after the conversion to cmov? Still an odd way to describe it.