]> git.proxmox.com Git - mirror_qemu.git/commit
target/xtensa: extract test for cpdisabled exception
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 31 Aug 2018 20:57:08 +0000 (13:57 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 1 Oct 2018 18:08:35 +0000 (11:08 -0700)
commit582fef0f47876da8968ac8d867922e040a02ebae
tree40c4fe91b5d9c0021fbb6f6b732c681aca2057ad
parent90d6494d130afa6de932fb1fa2eed8296d702836
target/xtensa: extract test for cpdisabled exception

- add XtensaOpcodeOps::coprocessor with bitmask of coprocessors used by
  the instruction;
- replace coprocessor id parameter of gen_check_cpenable with the
  bitmask of used coprocessors;
- collect coprocessor IDs used by an instruction in the disassembly
  loop;
- put test for coprocessor disabled exception after the alloca test;

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
target/xtensa/cpu.h
target/xtensa/translate.c