Closed Bug 1760633 Opened 2 years ago Closed 1 year ago

Update fdlibm and add *f functions

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: tjr, Assigned: tjr)

References

Details

Attachments

(4 files, 6 obsolete files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

We're fiddling with eliminating the webaudio fingerprint by using fdlibm math routines there; but there are many float-based functions missing from our in-tree copy of fdlibm.

This bug will track adding them.

Arai - I'm going to attach some phabricator patches that compile but shouldn't be reviewed (except beyond "Is it conceptually okay to add these functions/files"). When I have more time I'll reproduce them and create a set of patches that correctly modify the download/update script and the local patches we apply.

Attached file WIP: Bug 1760633: Add new fdlibm files (obsolete) —

Depends on D141639

Attached file WIP: Bug 1760633: header commenting (obsolete) —

Depends on D141640

Depends on D141641

This compiles on Linux; but not on Windows due to expf having a duplicate symbol...

Priority: -- → P3
Severity: -- → N/A
Attachment #9268710 - Attachment is obsolete: true
Attachment #9268711 - Attachment is obsolete: true
Attachment #9268712 - Attachment is obsolete: true
Attachment #9268713 - Attachment is obsolete: true
Attachment #9268714 - Attachment is obsolete: true
Attachment #9270930 - Attachment is obsolete: true
Assignee: nobody → tom
Status: NEW → ASSIGNED

This applies the patches to the new files, but not the existing
in-tree files (fdlibm.h and math_private.h)

Depends on D164816

This updates our previously in-tree files to account for the
new files we added.

Depends on D164817

There are some r+ patches which didn't land and no activity in this bug for 2 weeks.
:tjr, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit auto_nag documentation.

Flags: needinfo?(tom)
Flags: needinfo?(arai.unmht)
Flags: needinfo?(arai.unmht)
Pushed by tritter@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a5b0ccc77084
Add new files to fdlibm's moz.yaml r=arai
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch

Accidentally only landed the top patch instead of the bottom patch

Status: RESOLVED → REOPENED
Flags: needinfo?(tom)
Resolution: FIXED → ---
Pushed by tritter@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/addec3dc0f80
Update fdlibm patches to apply to new files r=arai
https://hg.mozilla.org/integration/autoland/rev/ee8ecdac4be5
Actually add the new fdlibm files and apply the patches r=arai
https://hg.mozilla.org/integration/autoland/rev/527f857a91f8
Apply the fdlibm patches for the new files to the in-tree files r=arai

Backed out for causing Spidermonkey bustages.

Flags: needinfo?(tom)
Pushed by tritter@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ea0c39428939
Update fdlibm patches to apply to new files r=arai
https://hg.mozilla.org/integration/autoland/rev/aca1820b62a2
Actually add the new fdlibm files and apply the patches r=arai
https://hg.mozilla.org/integration/autoland/rev/2211f048d689
Apply the fdlibm patches for the new files to the in-tree files r=arai
Flags: needinfo?(tom)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: