首页> 外文会议>Annual IEEE/ACM International Symposium on Microarchitecture >PipeProof: Automated Memory Consistency Proofs for Microarchitectural Specifications
【24h】

PipeProof: Automated Memory Consistency Proofs for Microarchitectural Specifications

机译:PipeProof:用于微体系结构规范的自动内存一致性证明

获取原文

摘要

Memory consistency models (MCMs) specify rules which constrain the values that can be returned by load instructions in parallel programs. To ensure that parallel programs run correctly, verification of hardware MCM implementations would ideally be complete; i.e. verified as being correct across all possible executions of all possible programs. However, no existing automated approach is capable of such complete verification. To help fill this verification gap, we present PipeProof, a methodology and tool for complete MCM verification of an axiomatic microarchitectural (hardware-level) ordering specification against an axiomatic ISA-level MCM specification. PipeProof can automatically prove a microarchitecture correct in all cases, or return an indication (often a counterexample) that the microarchitecture could not be verified. To accomplish unbounded verification, PipeProof introduces the novel Transitive Chain Abstraction to represent microarchitectural executions of an arbitrary number of instructions using only a small, finite number of instructions. With the help of this abstraction, PipeProof proves microarchitectural correctness using an automatic abstraction refinement approach. PipeProof's implementation also includes algorithmic optimizations which improve runtime by greatly reducing the number of cases considered. As a proof-of-concept study, we present results for modelling and proving correct simple microarchitectures implementing the SC and TSO MCMs. PipeProof verifies both case studies in under an hour, showing that it is indeed possible to automate microarchitectural MCM correctness proofs.
机译:内存一致性模型(MCM)指定规则来约束并行程序中的装入指令可以返回的值。为了确保并行程序正确运行,理想情况下将完成对硬件MCM实现的验证。即在所有可能程序的所有可能执行中被验证为正确。但是,没有现有的自动化方法能够进行这种完整的验证。为了填补这一验证空白,我们介绍了PipeProof,这是一种针对公理ISA级MCM规范对公理微体系结构(硬件级)订购规范进行完整MCM验证的方法和工具。 PipeProof可以在所有情况下自动证明微体系结构正确,或者返回指示(通常是反例),表明无法对微体系结构进行验证。为了完成无限制的验证,PipeProof引入了新颖的“传递链抽象”,以仅使用少量有限的指令来表示任意数量的指令的微体系结构执行。在这种抽象的帮助下,PipeProof使用自动抽象细化方法证明了微体系结构的正确性。 PipeProof的实现还包括算法优化,可通过大大减少所考虑的案例数量来改善运行时间。作为概念验证研究,我们提供了建模和验证实现SC和TSO MCM的正确简单微体系结构的结果。 PipeProof在一个小时内验证了两个案例研究,表明确实有可能实现微体系结构MCM正确性证明的自动化。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号