Closed Bug 968390 Opened 6 years ago Closed 6 years ago

Make Math.pow safe for parallel execution

Categories

(Core :: JavaScript Engine: JIT, defect)

x86
Linux
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: nmatsakis, Assigned: mz_mhs-ctb)

References

Details

Attachments

(1 file, 1 obsolete file)

It appears that the MathPow MIR instruction is threadsafe, but it is marked as non-threadsafe. This is one of the problems with bug 966567 (but not the only one, hence the new bug).
Blocks: 966567
Attached patch Mark Pow and PowHalf safe (obsolete) — Splinter Review
This assumes that PowHalf is also threadsafe.
Assignee: nobody → mz_mhs-ctb
Attachment #8375194 - Flags: review?(luke)
Status: NEW → ASSIGNED
Attachment #8375194 - Flags: review?(luke) → review+
Attachment #8375194 - Attachment is obsolete: true
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/35579f5201a3
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.