Commit Graph

3 Commits

Author SHA1 Message Date
Thibaut Schaeffer
ad858a1d7d Run cargo bench in PR CI tests and report result to PR and Github Pages (#2198)
Run benchmarks in PRs, fail and warn on the PR if we got more than 20%
slower, add benchmark results to https://docs.powdr.org/dev/bench/
2024-12-09 14:51:20 +00:00
Guillaume Ballet
085ad87d88 isa-utils: filter special characters the zig compiler uses in function names (#2138)
Some riscv32 compilers like zig, will use symbols with many more special
characters than others (e.g. `[`, `]`, ` `, `{`, `}`, `*`...)

To give an example of a symbol I need powdr to support:
`io.GenericWriter(*io.fixed_buffer_stream.FixedBufferStream([]u8),error{NoSpaceLeft},(function
'write')).typeErasedWriteFn`

This PR will simply escape these symbols like the `.` and `/` already
are.

It was initially suggested to update the grammar. I learned how larlpop
works for that, but I ended up into a rabbit hole when I discovered that
some symbols contain `,`, which wreaks havoc with `ExpressionLists`.
Someone with a better command of larlpop might be able to fix the
problem this way, but I figured this was good enough for now, as my
foray into using zig in powdr will likely reveal more symbols later down
the road.

---------

Signed-off-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
2024-11-24 13:56:45 +00:00
Lucas Clemente Vella
a68d0b7100 Remove RISC-V assembler (#1852)
Removal of a quite important feature.

Better get many approvals.
2024-10-02 10:50:23 +00:00