Improve JIT CPU testing flags a bit after bug 1732362
Categories
(Core :: JavaScript Engine: JIT, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(7 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 | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
After the changes in bug 1732362 we can improve and simplify this a bit.
Assignee | ||
Comment 1•3 years ago
|
||
We always compute these on start-up so we can change some checks to asserts.
Assignee | ||
Comment 2•3 years ago
|
||
We can now handle command line flags before initializing the engine, so use this
for the --arm-hwcap flag. Then store this string for InitARMFlags to use.
Depends on D137023
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D137024
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D137025
Assignee | ||
Comment 5•3 years ago
|
||
This makes it a bit easier to reason about the ordering of these.
Depends on D137026
Assignee | ||
Comment 6•3 years ago
|
||
Also remove some WASI code that we no longer need because the callers have
HasJitBackend checks.
Depends on D137027
Assignee | ||
Comment 7•3 years ago
|
||
This removes JitOptions.supportsFloatingPoint and instead uses the new
JitOptions.disableJitBackend flag.
The JS and Wasm compilers already checked the supportsFloatingPoint flag, only
the regular expression JIT might be affected.
The goal is to have a single runtime switch to enable/disable the JIT backend.
Depends on D137028
Comment 9•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2b64bd930401
https://hg.mozilla.org/mozilla-central/rev/04d591b0098f
https://hg.mozilla.org/mozilla-central/rev/3ee867ff9af9
https://hg.mozilla.org/mozilla-central/rev/ee91717522d8
https://hg.mozilla.org/mozilla-central/rev/92c4becbc088
https://hg.mozilla.org/mozilla-central/rev/32b8805332fc
https://hg.mozilla.org/mozilla-central/rev/97cfa0fc475c
Description
•