计算机科学 > 计算机科学中的逻辑
[提交于 2012年9月26日]
标题:On the correctness of a branch displacement algorithm
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The branch displacement problem is a well-known problem in assembler design. It revolves around the feature, present in several processor families, of having different instructions, of different sizes, for jumps of different displacements. The problem, which is provably NP-hard, is then to select the instructions such that one ends up with the smallest possible program. During our research with the CerCo project on formally verifying a C compiler, we have implemented and proven correct an algorithm for this problem. In this paper, we discuss the problem, possible solutions, our specific solutions and the proofs.
提交历史
来自:Jaap Boender[v1] 2012年9月26日 星期三 13:02:24 UTC