Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

[test] Bulk instructions with multiple tables #74

Closed

Description

@rossberg

The bulk proposal adds new table instructions, while this proposal adds multiple tables. The intersection of the two proposals has been implemented and spec'ced here after rebasing this on bulk, but we also need to extend the existing tests for those bulk instructions. In particular, test table.copy between different tables is a somewhat interesting case.

The respective tests are generated by scripts. @lars-t-hansen, would you or somebody else familiar with those scripts be willing to extend them?

Activity

  1. changed the title [-][test] Need test for bulk table instructions with multiple tables[/-] [+][test] Tests for bulk instructions with multiple tables[/+] on Jan 16, 2020
  2. changed the title [-][test] Tests for bulk instructions with multiple tables[/-] [+][test] Bulk instructions with multiple tables[/+] on Jan 16, 2020
  3. lars-t-hansen commented on Jan 16, 2020

    @lars-t-hansen
    Contributor

    @rossberg, Yeah, I can look into that, we've probably updated them similarly on our side already. I'll ping you if I have further questions.

  4. fitzgen commented on Feb 12, 2020

    @fitzgen
    Contributor

    Just noticed that while the text format has x and y table indices for table.copy, the binary encoding still only has 0x00 0x00 placeholders. (Aside: maybe we should use s and d for "source" and "destination" instead of x and y? Or something else more descriptive.)

    Additionally, the validation spec text does not take table indices into account, only mentions a hard-coded table[0]. (The execution spec text, on the other hand, does seem to take multiple tables into account).

    Should I file new issue(s) for the binary encoding and validation bits, or is this issue appropriate for tracking these multi-table / non-zero table uses of table.copy?

  5. rossberg commented on Feb 13, 2020

    @rossberg
    MemberAuthor

    Ah, thanks! Yeah, I think having a single issue is sufficient.

  6. rossberg commented on Feb 13, 2020

    @rossberg
    MemberAuthor

    @fitzgen, fixed by #80, thanks!

  7. lars-t-hansen commented on Feb 27, 2020

    @lars-t-hansen
    Contributor

    There also seem to be no call_indirect tests through tables other than the default table?

  8. rossberg commented on Feb 27, 2020

    @rossberg
    MemberAuthor

    @lars-t-hansen, good point. See #83.

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

Metadata

Metadata

Assignees

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