WebAssembly / relaxed-simd

Relax the strict determinism requirements of SIMD operations.
Other
38 stars 6 forks source link

Add more allowed return values for relaxed trunc unsigned #144

Closed ngzhian closed 1 year ago

ngzhian commented 1 year ago

These values show up due to faster algorithms used for relaxed trunc unsigned when hardware does not support single-instruction lowering.

See https://github.com/WebAssembly/relaxed-simd/pull/140 for more discussions.

ngzhian commented 1 year ago

@yurydelendik @Maratyszcza

yurydelendik commented 1 year ago

Nice. The 0x80000000 and 0xfffffffe are now included.

Thanks.

ngzhian commented 1 year ago

either/or is a construct introduced by the threads proposal https://github.com/WebAssembly/threads/blob/main/interpreter/text/lexer.mll#L455 would you prefer to have a comment in the tests referencing the threads proposal?

dtig commented 1 year ago

Thanks yeah, please add it so its easier to find.