diff options
author | Neel Gala <neelgala@incoresemi.com> | 2022-06-09 19:14:05 +0530 |
---|---|---|
committer | Neel Gala <neelgala@incoresemi.com> | 2022-06-09 19:14:05 +0530 |
commit | dbd88597fd400ceec557e4b3d20371f821c90b0b (patch) | |
tree | e561095da8d3899c2c43ef7124ecc2180eca69a2 /parse.py | |
parent | 08ca2b1ed5fcce8d08bd61a861e71f6e222905eb (diff) | |
download | riscv-opcodes-dbd88597fd400ceec557e4b3d20371f821c90b0b.zip riscv-opcodes-dbd88597fd400ceec557e4b3d20371f821c90b0b.tar.gz riscv-opcodes-dbd88597fd400ceec557e4b3d20371f821c90b0b.tar.bz2 |
sort the filenames in reverse-alphabetical order
This is to ensure that pseudo instructions like slli are added from rv64i instead of rv32i
Diffstat (limited to 'parse.py')
-rwxr-xr-x | parse.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -177,7 +177,7 @@ def create_inst_dict(file_filter, include_pseudo=False): file_names = [] for fil in file_filter: file_names += glob.glob(f'{opcodes_dir}{fil}') - + file_names.sort(reverse=True) # first pass if for standard/regular instructions logging.debug('Collecting standard instructions first') for f in file_names: |