Closed Bug 585095 Opened 14 years ago Closed 11 years ago

Add support to save/force-same reg alloc for slow paths

Categories

(Core Graveyard :: Nanojit, defect)

Other Branch
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gal, Unassigned)

Details

When we emit a call, we spill and reload registers around the call. This clobbers the register allocation on all sides of a control flow diamond. However, often one side is slow path code while the other is a fast path. This patch will allow to save the current reg alloc state (right before we emit the call) and then forcefully restore that same state after we emitted the call. This will sink all the register spills into the slow path, and when the control flows merge, the slow path should have only a minimal impact on the fast path as far as spills are concerned.
What is the estimated win from this? Is this bug still active?
Product: Core → Core Graveyard
Nanojit has been dead for several years. Its Bugzilla component has been moved to the graveyard (bug 984276). I checked all the open bugs. They're all uninteresting, so I'm WONTFIXing them all. Apologies for the bugspam.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.