aboutsummaryrefslogtreecommitdiff
path: root/inst.v
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2010-10-02 17:19:42 -0700
committerAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2010-10-02 17:19:42 -0700
commitfea92390c2e0bd7ada8e9ea3e0998107041d16e9 (patch)
tree8423811948c07bdb0f7eb325cc224258c87586dc /inst.v
parentf07ca41d40688ec2b054997278d1dd15bc1e87c3 (diff)
downloadriscv-opcodes-fea92390c2e0bd7ada8e9ea3e0998107041d16e9.zip
riscv-opcodes-fea92390c2e0bd7ada8e9ea3e0998107041d16e9.tar.gz
riscv-opcodes-fea92390c2e0bd7ada8e9ea3e0998107041d16e9.tar.bz2
[xcc, sim] mff now uses rs2 for data
this is symmetric with fp stores, so we only need one decoding pipe
Diffstat (limited to 'inst.v')
-rw-r--r--inst.v58
1 files changed, 29 insertions, 29 deletions
diff --git a/inst.v b/inst.v
index a8530bf..a9b70fa 100644
--- a/inst.v
+++ b/inst.v
@@ -109,37 +109,37 @@
`define SGNINJ_D 32'b1101010_?????_?????_1100000101_?????
`define SGNINJN_D 32'b1101010_?????_?????_1100000110_?????
`define SGNMUL_D 32'b1101010_?????_?????_1100000111_?????
-`define TRUNC_L_S 32'b1101010_00000_?????_0000100000_?????
-`define TRUNCU_L_S 32'b1101010_00000_?????_0000100001_?????
-`define TRUNC_W_S 32'b1101010_00000_?????_0000100010_?????
-`define TRUNCU_W_S 32'b1101010_00000_?????_0000100011_?????
-`define TRUNC_L_D 32'b1101010_00000_?????_1100100000_?????
-`define TRUNCU_L_D 32'b1101010_00000_?????_1100100001_?????
-`define TRUNC_W_D 32'b1101010_00000_?????_1100100010_?????
-`define TRUNCU_W_D 32'b1101010_00000_?????_1100100011_?????
-`define CVT_S_L 32'b1101010_00000_?????_0000100100_?????
-`define CVTU_S_L 32'b1101010_00000_?????_0000100101_?????
-`define CVT_S_W 32'b1101010_00000_?????_0000100110_?????
-`define CVTU_S_W 32'b1101010_00000_?????_0000100111_?????
-`define CVT_D_L 32'b1101010_00000_?????_1100100100_?????
-`define CVTU_D_L 32'b1101010_00000_?????_1100100101_?????
-`define CVT_D_W 32'b1101010_00000_?????_1100100110_?????
-`define CVTU_D_W 32'b1101010_00000_?????_1100100111_?????
+`define TRUNC_L_S 32'b1101010_00000_?????_0000001000_?????
+`define TRUNCU_L_S 32'b1101010_00000_?????_0000001001_?????
+`define TRUNC_W_S 32'b1101010_00000_?????_0000001010_?????
+`define TRUNCU_W_S 32'b1101010_00000_?????_0000001011_?????
+`define TRUNC_L_D 32'b1101010_00000_?????_1100001000_?????
+`define TRUNCU_L_D 32'b1101010_00000_?????_1100001001_?????
+`define TRUNC_W_D 32'b1101010_00000_?????_1100001010_?????
+`define TRUNCU_W_D 32'b1101010_00000_?????_1100001011_?????
+`define CVT_S_L 32'b1101010_00000_?????_0000001100_?????
+`define CVTU_S_L 32'b1101010_00000_?????_0000001101_?????
+`define CVT_S_W 32'b1101010_00000_?????_0000001110_?????
+`define CVTU_S_W 32'b1101010_00000_?????_0000001111_?????
+`define CVT_D_L 32'b1101010_00000_?????_1100001100_?????
+`define CVTU_D_L 32'b1101010_00000_?????_1100001101_?????
+`define CVT_D_W 32'b1101010_00000_?????_1100001110_?????
+`define CVTU_D_W 32'b1101010_00000_?????_1100001111_?????
`define CVT_S_D 32'b1101010_00000_?????_0000110011_?????
`define CVT_D_S 32'b1101010_00000_?????_1100110000_?????
-`define C_EQ_S 32'b1101010_?????_?????_0001000001_?????
-`define C_LT_S 32'b1101010_?????_?????_0001000010_?????
-`define C_LE_S 32'b1101010_?????_?????_0001000011_?????
-`define C_EQ_D 32'b1101010_?????_?????_1101000001_?????
-`define C_LT_D 32'b1101010_?????_?????_1101000010_?????
-`define C_LE_D 32'b1101010_?????_?????_1101000011_?????
-`define MTFLH_D 32'b1101010_?????_?????_1110000000_?????
-`define MFFL_D 32'b1101010_00000_?????_0010100000_?????
-`define MFFH_D 32'b1101010_00000_?????_0010100001_?????
-`define MFF_S 32'b1101010_00000_?????_0011000000_?????
-`define MFF_D 32'b1101010_00000_?????_1111000000_?????
-`define MTF_S 32'b1101010_00000_?????_0011100000_?????
-`define MTF_D 32'b1101010_00000_?????_1111100000_?????
+`define C_EQ_S 32'b1101010_?????_?????_0000010101_?????
+`define C_LT_S 32'b1101010_?????_?????_0000010110_?????
+`define C_LE_S 32'b1101010_?????_?????_0000010111_?????
+`define C_EQ_D 32'b1101010_?????_?????_1100010101_?????
+`define C_LT_D 32'b1101010_?????_?????_1100010110_?????
+`define C_LE_D 32'b1101010_?????_?????_1100010111_?????
+`define MFFL_D 32'b1101010_?????_00000_1100111000_?????
+`define MFFH_D 32'b1101010_?????_00000_1101011000_?????
+`define MFF_S 32'b1101010_?????_00000_0001111000_?????
+`define MFF_D 32'b1101010_?????_00000_1101111000_?????
+`define MTFLH_D 32'b1101010_?????_?????_1110011001_?????
+`define MTF_S 32'b1101010_00000_?????_0010111001_?????
+`define MTF_D 32'b1101010_00000_?????_1110111001_?????
`define L_S 32'b1101000_00000_?????_0100000000_00000
`define L_D 32'b1101000_00000_?????_0110000000_00000
`define S_S 32'b1101001_00000_?????_010_????????????