diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2017-11-03 19:37:13 -0700 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2017-12-18 21:26:19 -0800 |
commit | c04e1692e3aace74018f77f1975fb7fd0bb0eb49 (patch) | |
tree | da77122b6d1bed3217c54d1802597b1e70eaa13f /target/xtensa/cpu.h | |
parent | 168c12b024704400c3398d22e762c9018b6f33be (diff) | |
download | qemu-c04e1692e3aace74018f77f1975fb7fd0bb0eb49.tar.gz |
target/xtensa: extract FPU2000 opcode translators
FPU2000 implements basic single-precision floating point operations and
can be replaced with a different implementation, like DFPU or HiFi. Move
FPU2000 opcode translators into separate functions and list them in a
separate array.
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 d8f4034626..9a34cc825e 100644 --- a/target/xtensa/cpu.h +++ b/target/xtensa/cpu.h @@ -349,6 +349,7 @@ typedef struct XtensaOpcodeTranslators { } XtensaOpcodeTranslators; extern const XtensaOpcodeTranslators xtensa_core_opcodes; +extern const XtensaOpcodeTranslators xtensa_fpu2000_opcodes; struct XtensaConfig { const char *name; |