Skip to content

Clarifications on "more complex" unchanged instructions #105

@Liedtke

Description

@Liedtke

We should clarify if the following specifications are desired:

  • table.copy can copy between shared and unshared tables (all 4 combinations1, also for all the other cases below)
  • array.copy can copy between shared and unshared arrays
  • table.init can initialize shared and unshared tables from shared and unshared element segments
  • array.new_elem can construct shared and unshared arrays using shared and unshared element segments
  • array.new_data can construct shared and unshared arrays using shared and unshared data segments
  • array.init_data and array.init_elem can similarly use a mix of shared and unshared arrays and element / data segments

AFAICT that's what this proposal is currently defining, I can say for sure that the V8 implementation does not support most of these cases (some of the bulk instructions might not work at all for shared types in the current POC.)

Footnotes

  1. Inside an unshared function

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