CPC G06F 11/3604 (2013.01) | 18 Claims |
1. A method for proving the correctness of software on relaxed memory hardware, comprising:
receiving a specification, a hardware model, and an implementation for the software to be executed on the relaxed memory hardware;
executing a proof assistant on a collection of at least one hardware processor for evaluating the software using a sequentially consistent hardware model;
executing the proof assistant on the collection of at least one hardware processor for evaluating the software using a relaxed memory hardware model and a write-once-kernel-mapping condition in which entries of a shared page table of the software are only written to when the entries are empty; and
outputting an indication of whether the software is correct based on the evaluating the software using the sequentially consistent hardware model and the evaluating the software using the relaxed memory hardware model.
|