User Tools

Site Tools


scheduling_ideas

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
scheduling_ideas [2010/08/04 22:37]
zhangvi1
scheduling_ideas [2010/12/15 15:53] (current)
Line 70: Line 70:
  
 Update: Update:
-To solve phi dependencies,​ instead of moving the phi assign statement to its basic block'​s last state, move it to the same statement which the phi variable is assigned. If assigned to a constant, put that to the first state (make sure speculation pushes ​as far up to the second state). Also, since we're moving entire states, I think in the statement machine, having an or case could work for the entire state, effectively just adding an or per code speculation instead of the entire state'​s area.+To solve phi dependencies,​ instead of moving the phi assign statement to its basic block'​s last state, move it to the same statement which the phi variable is assigned. If assigned to a constant, put that to the first state (make sure speculation pushes up at most to the second state). Also, since we're moving entire states, I think in the statement machine, having an or case could work for the entire state, effectively just adding an or per code speculation instead of the entire state'​s area. For example, case stateA: case stateB: /* do operation */.
  
 Requires: Requires:
scheduling_ideas.txt ยท Last modified: 2010/12/15 15:53 (external edit)