Skip to main content

Crate jit_spec

Crate jit_spec 

Source
Expand description

Parser and normalization for Arm AARCHMRS instruction specifications.

Structs§

Bits
Fixed-bit definition.
Encodeset
Encodeset node.
Field
Named field definition.
FlatField
Concrete normalized field.
FlatInstruction
Concrete normalized instruction variant.
Instruction
Instruction entry (leaf).
InstructionAlias
Alias entry.
InstructionGroup
Nested instruction group.
InstructionSet
A top-level instruction set root.
InstructionsDoc
Root AARCHMRS document.
License
License metadata.
Meta
Metadata root.
Range
Bit range definition.
Value
String-encoded value from AARCHMRS JSON.

Enums§

Encode
Encodeset value.
InstructionGroupOrInstruction
Instruction group child.
SpecError
Errors produced while reading and normalizing AARCHMRS data.

Functions§

flatten_instruction_set
Flattens one instruction set (e.g. A64) into normalized instruction variants.
parse_instructions_json
Parses AARCHMRS JSON payload.
parse_instructions_json_file
Parses AARCHMRS JSON file from path.