Skip to content

Proposal: Variable Length SIMD #1151

Open
@JohnSully

Description

@JohnSully

The normal SIMD standard is likely too far along but I'd like for people to consider the option of including a vector length parameter with the SIMD arguments. This would eliminate the need to add op-codes for 128, 256, and 512 bit vectors. Non-standard sized vector lengths could be emulated efficiently in the interpreter itself.

Example:
SIMD.ADD 5:

  • Pop 5 values off the stack for vector 1
  • Pop 5 values off the stack for vector 2
  • Add the vectors
  • Push the 5 value result onto the stack

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions