Skip to content

RISC-V: Add vector support#435

Draft
thisisjube wants to merge 76 commits into
slothy-optimizer:mainfrom
thisisjube:riscv-rvv
Draft

RISC-V: Add vector support#435
thisisjube wants to merge 76 commits into
slothy-optimizer:mainfrom
thisisjube:riscv-rvv

Conversation

@thisisjube

Copy link
Copy Markdown
Contributor

Adds support for the RISC-V "V"-Extension v1.0-rc1.

      The performance estimate after the split heuristic runs another binary
      search (`optimize_binsearch`), which raises `SlothyException` on failure
      rather than returning `success=False`. That exception propagated up and
      discarded the already-optimized code. It also inherited the optimization
      timeout, so a too-short timeout would abort it.

      Catch the exception (warn and keep the optimized code without a stall
      estimate) and disable the timeout for the estimate, since it only inserts
      stalls into the already-fixed ordering.
…rce LMUL=1), unfold ntt_kyber example and add multiple optimization regions (vsetvli/ lmul problem), linting
…fter optimization. wip: make vsetvl* write to CSR regs and vector instructions read from it to prevent wrong scheduling
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