fakepaper56 abandoned this revision.
fakepaper56 added a comment.
Closed it and create a PR https://github.com/llvm/llvm-project/pull/66043 for
version 0.3.1.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152793/new/
https://reviews.llvm.org/D1527
SuH added inline comments.
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoZicfiss.td:76
+let Uses = [SSP], Defs = [SSP], hasSideEffects = 0, mayLoad = 0, mayStore = 1
in {
+def SSPUSH : RVInstR<0b1000101, 0b100, OPC_SYSTEM, (outs), (ins GPRRA:$rs2),
+ "sspus
fakepaper56 planned changes to this revision.
fakepaper56 added a comment.
Herald added a subscriber: sunshaoce.
The spec does some change, I need to sync with the spec.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152793/new/
https://reviews.llvm
fakepaper56 updated this revision to Diff 550998.
fakepaper56 added a comment.
Address jrtc27's comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152793/new/
https://reviews.llvm.org/D152793
Files:
clang/test/Preprocessor/riscv-target-featu
jrtc27 requested changes to this revision.
jrtc27 added inline comments.
This revision now requires changes to proceed.
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoZicfiss.td:1
+//=== RISCVInstrInfoZicfiss.td - RISC-V CFG -*- tablegen
-*===//
+//
craig.topper accepted this revision.
craig.topper added a comment.
This revision is now accepted and ready to land.
LGTM
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152793/new/
https://reviews.llvm.org/D152793
___
fakepaper56 updated this revision to Diff 550987.
fakepaper56 added a comment.
Address comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152793/new/
https://reviews.llvm.org/D152793
Files:
clang/test/Preprocessor/riscv-target-features.c
l
craig.topper added inline comments.
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoZicfiss.td:37
+ let Inst{12} = 0;
+ let Inst{11-7} = rs1;
+ let Inst{6-2} = 0b0;
Do we need the rs1 variable or can we use rs1val here? We usually have the rs1
field becau
fakepaper56 updated this revision to Diff 550578.
fakepaper56 added a comment.
Address comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152793/new/
https://reviews.llvm.org/D152793
Files:
clang/test/Preprocessor/riscv-target-features.c
fakepaper56 added inline comments.
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoZicfiss.td:88
+
+let Predicates = [HasStdExtZicfiss, HasStdExtC] in {
+let Uses = [SSP], Defs = [SSP], hasSideEffects = 0, mayLoad = 0, mayStore = 1
in
craig.topper wrote:
> Is it
craig.topper added inline comments.
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoZicfiss.td:32
+
+class RVC_SSInst rs1, RegisterClass reg_class, string opcodestr> :
+ RVInst16<(outs), (ins reg_class:$rs1), opcodestr, "$rs1", [],
InstFormatOther> {
Can you ca
craig.topper added inline comments.
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoZicfiss.td:88
+
+let Predicates = [HasStdExtZicfiss, HasStdExtC] in {
+let Uses = [SSP], Defs = [SSP], hasSideEffects = 0, mayLoad = 0, mayStore = 1
in
Is it compatible with Zca?
fakepaper56 updated this revision to Diff 550083.
fakepaper56 added a comment.
Update docs/RISCVUsage.rst to move zicfiss to experimental extension.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152793/new/
https://reviews.llvm.org/D152793
Files:
fakepaper56 updated this revision to Diff 550079.
fakepaper56 added a comment.
Update docs/RISCVUsage.rst.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152793/new/
https://reviews.llvm.org/D152793
Files:
clang/test/Preprocessor/riscv-target-fea
fakepaper56 updated this revision to Diff 549251.
fakepaper56 added a comment.
Update docs/RISCVUsage.rst.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152793/new/
https://reviews.llvm.org/D152793
Files:
clang/test/Preprocessor/riscv-target-fea
craig.topper added a comment.
Please update docs/RISCVUsage.rst
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152793/new/
https://reviews.llvm.org/D152793
___
cfe-commits mailing list
cfe-commits@lists.l
fakepaper56 added reviewers: craig.topper, frasercrmck, rogfer01, reames, asb,
luke.
fakepaper56 marked an inline comment as done.
fakepaper56 added inline comments.
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoZicfiss.td:56
+let Predicates = [HasStdExtZicfiss] in {
+def SSLo
fakepaper56 updated this revision to Diff 548873.
fakepaper56 added a comment.
Make asmprinter capable to print alias register name for
ssload/sspopchk/c.sspush/c.sspopchk.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152793/new/
https://reviews.
fakepaper56 updated this revision to Diff 548027.
fakepaper56 added a comment.
Bump to 0.2 and address part of comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152793/new/
https://reviews.llvm.org/D152793
Files:
clang/test/Preprocessor/ri
fakepaper56 added inline comments.
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoZicfiss.td:56
+let Predicates = [HasStdExtZicfiss] in {
+def SSLoadX1: RV_SSPop<0b1, 0b0, "ssload", "x1">;
+def SSLoadX5: RV_SSPop<0b00101, 0b0, "ssload", "x5">;
craig.
Jim added inline comments.
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoZicfiss.td:33
+let Uses = [SSP] in {
+let hasSideEffects = 0, mayLoad = 1, mayStore = 0 in
+class RV_SSPop _rd, bits<5> _rs1, string opcodestr, string argstr> :
Two `let` lines can be merg
craig.topper added inline comments.
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.td:1972
+// Control Flow Integerity
+include "RISCVInstrInfoZicfiss.td"
Put this with the other RISCVInstrInfoZi* files under "Integer"
Comment at: llvm/lib/
craig.topper added inline comments.
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.td:233
+def uimm10 : Operand, ImmLeaf(Imm);}]> {
+ let ParserMatchClass = UImmAsmOperand<10>;
Is this used?
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo
craig.topper added a comment.
Please update llvm/docs/RISCVUsage.rst
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152793/new/
https://reviews.llvm.org/D152793
___
cfe-commits mailing list
cfe-commits@li
fakepaper56 updated this revision to Diff 544228.
fakepaper56 added a comment.
Address Craig's comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152793/new/
https://reviews.llvm.org/D152793
Files:
clang/test/Preprocessor/riscv-target-featur
fakepaper56 updated this revision to Diff 544212.
fakepaper56 marked 5 inline comments as done.
fakepaper56 added a comment.
Use RVInstI for SS_Push.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152793/new/
https://reviews.llvm.org/D152793
Files:
fakepaper56 updated this revision to Diff 544209.
fakepaper56 added a comment.
Address Craig's comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152793/new/
https://reviews.llvm.org/D152793
Files:
clang/test/Preprocessor/riscv-target-featur
craig.topper added inline comments.
Comment at: clang/test/Preprocessor/riscv-target-features.c:75
// CHECK-NOT: __riscv_zvfbfwma {{.*$}}
+// CHECK-NOT: __riscv_zicfisslp {{.*$}}
This needs to be renamed to remove lp
Comment at: clang/test/P
fakepaper56 updated this revision to Diff 543857.
fakepaper56 added a comment.
Fix bugs.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152793/new/
https://reviews.llvm.org/D152793
Files:
clang/test/Preprocessor/riscv-target-features.c
llvm/lib
29 matches
Mail list logo