【24h】

An Instruction Filter for Time-Predictable Code Execution on Standard Processors

机译:用于在标准处理器上执行时间可预测代码的指令过滤器

获取原文
获取外文期刊封面目录资料

摘要

Dependable cyber-physical systems usually have stringent requirements on their response time, since failure to react to changes in the system state in a timely manner might lead to catastrophic consequences. It is therefore necessary to determine reliable bounds on the execution time of tasks. However, timing analysis, whether done statically using a timing model or based on measurements, struggles with the large number of possible execution paths in typical applications. The single-path code generation paradigm makes timing analysis trivial by producing programs with a single execution path. Single-path code uses predicated execution, where individual instructions are enabled or disabled based on predicates, instead of conditional control-flow branches. Most processing architectures support a limited number of predicated instructions, such as for instance a conditional move, but single-path code benefits from fully predicated execution, where every instruction is predicated. However, few architectures support full predication, thus limiting the choice of processing platforms. We present a novel approach that adds support for fully predicated execution to existing processor cores which do not natively provide it. Single-path code is generated by restructuring regular machine code and replacing conditional control-flow branches with special instructions that control the predication of subsequent code. At runtime an instruction filter interprets these predicate-defining instructions, computes and saves predicates and filters regular instructions based on the predicate state, replacing inactive instructions with a substitute that has no effect (e.g. a NOP). We are implementing this single-path filter for the LEON3 and the IBEX processors.
机译:可靠的网络物理系统通常对响应时间有严格的要求,因为未能及时对系统状态的变化做出反应可能会导致灾难性的后果。因此,有必要确定任务执行时间的可靠界限。但是,无论是使用时序模型静态完成还是基于测量进行的时序分析,在典型应用程序中都面临着大量可能的执行路径的困扰。单路径代码生成范例通过生成具有单个执行路径的程序,使时序分析变得微不足道。单路径代码使用谓词执行,其中基于谓词而不是条件控制流分支来启用或禁用单个指令。大多数处理体系结构支持有限数量的谓词指令,例如条件转移,但是单路径代码受益于完全谓词执行,其中每个指令都是谓词。但是,很少有体系结构支持完全预测,因此限制了处理平台的选择。我们提出了一种新颖的方法,该方法将对完全谓词执行的支持添加到了本机不提供的现有处理器内核中。通过重组常规机器代码并用控制后续代码预测的特殊指令替换条件控制流分支来生成单路径代码。在运行时,指令过滤器会解释这些谓词定义指令,计算并保存谓词,并根据谓词状态过滤常规指令,将无效指令替换为无效指令(例如NOP)。我们正在为LEON3和IBEX处理器实现此单路径滤波器。

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号