Skip to content

refactor: remove SymContext.h_sp?, replacing uses with the corresponding AxEffects field - #207

Merged
shigoel merged 5 commits into
mainfrom
symcontext-remove-hsp
Oct 6, 2024
Merged

refactor: remove SymContext.h_sp?, replacing uses with the corresponding AxEffects field#207
shigoel merged 5 commits into
mainfrom
symcontext-remove-hsp

Conversation

@alexkeizer

Copy link
Copy Markdown
Collaborator

Description:

Benchmarks suggest this could be marginally slower than before (the SHA512_400 benchmark slowed down from 19.0 to 19.2 second, i.e., within noise levels).

Still, it's a good change to make, because it will make effect aggregation easier.

Testing:

What tests have been run? Did make all succeed for your changes? Was
conformance testing successful on an Aarch64 machine? Yes

License:

By submitting this pull request, I confirm that my contribution is
made under the terms of the Apache 2.0 license.

@shigoel
shigoel merged commit c498cbe into main Oct 6, 2024
@shigoel
shigoel deleted the symcontext-remove-hsp branch October 6, 2024 02:15
shigoel added a commit that referenced this pull request Oct 8, 2024
)

### Description:

Stacked on #207.

When an write to memory or a write to a register that is not SP is made,
we update the proof of stack alignment. When a write to SP is made, we
create a new mvar with the proof obligation that the new value is
aligned, and store that mvar in a new `sideConditions` field.

### Testing:

What tests have been run? Did `make all` succeed for your changes? Was
conformance testing successful on an Aarch64 machine? Yes

### License:

By submitting this pull request, I confirm that my contribution is
made under the terms of the Apache 2.0 license.

---------

Co-authored-by: Shilpi Goel <shigoel@gmail.com>
shigoel added a commit that referenced this pull request Oct 8, 2024
…ep in `sym_n` (#213)

### Description:

Stacked on:
- [x] #204 
- [x] #207 
- [x] #209 
- [x] #211 

This PR implements "snorkeling" of the heartbeat budget.

This unfortunately does not buy us much, as aggregation for 500 steps
already seems to hit both the recursion limit and heartbeat budget, by
itself.

### Testing:

What tests have been run? Did `make all` succeed for your changes? Was
conformance testing successful on an Aarch64 machine? Yes

### License:

By submitting this pull request, I confirm that my contribution is
made under the terms of the Apache 2.0 license.

---------

Co-authored-by: Shilpi Goel <shigoel@gmail.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.

2 participants