aboutsummaryrefslogtreecommitdiff
path: root/inst.v
diff options
context:
space:
mode:
authorYunsup Lee <yunsup@cs.berkeley.edu>2011-05-15 22:33:25 -0700
committerYunsup Lee <yunsup@cs.berkeley.edu>2011-05-15 22:46:06 -0700
commitf866323c541a6f26ac58cbbded41ea5c9f2b6fa4 (patch)
treef98292a8ea4a6b5fda4066476da5449cbf7369f2 /inst.v
parent05e0d24dc582a92eae1809451833d5c76335b81a (diff)
downloadriscv-opcodes-f866323c541a6f26ac58cbbded41ea5c9f2b6fa4.zip
riscv-opcodes-f866323c541a6f26ac58cbbded41ea5c9f2b6fa4.tar.gz
riscv-opcodes-f866323c541a6f26ac58cbbded41ea5c9f2b6fa4.tar.bz2
[libs,opcodes,pk,sim,xcc] add mov*,fmov*, shuffle vec insts
Diffstat (limited to 'inst.v')
-rw-r--r--inst.v147
1 files changed, 76 insertions, 71 deletions
diff --git a/inst.v b/inst.v
index e67f502..bc5bce0 100644
--- a/inst.v
+++ b/inst.v
@@ -92,6 +92,10 @@
`define FENCE_G_CV 32'b?????_?????_????????????_111_0101111
`define STOP 32'b00000_00000_00000_0000000010_1110111
`define UTIDX 32'b?????_00000_00000_0000000011_1110111
+`define MOVZ 32'b?????_?????_?????_0000000100_1110111
+`define MOVN 32'b?????_?????_?????_0000000101_1110111
+`define FMOVZ 32'b?????_?????_?????_0000000110_1110111
+`define FMOVN 32'b?????_?????_?????_0000000111_1110111
`define EI 32'b?????_00000_00000_0000000000_1111011
`define DI 32'b?????_00000_00000_0000000001_1111011
`define MFPCR 32'b?????_00000_?????_0000000010_1111011
@@ -160,77 +164,78 @@
`define FMSUB_D 32'b?????_?????_?????_?????_???_01_1000111
`define FNMSUB_D 32'b?????_?????_?????_?????_???_01_1001011
`define FNMADD_D 32'b?????_?????_?????_?????_???_01_1001111
-`define LD_V 32'b?????_?????_00000_0000000011_0001011
-`define LW_V 32'b?????_?????_00000_0000000010_0001011
-`define LWU_V 32'b?????_?????_00000_0000000110_0001011
-`define LH_V 32'b?????_?????_00000_0000000001_0001011
-`define LHU_V 32'b?????_?????_00000_0000000101_0001011
-`define LB_V 32'b?????_?????_00000_0000000000_0001011
-`define LBU_V 32'b?????_?????_00000_0000000100_0001011
-`define SD_V 32'b?????_?????_00000_0000010011_0001011
-`define SW_V 32'b?????_?????_00000_0000010010_0001011
-`define SH_V 32'b?????_?????_00000_0000010001_0001011
-`define SB_V 32'b?????_?????_00000_0000010000_0001011
-`define FLD_V 32'b?????_?????_00000_0000001011_0001011
-`define FLW_V 32'b?????_?????_00000_0000001010_0001011
-`define FSD_V 32'b?????_?????_00000_0000011011_0001011
-`define FSW_V 32'b?????_?????_00000_0000011010_0001011
-`define LDST_V 32'b?????_?????_?????_0000100011_0001011
-`define LWST_V 32'b?????_?????_?????_0000100010_0001011
-`define LWUST_V 32'b?????_?????_?????_0000100110_0001011
-`define LHST_V 32'b?????_?????_?????_0000100001_0001011
-`define LHUST_V 32'b?????_?????_?????_0000100101_0001011
-`define LBST_V 32'b?????_?????_?????_0000100000_0001011
-`define LBUST_V 32'b?????_?????_?????_0000100100_0001011
-`define SDST_V 32'b?????_?????_?????_0000110011_0001011
-`define SWST_V 32'b?????_?????_?????_0000110010_0001011
-`define SHST_V 32'b?????_?????_?????_0000110001_0001011
-`define SBST_V 32'b?????_?????_?????_0000110000_0001011
-`define FLDST_V 32'b?????_?????_?????_0000101011_0001011
-`define FLWST_V 32'b?????_?????_?????_0000101010_0001011
-`define FSDST_V 32'b?????_?????_?????_0000111011_0001011
-`define FSWST_V 32'b?????_?????_?????_0000111010_0001011
-`define LDSEG_V 32'b?????_?????_?????_0001000011_0001011
-`define LWSEG_V 32'b?????_?????_?????_0001000010_0001011
-`define LWUSEG_V 32'b?????_?????_?????_0001000110_0001011
-`define LHSEG_V 32'b?????_?????_?????_0001000001_0001011
-`define LHUSEG_V 32'b?????_?????_?????_0001000101_0001011
-`define LBSEG_V 32'b?????_?????_?????_0001000000_0001011
-`define LBUSEG_V 32'b?????_?????_?????_0001000100_0001011
-`define SDSEG_V 32'b?????_?????_?????_0001010011_0001011
-`define SWSEG_V 32'b?????_?????_?????_0001010010_0001011
-`define SHSEG_V 32'b?????_?????_?????_0001010001_0001011
-`define SBSEG_V 32'b?????_?????_?????_0001010000_0001011
-`define FLDSEG_V 32'b?????_?????_?????_0001001011_0001011
-`define FLWSEG_V 32'b?????_?????_?????_0001001010_0001011
-`define FSDSEG_V 32'b?????_?????_?????_0001011011_0001011
-`define FSWSEG_V 32'b?????_?????_?????_0001011010_0001011
-`define LDSEGST_V 32'b?????_?????_?????_?????_000_11_0001111
-`define LWSEGST_V 32'b?????_?????_?????_?????_000_10_0001111
-`define LWUSEGST_V 32'b?????_?????_?????_?????_001_10_0001111
-`define LHSEGST_V 32'b?????_?????_?????_?????_000_01_0001111
-`define LHUSEGST_V 32'b?????_?????_?????_?????_001_01_0001111
-`define LBSEGST_V 32'b?????_?????_?????_?????_000_00_0001111
-`define LBUSEGST_V 32'b?????_?????_?????_?????_001_00_0001111
-`define SDSEGST_V 32'b?????_?????_?????_?????_100_11_0001111
-`define SWSEGST_V 32'b?????_?????_?????_?????_100_10_0001111
-`define SHSEGST_V 32'b?????_?????_?????_?????_100_01_0001111
-`define SBSEGST_V 32'b?????_?????_?????_?????_100_00_0001111
-`define FLDSEGST_V 32'b?????_?????_?????_?????_010_11_0001111
-`define FLWSEGST_V 32'b?????_?????_?????_?????_010_10_0001111
-`define FSDSEGST_V 32'b?????_?????_?????_?????_110_11_0001111
-`define FSWSEGST_V 32'b?????_?????_?????_?????_110_10_0001111
-`define MOV_VV 32'b?????_?????_00000_1000000000_0001011
-`define MOV_SV 32'b?????_?????_00000_1000000001_0001011
-`define MOV_SU 32'b?????_?????_?????_1000000010_0001011
-`define MOV_US 32'b?????_?????_?????_1000000011_0001011
-`define FMOV_VV 32'b?????_?????_00000_1100000000_0001011
-`define FMOV_SV 32'b?????_?????_00000_1100000001_0001011
-`define FMOV_SU 32'b?????_?????_?????_1100000010_0001011
-`define FMOV_US 32'b?????_?????_?????_1100000011_0001011
-`define VCFGIVL 32'b?????_?????_????????????_000_1110011
-`define SETVL 32'b?????_?????_000000000000_001_1110011
-`define VF 32'b00000_?????_????????????_010_1110011
+`define VLD 32'b?????_?????_00000_0000000011_0001011
+`define VLW 32'b?????_?????_00000_0000000010_0001011
+`define VLWU 32'b?????_?????_00000_0000000110_0001011
+`define VLH 32'b?????_?????_00000_0000000001_0001011
+`define VLHU 32'b?????_?????_00000_0000000101_0001011
+`define VLB 32'b?????_?????_00000_0000000000_0001011
+`define VLBU 32'b?????_?????_00000_0000000100_0001011
+`define VFLD 32'b?????_?????_00000_0000001011_0001011
+`define VFLW 32'b?????_?????_00000_0000001010_0001011
+`define VLSTD 32'b?????_?????_?????_0000100011_0001011
+`define VLSTW 32'b?????_?????_?????_0000100010_0001011
+`define VLSTWU 32'b?????_?????_?????_0000100110_0001011
+`define VLSTH 32'b?????_?????_?????_0000100001_0001011
+`define VLSTHU 32'b?????_?????_?????_0000100101_0001011
+`define VLSTB 32'b?????_?????_?????_0000100000_0001011
+`define VLSTBU 32'b?????_?????_?????_0000100100_0001011
+`define VFLSTD 32'b?????_?????_?????_0000101011_0001011
+`define VFLSTW 32'b?????_?????_?????_0000101010_0001011
+`define VLSEGD 32'b?????_?????_?????_0001000011_0001011
+`define VLSEGW 32'b?????_?????_?????_0001000010_0001011
+`define VLSEGWU 32'b?????_?????_?????_0001000110_0001011
+`define VLSEGH 32'b?????_?????_?????_0001000001_0001011
+`define VLSEGHU 32'b?????_?????_?????_0001000101_0001011
+`define VLSEGB 32'b?????_?????_?????_0001000000_0001011
+`define VLSEGBU 32'b?????_?????_?????_0001000100_0001011
+`define VFLSEGD 32'b?????_?????_?????_0001001011_0001011
+`define VFLSEGW 32'b?????_?????_?????_0001001010_0001011
+`define VLSEGSTD 32'b?????_?????_?????_?????_100_11_0001011
+`define VLSEGSTW 32'b?????_?????_?????_?????_100_10_0001011
+`define VLSEGSTWU 32'b?????_?????_?????_?????_101_10_0001011
+`define VLSEGSTH 32'b?????_?????_?????_?????_100_01_0001011
+`define VLSEGSTHU 32'b?????_?????_?????_?????_101_01_0001011
+`define VLSEGSTB 32'b?????_?????_?????_?????_100_00_0001011
+`define VLSEGSTBU 32'b?????_?????_?????_?????_101_00_0001011
+`define VFLSEGSTD 32'b?????_?????_?????_?????_110_11_0001011
+`define VFLSEGSTW 32'b?????_?????_?????_?????_110_10_0001011
+`define VSD 32'b?????_?????_00000_0000000011_0001111
+`define VSW 32'b?????_?????_00000_0000000010_0001111
+`define VSH 32'b?????_?????_00000_0000000001_0001111
+`define VSB 32'b?????_?????_00000_0000000000_0001111
+`define VFSD 32'b?????_?????_00000_0000001011_0001111
+`define VFSW 32'b?????_?????_00000_0000001010_0001111
+`define VSSTD 32'b?????_?????_?????_0000100011_0001111
+`define VSSTW 32'b?????_?????_?????_0000100010_0001111
+`define VSSTH 32'b?????_?????_?????_0000100001_0001111
+`define VSSTB 32'b?????_?????_?????_0000100000_0001111
+`define VFSSTD 32'b?????_?????_?????_0000101011_0001111
+`define VFSSTW 32'b?????_?????_?????_0000101010_0001111
+`define VSSEGD 32'b?????_?????_?????_0001000011_0001111
+`define VSSEGW 32'b?????_?????_?????_0001000010_0001111
+`define VSSEGH 32'b?????_?????_?????_0001000001_0001111
+`define VSSEGB 32'b?????_?????_?????_0001000000_0001111
+`define VFSSEGD 32'b?????_?????_?????_0001001011_0001111
+`define VFSSEGW 32'b?????_?????_?????_0001001010_0001111
+`define VSSEGSTD 32'b?????_?????_?????_?????_100_11_0001111
+`define VSSEGSTW 32'b?????_?????_?????_?????_100_10_0001111
+`define VSSEGSTH 32'b?????_?????_?????_?????_100_01_0001111
+`define VSSEGSTB 32'b?????_?????_?????_?????_100_00_0001111
+`define VFSSEGSTD 32'b?????_?????_?????_?????_110_11_0001111
+`define VFSSEGSTW 32'b?????_?????_?????_?????_110_10_0001111
+`define VMVV 32'b?????_?????_00000_0000000000_1110011
+`define VMSV 32'b?????_?????_00000_0000010000_1110011
+`define VMST 32'b?????_?????_?????_0000100000_1110011
+`define VMTS 32'b?????_?????_?????_0000110000_1110011
+`define VFMVV 32'b?????_?????_00000_0000000010_1110011
+`define VFMSV 32'b?????_?????_00000_0000010010_1110011
+`define VFMST 32'b?????_?????_?????_0000100010_1110011
+`define VFMTS 32'b?????_?????_?????_0000110010_1110011
+`define VVCFGIVL 32'b?????_?????_????????????_001_1110011
+`define VTCFGIVL 32'b?????_?????_????????????_011_1110011
+`define VSETVL 32'b?????_?????_000000000000_101_1110011
+`define VF 32'b00000_?????_????????????_111_1110011
`define C_LI 32'b00000000000000000000000000000000
`define C_ADDI 32'b00000000000000000000000000000000
`define C_ADDIW 32'b00000000000000000000000000000000