[PATCH] D94007: [CSKY 5/n] Add support for all CSKY basic integer instructions except for branch series

Zixuan Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 21 01:08:16 PST 2021


zixuan-wu added inline comments.


================
Comment at: llvm/lib/Target/CSKY/CSKYInstrFormats.td:407
   let Inst{15 - 10} = sop;
-  let Inst{9 - 5} = pcode; // pcode;
+  let Inst{9 - 5} = imm;  // pcode;
   let Inst{4 - 0} = rz;
----------------
myhsu wrote:
> Is the imm here still pcode?
Yep, the imm is encoded as constant statically.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94007/new/

https://reviews.llvm.org/D94007



More information about the llvm-commits mailing list