Removed useless variable
This commit is contained in:
parent
2b5761d4b7
commit
6db52669b4
@ -139,7 +139,6 @@ pub fn print(ins: Instruction, pc: i32) -> String { //TODO pc should be u64
|
|||||||
format!("fnmadd\t{}{}{}{}", REG_F[rd], REG_F[rs1], REG_F[rs2], REG_F[rs3])
|
format!("fnmadd\t{}{}{}{}", REG_F[rd], REG_F[rs1], REG_F[rs2], REG_F[rs3])
|
||||||
},
|
},
|
||||||
RISCV_FP => {
|
RISCV_FP => {
|
||||||
let name: &str;
|
|
||||||
match ins.funct7 {
|
match ins.funct7 {
|
||||||
RISCV_FP_ADD => {
|
RISCV_FP_ADD => {
|
||||||
format!("{}\t{}{}{}", "fadd", REG_F[rd], REG_F[rs1], REG_F[rs2])
|
format!("{}\t{}{}{}", "fadd", REG_F[rd], REG_F[rs1], REG_F[rs2])
|
||||||
|
Loading…
Reference in New Issue
Block a user