Skip to content

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

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

AndrewScheidecker merged 2 commits into
WAVM:masterfrom
Honry:add-more-alignment

Conversation

@Honry

@Honry Honry commented Jan 10, 2020

Copy link
Copy Markdown
Contributor

No description provided.

@Honry

Honry commented Jan 10, 2020

Copy link
Copy Markdown
Contributor Author

@AndrewScheidecker, @tlively, PTAL, thanks!

@AndrewScheidecker AndrewScheidecker left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
Member

Choose a reason for hiding this comment

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

s/Vaild/Valid

Comment thread Test/spec/simd/simd_align.wast Outdated
)
(assert_malformed
(module quote
"(memroy 1) (func (result v128) (i16x8.load8x8_s align=-1 (i32.const 0)))"

Copy link
Copy Markdown
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

@tlively tlively left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM with typos fixed.

Comment thread Test/spec/simd/simd_align.wast Outdated
(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
Copy Markdown

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

Honry commented Jan 16, 2020

Copy link
Copy Markdown
Contributor Author

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

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

Copy link
Copy Markdown
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