diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2019-02-09 23:21:44 -0800 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2019-02-18 21:29:08 -0800 |
commit | 759039737504c3f11098f7240c6048c6279e2215 (patch) | |
tree | bdedf02668294fdfc0d1bd5f5aa9894ee2f6d3bd /target/xtensa/cpu.h | |
parent | 0e7c887919e44f25491a4eb86403e947d9d54937 (diff) | |
download | qemu-759039737504c3f11098f7240c6048c6279e2215.zip qemu-759039737504c3f11098f7240c6048c6279e2215.tar.gz qemu-759039737504c3f11098f7240c6048c6279e2215.tar.bz2 |
target/xtensa: don't require opcode table sorting
Requirement for alphabetical opcode sorting in opcode tables is awkward
and does not allow sharing implementation between multiple opcodes.
Use hash tables to find opcodes by name. Move implementation from the
translate.c to the helper.c to its only user and remove declaration from
the cpu.h
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'target/xtensa/cpu.h')
-rw-r--r-- | target/xtensa/cpu.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target/xtensa/cpu.h b/target/xtensa/cpu.h index 47d80a5..2765665 100644 --- a/target/xtensa/cpu.h +++ b/target/xtensa/cpu.h @@ -587,8 +587,6 @@ static inline void xtensa_select_static_vectors(CPUXtensaState *env, env->static_vectors = n; } void xtensa_runstall(CPUXtensaState *env, bool runstall); -XtensaOpcodeOps *xtensa_find_opcode_ops(const XtensaOpcodeTranslators *t, - const char *opcode); #define XTENSA_OPTION_BIT(opt) (((uint64_t)1) << (opt)) #define XTENSA_OPTION_ALL (~(uint64_t)0) |