Граф коммитов

85244 Коммитов

Автор SHA1 Сообщение Дата
Jan Varga 5cdd0e30e6 Bug 1750934 - Support StorageManager in Sandbox and XPCComponents; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D136316
2022-02-06 16:07:36 +00:00
smolnar d8c0c3db3c Merge autoland to mozilla-central. a=merge 2022-02-05 11:13:25 +02:00
Steve Fink e10fc3efba Bug 1738096 - Compute Gecko-triggered GC slice budget in Gecko and pass SliceBudget object all the way through r=jonco,smaug
Differential Revision: https://phabricator.services.mozilla.com/D131705
2022-02-05 00:57:19 +00:00
Steve Fink 0f33dbe9b4 Bug 1738096 - Split out RunIncrementalGCSlice from GarbageCollectNow r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131704
2022-02-05 00:57:19 +00:00
Steve Fink fd9edc8d45 Bug 1747274 - Include whether a GC slice was interrupted in the profiler marker r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D137357
2022-02-05 00:57:18 +00:00
Abhishek Aggarwal 5e5d895888 Bug 1746631 - Disabled JIT tests for integer gemm in release and beta. r=rhunt,yury
- The tests were previously running for beta and release
  - Now they run only for Nightly
  - Refactored the whole test skipping code
      - Moved that code from CommonTestSetup to a directive

Differential Revision: https://phabricator.services.mozilla.com/D137874
2022-02-04 23:48:06 +00:00
Abhishek Aggarwal 99816ec5a4 Bug 1746631 - JIT tests for integer gemm intrinsic functions. r=rhunt
- Test cases for all 7 intrinsic functions

Differential Revision: https://phabricator.services.mozilla.com/D137552
2022-02-04 14:28:29 +00:00
Abhishek Aggarwal dfde362b9e Bug 1746631 - Implement integer gemm intrinsic functions. r=rhunt
- Implements 7 intrinsic functions
 - These intrinsics are only enabled for x86/x86-64 platform and for
   privileged extensions
 - These intrinsics should never be accessible to web-pages
   -- Added corresponding mochitest

Differential Revision: https://phabricator.services.mozilla.com/D136430
2022-02-04 14:28:29 +00:00
Abhishek Aggarwal 1342f2782a Bug 1746631 - Support intrinsic functions with more arguments. r=yury
Earlier, functions with 4 arguments were supported.
Now, the support has been extended to 12 arguments.

Differential Revision: https://phabricator.services.mozilla.com/D136023
2022-02-04 14:28:28 +00:00
Marian-Vasile Laza 46d7b2b63d Backed out 3 changesets (bug 1738096, bug 1747274) for causing build bustages on FuzzingFunctions.cpp. CLOSED TREE
Backed out changeset 00999caca48d (bug 1738096)
Backed out changeset eee1c8ccba69 (bug 1738096)
Backed out changeset 3593d4dcf5a1 (bug 1747274)
2022-02-04 07:48:24 +02:00
Steve Fink 94046c7803 Bug 1738096 - Compute Gecko-triggered GC slice budget in Gecko and pass SliceBudget object all the way through r=jonco,smaug
Differential Revision: https://phabricator.services.mozilla.com/D131705
2022-02-04 02:33:25 +00:00
Steve Fink b549663bb2 Bug 1738096 - Split out RunIncrementalGCSlice from GarbageCollectNow r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131704
2022-02-04 02:33:25 +00:00
Steve Fink 32c7100aec Bug 1747274 - Include whether a GC slice was interrupted in the profiler marker r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D137357
2022-02-04 02:33:24 +00:00
Kelsey Gilbert 2be1faceef Bug 1752167 - Use official name(js::Scalar::Type). r=jonco
Also mention one reason that Type might be MaxTypedArrayViewType, which
otherwise sounds like a pure sentinel.

Differential Revision: https://phabricator.services.mozilla.com/D137716
2022-02-03 19:23:22 +00:00
Sylvestre Ledru caaedeee98 Bug 1753413 - fx doc: Remove whitespaces, trailing lines & windows CR r=andi,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D137741
2022-02-03 18:34:58 +00:00
Yury Delendik 81edf4425d Bug 1708743 - Enable AVX for spec tests. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137654
2022-02-03 15:37:38 +00:00
Yury Delendik 190598f6d5 Bug 1753318 - Fixes vhaddpd encoding. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D137705
2022-02-03 15:37:37 +00:00
Mike Hommey 41bf6ee9ab Bug 1752072 - Remove check for RANLIB. r=firefox-build-system-reviewers,mhentges
It hasn't been used in the build system since bug 569597.

Differential Revision: https://phabricator.services.mozilla.com/D136987
2022-02-03 00:06:30 +00:00
Mike Hommey 1ea827dc69 Bug 1752064 - Move the remainder of AS to python configure. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D136981
2022-02-03 00:06:29 +00:00
Jon Coppeard fbad14b1c7 Bug 1751959 - Part 2: Remove the auxillary mark stack and use a single stack for both black and gray marking r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D136915
2022-02-02 17:29:05 +00:00
Jon Coppeard bdcdcd67bf Bug 1751959 - Part 1: Make weak map marking do gray marking after black r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D137053
2022-02-02 17:29:04 +00:00
Lars T Hansen 0e05bd1298 Bug 1752870 - Filter code ranges before searching. r=rhunt
When searching a lazy stub segment for the code range that holds a
particular PC value, we can quickly exclude segments that are
guaranteed not to match by comparing the PC to the values at the
segment's endpoints - the code ranges in a segment are sorted, and
this filtering will cause the search to skip most segments.  This very
significantly reduces the time spent in the search.

Differential Revision: https://phabricator.services.mozilla.com/D137518
2022-02-02 14:56:59 +00:00
Lars T Hansen 7e909fb3ff Bug 1752870 - Multiple-reader/single-writer ExclusiveData variant. r=jonco
The indirect stubs code needs to take a lock on the lazy stub tier
when mapping back from code pointer to function index during a
Table::get on a table of funcref.  This code is amazingly hot in one
large wasm application and is almost unusable because of lock
contention caused by this lookup.

However, the tier tables are mostly stable at this point and parallel
lookups are fine, so we need to allow for multiple readers.  The
easiest way to do this is by using a multi-reader/single-writer
ExclusiveData variant, introduced here.

Differential Revision: https://phabricator.services.mozilla.com/D137516
2022-02-02 14:56:58 +00:00
Yury Delendik 47ee064f19 Bug 1752231 - Refactor binarySimd128 to allow VEX encoding. r=jseward
Changes:
 * Extends masm's operations with SimdConstants as an args, to be non-destructive
 * Refactor BaseAssembler rrip encoding helpers
 * Remove unused ripr helpers -- not going to store anything if the code
 * Add moveSimd128XXXIfNotAVX helpers

Differential Revision: https://phabricator.services.mozilla.com/D137080
2022-02-02 13:39:51 +00:00
Yulia Startsev 9ea90fa07a Bug 1749477 - new array methods should be unscopable; r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D137281
2022-02-02 09:00:40 +00:00
Yulia Startsev c664948beb Bug 1749477 - change array groupby to create a null prototype object; r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D137280
2022-02-02 09:00:40 +00:00
Yulia Startsev 0aa0304c7e Bug 1750955 - add pref to turn off Array Grouping; r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D137279
2022-02-02 09:00:39 +00:00
Andreea Pavel ae2aa3cb94 Bug 1726243 - disable await-dynamic-import-rejection.js on all platforms r=intermittent-reviewers,MasterWayZ DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D137580
2022-02-02 00:38:48 +00:00
Cristian Tuns 1ad3bc1249 Backed out 3 changesets (bug 1749477, bug 1750955) for causing reftest failures on unscopables.js CLOSED TREE
Backed out changeset d63e96d23111 (bug 1749477)
Backed out changeset faf29999cc23 (bug 1749477)
Backed out changeset 0ed606582c39 (bug 1750955)
2022-02-01 05:07:12 -05:00
Yulia Startsev d64d8cad2e Bug 1749477 - new array methods should be unscopable; r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D137281
2022-02-01 09:04:02 +00:00
Yulia Startsev cb32ea121d Bug 1749477 - change array groupby to create a null prototype object; r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D137280
2022-02-01 09:04:02 +00:00
Yulia Startsev 0fb1dde9df Bug 1750955 - add pref to turn off Array Grouping; r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D137279
2022-02-01 09:04:02 +00:00
Yury Delendik a55812b188 Bug 1752404 - Remove MacroAssembler-x86-shared-SIMD-unused.cpp. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D137458
2022-01-31 16:57:37 +00:00
Ryan Hunt d4d2cb3a35 Bug 1750040 - wasm: Enable wasm exception handling in nightly. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D136630
2022-01-31 15:03:52 +00:00
Jan de Mooij 0c8c849b7a Bug 1751373 - Use memoryBarrierBefore instead of memoryBarrierAfter in MacroAssemblerARM::wasmStoreImpl. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D137433
2022-01-31 13:04:21 +00:00
Jan de Mooij a11c0a2814 Bug 1752099 part 7 - Disable the JIT backend on platforms without floating-point support. r=lth
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.

Differential Revision: https://phabricator.services.mozilla.com/D137029
2022-01-31 10:23:58 +00:00
Jan de Mooij e198c428a1 Bug 1752099 part 6 - Move ARM64 setup into InitializeJit. r=lth
Also remove some WASI code that we no longer need because the callers have
HasJitBackend checks.

Depends on D137027

Differential Revision: https://phabricator.services.mozilla.com/D137028
2022-01-31 10:23:58 +00:00
Jan de Mooij 09e4065954 Bug 1752099 part 5 - Move executable memory initialization into InitializeJit. r=lth
This makes it a bit easier to reason about the ordering of these.

Depends on D137026

Differential Revision: https://phabricator.services.mozilla.com/D137027
2022-01-31 10:23:58 +00:00
Jan de Mooij ad9f1b55ce Bug 1752099 part 4 - Initialize x86/x64 testing flags before CPU flags are computed. r=lth
Depends on D137025

Differential Revision: https://phabricator.services.mozilla.com/D137026
2022-01-31 10:23:57 +00:00
Jan de Mooij 34d282cc96 Bug 1752099 part 3 - Inline ComputeJitSupportFlags into its now sole caller. r=lth
Depends on D137024

Differential Revision: https://phabricator.services.mozilla.com/D137025
2022-01-31 10:23:57 +00:00
Jan de Mooij a04410b98b Bug 1752099 part 2 - Always parse ARM HwCap strings in InitARMFlags. r=lth
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

Differential Revision: https://phabricator.services.mozilla.com/D137024
2022-01-31 10:23:56 +00:00
Jan de Mooij 3fe8e4266b Bug 1752099 part 1 - Remove lazy CPU flags computation on x86/x64. r=lth
We always compute these on start-up so we can change some checks to asserts.

Differential Revision: https://phabricator.services.mozilla.com/D137023
2022-01-31 10:23:56 +00:00
Tim Chevalier 2415b7b7a1 Bug 1744975 - 16. Conformance tests for section 4.1.2.6 of proposal (setting Tuple properties) r=jandem
Depends on D134841

Differential Revision: https://phabricator.services.mozilla.com/D134842
2022-01-31 08:56:46 +00:00
Tim Chevalier 709021e528 Bug 1744975 - 15. Conformance tests for section 4.1.2.11 of proposal (out-of-range Tuple indices) r=jandem
Depends on D134840

Differential Revision: https://phabricator.services.mozilla.com/D134841
2022-01-31 08:56:45 +00:00
Tim Chevalier 660c8e441e Bug 1744975 - 14. Add test for 9.1.1.1 of spec (Object.prototype.toString) r=jandem
Depends on D134839

Differential Revision: https://phabricator.services.mozilla.com/D134840
2022-01-31 08:56:45 +00:00
Tim Chevalier 5349f4ee4f Bug 1744975 - 13. Conformance tests for Tuple constructor r=jandem
Depends on D134838

Differential Revision: https://phabricator.services.mozilla.com/D134839
2022-01-31 08:56:45 +00:00
Tim Chevalier f40896fa68 Bug 1744975 - 12. Tests for section 6.1.2.1 of spec (initialization semantics) r=jandem
Depends on D136193

Differential Revision: https://phabricator.services.mozilla.com/D134838
2022-01-31 08:56:44 +00:00
Tim Chevalier b4a0c192dc Bug 1744975 - 11. Implement Tuple.of() static method r=jandem
Depends on D134836

Differential Revision: https://phabricator.services.mozilla.com/D136193
2022-01-31 08:56:44 +00:00
Tim Chevalier bc2fccf8b9 Bug 1744975 - 10. Implement Tuple.from() static method r=jandem
Depends on D134835

Differential Revision: https://phabricator.services.mozilla.com/D134836
2022-01-31 08:56:44 +00:00
Tim Chevalier dffc519df4 Bug 1744975 - 9. Implement Tuple.isTuple() static method r=jandem
Depends on D134834

Differential Revision: https://phabricator.services.mozilla.com/D134835
2022-01-31 08:56:43 +00:00