warrning fixed
This commit is contained in:
parent
f4b6cb3137
commit
7649fae750
@ -64,32 +64,32 @@ pub fn decode(val : u64) -> Instruction {
|
||||
let shamt = ((val >> 20) & 0x3f) as u8;
|
||||
|
||||
Instruction {
|
||||
value : value,
|
||||
value,
|
||||
|
||||
opcode : opcode,
|
||||
rs1 : rs1,
|
||||
rs2 : rs2,
|
||||
rs3 : rs3,
|
||||
rd : rd,
|
||||
funct7 : funct7,
|
||||
funct7_smaller : funct7_smaller,
|
||||
opcode,
|
||||
rs1,
|
||||
rs2,
|
||||
rs3,
|
||||
rd,
|
||||
funct7,
|
||||
funct7_smaller,
|
||||
|
||||
funct3 : funct3,
|
||||
imm12_I : imm12_I,
|
||||
imm12_S : imm12_S,
|
||||
funct3,
|
||||
imm12_I,
|
||||
imm12_S,
|
||||
|
||||
imm12_I_signed : imm12_I_signed,
|
||||
imm12_S_signed : imm12_S_signed,
|
||||
imm12_I_signed,
|
||||
imm12_S_signed,
|
||||
|
||||
imm13 : imm13,
|
||||
imm13_signed : imm13_signed,
|
||||
imm13,
|
||||
imm13_signed,
|
||||
|
||||
imm31_12 : imm31_12,
|
||||
imm31_12_signed : imm31_12_signed,
|
||||
imm31_12,
|
||||
imm31_12_signed,
|
||||
|
||||
imm21_1 : imm21_1,
|
||||
imm21_1_signed : imm21_1_signed,
|
||||
imm21_1,
|
||||
imm21_1_signed,
|
||||
|
||||
shamt : shamt
|
||||
shamt
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user