diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2018-08-31 13:57:08 -0700 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2018-10-01 11:08:35 -0700 |
commit | 582fef0f47876da8968ac8d867922e040a02ebae (patch) | |
tree | 40c4fe91b5d9c0021fbb6f6b732c681aca2057ad /target/xtensa/cpu.h | |
parent | 90d6494d130afa6de932fb1fa2eed8296d702836 (diff) | |
download | qemu-582fef0f47876da8968ac8d867922e040a02ebae.zip qemu-582fef0f47876da8968ac8d867922e040a02ebae.tar.gz qemu-582fef0f47876da8968ac8d867922e040a02ebae.tar.bz2 |
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>
Diffstat (limited to 'target/xtensa/cpu.h')
-rw-r--r-- | target/xtensa/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/xtensa/cpu.h b/target/xtensa/cpu.h index be23495..34e5ccd 100644 --- a/target/xtensa/cpu.h +++ b/target/xtensa/cpu.h @@ -381,6 +381,7 @@ typedef struct XtensaOpcodeOps { const uint32_t *par; uint32_t op_flags; uint32_t windowed_register_op; + uint32_t coprocessor; } XtensaOpcodeOps; typedef struct XtensaOpcodeTranslators { |