Skip to content

Update support for the relaxed-simd proposal - #944

Merged
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:update-relaxed-simd
Feb 28, 2023
Merged

alexcrichton merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:update-relaxed-simd

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

This wasm proposal is almost phase 4 so now seemed like a reasonable time to sync the implementation here in wasm-tools with the upstream specification. The changes here are:

  • The "sat" in the float-to-int intrinsics naming was removed since it's not present in the upstream instruction.
  • Dot-product instructions now have "relaxed" in their name. Additionally the float-based dot-product instruction has been removed from the upstream proposal.
  • Opcodes were audited to ensure they match the latest upstream proposal.
  • The "fma" and "fnma" naming was updated to "madd" and "nmadd"
  • Generators in wasm-smith were updated to match the name of the instruction.
  • The validator was reorganized to put all the relaxed simd instructions next to each other.

The upstream spec test suite was also updated which brought in some BLESS=1 snapshot updates as well along with a minor tweak to an error message.

This wasm proposal is almost phase 4 so now seemed like a reasonable
time to sync the implementation here in `wasm-tools` with the upstream
specification. The changes here are:

* The "sat" in the float-to-int intrinsics naming was removed since
  it's not present in the upstream instruction.
* Dot-product instructions now have "relaxed" in their name.
  Additionally the float-based dot-product instruction has been removed
  from the upstream proposal.
* Opcodes were audited to ensure they match the latest upstream
  proposal.
* The "fma" and "fnma" naming was updated to "madd" and "nmadd"
* Generators in `wasm-smith` were updated to match the name of the
  instruction.
* The validator was reorganized to put all the relaxed simd instructions
  next to each other.

The upstream spec test suite was also updated which brought in some
BLESS=1 snapshot updates as well along with a minor tweak to an error
message.
@alexcrichton
alexcrichton merged commit efb9316 into bytecodealliance:main Feb 28, 2023
@alexcrichton
alexcrichton deleted the update-relaxed-simd branch February 28, 2023 00:10
alexcrichton added a commit to alexcrichton/wasm-tools that referenced this pull request Mar 6, 2023
`wasm-tools-c-api` 0.1.1 => 0.1.1
`wasm-mutate-stats` 0.1.0 => 0.1.0
`wit-parser-fuzz` 0.0.1 => 0.0.1
`wasmparser` 0.101.1 => 0.102.0
`wasm-encoder` 0.24.1 => 0.25.0
`wasmprinter` 0.2.52 => 0.2.53
`wast` 54.0.1 => 55.0.0
`wat` 1.0.60 => 1.0.61
`wasm-smith` 0.12.4 => 0.12.5
`wasm-mutate` 0.2.20 => 0.2.21
`wasm-shrink` 0.1.21 => 0.1.22
`wasm-compose` 0.2.9 => 0.2.10
`wit-parser` 0.6.2 => 0.6.3
`wasm-metadata` 0.3.0 => 0.3.1
`wit-component` 0.7.1 => 0.7.2
`wasm-tools` 1.0.25 => 1.0.26

Notably this includes bytecodealliance#944 which updates relaxed-simd support and bytecodealliance#946
which restricts WIT and the component model's overlapping
imports/exports.
@alexcrichton alexcrichton mentioned this pull request Mar 6, 2023
alexcrichton added a commit that referenced this pull request Mar 6, 2023
`wasm-tools-c-api` 0.1.1 => 0.1.1
`wasm-mutate-stats` 0.1.0 => 0.1.0
`wit-parser-fuzz` 0.0.1 => 0.0.1
`wasmparser` 0.101.1 => 0.102.0
`wasm-encoder` 0.24.1 => 0.25.0
`wasmprinter` 0.2.52 => 0.2.53
`wast` 54.0.1 => 55.0.0
`wat` 1.0.60 => 1.0.61
`wasm-smith` 0.12.4 => 0.12.5
`wasm-mutate` 0.2.20 => 0.2.21
`wasm-shrink` 0.1.21 => 0.1.22
`wasm-compose` 0.2.9 => 0.2.10
`wit-parser` 0.6.2 => 0.6.3
`wasm-metadata` 0.3.0 => 0.3.1
`wit-component` 0.7.1 => 0.7.2
`wasm-tools` 1.0.25 => 1.0.26

Notably this includes #944 which updates relaxed-simd support and #946
which restricts WIT and the component model's overlapping
imports/exports.
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