You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by Apache Wiki <wi...@apache.org> on 2008/05/07 13:58:48 UTC

[Harmony Wiki] Update of "Jitrino OPT/layout" by Mikhail Fursov

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification.

The following page has been changed by Mikhail Fursov:
http://wiki.apache.org/harmony/Jitrino_OPT/layout

New page:
The 'layout' is LIR transformation used to assign relative positions for basic blocks in memory.
Three different layout algorithms are supported today:

1) Topological (reverse-postorder) layout of basic blocks
2) Top-down layout algorithm
3) Bottom-up layout algorithm

To read more about top-down and bottom-up algorithm details check "Profile guided code positioning" paper by Hansen & Pettis.

Command line line options:

jit.arg.codegen.layout.type=topological - enables topological layout

jit.arg.codegen.layout.type=topdown - enables top-down layout

jit.arg.codegen.layout.type=bottomup - enables bottom-up layout

jit.arg.codegen.layout.type=mixed - enables top-down layout for methods without loops and bottom-up for methods with loops


Source files:

src/codegenerator/ia32/Ia32CodeLayout.*

src/codegenerator/ia32/Ia32CodeLayoutTopDown.*

src/codegenerator/ia32/Ia32CodeLayoutBottomUp.*