[PATCH] D155690: [RISCV] Mask instructions in Zkt as constant-time
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 19 11:03:04 PDT 2023
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.td:689
+let IsConstantTime = 1 in {
def ANDI : ALU_ri<0b111, "andi">;
----------------
Can we move this scope start above ADDI? Then we don't need to mention it 3 other times before this.
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoZb.td:335
let Predicates = [HasStdExtZbbOrZbkb, IsRV64], IsSignExtendingOpW = 1 in {
def ROLW : ALUW_rr<0b0110000, 0b001, "rolw">,
----------------
Are ROLW/RORW not in the constant time list? Surely that's a miss in the table in the spec since it says "The Zbkb, Zbkx and Zbkx extensions are included in their entirety."
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155690/new/
https://reviews.llvm.org/D155690
More information about the llvm-commits
mailing list