• kmillikin@chromium.org's avatar
    Change the algorithm and generated code for parallel moves on IA32. · 437914da
    kmillikin@chromium.org authored
    Instead of spilling and then immediately restoring eax to resolve
    memory to memory moves, the gap move resolver now tracks registers
    that are known to be free and uses one if available.  If not it spills
    but restores lazily when the spilled value is needed or at the end of
    the algorithm.
    
    Instead of using esi for resolving cycles and assuming it is free to
    overwrite because it can be rematerialized, the gap move resolver now
    resolves cycles using swaps, possibly using a free register as above.
    
    The algorithm is also changed to be simpler: a recursive depth-first
    traversal of the move dependence graph.  It uses a list of moves to be
    performed (because it mutates the moves themselves), but does not use
    any auxiliary structure other than the control stack.  It does not
    build up a separate list of scheduled moves to be interpreted by the
    code generate, but emits code on the fly.
    
    Review URL: http://codereview.chromium.org/6263005
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6344 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    437914da
Name
Last commit
Last update
..
gyp Loading commit data...
oom_dump Loading commit data...
oprofile Loading commit data...
v8.xcodeproj Loading commit data...
visual_studio Loading commit data...
codemap.js Loading commit data...
consarray.js Loading commit data...
csvparser.js Loading commit data...
gc-nvp-trace-processor.py Loading commit data...
generate-ten-powers.scm Loading commit data...
js2c.py Loading commit data...
jsmin.py Loading commit data...
linux-tick-processor Loading commit data...
linux-tick-processor.py Loading commit data...
ll_prof.py Loading commit data...
logreader.js Loading commit data...
mac-nm Loading commit data...
mac-tick-processor Loading commit data...
presubmit.py Loading commit data...
process-heap-prof.py Loading commit data...
profile.js Loading commit data...
profile_view.js Loading commit data...
run-valgrind.py Loading commit data...
splaytree.js Loading commit data...
splaytree.py Loading commit data...
stats-viewer.py Loading commit data...
test.py Loading commit data...
tickprocessor-driver.js Loading commit data...
tickprocessor.js Loading commit data...
tickprocessor.py Loading commit data...
utils.py Loading commit data...
windows-tick-processor.bat Loading commit data...
windows-tick-processor.py Loading commit data...