(unofficial mirror fork of merryhime/dynarmic)
Find a file
Lioncash 439619c827 reg_alloc: Make GetRegLoc return by const reference
Considering a HostLocInfo instance houses a std::vector, every time this
function is called can cause a potential heap allocation.

This can be somewhat unnecessary because this function is only used to query
for information we already have.

Considering this is used by several other internal query functions such as
IsRegisterOccupied, IsRegisterAllocated, and IsLastUse, this will result
in better codegen (returning an address is just 3 instructions excluding
the ret instruction for returning, meanwhile heap alloc can be 60+).

This also renames the function to have the same name as its non-const
counterpart, since overloading will just select the correct function
instead of putting that onus on the developer.
2016-08-17 10:08:08 +01:00
docs Update documentation (2016-08-12) 2016-08-12 18:17:31 +01:00
externals/catch First Commit 2016-07-01 21:01:06 +08:00
src reg_alloc: Make GetRegLoc return by const reference 2016-08-17 10:08:08 +01:00
tests TranslateArm: Implement VPUSH and VPOP. 2016-08-13 19:37:03 +01:00
CMakeLists.txt Common: Add a memory pool implementation, remove use of boost::pool 2016-08-06 20:41:00 +01:00
README.md Update documentation (2016-08-12) 2016-08-12 18:17:31 +01:00

Dynarmic

A dynamic recompiler for the ARMv6K architecture.

Documentation

Design documentation can be found at docs/Design.md.

Plans

Near-term

  • Actually finish the translators off
  • Get everything working
  • Redundant Get/Set elimination
  • Handle immediates properly
  • Allow ARM flags to be stored in host flags

Medium-term

Long-term

  • ARMv7A support
  • ARMv5 support