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

48 Коммитов

Автор SHA1 Сообщение Дата
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 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
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 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 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
Benjamin Bouvier f2b3b057fc Bug 1576591: Bump Cranelift to 164f91a1f473e582e18e48d056c51787d9a1c24d; r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D43407

--HG--
extra : moz-landing-system : lando
2019-08-26 10:18:17 +00:00
Benjamin Bouvier a21315f433 Bug 1573550: Bump Cranelift to 72b97fcb398537c6bb3ab73c45c428652321cbb6; r=jseward
All the commits have been reviewed by Mozilla peers on the Cranelift repository.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 10:46:24 +00:00
Benjamin Bouvier 94d74e6608 Bug 1573409: Bump Cranelift to b2c69b1d032626c67f685080dbf6971d3b9ffa43; r=lth
Differential Revision: https://phabricator.services.mozilla.com/D41721

--HG--
extra : moz-landing-system : lando
2019-08-13 11:55:37 +00:00
Benjamin Bouvier 0b737f672d Bug 1571464: Bump Cranelift to c927680fd42a56efcc9a5ee59e814d9eef6c5b4f; r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D40646

--HG--
extra : moz-landing-system : lando
2019-08-07 14:20:48 +00:00
Benjamin Bouvier 2da5b73fca Bug 1563263: Bump Cranelift to 312516a69da03dc06eace32f61412389a8dcadf3; r=lth
Differential Revision: https://phabricator.services.mozilla.com/D36777

--HG--
extra : moz-landing-system : lando
2019-07-04 06:28:01 +00:00
Benjamin Bouvier 7a302743be Bug 1559099: Bump Cranelift in Spidermonkey to e455f6ae; r=lth
Changes have been reviewed on the Cranelift side; this is just a bump to the
latest version.

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

--HG--
extra : rebase_source : 66c188e223fc956562e4d4c901afa059a178da8a
extra : histedit_source : 39ce43e74dd1666440a39a25703c4f5023e0472b
2019-06-28 15:25:47 +02:00
Lars T Hansen fdbd260675 Bug 1556641 - mach vendor rust. r=bbouvier
Pull in file changes after re-pointing cranelift to current HEAD.

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

--HG--
extra : rebase_source : cc2f736bd3990d6f5b1eabf63a3f2e3b3356338d
2019-06-04 09:18:11 +02:00
Benjamin Bouvier f1c302ad6a Bug 1547682: Bump Cranelift to cc216b46b35a797d03c0f3e8b16a2096f1c6db61; r=lth
Differential Revision: https://phabricator.services.mozilla.com/D29343
2019-04-30 14:22:41 +02:00
Benjamin Bouvier da79779db2 Bug 1539406: Bump Cranelift to revision 542d799dd7a3b2cc; r=lth
This is the first time we pin a specific Cranelift commit hash to use in Gecko.
The target-lexicon hack is removed and instead we introduce a vendor patch for
cranelift-codegen/cranelift-wasm themselves.

Notable changes happen in top-level Cargo.toml, .cargo/config.in and
js/src/wasm/cranelift/Cargo.toml; the rest has been generated by `mach vendor
rust`.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 10:39:28 +00:00
Benjamin Bouvier e84c6bd970 Bug 1532689: Bump Cranelift to 0.29 in Spidermonkey; r=sunfish
This adds new code to provide the module-relative initial function offset for
each function, and adds checks that the bytecode / code offsets are correct.

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

--HG--
rename : third_party/rust/cranelift-codegen-meta/src/base/settings.rs => third_party/rust/cranelift-codegen-meta/src/shared/settings.rs
rename : third_party/rust/cranelift-codegen-meta/src/base/types.rs => third_party/rust/cranelift-codegen-meta/src/shared/types.rs
extra : rebase_source : fd70523925d5d0655917bd9068f7ed35836c714a
extra : histedit_source : e64727d7be746dc3f327909db83f091602e259a9%2Cfc2a4335c2adada30a265a50fa76ef75a2b00bad
2019-03-05 18:34:50 +01:00
Benjamin Bouvier 97cb21c541 Bug 1522173: Bump Cranelift to 0.28; r=sunfish
--HG--
extra : rebase_source : 0f772aa20c592a46cfdbc83a64b218a4568ff28d
extra : histedit_source : 7148969780d2ba4fb5aeecdcb413855a4babef33
2019-01-24 10:51:17 +01:00
Andreea Pavel 85bc0128c7 Backed out changeset 4fcfa39da922 (bug 1522173) bmsvc build bustages on a CLOSED TREE 2019-01-24 12:17:35 +02:00
Benjamin Bouvier 23341bdabb Bug 1522173: Bump Cranelift to 0.28; r=sunfish
--HG--
extra : rebase_source : 96c6c7eaf3e89dff6e1a5378849dd78fe783b485
2019-01-24 10:51:17 +01:00
Benjamin Bouvier 1542471486 Bug 1517752: Update to Cranelift 0.26; r=sunfish 2019-01-04 16:19:48 +01:00
Dan Gohman 493b0bb1b8 Bug 1507819 - Update to Cranelift 0.25. r=bbouvier 2018-11-27 00:06:00 +02:00
Dan Gohman 5a29eec31b Bug 1505777: Run mach-vendor-rust to update Cranelift. rs=bbouvier
--HG--
rename : third_party/rust/cranelift-codegen/src/preopt.rs => third_party/rust/cranelift-codegen/src/simple_preopt.rs
extra : rebase_source : e9c973e47af683a16a08b5161250ad1bbd7d684f
2018-11-09 05:16:08 -08:00
Gurzau Raul 4de32692fa Backed out 3 changesets (bug 1505777) for linux build failures on a CLOSED TREE
Backed out changeset fd3aff6770a5 (bug 1505777)
Backed out changeset 400c83b3756b (bug 1505777)
Backed out changeset bbdabbc30f33 (bug 1505777)

--HG--
rename : third_party/rust/cranelift-codegen/src/simple_preopt.rs => third_party/rust/cranelift-codegen/src/preopt.rs
2018-11-09 05:00:08 +02:00
Dan Gohman c2e3055960 Bug 1505777: Run mach-vendor-rust to update Cranelift. rs=bbouvier
--HG--
rename : third_party/rust/cranelift-codegen/src/preopt.rs => third_party/rust/cranelift-codegen/src/simple_preopt.rs
extra : source : 027bf8dee1e5bd49a0781a18e3b7d39051d70d6c
2018-11-08 09:19:00 +02:00
Gurzau Raul f8bac7cdf2 Backed out 3 changesets (bug 1505777) for linux leakcheck failures on a CLOSED TREE
Backed out changeset 027bf8dee1e5 (bug 1505777)
Backed out changeset 29649174d3e7 (bug 1505777)
Backed out changeset 6fe8e6a201ed (bug 1505777)

--HG--
rename : third_party/rust/cranelift-codegen/src/simple_preopt.rs => third_party/rust/cranelift-codegen/src/preopt.rs
2018-11-09 01:05:49 +02:00
Dan Gohman 4d914524a2 Bug 1505777: Run mach-vendor-rust to update Cranelift. rs=bbouvier
--HG--
rename : third_party/rust/cranelift-codegen/src/preopt.rs => third_party/rust/cranelift-codegen/src/simple_preopt.rs
2018-11-08 09:19:00 +02:00
Benjamin Bouvier 8dd620efc8 Bug 1469027: Vendor in Rust dependencies for Cranelift; r=froydnj
--HG--
extra : rebase_source : 045272c50dd65c487200c520fbbe6c38fc9f9820
2018-09-12 16:04:35 +02:00