go-interpreter / wagon

wagon, a WebAssembly-based Go interpreter, for Go.
BSD 3-Clause "New" or "Revised" License
904 stars 148 forks source link

5/4 - Implement native compilation - Support shift + XOR instructions. #115

Closed twitchyliquid64 closed 5 years ago

twitchyliquid64 commented 5 years ago

Please review/merge after merging the preceeding 4 PRs.

This PR is a small one to add support for bit shift + XOR instructions.

codecov-io commented 5 years ago

Codecov Report

Merging #115 into master will decrease coverage by 3.12%. The diff coverage is 63.65%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #115      +/-   ##
==========================================
- Coverage    68.9%   65.78%   -3.13%     
==========================================
  Files          33       40       +7     
  Lines        3345     3902     +557     
==========================================
+ Hits         2305     2567     +262     
- Misses        783     1068     +285     
- Partials      257      267      +10
Impacted Files Coverage Δ
exec/internal/compile/compile.go 0% <0%> (ø)
exec/internal/compile/scanner.go 0% <0%> (ø)
wasm/operators/op.go 75% <0%> (ø) :arrow_up:
exec/native_compile_nogae.go 100% <100%> (ø)
exec/func.go 76% <100%> (+0.48%) :arrow_up:
exec/internal/compile/native_exec.go 100% <100%> (ø)
exec/native_compile.go 65.9% <65.9%> (ø)
exec/vm.go 84.61% <72.22%> (-2.17%) :arrow_down:
exec/internal/compile/backend_amd64.go 78.16% <78.16%> (ø)
exec/internal/compile/allocator.go 81.81% <81.81%> (ø)
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a76146c...0a23ab6. Read the comment docs.

twitchyliquid64 commented 5 years ago

I'm rebasing this into a different PR, this has gotten out of sync with master.