Skip to content

public-vm(transpiler): generate proper type tags #4268

@dbanks12

Description

@dbanks12

The following AVM instructions have type tags:

  1. Arithmetic have inTag
  2. Bitwise have inTag
  3. Conditionals have inTag
  4. CAST has dstTag

For 1, 2, and 3, the Brillig instruction is flagged with a bit_size which will likely change to specify one of a few pre-known types (u8, ... u128).

Brillig's BinaryFieldOps can be transpiled to have field tag.

Brillig does not yet have CAST, but should eventually.

Metadata

Metadata

Assignees

Labels

C-avmComponent: AVM related tickets (aka public VM)

Type

No type
No fields configured for issues without a type.

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions