Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wazevo(arm64): optimize out unnecessary UExtend #1886

Merged
merged 2 commits into from
Dec 21, 2023
Merged

Conversation

mathetake
Copy link
Member

@mathetake mathetake commented Dec 21, 2023

$ benchstat old.txt new.txt
goos: darwin
goarch: arm64
pkg: github.com/tetratelabs/wazero/internal/integration_test/stdlibs
                                        │  old.txt   │              new.txt              │
                                        │   sec/op   │   sec/op    vs base               │
Zig/optimizing/Run/test-opt.wasm-10       20.62 ± 2%   20.18 ± 1%  -2.14% (p=0.001 n=10)
Zig/optimizing/Compile/test-opt.wasm-10   6.292 ± 2%   6.108 ± 3%  -2.92% (p=0.007 n=10)
Zig/optimizing/Run/test.wasm-10           22.39 ± 3%   21.15 ± 1%  -5.53% (p=0.000 n=10)
Zig/optimizing/Compile/test.wasm-10       6.035 ± 2%   6.171 ± 2%  +2.26% (p=0.000 n=10)
geomean                                   11.51        11.26       -2.12%

@mathetake mathetake marked this pull request as ready for review December 21, 2023 04:45
@mathetake
Copy link
Member Author

fuzzing now

Signed-off-by: Takeshi Yoneda <[email protected]>
@mathetake mathetake merged commit 866d555 into main Dec 21, 2023
56 checks passed
@mathetake mathetake deleted the redundantuextend branch December 21, 2023 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants