From 8e2c4a1d14227133107ef1c6c9c15fcb3b9d31f5 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Mon, 14 Feb 2011 21:17:49 -0800 Subject: [xcc,sim,opcodes] removed mtflh/mffl/mffh in rv32 these will be replaced with loads and stores. --- inst.v | 3 --- instr-table.tex | 54 ------------------------------------------------------ opcodes | 3 --- 3 files changed, 60 deletions(-) diff --git a/inst.v b/inst.v index 27448d6..eaef07b 100644 --- a/inst.v +++ b/inst.v @@ -130,13 +130,10 @@ `define FC_LE_D 32'b?????_?????_?????_1011111101_1010011 `define MFF_S 32'b?????_00000_?????_1100011100_1010011 `define MFF_D 32'b?????_00000_?????_1100011101_1010011 -`define MFFL_D 32'b?????_00000_?????_1100111101_1010011 -`define MFFH_D 32'b?????_00000_?????_1101011101_1010011 `define MFFSR 32'b?????_00000_00000_1101111100_1010011 `define MTF_S 32'b?????_?????_00000_1110011100_1010011 `define MTF_D 32'b?????_?????_00000_1110011101_1010011 `define MTFSR 32'b00000_?????_00000_1110111100_1010011 -`define MTFLH_D 32'b?????_?????_?????_1111011101_1010011 `define LF_W 32'b?????_?????_????????????_010_0000111 `define LF_D 32'b?????_?????_????????????_011_0000111 `define SF_W 32'b?????_?????_?????_???????_010_0100111 diff --git a/instr-table.tex b/instr-table.tex index 7943260..ec1462d 100644 --- a/instr-table.tex +++ b/instr-table.tex @@ -1338,24 +1338,6 @@ & \multicolumn{1}{|c|}{0000000} & \multicolumn{5}{c|}{0000000011} & -\multicolumn{1}{c|}{rs2} & -\multicolumn{1}{c|}{00000} & -\multicolumn{1}{c|}{rd} & MFFL.D rd,rs2 \\ -\cline{2-10} - - -& -\multicolumn{1}{|c|}{0000000} & -\multicolumn{5}{c|}{0000000011} & -\multicolumn{1}{c|}{rs2} & -\multicolumn{1}{c|}{00000} & -\multicolumn{1}{c|}{rd} & MFFH.D rd,rs2 \\ -\cline{2-10} - - -& -\multicolumn{1}{|c|}{0000000} & -\multicolumn{5}{c|}{0000000011} & \multicolumn{1}{c|}{00000} & \multicolumn{1}{c|}{00000} & \multicolumn{1}{c|}{rd} & MFFSR rd \\ @@ -1391,15 +1373,6 @@ & \multicolumn{1}{|c|}{0000000} & -\multicolumn{5}{c|}{0000000011} & -\multicolumn{1}{c|}{rs2} & -\multicolumn{1}{c|}{rs1} & -\multicolumn{1}{c|}{rd} & MTFLH.D rd,rs1,rs2 \\ -\cline{2-10} - - -& -\multicolumn{1}{|c|}{0000000} & \multicolumn{2}{c|}{000} & \multicolumn{4}{c|}{imm12} & \multicolumn{1}{c|}{rs1} & @@ -1818,15 +1791,6 @@ & \multicolumn{1}{|c|}{0000000} & \multicolumn{5}{c|}{0000000011} & -\multicolumn{1}{c|}{rs2} & -\multicolumn{1}{c|}{rs1} & -\multicolumn{1}{c|}{rd} & MTFLH.D rd,rs1,rs2 \\ -\cline{2-10} - - -& -\multicolumn{1}{|c|}{0000000} & -\multicolumn{5}{c|}{0000000011} & \multicolumn{1}{c|}{00000} & \multicolumn{1}{c|}{rs1} & \multicolumn{1}{c|}{rd} & MTF.S rd,rs1 \\ @@ -1854,24 +1818,6 @@ \multicolumn{5}{c|}{0000000011} & \multicolumn{1}{c|}{rs2} & \multicolumn{1}{c|}{00000} & -\multicolumn{1}{c|}{rd} & MFFL.D rd,rs2 \\ -\cline{2-10} - - -& -\multicolumn{1}{|c|}{0000000} & -\multicolumn{5}{c|}{0000000011} & -\multicolumn{1}{c|}{rs2} & -\multicolumn{1}{c|}{00000} & -\multicolumn{1}{c|}{rd} & MFFH.D rd,rs2 \\ -\cline{2-10} - - -& -\multicolumn{1}{|c|}{0000000} & -\multicolumn{5}{c|}{0000000011} & -\multicolumn{1}{c|}{rs2} & -\multicolumn{1}{c|}{00000} & \multicolumn{1}{c|}{rd} & MFF.S rd,rs2 \\ \cline{2-10} diff --git a/opcodes b/opcodes index 3c9bf34..10f0298 100644 --- a/opcodes +++ b/opcodes @@ -169,13 +169,10 @@ fc.le.d rd rs1 rs2 16..12=0x17 11..9=7 8..7=1 6..2=0x14 1..0=3 mff.s rd 26..22=0 rs2 16..12=0x18 11..9=7 8..7=0 6..2=0x14 1..0=3 mff.d rd 26..22=0 rs2 16..12=0x18 11..9=7 8..7=1 6..2=0x14 1..0=3 -mffl.d rd 26..22=0 rs2 16..12=0x19 11..9=7 8..7=1 6..2=0x14 1..0=3 -mffh.d rd 26..22=0 rs2 16..12=0x1A 11..9=7 8..7=1 6..2=0x14 1..0=3 mffsr rd 26..22=0 21..17=0 16..12=0x1B 11..9=7 8..7=0 6..2=0x14 1..0=3 mtf.s rd rs1 21..17=0 16..12=0x1C 11..9=7 8..7=0 6..2=0x14 1..0=3 mtf.d rd rs1 21..17=0 16..12=0x1C 11..9=7 8..7=1 6..2=0x14 1..0=3 mtfsr 31..27=0 rs1 21..17=0 16..12=0x1D 11..9=7 8..7=0 6..2=0x14 1..0=3 -mtflh.d rd rs1 rs2 16..12=0x1E 11..9=7 8..7=1 6..2=0x14 1..0=3 lf.w rd rs1 imm12 9..7=2 6..2=0x01 1..0=3 lf.d rd rs1 imm12 9..7=3 6..2=0x01 1..0=3 -- cgit v1.1