DocumentCode :
400418
Title :
LLVA: a low-level virtual instruction set architecture
Author :
Adve, Vikram ; Lattner, Chris ; Brukman, Michael ; Shukla, Anand ; Gaeke, Brian
Author_Institution :
Dept. of Comput. Sci., Illinois Univ., Urbana, IL, USA
fYear :
2003
fDate :
3-5 Dec. 2003
Firstpage :
205
Lastpage :
216
Abstract :
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.
Keywords :
computer architecture; instruction sets; program compilers; program interpreters; Crusoe; DAISY; LLVA; arbitrary hardware; dataflow information; explicit control-flow; flexible exception model; hardware instruction sets; hardware instructions; infinite virtual register; low-level operations; low-level virtual instruction set architecture; native machine code; offline translation; processor design; processor-specific software translation layer; profile information; self-modifying code; static single assignment form; translation strategy; transparent offline caching; virtual ISA; virtual object code; Application software; Computer aided instruction; Computer architecture; Computer science; Hardware; Instruction sets; Microarchitecture; Operating systems; Process design; Registers;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Microarchitecture, 2003. MICRO-36. Proceedings. 36th Annual IEEE/ACM International Symposium on
Print_ISBN :
0-7695-2043-X
Type :
conf
DOI :
10.1109/MICRO.2003.1253196
Filename :
1253196
Link To Document :
بازگشت