mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
target/xtensa: don't specify windowed registers manually
Use libisa to extract whether opcode uses windowed registers and construct mask based on that. This only leaves special case for the 'entry' opcode, as it needs to probe a register dynamically. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
571a7e34f9
commit
fe7869d69c
3 changed files with 12 additions and 484 deletions
|
@ -88,6 +88,7 @@ static void init_libisa(XtensaConfig *config)
|
|||
#endif
|
||||
config->opcode_ops[i] = ops;
|
||||
}
|
||||
config->a_regfile = xtensa_regfile_lookup(config->isa, "AR");
|
||||
}
|
||||
|
||||
void xtensa_finalize_config(XtensaConfig *config)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue