Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

With LLVM 20 the SIMD intrinsic wasm32::u8x16_sub_sat is compiled to a function call #137419

Copy link
Copy link
Open
@hkratz

Description

@hkratz
Issue body actions

The WASM SIMD intrinsic std::arch::wasm32::u8x16_sub_sat used to be compiled to the WASM instruction i8x16.sub_sat_u. Since the switch LLVM 20 (bisected) it is compiled to call llvm.wasm.sub.sat.unsigned.v16i8

Other intrinsics (e.g. saturated integer addition) do not seem to be affected.

Godbolt

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-SIMDArea: SIMD (Single Instruction Multiple Data)Area: SIMD (Single Instruction Multiple Data)C-bugCategory: This is a bug.Category: This is a bug.O-wasmTarget: WASM (WebAssembly), http://webassembly.org/Target: WASM (WebAssembly), http://webassembly.org/

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.