Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

memory.copy / table.copy between memories / tables of different types (32-bit vs 64-bit) #55

Closed
@sbc100

Description

@sbc100

The memory64 proposal so far has not needed to deal with this issue since there was no multi-memory support. Now that multi-memory is at stage 4 and not that we are adding table64 support we need to decide what do about these cross-tables / cross-memory copies.

I seem like there are are basically two choices:

  1. Do not support copying between tables/memories of different index types. We can simply make this a validation failure.
  2. If either of the tables/memories are i64 indexed then require i64 arguments (as we do for the case when both tables/memories are i64 indexed.

Supporting this would certainly blow the up the number of tests we would need to write, but thats not really a great reason not to do it. Do folks have any good reasons why we would wand to support this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions