Skip to content

Support multiplication on Int32x4 #59816

Open

Description

@zing-ethan

Given that it is already supported by Float32x4 and also by all major SIMD instruction sets including WASM, this seems like a no-brainer.

/// Multiplication operator.
Int32x4 operator *(Int32x4 other);

Activity

  1. dart-github-bot commented on Dec 27, 2024

    @dart-github-bot
    Collaborator

    Summary: User requests adding Int32x4 multiplication operator, mirroring Float32x4 and common SIMD instruction set capabilities. This would improve performance.

  2. added
    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
    triage-automationSee https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot.
    type-enhancementA request for a change that isn't a bug
    on Dec 27, 2024
  3. added
    area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
    and removed
    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
    triage-automationSee https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot.
    on Jan 3, 2025
  4. drxddy commented on Feb 3, 2025

    @drxddy
    Contributor

    Int32x4 has no support for arithmetic. Instead, we mostly use it for logical operations such as comparison and selection, branching checkout this article

    please share any use case that you're looking for, I'll be happy to implement this.

  5. modulovalue commented on Jul 20, 2026

    @modulovalue
    Contributor

    Thanks @zing-ethan, I'll look into this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.library-typed-datatype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions