target/xtensa: don't specify windowed registers manually
commitfe7869d69caeb0d77b75d14051a6e72a6a10aa76
authorMax Filippov <jcmvbkbc@gmail.com>
Sun, 10 Feb 2019 02:30:00 +0000 (9 18:30 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 11 Feb 2019 00:16:46 +0000 (10 16:16 -0800)
tree62dac4194bc9689fec0fbbf9a884f523e6c77c07
parent571a7e34f956e0c7ce7fc26b31977be944a3dd94
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>
target/xtensa/cpu.h
target/xtensa/helper.c
target/xtensa/translate.c