Pavlovic, MatejKogan, AlexMarathe, Virendra J.Harris, Tim2019-06-182019-06-182019-06-182018-01-0110.1145/3212734.3212783https://infoscience.epfl.ch/handle/20.500.14299/157074WOS:000458186900005This brief announcement presents a fundamental concurrent primitive for persistent memory - a persistent atomic multi-word compare-and-swap (PMCAS). We present a novel algorithm carefully crafted to ensure that atomic updates to a multitude of words modified by the PMCAS are persisted correctly. Our algorithm leverages hardware transactional memory (HTM) for concurrency control, and has a total of 3 persist barriers in its critical path. We also overview variants based on just the compare-and-swap (CAS) instruction and a hybrid of CAS and HTM.Computer Science, Hardware & ArchitectureComputer Science, Theory & MethodsEngineering, Electrical & ElectronicComputer ScienceEngineeringBrief Announcement: Persistent Multi-Word Compare-and-Swaptext::conference output::conference proceedings::conference paper