-
Notifications
You must be signed in to change notification settings - Fork 268
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
wazeroir: backfill vector instruction unittets #623
Conversation
Signed-off-by: Takeshi Yoneda <[email protected]>
Signed-off-by: Takeshi Yoneda <[email protected]>
@@ -2709,8 +2709,7 @@ func TestModule_funcValidation_SIMD(t *testing.T) { | |||
vi2v := func(vec OpcodeVec) (ret []byte) { | |||
ret = addV128Const(ret) | |||
return append(ret, | |||
OpcodeI32Const, | |||
1, 1, 1, 1, | |||
OpcodeI32Const, 1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs leb128 encoding but yeah somehow this worked since before but fixed it 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah cool
Signed-off-by: Takeshi Yoneda <[email protected]>
Signed-off-by: Takeshi Yoneda <[email protected]>
Signed-off-by: Takeshi Yoneda <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for fixing the broken window!
This increases the test coverage on wazeroir/compiler.go by adding unttests which
touch all lines related to V128 instructions.
Signed-off-by: Takeshi Yoneda [email protected]