mirror of
https://github.com/rdolbeau/VexRiscvBPluginGenerator.git
synced 2025-04-18 18:44:42 -04:00
placeholder for missing Zkb specialization
This commit is contained in:
parent
964418771a
commit
7323eb75f7
1 changed files with 12 additions and 0 deletions
|
@ -3,15 +3,27 @@
|
|||
// Those should not be combined with a plugin implementing the matching
|
||||
// base instruction(s)
|
||||
|
||||
// base instructions implemented in B
|
||||
//I PACK PACK 0000100----------100-----0110011 pack
|
||||
//I GORCI GORC 00101------------101-----0010011 grevorc
|
||||
//I GREVI GREV 01101------------101-----0010011 grevorc
|
||||
//I SHFL SHFL 0000100----------001-----0110011 shuffle
|
||||
//I UNSHFL UNSHFL 0000100----------101-----0110011 shuffle
|
||||
|
||||
// For Zbb
|
||||
// ZEXT.H -> PACK w/ RS2 == 0
|
||||
I ZEXTdotH ZEXTdotH 000010000000-----100-----0110011 signextend Zbb
|
||||
// ORC.B -> GORCI w/ imm = 7 (0000111)
|
||||
I ORCdotB ORCdotB 001010000111-----101-----0010011 grevorc Zbb
|
||||
// REV8 -> GREVI w/ imm == 24 (0011000)
|
||||
I REV8 REV8 011010011000-----101-----0010011 grevorc Zbb Zkb
|
||||
// those are for Zkb only
|
||||
// REVdotB -> GREVI w/ imm == 7 (0000111)
|
||||
//I REVdotB REVdotB 011010000111-----101-----0010011 grevorc Zkb
|
||||
// ZIP -> SHFL w/ imm == 11111
|
||||
//I ZIP ZIP 000010011111-----001-----0110011 shuffle Zkb
|
||||
// UNZIP -> UNSHFL w/ imm == 11111
|
||||
//I UNZIP UNZIP 000010011111-----101-----0110011 shuffle Zkb
|
||||
|
||||
// SEMANTIC
|
||||
S REV8 "fun_rev8(input(SRC1))"
|
||||
|
|
Loading…
Add table
Reference in a new issue