diff options
| author | Max Filippov | 2018-08-29 19:37:29 +0200 |
|---|---|---|
| committer | Max Filippov | 2018-10-01 20:08:35 +0200 |
| commit | 6416d16f7544c53ccb6ce7d74e8f01f502b558d3 (patch) | |
| tree | 05d399b3284cdb2de815b4c60887b9031d3c0894 /scripts | |
| parent | target/xtensa: extract test for debug exception (diff) | |
| download | qemu-6416d16f7544c53ccb6ce7d74e8f01f502b558d3.tar.gz qemu-6416d16f7544c53ccb6ce7d74e8f01f502b558d3.tar.xz qemu-6416d16f7544c53ccb6ce7d74e8f01f502b558d3.zip | |
target/xtensa: extract test for window overflow exception
- add ps.callinc to the TB flags, that allows testing all instructions
for window overflow statically;
- drop gen_window_check* functions; replace them with get_window_check
that accepts bitmask of used registers;
- add XtensaOpcodeOps::test_overflow that returns bitmask of implicitly
used registers; use it for entry and call{,x}{4,8,12};
- drop window overflow test from the entry helper;
- drop parameter 0 from translate_[di]cache and use translate_nop for
d/i cache opcodes that don't need memory accessibility check;
- add bitmask XtensaOpcodeOps::windowed_register_op that marks opcode
arguments that refer to windowed registers;
- translate windowed_register_op mask to a mask of actually used
registers in the disassembly loop;
- add check for window overflow right after the check for debug
exception;
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
