Skip to content

Commit 2173005

Browse files
Fix brackets not closed (#528)
Co-authored-by: Umer Shahid <[email protected]>
1 parent 6f9803b commit 2173005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

riscv-isac/riscv_isac/data/rvopcodesdecoder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def decode(self, instrObj_temp):
400400
if any([instr_name.startswith(x) for x in [
401401
'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']]):
402402
treg = 'x'
403-
temp_instrobj.rs2 = (int(get_arg_val(arg)(mcode), 2), treg
403+
temp_instrobj.rs2 = (int(get_arg_val(arg)(mcode), 2), treg)
404404
if 'p' in arg:
405405
temp_instrobj.rd = (8+int(get_arg_val(arg)(mcode), 2), treg)
406406
else:

0 commit comments

Comments
 (0)