首页> 外文会议> >LLVA: a low-level virtual instruction set architecture
【24h】

LLVA: a low-level virtual instruction set architecture

机译:LLVA:低级虚拟指令集架构

获取原文

摘要

A virtual instruction set architecture (V-ISA) implemented via a processor-specific software translation layer can provide great flexibility to processor designers. Recent examples such as Crusoe and DAISY, however, have used existing hardware instruction sets as virtual ISAs, which complicates translation and optimization. In fact, there has been little research on specific designs for a virtual ISA for processors. This paper proposes a novel virtual ISA (LLVA) and a translation strategy for implementing it on arbitrary hardware. The instruction set is typed, uses an infinite virtual register set in static single assignment form, and provides explicit control-flow and dataflow information, and yet uses low-level operations closely matched to traditional hardware. It includes novel mechanisms to allow more flexible optimization of native code, including a flexible exception model and minor constraints on self-modifying code. We propose a translation strategy that enables offline translation and transparent offline caching of native code and profile information, while remaining completely OS-independent. It also supports optimizations directly on the representation at install-time, runtime, and offline between executions. We show experimentally that despite its rich information content, virtual object code is comparable in size to native machine code, virtual instructions expand to only 2-4 ordinary hardware instructions on average, and simple translation costs under 1% of total execution time except for very short runs.
机译:通过处理器特定的软件转换层实现的虚拟指令集体系结构(V-ISA)可以为处理器设计人员提供极大的灵活性。但是,诸如Crusoe和DAISY之类的最新示例将现有的硬件指令集用作虚拟ISA,这使翻译和优化变得复杂。实际上,关于用于处理器的虚拟ISA的特定设计的研究很少。本文提出了一种新颖的虚拟ISA(LLVA)以及一种在任意硬件上实现它的转换策略。指令集是类型化的,使用静态单分配形式的无限虚拟寄存器集,并提供显式的控制流和数据流信息,但仍使用与传统硬件紧密匹配的低级操作。它包括允许更灵活地优化本机代码的新颖机制,包括灵活的异常模型和对自修改代码的较小约束。我们提出了一种转换策略,该策略可实现脱机翻译以及本机代码和配置文件信息的透明脱机缓存,同时又完全独立于操作系统。它还支持在安装时,运行时以及执行之间脱机时直接对表示形式进行优化。我们通过实验表明,尽管虚拟目标代码具有丰富的信息内容,但其大小可与本机代码相媲美,虚拟指令平均可扩展至仅2-4个普通硬件指令,并且简单翻译成本不到总执行时间的1%,短期。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号