By: Patrick Chase (patrickjchase.delete@this.gmai.com), July 6, 2015 10:31 pm
Room: Moderated Discussions
Linus Torvalds (torvalds.delete@this.linux-foundation.org) on July 6, 2015 3:59 pm wrote:
> x86 doesn't have those insane memory ordering semantics. Loads are done in order (as far
> as software could tell - they do get re-ordered, but the semantics are guaranteed to be
> the same as if they were done in order), so it doesn't matter if the two accessed had a
> data or control dependency between them.
And yet you yourself have (very effectively, with real data) made the argument that cmov seldom pays on x86.
> x86 doesn't have those insane memory ordering semantics. Loads are done in order (as far
> as software could tell - they do get re-ordered, but the semantics are guaranteed to be
> the same as if they were done in order), so it doesn't matter if the two accessed had a
> data or control dependency between them.
And yet you yourself have (very effectively, with real data) made the argument that cmov seldom pays on x86.