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

PipeProof: Automated Memory Consistency Proofs for Microarchitectural Specifications

机译:管防护:微型建筑规格的自动内存一致性证明

获取原文

摘要

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.
机译:存储器一致性模型(MCMS)指定哪些约束,可以通过在并行程序的加载指令返回的值的规则。为了确保并行程序运行正常,硬件MCM实施核查将非常完整;即验证为是在所有可能的方案,所有可能的执行正确的。然而,没有现有的自动化方法能够这样完成验证的。以帮助填补这个验证差距,我们现在PipeProof,一种方法和工具,不言自明的微体系结构(硬件级)排序规范对一个不言自明的ISA级MCM规范的完整MCM验证。 PipeProof可以自动证明正确的微体系结构在所有情况下,或返回指示(通常是一个反例),该微架构无法验证。为了实现无界验证,PipeProof介绍了新颖传递链抽象表示的仅使用一个小的,指令有限数量的指令的任意数目的微架构的执行。有了这个抽象的帮助下,PipeProof证明使用自动抽象精化方法的微架构的正确性。 PipeProof的实现还包括通过大大减少被认为案件数量运行时提高算法的优化。作为证明的概念研究,我们建模和验证实现SC和TSO的MCM正​​确的简单的微架构目前的结果。 PipeProof验证这两个案例研究在一个小时内,表明它确实是可以自动微架构MCM的正确性证明。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号