Removed useless variable

This commit is contained in:
François Autin 2023-03-10 10:34:13 +01:00
parent 2b5761d4b7
commit 6db52669b4
No known key found for this signature in database
GPG Key ID: 343F5D382E1DD77C

View File

@ -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])
},
RISCV_FP => {
let name: &str;
match ins.funct7 {
RISCV_FP_ADD => {
format!("{}\t{}{}{}", "fadd", REG_F[rd], REG_F[rs1], REG_F[rs2])