Commit Graph

470 Commits

Author SHA1 Message Date
ptitSeb
7fb7c09080 Release 3.2.0 2023-04-18 16:30:03 +02:00
ptitSeb
f0478b9464 Added some unit testing to singlepass compiler (#3751)
* Added some unit testing to singlepass compiler

* More emitter testing for x86_64 backend

* Added more emiter test to singlepass x86_64 backend

* Added some emiter test for singlepass arm64 backend

* More test emiter for singlepass arm64

* Added more Singlepass ARM64 backend
2023-04-12 12:07:21 +00:00
ptitSeb
e40c6a4177 Release 3.2.0-beta.2 2023-04-05 13:25:40 +02:00
Johnathan Sharratt
93cc9f8517 Added missing ASM instructions for wasix on singlepass (#3731) 2023-04-02 18:51:32 +02:00
ptitSeb
d58d158897 Release 3.2.0-beta.1 2023-03-22 19:14:57 +01:00
ptitSeb
f8c0910c33 Update wasmparser to v0.95 (#3682)
* Update wasmparser to v0.95

* Update lib/compiler/src/translator/module.rs

Co-authored-by: Syrus Akbary <me@syrusakbary.com>

---------

Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2023-03-15 11:15:58 +01:00
Christoph Herzog
ee58d7c2b2 Revert "Update wasmparser to v0.91"
This reverts commit 87232623de.
2023-03-15 01:46:26 +01:00
ptitSeb
87232623de Update wasmparser to v0.91 2023-03-14 20:39:38 +01:00
ptitSeb
e3ebd560a1 [SINGLEPASS] Add more ROR emitter to ARM64 backend (for #3647) 2023-03-07 10:22:12 +01:00
Syrus Akbary
db6dd420e1 Optimized ModuleInfo usage 2023-02-16 20:44:49 -08:00
Felix Schütt
4b9389cdaa Release 3.2.0-alpha.1 2023-01-23 12:52:43 +01:00
Syrus Akbary
8481a840d9 Merge branch 'master' into singlepass_fix_sse42_backend_sse_round 2023-01-19 23:07:36 +01:00
sydhds
bfa1b678db Rework fix when x != dst 2023-01-12 08:56:57 +01:00
sydhds
2d05574590 Add if else 2023-01-12 08:56:57 +01:00
sydhds
ba10624fe1 Remove assert in sse_round_fn and handle case where src2 is in memory 2023-01-12 08:56:57 +01:00
ptitSeb
26b43fee27 Merge branch 'master' into wasix-core-changes 2023-01-05 21:32:17 +01:00
ptitSeb
1d96053e3b [SINGLEPASS] Added a special case on SSE4.2 backend when dst == src1 (for #3461) 2023-01-05 17:06:45 +01:00
Christoph Herzog
5109a407c4 WASIX Preparation
This commit extracts changes to core libraries made in the WASIX branch.

It is not reasonable to extract the partial commit history, so this is
just a batch commit.

The history will make a bit more sense again if we decide to merge the
WASIX branch with full commit history.
2022-12-16 11:47:04 +01:00
Felix Schütt
d45850733e Release 3.1.0 2022-12-12 13:38:00 +01:00
ptitSeb
51710a171a [SINGLEPASS/ARM64] Fixed ADD/SUB using Xsp ad register to use the correct opcode (for #3343) 2022-12-08 13:55:05 +01:00
ptitSeb
4c8e65e46f Fixed linter 2022-12-08 13:53:59 +01:00
ptitSeb
34eb78520d [SINGLEPASS] Small optimisation for move local with offset in 0x100 - 0x10000 range 2022-12-07 15:28:39 +01:00
ptitSeb
fe4d3789f8 [SINGLEPASS] Optimized mov immediate for negative values on ARM64 backend (using MOVN) 2022-12-06 15:20:50 +01:00
ptitSeb
31d876c164 Fixed linter 2022-12-02 15:53:34 +01:00
ptitSeb
022f74bcc7 [SINGLEPASS] Some fixes for mac/Aarch64 arch only 2022-12-02 15:47:33 +01:00
Felix Schütt
9ec93acfd6 Merge branch 'master' into fix-create-exe 2022-12-01 19:50:02 +01:00
Felix Schütt
991ad55bdb Debug undefined wasmer_vm_raise_trap error 2022-12-01 12:33:40 +01:00
ptitSeb
01e99dda90 Merge branch 'master' into feat_store-used-cpufeature-artifact 2022-11-29 17:00:30 +01:00
ptitSeb
30a7d61943 Merge branch 'master' into feat_sharedmemory 2022-11-29 14:39:45 +01:00
ptitSeb
45b1f4b311 Merge branch 'master' into feat_store-used-cpufeature-artifact 2022-11-28 09:41:33 +01:00
Felix Schütt
b70f6e9052 Release 3.0.2 2022-11-25 21:30:20 +01:00
ptitSeb
ffd6d6b140 Merge branch 'master' into feat_sharedmemory 2022-11-24 15:56:32 +01:00
ptitSeb
b588819e0e Fixed linter 2022-11-24 11:56:47 +01:00
ptitSeb
cee68baee8 Added some unit test for get_cpu_features_used 2022-11-24 11:43:06 +01:00
ptitSeb
8d19394a3a Merge branch 'master' into feat_store-used-cpufeature-artifact 2022-11-24 10:29:58 +01:00
ptitSeb
0ec859d437 Added missing new line 2022-11-24 08:53:00 +01:00
ptitSeb
829a4fdf04 Merge branch 'master' into feat_singlepass_lzcnt 2022-11-23 16:11:15 +01:00
ptitSeb
19c302904e Merge branch 'master' into feat_store-used-cpufeature-artifact 2022-11-23 16:11:07 +01:00
ptitSeb
3ffda13056 Singlepass will also use BMI1 on x86_64 (for TZCNT) 2022-11-23 13:12:11 +01:00
ptitSeb
23c67fd1e8 Added the actual LZCNT / TZCNT implementation, somehow missing from #3302 2022-11-23 13:03:56 +01:00
ptitSeb
d0bef5c026 Store Used CpuFeature in Artifact instead Present CpuFeatures for Singlepass 2022-11-23 11:28:22 +01:00
Felix Schütt
27f3300fef Release 3.0.1 2022-11-23 01:14:06 +01:00
ptitSeb
8a0bd4b331 Added some aarch64 atomic access emitter (not finished)
Removed public Imports::import_shared_memory and try to auto-initialize shared memory directly

Fixed clippy

Added Atomic Add/Sub/And/Or/Xor operator to Singlepass/AArch64 backend

Added atomic_xchg support for Singlepass/AArch64 backend

Finished all atomic access operator for Singlepass/Aarch64 backend
2022-11-22 15:43:06 +01:00
ptitSeb
bb69903c51 Fixed Notify helper funciton and opcode (for #3155 and #3158) 2022-11-22 14:38:25 +01:00
ptitSeb
bfc8d9478b Added Wait/Notify opcode handling to Sinbglepass, and enable x86_64 threads::atomic test (for #3158) 2022-11-22 14:38:25 +01:00
ptitSeb
2b7bf2fbe4 Added some missing emitter on x86_64 singlepass (for #3161)
Checked align_check for x86_64 singlepass compiler (for #3161)"

Added proper handling of Unaligned Atomics in Singlepass Compiler (for #3161)

More fixes to x86_64 singlepass compiler (for #3161)
2022-11-22 14:38:24 +01:00
ptitSeb
907d8c53c8 Merge branch 'master' into imp_singlepass_x86_64_tzcnt 2022-11-21 20:11:17 +01:00
ptitSeb
2a6d5e7687 Merge branch 'master' into imp_limit_compilation_clone 2022-11-21 11:12:24 +01:00
Felix Schütt
dcc0164698 Release 3.0.0 2022-11-20 17:00:03 +01:00
Felix Schütt
91c2c1daea Release 3.0.0-rc.4 2022-11-19 16:21:42 +01:00