xenia/src/alloy
2015-02-10 22:04:02 -08:00
..
backend Nasty, but jump over div/0. Value remains undefined, as on 360. 2015-02-10 17:28:21 -08:00
compiler Fix #include format. 2015-01-31 22:49:47 -08:00
frontend mtcrf (untested). 2015-02-10 22:04:02 -08:00
hir Fix #include format. 2015-01-31 22:49:47 -08:00
runtime EntryTable needs a rewrite. 2015-01-31 23:51:45 -08:00
test Fix #include format. 2015-01-31 22:49:47 -08:00
alloy-private.h --break_on_debugbreak 2015-02-01 11:38:16 -08:00
alloy.cc --break_on_debugbreak 2015-02-01 11:38:16 -08:00
alloy.h Fix #include format. 2015-01-31 22:49:47 -08:00
arena.cc Fix #include format. 2015-01-31 22:49:47 -08:00
arena.h Cleaning up some clang issues. 2014-08-21 22:27:33 -07:00
memory.cc Fix #include format. 2015-01-31 22:49:47 -08:00
memory.h Removing IVM. 2015-01-19 12:35:43 -08:00
README.md Removing IVM. 2015-01-19 12:35:43 -08:00
reset_scope.h Removing alloy/core.h. 2014-08-21 20:49:47 -07:00
sources.gypi Moving delegate to poly. 2014-12-31 19:26:51 -08:00
string_buffer.cc Fix #include format. 2015-01-31 22:49:47 -08:00
string_buffer.h Copying over the shader translator - generating d3d shaders now. 2014-12-31 19:27:00 -08:00
type_pool.h Removing alloy/core.h. 2014-08-21 20:49:47 -07:00
vec128.h Fix #include format. 2015-01-31 22:49:47 -08:00

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).

  • x64: IA-64 with AVX2 code generator