Commit Graph

1152 Commits

Author SHA1 Message Date
schaeff
75e806a0d6 inline imp before witgen
inline intermediate polynomials for halo2
2023-09-14 15:28:48 +02:00
Leo Alt
58d3b872f8 fix snark verifier 2023-09-14 14:57:22 +02:00
chriseth
6a507561cd Merge pull request #598 from powdr-labs/make_reg_offset_optional
Make reg offset optional
2023-09-13 23:01:55 +02:00
Thibaut Schaeffer
17d22ed552 Module system (#558)
* implement import system

* address review comments

* use folder in macro expansion

* use folder in file loader

* use folder in canonicalizer

* use parse_absolute_path
2023-09-13 17:47:29 +02:00
Leo
1068e55bb6 Merge pull request #599 from powdr-labs/add_newline
Fixed missing endline.
2023-09-13 15:44:52 +02:00
chriseth
bd7dffa397 Remove unused dependencies. (#600) 2023-09-13 13:19:30 +02:00
chriseth
6a6bd1813b Merge pull request #588 from powdr-labs/support-imp
Support intermediate polynomials
2023-09-13 09:54:09 +02:00
schaeff
8191e8d009 support intermediate polynomials 2023-09-12 19:26:05 +02:00
Lucas Clemente Vella
69402c37a5 Fixed missing endline. 2023-09-12 19:15:15 +02:00
Lucas Clemente Vella
30609d0868 Making offset optional. 2023-09-12 19:11:03 +02:00
chriseth
d0821e4119 Use absolute path to test dir. (#596) 2023-09-12 17:44:22 +02:00
chriseth
0f022c100b Allow different path for vs code. (#589) 2023-09-12 15:18:54 +02:00
Georg Wiese
062969885b Witgen: Detect VM Submachines (#516) 2023-09-12 14:08:00 +02:00
chriseth
5ca5ab6b11 Merge pull request #574 from powdr-labs/block-machine-cache-incomplete
BlockMachine: Remember if a query could not be completed
2023-09-12 12:18:44 +02:00
Georg Wiese
c022e9915b BlockMachine: Remember if a query could not be completed 2023-09-12 10:32:51 +02:00
chriseth
2b45fc7a60 Merge pull request #587 from powdr-labs/add-cname-to-book-src
Add CNAME to book src
2023-09-11 12:23:28 +02:00
schaeff
85d02fe7e1 add cname 2023-09-11 11:31:48 +02:00
Thibaut Schaeffer
31bf0dbe5a remove unused dependencies (#584) 2023-09-11 09:15:11 +02:00
Thibaut Schaeffer
ea0a1daf20 display submachines (#583) 2023-09-11 09:14:40 +02:00
Georg Wiese
958bd88478 Bug fix in AffineExpression::assign() 2023-09-07 14:16:04 +00:00
chriseth
78d089f1e0 Merge pull request #571 from powdr-labs/comparisons
Add comparisons and logical operators.
2023-09-07 16:12:20 +02:00
chriseth
103e2e7678 Add comparisons and logical operators. 2023-09-07 15:21:58 +02:00
chriseth
fe4da1642d Merge pull request #572 from powdr-labs/move_function_call
Move FunctionCall.
2023-09-07 15:05:37 +02:00
chriseth
81537ea1bb Move FunctionCall. 2023-09-07 14:24:49 +02:00
Georg Wiese
16c528318e ColumnMap: Different type for different polynomial type 2023-09-06 19:19:25 +02:00
chriseth
5526f05fd5 Merge pull request #569 from powdr-labs/block-lookup-or-typo
Fix typo in `block_lookup_or` comment
2023-09-06 17:38:04 +02:00
chriseth
c0fa8ef380 Merge pull request #567 from powdr-labs/fix-unused-self-in-macro-expansion
Fix unused self in macro expansion
2023-09-06 17:36:58 +02:00
Georg Wiese
dfa4828b6a Fix typo in comment 2023-09-06 14:37:12 +00:00
schaeff
17bdb0fb5d fix unused self 2023-09-06 14:39:42 +02:00
chriseth
f129f80840 Make instruction bodies contain pil statements. (#531) 2023-09-05 19:59:22 +02:00
Thibaut Schaeffer
67faa7f6c2 clarify linker docs (#563) 2023-09-05 19:58:24 +02:00
chriseth
3729aa2005 Merge pull request #555 from powdr-labs/quickfix_first_row
Quick fix: Re-compute first row.
2023-09-05 18:00:51 +02:00
chriseth
318ff560f1 Remove filter and make memory_start immutable. (#562) 2023-09-05 17:53:59 +02:00
chriseth
18c3f66c90 powdr wording (#561) 2023-09-05 17:53:50 +02:00
chriseth
50d35063fb Quick fix: Re-compute first row. 2023-09-05 17:03:39 +02:00
chriseth
b6502404d9 Asm abstraction (#521)
* Rename compiler to utils.

* Use some functions from utils.

* Extract data store into generic section.

* Make ends_control_flow generic.
2023-09-05 16:59:28 +02:00
chriseth
fbc7f5b0c4 Merge pull request #556 from powdr-labs/default_is_all
Compile and test all crates by default.
2023-09-05 16:57:30 +02:00
chriseth
823f7dc336 Merge pull request #557 from powdr-labs/refactor_update
Refactor update
2023-09-05 15:33:20 +02:00
chriseth
255f1d8fcf Compile and test all crates by default. 2023-09-05 14:59:29 +02:00
chriseth
dea06ada15 Move update functions into CellValue. 2023-09-05 14:56:40 +02:00
chriseth
d2e29b315a Simplify range constsraint combination. 2023-09-05 14:56:40 +02:00
Thibaut Schaeffer
d77bb0cc6c Static to static calls (#464)
* implement static-to-static calls

* fix conflict, comment out link to make book test pass

* address review comments, fix test

* address review, fix and test display for params

* address review comments

* ban operations on vms, instructions on cms

* rewrite "powdr asm" to "powdr-asm" everywhere

* fix lint

* address review comments
2023-09-05 12:56:23 +02:00
chriseth
f220d80474 Lazily combine affine expressions 2023-09-04 21:56:12 +02:00
Georg Wiese
10546b8ba3 Processor: Use sequence iterator 2023-09-04 11:36:22 +00:00
Georg Wiese
5589b2f9e6 Fix benchmark (again) (#554) 2023-09-02 09:30:11 +02:00
Georg Wiese
df4cd885b5 Benchmark: Fix Keccak benchmark, remove all other
* Benchmark: Fix Keccak benchmark, remove all other

* Build Keccak PIL in benchmark

* Remove keccak.pil
2023-09-01 23:01:37 +02:00
Lucas Clemente Vella
96106a72eb Keeping cargo target directory
* Keeping rust compilation assets in output dir.

* Querying cargo what are the outputs of the build.

* Minimizing the difference between build run and build plan run.

* Being much more specific on what assembly files to use.

Because some files are native files, used in the build process.

* Actually not rebuilding.
2023-09-01 22:33:46 +02:00
Georg Wiese
5b3252fb86 Witgen: Improve error messages 2023-09-01 20:11:37 +02:00
chriseth
6388e4dd49 Merge pull request #543 from powdr-labs/gather_statistics
Statistics about identity processing.
2023-09-01 11:28:29 +02:00
chriseth
5a65ea8ffe Statistics about identity processing. 2023-09-01 11:09:08 +02:00