Create README.md

This commit is contained in:
Ben Vanik 2014-08-20 11:35:22 -07:00
parent c38cf294f5
commit 609d7c755f
1 changed files with 30 additions and 0 deletions

30
src/alloy/README.md Normal file
View File

@ -0,0 +1,30 @@
alloy: small dynamic recompiler engine
===
Alloy is a transpiler framework that allows for pluggable frontends for decoding
guest machine instructions (such as PPC) and pluggable backends for generating
host code (such as x64). It features an SSA IR designed to model machine
instructions and vector operations and compilation passes that seek to efficiently
optimize previously-optimized code.
Future versions will cache generated code across runs and enable offline
precompilation.
Frontends
---
Frontends are responsible for translating guest machine instructions into IR.
Information about the guest machine and ABI is used to support efficient CPU
state accesses and debug information.
* PPC64 with Altivec extenions
Backends
---
A backend takes optimized IR and assembles an implementation-specific result.
The backend is also responsible for executing the code it generates and supporting
debugging features (such as breakpoints).
* IVM: bytecode interpreter
* x64: IA-64 with AVX2 code generator