Skip to content

Commit

Permalink
Fix brackets not closed (#528)
Browse files Browse the repository at this point in the history
Co-authored-by: Umer Shahid <[email protected]>
  • Loading branch information
trdthg and UmerShahidengr authored Oct 17, 2024
1 parent 6f9803b commit 2173005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riscv-isac/riscv_isac/data/rvopcodesdecoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def decode(self, instrObj_temp):
if any([instr_name.startswith(x) for x in [
'fsh', 'fsw','fsd','fcvt.s','fcvt.d','fmv.w','fmv.l','fcvt.h','fmv.h','flh','fclass','fsqrt','fmax','fmin','fadd','fsub','feq','fle','flt','fmul','fdiv','fsgnj','fsgnjn','fsgnjx']]):
treg = 'x'
temp_instrobj.rs2 = (int(get_arg_val(arg)(mcode), 2), treg
temp_instrobj.rs2 = (int(get_arg_val(arg)(mcode), 2), treg)
if 'p' in arg:
temp_instrobj.rd = (8+int(get_arg_val(arg)(mcode), 2), treg)
else:
Expand Down

0 comments on commit 2173005

Please sign in to comment.