sim: igen: migrate to standard uintXX_t types

Move off the custom local 64-bit types and to the standard uintXX_t
types that C11 provides.
This commit is contained in:
Mike Frysinger
2021-12-06 02:18:31 -05:00
parent b331e677d7
commit 9850d2d83e
6 changed files with 9 additions and 27 deletions

View File

@@ -984,8 +984,8 @@ print_idecode_globals (lf *file)
lf_printf (file, "\n");
lf_printf (file, "typedef struct _idecode_table_entry {\n");
lf_printf (file, " int shift;\n");
lf_printf (file, " unsigned%d mask;\n", options.insn_bit_size);
lf_printf (file, " unsigned%d value;\n", options.insn_bit_size);
lf_printf (file, " uint%d_t mask;\n", options.insn_bit_size);
lf_printf (file, " uint%d_t value;\n", options.insn_bit_size);
lf_printf (file, " void *function_or_table;\n");
lf_printf (file, "} idecode_table_entry;\n");
}