-
Notifications
You must be signed in to change notification settings - Fork 452
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
Second left-to-right test #135
Conversation
I added store operations and adjusted the memory size. I already added the four dummy functions, which will be used to test the evaluation order of functions.
(func $f32_right (result f32) (i32.store8 (i32.const 0) (i32.const 2)) (f32.const 145)) | ||
(func $f64_left (result f64) (i32.store8 (i32.const 0) (i32.const 1)) (f64.const 163)) | ||
(func $f64_right (result f64) (i32.store8 (i32.const 0) (i32.const 2)) (f64.const 164)) | ||
(func $reset (i32.store8 (i32.const 8)(i32.const 0))) |
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.
I see this was already present in the previous patch, but could you add a space between the ')' and '(' here?
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.
Oops, next time I'll scan my code for ')(', so hopefully this won't happen again.
Other than comments above, looks good to me. |
I added a space between two brackets, fixed the comment and added a new "test to write" to TestingTodo, which will test the evaluation order of call_indirect
lgtm, thanks! |
…#135) This PR also centralizes the processing of float-point ops in one file named simd_float_op.py, see WAVM PR: WAVM/WAVM#209
This tests if store instructions and calls evaluate their operands from left to right, too.