* Rename size to base_size and introduce a compute_size function; * Add infra to inspect in/outs registers when computing the size of an instruction; * Remove the GPR_SAFE_DEREF and GPR_ZERO_DEREF_SAFE register classes on x86 (fixes #335);
This commit is contained in:
committed by
Dan Gohman
parent
c2069762ef
commit
9d6821d6d9
@@ -832,7 +832,8 @@ def emit_recipe_sizing(isa, fmt):
|
||||
for r in isa.all_recipes:
|
||||
fmt.comment('Code size information for recipe {}:'.format(r.name))
|
||||
with fmt.indented('RecipeSizing {', '},'):
|
||||
fmt.format('bytes: {},', r.size)
|
||||
fmt.format('base_size: {},', r.base_size)
|
||||
fmt.format('compute_size: {},', r.compute_size)
|
||||
if r.branch_range:
|
||||
fmt.format(
|
||||
'branch_range: '
|
||||
|
||||
Reference in New Issue
Block a user