| ▲ | loeg 13 hours ago | ||||||||||||||||||||||
Is that any better than just using an acquire load? | |||||||||||||||||||||||
| ▲ | gpderetta 13 hours ago | parent [-] | ||||||||||||||||||||||
It is cheaper on ARM and POWER. But I'm not sure it is always safe. The standard has very complex rules for consume to make sure that the compiler didn't break the dependencies. edit: and those rules where so complex that compilers decided where not implementable or not worth it. | |||||||||||||||||||||||
| |||||||||||||||||||||||