[llvm-branch-commits] [llvm] [ConstantTime][RISCV] Add comprehensive tests for ct.select (PR #166708)

Craig Topper via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Mar 9 12:04:23 PDT 2026


topperc wrote:

I suspect using `i8` types and enabling the `zbb` extension may emit `sext.h`, `sext.b`, or `zext.h` instructions which are not included in the RISC-V Zkt list of data-independent instructions. Though it's highly unlikely they wouldn't be constant time.

https://github.com/llvm/llvm-project/pull/166708


More information about the llvm-branch-commits mailing list