Skip to content

[test] Test more alignment for load extend and splat ops#251

Merged
AndrewScheidecker merged 2 commits intoWAVM:masterfrom
Honry:add-more-alignment
Jan 16, 2020
Merged

[test] Test more alignment for load extend and splat ops#251
AndrewScheidecker merged 2 commits intoWAVM:masterfrom
Honry:add-more-alignment

Conversation

@Honry
Copy link
Contributor

@Honry Honry commented Jan 10, 2020

No description provided.

@Honry
Copy link
Contributor Author

Honry commented Jan 10, 2020

@AndrewScheidecker, @tlively, PTAL, thanks!

Copy link
Member

@AndrewScheidecker AndrewScheidecker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, missed some typos in my initial review

@@ -1,116 +1,307 @@
;; Vaild alignment (align=1, 2, 4, 8, 16)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/Vaild/Valid

)
(assert_malformed
(module quote
"(memroy 1) (func (result v128) (i16x8.load8x8_s align=-1 (i32.const 0)))"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/memroy/memory here and elsewhere in the file

Copy link

@tlively tlively left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with typos fixed.

(assert_return (invoke "v128_aligned_read_and_write") (v128.const i16x8 0 1 2 3 4 5 6 7))
(assert_return (invoke "v128_aligned_read_and_unalign_write") (v128.const i32x4 0 1 2 3))
(assert_return (invoke "v128_unalign_read_and_aligned_write") (v128.const i32x4 0 1 2 3))
(assert_return (invoke "v128_unalign_read_and_aligned_write") (v128.const i32x4 0 1 2 3)) No newline at end of file
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not from this PR, but "unalign" in this name should be "unaligned" as well.

@Honry
Copy link
Contributor Author

Honry commented Jan 16, 2020

@tlively, @AndrewScheidecker, thanks for catching these stupid typos, all fixed.

@AndrewScheidecker AndrewScheidecker merged commit ed9629c into WAVM:master Jan 16, 2020
@AndrewScheidecker
Copy link
Member

LGTM, thanks!

Honry added a commit to Honry/simd that referenced this pull request Jan 17, 2020
tlively pushed a commit to WebAssembly/simd that referenced this pull request Jan 17, 2020
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.

3 participants