History log of /XiangShan/src/main/scala/xiangshan/backend/decode/Instructions.scala (Results 1 – 16 of 16)
Revision Date Author Comments
# 499d2763 31-Aug-2024 Ziyue Zhang <[email protected]>

feat(rv64): add Zimop extension support

* All MOP.R.n and MOP.RR.n only update rd with 0s. This would be changed when any MOP redefined by some other extensions.
* Define all MOP.R.n and MOP.RR.n se

feat(rv64): add Zimop extension support

* All MOP.R.n and MOP.RR.n only update rd with 0s. This would be changed when any MOP redefined by some other extensions.
* Define all MOP.R.n and MOP.RR.n seperated instruction name for future easier modification, since any one of MOP could be meaningful instruction in the future.
* If rd is not 0, mop instructions will convert to a move instruction, which move x0 to rd.
* If rd is 0, mop instructions will convert to a addi intruction, whose rs0 is x0 and imm is 0.

show more ...


# 7e30d16c 31-Jan-2024 Zhaoyang You <[email protected]>

Zvbb: support Zvbb instruction (#2686)

* support vandn,vbrev,vbrev8,vrev8,vclz,vctz,vcpop,vrol,vror,vwsll
* bump yunsuan: support Zvbb


# 361e6d51 31-May-2022 Jiuyang Liu <[email protected]>

fix for chipsalliance/rocket-chip#2967 (#1562)

* fix for chipsalliance/rocket-chip#2967

* decode: fix width of BitPat(?) in decode logic

Co-authored-by: Yinan Xu <[email protected]>


# 19bcce38 02-Dec-2021 Fawang Zhang <[email protected]>

bku: fix sm4 instructions (#1263)


# af2f7849 27-Oct-2021 happy-lx <[email protected]>

Svinval (#1055)

* Svinval: implement Svinval
* add three new instructions(SINVAL_VMA SFENCE_W_INVAL SFENCE_INVAL_IR)
* TODO : test

* Prevent illegal software code by adding an assert
* make sure th

Svinval (#1055)

* Svinval: implement Svinval
* add three new instructions(SINVAL_VMA SFENCE_W_INVAL SFENCE_INVAL_IR)
* TODO : test

* Prevent illegal software code by adding an assert
* make sure the software runs as follow:
begin instruction of svinval extension
svinval xxxx
svinval xxxx
...
end instruction of svinval extension

* Svinval: add an CSR to control it and some annotations

* Roq: fix assert bug of Svinval

* Svinval: fix svinval.vma's rs2 type
* make it reg instead of imm

* Svinval: change assert logic and fix bug
* fix the condition judging Svinval.vma instruction
* using doingSvinval in assert

* ci: add rv64mi-p-svinval to ci

* fix typo

* fix bug that lost ','

* when svinval disable, raise illegal instr excep

* CSR: mv svinval ctl to srnctl(1)

* rob: when excep, do not set dosvinval

* decode: when disable svinval, do not set flushpipe

* bump ready-to-run

Co-authored-by: ZhangZifei <[email protected]>

show more ...


# ca18a0b4 20-Oct-2021 William Wang <[email protected]>

mem: add Zicbom and Zicboz support (#1145)

Now we merge them for timing opt, unit test to be added later


# 3feeca58 10-Oct-2021 zfw <[email protected]>

riscv-crypto: support K extension (#1102)

* This commit add risc-v cryptography extension subset(zknd zkne zknh zksed zksh)
- Rename bmu to bku
- Add crypto instruction in Mdu -> bku
- Store imme

riscv-crypto: support K extension (#1102)

* This commit add risc-v cryptography extension subset(zknd zkne zknh zksed zksh)
- Rename bmu to bku
- Add crypto instruction in Mdu -> bku
- Store immediate into mdu RS

* ci: add riscv-crypto test

show more ...


# 675acc68 25-Sep-2021 Yinan Xu <[email protected]>

backend: optimize aluOpType to 7 bits (#1061)

This commit optimizes ALUOpType to 7 bits. Alu timing will be checked
later.

We also apply some misc changes including:

* Move REVB, PACK, PACKH,

backend: optimize aluOpType to 7 bits (#1061)

This commit optimizes ALUOpType to 7 bits. Alu timing will be checked
later.

We also apply some misc changes including:

* Move REVB, PACK, PACKH, PACKW to ALU

* Add fused logicZexth, addwZext, addwSexth

* Add instruction fusion test cases to CI

show more ...


# 07596dc6 25-Sep-2021 zfw <[email protected]>

Bmu: support zbk* instruction (#1059)

* Bmu: support zbk* instructions

* ci: add zbk* instruction test


# 0a6fa50e 08-Sep-2021 zfw <[email protected]>

alu, decode: fix alu instruction and change instruction name (#1012)

* Alu: fix andn, orn, xnor

* Decode: change instruction name


# ee8ff153 17-Aug-2021 zfw <[email protected]>

Support RISC-V bitmanip extension v1.0 (#919)

* Add bitmanip v1.0 instructions into decede table
* Fix some instructions' name
* Add basic instructions into Alu
* Add clz, ctz, cpop, clmul Instru

Support RISC-V bitmanip extension v1.0 (#919)

* Add bitmanip v1.0 instructions into decede table
* Fix some instructions' name
* Add basic instructions into Alu
* Add clz, ctz, cpop, clmul Instruction into MulDivExeUnit

show more ...


# f320e0f0 24-Jul-2021 Yinan Xu <[email protected]>

misc: update PCL information (#899)

XiangShan is jointly released by ICT and PCL.


# c6d43980 04-Jun-2021 Lemover <[email protected]>

Add MulanPSL-2.0 License (#824)

In this commit, we add License for XiangShan project.


# 504ad047 04-Jan-2021 YikeZhou <[email protected]>

clean up deprecated decode codes


# 389157b6 12-Dec-2020 YikeZhou <[email protected]>

DecodeUnit: fix invalid_instr bug


# 4d24c305 03-Dec-2020 YikeZhou <[email protected]>

DecodeUnit: Fill up decode frame.
DecodeUnitDiffTest: Add a diff-test with old Decoder.