diff options
author | Yunsup Lee <yunsup@cs.berkeley.edu> | 2012-03-13 23:39:57 -0700 |
---|---|---|
committer | Yunsup Lee <yunsup@cs.berkeley.edu> | 2012-03-13 23:39:57 -0700 |
commit | 577bc77f4ada83df15575e6a4a66e88949cbf138 (patch) | |
tree | 6e1cc01514672d056b054b39df85b9824dcde01c | |
parent | f75f1a37513a68aa590048312c2a58b96a0a92df (diff) | |
download | riscv-opcodes-577bc77f4ada83df15575e6a4a66e88949cbf138.zip riscv-opcodes-577bc77f4ada83df15575e6a4a66e88949cbf138.tar.gz riscv-opcodes-577bc77f4ada83df15575e6a4a66e88949cbf138.tar.bz2 |
add more instructions for vector exception handling
-rw-r--r-- | inst.v | 5 | ||||
-rw-r--r-- | opcodes | 6 |
2 files changed, 9 insertions, 2 deletions
@@ -107,7 +107,10 @@ `define VENQIMM1 32'b00000_?????_?????_1000000001_1111011 `define VENQIMM2 32'b00000_?????_?????_1000000010_1111011 `define VENQCNT 32'b00000_?????_?????_1000000011_1111011 -`define VWAITXCPT 32'b00000_00000_00000_1100000000_1111011 +`define VXCPTEVAC 32'b00000_?????_00000_1100000000_1111011 +`define VXCPTKILL 32'b00000_00000_00000_1100000001_1111011 +`define VXCPTWAIT 32'b00000_00000_00000_1100000010_1111011 +`define VXCPTHOLD 32'b00000_00000_00000_1100000011_1111011 `define FADD_S 32'b?????_?????_?????_00000_???_00_1010011 `define FSUB_S 32'b?????_?????_?????_00001_???_00_1010011 `define FMUL_S 32'b?????_?????_?????_00010_???_00_1010011 @@ -133,11 +133,15 @@ mfpcr rd 26..22=0 rs2 16..7=2 6..2=0x1E 1..0=3 mtpcr 31..27=0 rs1 rs2 16..7=3 6..2=0x1E 1..0=3 eret 31..27=0 26..22=0 21..17=0 16..7=4 6..2=0x1E 1..0=3 cflush 31..27=0 26..22=0 21..17=0 16..7=5 6..2=0x1E 1..0=3 + venqcmd 31..27=0 rs1 rs2 16..7=0x200 6..2=0x1E 1..0=3 venqimm1 31..27=0 rs1 rs2 16..7=0x201 6..2=0x1E 1..0=3 venqimm2 31..27=0 rs1 rs2 16..7=0x202 6..2=0x1E 1..0=3 venqcnt 31..27=0 rs1 rs2 16..7=0x203 6..2=0x1E 1..0=3 -vwaitxcpt 31..27=0 26..22=0 21..17=0 16..7=0x300 6..2=0x1E 1..0=3 +vxcptevac 31..27=0 rs1 21..17=0 16..7=0x300 6..2=0x1E 1..0=3 +vxcptkill 31..27=0 26..22=0 21..17=0 16..7=0x301 6..2=0x1E 1..0=3 +vxcptwait 31..27=0 26..22=0 21..17=0 16..7=0x302 6..2=0x1E 1..0=3 +vxcpthold 31..27=0 26..22=0 21..17=0 16..7=0x303 6..2=0x1E 1..0=3 # 0x7C-0x7F are reserved for >32b instructions |