Skip to content

Include byteswap and rotates in the MVP #422

Closed
@mbodart

Description

@mbodart

Of the integer operations listed in FutureFeatures.md, it seems bswap and the rotates belong in the MVP. I imagine they have as much utility and direct hardware support as popcnt, clz and ctz.

They seem trivial to support, and increase the richness of the MVP, so I don't see why we would defer them.

I created PR WebAssembly/spec#149 for support in the spec interpreter.

Of course, AstSemantics and other tools would need updating as well.

What say all?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions