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

73 Коммитов

Автор SHA1 Сообщение Дата
Julian Seward 7564a2282f Bug 1681485 - Revendor Cranelift to 3334d92350da40b90d2529c147db3ea44918b558. r=lth.
Revendor Cranelift to 3334d92350da40b90d2529c147db3ea44918b558
from https://github.com/mozilla-spidermonkey/wasmtime branch firefox85.
The (only) purpose is to pull in this fix for an apparently rare but serious
LICM bug:

Fix missing modification of jump table in LICM.
See https://github.com/bytecodealliance/wasmtime/pull/1697

Differential Revision: https://phabricator.services.mozilla.com/D99230
2020-12-10 06:51:48 +00:00
Julian Seward 5638b306c1 Bug 1678785 - AddressSanitizer: SEGV [@ vixl::Memory::Read]. r=lth.
Differential Revision: https://phabricator.services.mozilla.com/D98932
2020-12-07 16:26:17 +00:00
Julian Seward 4434d99732 Bug 1680509 - Vendor in CL ac58a436ed84d1a88b4ff24367c5972cf8d3d405. Part 2: results of "mach vendor rust". r=yury.
Depends on D98647

Differential Revision: https://phabricator.services.mozilla.com/D98648
2020-12-04 07:01:55 +00:00
Julian Seward 3455a0f670 Bug 1677452 - Update Cranelift to firefox85 / dcc52ba3f69d3de7cdbd787b936825d9c61e3c27 and wasmparser to 0.67: Part 2 - results of "mach vendor rust". r=lth.
Differential Revision: https://phabricator.services.mozilla.com/D97588
2020-11-19 18:50:58 +00:00
Chris Fallin 7a5957abe6 Bug 1669055: Vendor Cranelift e22e2c3722f2fbccd3c8d3230119fa04c332c69c. r=jseward
This patch pulls in an updated Cranelift with a new validation strategy,
introduced by bytecodealliance/wasmtime#2059. This new design validates
the Wasm module as it parses the function bodies. A subsequent patch
will adapt Baldrdash to work with this.

Differential Revision: https://phabricator.services.mozilla.com/D92503
2020-10-07 06:25:50 +00:00
Razvan Maries 8674a04012 Backed out 2 changesets (bug 1655042, bug 1669055) for build bustages. CLOSED TREE
Backed out changeset 0807415f1ea5 (bug 1655042)
Backed out changeset bb5e11920e1a (bug 1669055)
2020-10-07 09:20:25 +03:00
Chris Fallin b1ad6c43eb Bug 1669055: Vendor Cranelift e22e2c3722f2fbccd3c8d3230119fa04c332c69c. r=jseward
This patch pulls in an updated Cranelift with a new validation strategy,
introduced by bytecodealliance/wasmtime#2059. This new design validates
the Wasm module as it parses the function bodies. A subsequent patch
will adapt Baldrdash to work with this.

Differential Revision: https://phabricator.services.mozilla.com/D92503
2020-10-07 03:44:43 +00:00
Butkovits Atila ad041bcdda Backed out changeset 34fddbf97cc7 (bug 1669055) for bustages complaining about rust. CLOSED TREE 2020-10-07 01:44:54 +03:00
Chris Fallin b560ffb6f2 Bug 1669055: Vendor Cranelift e22e2c3722f2fbccd3c8d3230119fa04c332c69c. r=jseward
This patch pulls in an updated Cranelift with a new validation strategy,
introduced by bytecodealliance/wasmtime#2059. This new design validates
the Wasm module as it parses the function bodies. A subsequent patch
will adapt Baldrdash to work with this.

Differential Revision: https://phabricator.services.mozilla.com/D92503
2020-10-06 16:52:57 +00:00
Chris Fallin 2e04279f34 Bug 1668398: vendor Cranelift 57fed697920cb888c6cb7e406d13518f7edd12ea. r=bbouvier
This patch pulls in the latest version of Cranelift, which includes
necessary updates to support some recent work on the Wasm backend (e.g.,
support for the new ABI in PR #2223).

Differential Revision: https://phabricator.services.mozilla.com/D92000
2020-10-02 20:02:51 +00:00
Butkovits Atila 983d99240d Backed out changeset 92a01ad5e890 (bug 1668398) for bustages complaining about ABIMachineSpec. CLOSED TREE 2020-10-02 03:49:26 +03:00
Chris Fallin 65f126f9c6 Bug 1668398: vendor Cranelift b8f0dc429f2b886e7423122223393b2c7ee3cd4f. r=bbouvier
This patch pulls in the latest version of Cranelift, which includes
necessary updates to support some recent work on the Wasm backend (e.g.,
support for the new ABI in PR #2223).

Differential Revision: https://phabricator.services.mozilla.com/D92000
2020-10-01 17:28:30 +00:00
Chris Fallin 0931312b73 Bug 1664453: vendor Cranelift to 379aed8092cd1241ec7839e77d05557b1dceb234 to resolve two Wasm translation bugs. r=jseward
This Cranelift update to revision 379aed8092cd1241ec7839e77d05557b1dceb234
includes its PRs #2197 and #2194, which fix two Wasm translation bugs, as well a
other miscellaneous updates and fixes.

Fixes both Bug 1664453 and Bug 1663861.

Differential Revision: https://phabricator.services.mozilla.com/D90306
2020-09-15 20:01:26 +00:00
Benjamin Bouvier 1893cc05f1 Bug 1661723; Bump Cranelift to a7f7c23bf9c37c642da962d575b7c99007918872; r=lth
Differential Revision: https://phabricator.services.mozilla.com/D88784
2020-08-31 16:34:29 +00:00
Julian Seward d994de3030 Bug 1660976 - Output of mach vendor rust; r=bbouvier.
Depends on D88132

Differential Revision: https://phabricator.services.mozilla.com/D88133
2020-08-25 10:56:36 +00:00
Chris Fallin b4d17c8c71 Bug 1659803: Bump Cranelift to rev 924782191b1cdd85438b707d20a82fbcc8ad40e1. r=jseward
This PR pulls in the latest version of Cranelift, which pulls in
regalloc.rs v0.0.30 and consequently includes some improvements in
memory allocation rate during compilation. No behavior changes expected.

Differential Revision: https://phabricator.services.mozilla.com/D87479
2020-08-18 19:07:53 +00:00
Chris Fallin c95dc245f5 Bug 1659139: Update vendored Cranelift to 279534e27611ee4a13e4590a0a10ffc0fdb95a33. r=jseward
This pulls in an upgrade to regalloc.rs v0.0.29, which brings several
performance improvements.

Differential Revision: https://phabricator.services.mozilla.com/D87096
2020-08-14 18:36:25 +00:00
Chris Fallin 32d18173b8 Bug 1657895: fix fuzzbug by vendoring Cranelift to rev e88d74903102266a18e97489557760b9be67f782. r=jseward
This pulls in (in addition to other miscellaneous changes) a Cranelift
PR which fixes a Wasm translation issue in which the value stack was not
properly restored to have the if-block-parameters in the else-branch
after the if-branch ended in an unreachable opcode:

https://github.com/bytecodealliance/wasmtime/pull/2120

Differential Revision: https://phabricator.services.mozilla.com/D86459
2020-08-10 20:21:48 +00:00
Chris Fallin 534b2e3e86 Bug 1657062: vendor Cranelift to rev fc88898e9ad7766feadfa0954c4594fcccd86b92 to fix fuzzbug. r=jseward
This patch vendors in the latest version of Cranelift, including the
following PR, which fixes this fuzzbug:

https://github.com/bytecodealliance/wasmtime/pull/2097

Differential Revision: https://phabricator.services.mozilla.com/D86044
2020-08-05 17:40:30 +00:00
Julian Seward ac0184c255 Bug 1657131 - Bump cranelift version to 25e31739a63b7a33a4a34c961b88606c76670e46. r=cfallin.
Differential Revision: https://phabricator.services.mozilla.com/D85886
2020-08-04 18:53:20 +00:00
Chris Fallin d70b8edad9 Bug 1655848: vendor in new Cranelift to fix fuzzbug. r=jseward
This patch vendors in the latest version of Cranelift, rev
026fb8d388964c7c1bace7019c4fe0d63c584560. This includes a fix for bug
1655848 (from GitHub PR #2081), as well as several other miscellaneous
changes.

Differential Revision: https://phabricator.services.mozilla.com/D85773
2020-08-03 16:53:46 +00:00
Benjamin Bouvier 2269596e45 Bug 1654813 - Bump Cranelift to dd098656111396afa58e90084a705744e836bf10; r=cfallin
This is waiting on https://github.com/bytecodealliance/wasmtime/pull/2068 to be
landed first.

Differential Revision: https://phabricator.services.mozilla.com/D84711
2020-07-31 17:57:34 +00:00
Chris Fallin 1438721c3a Bug 1653502: Update vendored Cranelift to fix fuzzbug. r=bbouvier
This patch pulls in revision 1b3b2dbfd00492161032760992a8699d19b640ca of
Cranelift. This includes PR bytecodealliance/wasmtime#2042, which fixes
bug 1653502 by properly masking the shift amount in a shift incorporated
into an aarch64 arithmetic instruction.

This patch also includes various other miscellaneous Cranelift
improvements that have been merged since the last version-bump,
including some aarch64 codegen improvements.

Differential Revision: https://phabricator.services.mozilla.com/D84101
2020-07-20 10:04:31 +00:00
Chris Fallin c07df47355 Bug 1633721, part 1 of 2: Bump Cranelift to revision 5e0268a542f612fee36d0256ed1f6a0e18dc02b3. r=bbouvier
This patch updates the vendored version of Cranelift, pulling in the
reference-types support recently merged in Cranelift's PR
bytecodealliance/wasmtime#1852. Usage of this update to support reftypes
in SpiderMonkey on aarch64 is added in the subsequent commit.

Differential Revision: https://phabricator.services.mozilla.com/D83582
2020-07-16 19:15:05 +00:00
Chris Fallin 35cf81d389 Bug 1648885 and Bug 1649432: vendor latest Cranelift to get Spectre mitigations and fix fuzzbug. r=bbouvier
This patch pulls in Cranelift revision
47a218f908e6bdeb7a0fb65ed74e58a0b608080d, which incorporates several
relevant changes:

- It includes the Spectre mitigation for explicit heap bounds checks
  merged in PR bytecodealliance/wasmtime#1930, resolving Bug 1648885.

- It includes the fix for an out-of-bounds subtraction on large shift
  amounts merged in PR bytecodealliance/wasmtime#1954, resolving Bug
  1649432.

We need to temporarily disable the `wasm/limits.js` jit-test on
Cranelift configurations because it now needs shared memory to work, and
the Cranelift backend does not support this yet. Given that this should
be ready in the next month at most (requires atomics support on AArch64,
which is currently being examined), it seems simpler to temporarily
disable the test on aarch64 than to try to disentangle the bits that
depend on shared memories explicitly.

This patch also edits the `regexp/bug1445907.js` jit-test to run only if
Wasm debugging is supported. This is needed for the test not to fail
with `--wasm-compiler=cranelift` (which disables Baseline, the only Wasm
compiler that supports debugging).

Differential Revision: https://phabricator.services.mozilla.com/D81936
2020-07-02 15:47:56 +00:00
Benjamin Bouvier 23b40c5736 Bug 1645336: Bump Cranelift to 238ae3bf2111847f60089656eb97fc9345295b1f; r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D79659
2020-06-15 10:16:20 +00:00
Chris Fallin 771d76eb57 Bug 1641504: Bump Cranelift to 4d5fdfcbba1a8f38002a4223d7a329fc795d0e9f. r=bbouvier
Differential Revision: https://phabricator.services.mozilla.com/D78587
2020-06-11 23:34:39 +00:00
Razvan Maries d641e64a5e Backed out 3 changesets (bug 1641504) for valgrind bustages. CLOSED TREE
Backed out changeset 95646dbd26a1 (bug 1641504)
Backed out changeset bf1919e75e65 (bug 1641504)
Backed out changeset dedeac296eaa (bug 1641504)
2020-06-11 23:56:02 +03:00
Chris Fallin 6944be383a Bug 1641504: Bump Cranelift to e3d89c8a92a5fadedd75359b8485d23ac45ecf29. r=bbouvier
Differential Revision: https://phabricator.services.mozilla.com/D78587
2020-06-09 22:37:06 +00:00
Benjamin Bouvier 9d52aedf32 Bug 1618595 - Bump Cranelift to b7cfd39b531680217537cfcf5294a22077a0a58d; r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D73251
2020-04-30 11:57:24 +00:00
Benjamin Bouvier 0c19028f8f Bug 1626967: bump Cranelift to 6a68130d5b0296379fae0b8de5fbb8a1499b67a5; r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D69977

--HG--
extra : moz-landing-system : lando
2020-04-10 09:52:55 +00:00
Sebastian Hengst b5fa1b7063 Backed out 4 changesets (bug 1626967) for breaking Raptor tests godot-c and wm-c. a=backout
Backed out changeset 985eea91c36c (bug 1626967)
Backed out changeset 837dab8ce31c (bug 1626967)
Backed out changeset f48ad40e60af (bug 1626967)
Backed out changeset 29aaf3ff21ea (bug 1626967)

--HG--
extra : amend_source : 8f86b92aa59cde8a0fdc9fec7b9994c79a6f19df
2020-04-08 10:06:47 +02:00
Benjamin Bouvier 5333bbb793 Bug 1626967: bump Cranelift to 6a68130d5b0296379fae0b8de5fbb8a1499b67a5; r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D69977

--HG--
extra : moz-landing-system : lando
2020-04-07 10:43:14 +00:00
Benjamin Bouvier e8a9503af3 Bug 1620284 - Bump Cranelift to 5cfcbeb59d477e028c6fb312f1cf63aa711fcc3c; r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D65557

--HG--
extra : moz-landing-system : lando
2020-03-25 14:43:05 +00:00
Andreea Pavel c0adfbbf21 Backed out changeset 4c839456c3ff (bug 1620284) for build bustages on a CLOSED TREE
--HG--
extra : amend_source : b632dccf4524a77201507b45b5025d72446e6ef7
2020-03-06 12:33:59 +02:00
Benjamin Bouvier 3b8709ed44 Bug 1620284 - Bump Cranelift to 135a48ca7e9a45d7d31911753e602e6de8b14e2a; r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D65557

--HG--
extra : moz-landing-system : lando
2020-03-05 20:59:42 +00:00
Benjamin Bouvier 399c0377a9 Bug 1614303 - Bump Cranelift to "98c818c129979e98a3db150f8f9698f6451b7ef7"; r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D62233

--HG--
extra : moz-landing-system : lando
2020-02-10 16:50:57 +00:00
Ryan Hunt 2694c42d68 Bug 1611302 - Update Cranelift to eb20fcab349ce20ac6f8659d1c4b058108d5e627. r=bbouvier
Differential Revision: https://phabricator.services.mozilla.com/D60917

--HG--
extra : moz-landing-system : lando
2020-01-26 04:13:56 +00:00
Noemi Erli 796b3ee54c Backed out 7 changesets (bug 1574865, bug 1611302) for causing bustage in WasmCraneliftCompile.cpp CLOSED TREE
Backed out changeset 05de7598585a (bug 1574865)
Backed out changeset f89941b23fce (bug 1574865)
Backed out changeset 242e859e580f (bug 1574865)
Backed out changeset 247e358f4fc7 (bug 1574865)
Backed out changeset bdf099acc592 (bug 1574865)
Backed out changeset 48c545152a47 (bug 1574865)
Backed out changeset a6bd070aa7f2 (bug 1611302)

--HG--
extra : amend_source : dd5db386f287ce1ee2f35d5f4c23bc304a905204
2020-01-24 19:55:47 +02:00
Ryan Hunt 1c7827de77 Bug 1611302 - Update Cranelift to eb20fcab349ce20ac6f8659d1c4b058108d5e627. r=bbouvier
Differential Revision: https://phabricator.services.mozilla.com/D60917

--HG--
extra : moz-landing-system : lando
2020-01-24 13:47:41 +00:00
Ryan Hunt 7609835778 Bug 1610535 - Update Cranelift to 98633eeb0d249efae23ee69ec03dc35b7d9bec17. r=bbouvier
Depends on D60873

Differential Revision: https://phabricator.services.mozilla.com/D60874

--HG--
extra : moz-landing-system : lando
2020-01-23 18:41:11 +00:00
Ryan Hunt 6dd534025d Bug 1608941 - Bump cranelift to b01bee7c5269f72196b42e8bdd874425166bf429. r=bbouvier
Differential Revision: https://phabricator.services.mozilla.com/D60271

--HG--
extra : moz-landing-system : lando
2020-01-20 13:21:55 +00:00
Benjamin Bouvier d890f481f4 Bug 1604120: Bump Cranelift to ec787eb281bb2e18e191508c17abe694e91f0677; r=lth
Differential Revision: https://phabricator.services.mozilla.com/D57293

--HG--
extra : moz-landing-system : lando
2019-12-16 14:06:58 +00:00
Ryan Hunt 4a24438b07 Bug 1599517 - Update cranelift to 4727b70b67abfa4f3ae1c276454a0da7a76e1d49. r=bbouvier
Just the results of ./mach vendor rust.

Depends on D56318

Differential Revision: https://phabricator.services.mozilla.com/D56319

--HG--
extra : moz-landing-system : lando
2019-12-09 14:04:31 +00:00
Benjamin Bouvier ac52ddb216 Bug 1601233: Output of mach vendor rust r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D55791

--HG--
extra : moz-landing-system : lando
2019-12-05 04:26:50 +00:00
Benjamin Bouvier 31b8bd6c3e Bug 1597989: Output of mach rust vendor for the Cranelift bump; r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D53964

--HG--
rename : third_party/rust/target-lexicon/host.rs => third_party/rust/target-lexicon-0.8.1/host.rs
rename : third_party/rust/target-lexicon/sorted.txt => third_party/rust/target-lexicon-0.8.1/sorted.txt
extra : moz-landing-system : lando
2019-12-03 15:28:28 +00:00
Benjamin Bouvier 43a32ade76 Bug 1590101: Result of mach vendor rust; r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D49932

--HG--
extra : moz-landing-system : lando
2019-10-22 07:09:34 +00:00
Julian Seward af3f033028 Bug 1582650 - Cranelift: update version to 0.44, rev to 182414f15c18538dfebbe040469ec8001e93ecc5. r=bbouvier.
Depends on D47206

Differential Revision: https://phabricator.services.mozilla.com/D47207

--HG--
rename : third_party/rust/cranelift-codegen/src/ir/condcodes.rs => third_party/rust/cranelift-codegen-shared/src/condcodes.rs
extra : moz-landing-system : lando
2019-09-26 09:40:11 +00:00
Benjamin Bouvier e6d285174e Bug 1581742: Bump Cranelift to 9c6f8feb0f28f50434c0cf67f3f7c07486a42b7e; r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D46116

--HG--
extra : moz-landing-system : lando
2019-09-18 09:08:59 +00:00
Benjamin Bouvier 7aaccb3171 Bug 1580518: Bump Cranelift to bdfd2adc6e2052319d04d9400122c5b49939f404; r=lth
Differential Revision: https://phabricator.services.mozilla.com/D45547

--HG--
extra : moz-landing-system : lando
2019-09-12 06:56:09 +00:00