Skip to content

Commit

Permalink
Emit SLLI_RV128 etc. (and SLLI_RV32 etc. while we're at it)
Browse files Browse the repository at this point in the history
  • Loading branch information
aswaterman committed Jan 31, 2023
1 parent 33dc95e commit 94d28c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,10 @@ def signed(value, width):

if '-c' in sys.argv[1:]:
instr_dict_c = create_inst_dict(extensions, False,
include_pseudo_ops=['pause', 'prefetch_r', 'prefetch_w', 'prefetch_i'])
include_pseudo_ops=['pause', 'prefetch_r', 'prefetch_w', 'prefetch_i',
'slli_rv32', 'srli_rv32', 'srai_rv32',
'slli_rv128', 'srli_rv128', 'srai_rv128',
])
instr_dict_c = collections.OrderedDict(sorted(instr_dict_c.items()))
make_c(instr_dict_c)
logging.info('encoding.out.h generated successfully')
Expand Down

0 comments on commit 94d28c3

Please sign in to comment.