Skip to content

Update isla-sail for current Sail, add missing isla-lib primops for RISC-V#1

Open
jahanzebkhalid-10Xe wants to merge 1 commit into
masterfrom
riscv-enablement
Open

Update isla-sail for current Sail, add missing isla-lib primops for RISC-V#1
jahanzebkhalid-10Xe wants to merge 1 commit into
masterfrom
riscv-enablement

Conversation

@jahanzebkhalid-10Xe

Copy link
Copy Markdown
Collaborator

isla-sail: fix Jib.funtype's bool->variant change, CT_bit removal, Bindings module scoping, dead opt_magic_hash reference, and the rewrite-pass list drift (vector_string_pats_to_bit_list removed, remove_vector_subrange_pats/remove_numeral_pats added and reordered) needed to compile against a current Sail against the real, unmodified sail-riscv model.

isla-lib: add cancel_reservation/valid_reservation/match_reservation/load_reservation stubs, count_trailing_zeros (+ BV::trailing_zeros), vector_init (aliases undefined_vector), and sys_enable_experimental_extensions - primops sail-riscv calls that isla-lib never implemented. Also fixes check_concrete_overlap in memory.rs to use the address's own solver-tracked width instead of a hardcoded 64 bits, for non-64-bit-address targets.

Part of the RISC-V target-support work in 10x-Engineers/isla-testgen#1.

…ISC-V

isla-sail: fix Jib.funtype's bool->variant change, CT_bit removal,
Bindings module scoping, dead opt_magic_hash reference, and the
rewrite-pass list drift (vector_string_pats_to_bit_list removed,
remove_vector_subrange_pats/remove_numeral_pats added and reordered)
needed to compile against a current Sail against the real, unmodified
sail-riscv model.

isla-lib: add cancel_reservation/valid_reservation/match_reservation/
load_reservation stubs, count_trailing_zeros (+ BV::trailing_zeros),
vector_init (aliases undefined_vector), and
sys_enable_experimental_extensions - primops sail-riscv calls that
isla-lib never implemented. Also fix check_concrete_overlap in
memory.rs to use the address's own solver-tracked width instead of a
hardcoded 64 bits, for non-64-bit-address targets.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant