Skip to content

Commit

Permalink
Remove duplicated ckformat of
Browse files Browse the repository at this point in the history
  • Loading branch information
trdthg committed Oct 10, 2024
1 parent f6e9876 commit f9ab797
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions riscv-ctg/riscv_ctg/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def get_rm(opcode):
'cjformat': [],
'ckformat': ['rs1'],
'kformat': ['rs1','rd'],
'ckformat': ['rs1'],
# 'frformat': ['rs1', 'rs2', 'rd'],
'fsrformat': ['rs1', 'rd'],
# 'fr4format': ['rs1', 'rs2', 'rs3', 'rd'],
Expand Down Expand Up @@ -147,7 +146,6 @@ def get_rm(opcode):
'cjformat': "['imm_val']",
'ckformat': "['rs1_val']",
'kformat': "['rs1_val']",
'ckformat': "['rs1_val']",
# 'frformat': "['rs1_val', 'rs2_val', 'rm_val', 'fcsr']",
'fsrformat': "['rs1_val','fcsr'] + get_rm(opcode) + \
([] if not is_nan_box else ['rs1_nan_prefix']) + \
Expand Down

0 comments on commit f9ab797

Please sign in to comment.