Skip to content

Commit

Permalink
Improve RAM: oblivious & volatile (#170)
Browse files Browse the repository at this point in the history
* Improve the oblivious RAM pass by killing the hack where we treat selects as arrays.
* Fix a bug where the volatile RAM pass would not place selects before stores against the same array
* Improve that volatile RAM pass by placing selects against the same array literal in the same RAM. Before, they would each end up in different RAMs, which sucks. This is especially bad for ROMs.
  • Loading branch information
alex-ozdemir authored Sep 18, 2023
1 parent fb198ee commit 64dcc18
Show file tree
Hide file tree
Showing 3 changed files with 545 additions and 305 deletions.
Loading

0 comments on commit 64dcc18

Please sign in to comment.