| ▲ | kragen 8 hours ago | |||||||||||||||||||||||||
It isn't very useful for that, but you can use it to implement other higher-level concurrency primitives like multi-word compare and swap efficiently. | ||||||||||||||||||||||||||
| ▲ | gpderetta 8 hours ago | parent [-] | |||||||||||||||||||||||||
True. At some point in the now distant past, AMD had a proposal for a very restricted form of HTM that allowed CAS up to 7 memory locations as they had some very specific linked list algorithms that they wanted optimize and the 7 location restrictions worked well with the number of ways of their memory. Nothing came out of it unfortunately. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||