Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Add flags to allow SIMD instructions#910

Merged
bnjbvr merged 3 commits into
bytecodealliance:masterfrom
abrown:add-simd-flags
Aug 27, 2019
Merged

Add flags to allow SIMD instructions#910
bnjbvr merged 3 commits into
bytecodealliance:masterfrom
abrown:add-simd-flags

Conversation

@abrown

@abrown abrown commented Aug 19, 2019

Copy link
Copy Markdown
Member

While testing out the SIMD instructions I have implemented in https://github.com/abrown/cranelift/tree/work-ahead I discovered that I needed:

Comment thread src/clif-util.rs
Arg::with_name("enable-simd")
.long("enable-simd")
.help("Enable SIMD operations")
}

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.

Is this different from --set=enable_simd=true?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

--set=enable_simd=true will set the flags for the TargetIsa whereas this one is used for telling wabt that we want to parse WASM and not fail on SIMD operators.

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.

Oh, of course. Maybe the string could say "Enable wasm SIMD operations" then?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

👍

@bnjbvr bnjbvr merged commit e204d2d into bytecodealliance:master Aug 27, 2019
@abrown abrown deleted the add-simd-flags branch August 27, 2019 15:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants