[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC] [tcg] Idea on refactoring target code generation loop
From: |
Lluís Vilanova |
Subject: |
[Qemu-devel] [RFC] [tcg] Idea on refactoring target code generation loop (gen_intermediate_code) |
Date: |
Wed, 09 Mar 2016 15:38:38 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hi,
NOTE: I won't be throwing patches anytime soon, I just want to know if there's
interest in this for the future.
While adding events for tracing guest instructions, I've found that the
per-target "gen_intermediate_code()" function is very similar but not exactly
the same for each of the targets. This makes architecture-agnostic features
harder to maintain across targets, specially when it comes to their relative
order.
So, would it be worth it if I generalized part of that code into an
architecture-agnostic function that calls into target-specific hooks wherever it
needs extending? There are many ways to do it that we can discuss later.
Cheers,
Lluis
- [Qemu-devel] [RFC] [tcg] Idea on refactoring target code generation loop (gen_intermediate_code),
Lluís Vilanova <=
- Re: [Qemu-devel] [RFC] [tcg] Idea on refactoring target code generation loop (gen_intermediate_code), Richard Henderson, 2016/03/09
- Re: [Qemu-devel] [RFC] [tcg] Idea on refactoring target code generation loop (gen_intermediate_code), Lluís Vilanova, 2016/03/09
- Re: [Qemu-devel] [RFC] [tcg] Idea on refactoring target code generation loop (gen_intermediate_code), Richard Henderson, 2016/03/09
- Re: [Qemu-devel] [RFC] [tcg] Idea on refactoring target code generation loop (gen_intermediate_code), Lluís Vilanova, 2016/03/09
- Re: [Qemu-devel] [RFC] [tcg] Idea on refactoring target code generation loop (gen_intermediate_code), Peter Maydell, 2016/03/09
- Re: [Qemu-devel] [RFC] [tcg] Idea on refactoring target code generation loop (gen_intermediate_code), Lluís Vilanova, 2016/03/13
- Re: [Qemu-devel] [RFC] [tcg] Idea on refactoring target code generation loop (gen_intermediate_code), Peter Maydell, 2016/03/13
- Re: [Qemu-devel] [RFC] [tcg] Idea on refactoring target code generation loop (gen_intermediate_code), Markus Armbruster, 2016/03/14
- Re: [Qemu-devel] [RFC] [tcg] Idea on refactoring target code generation loop (gen_intermediate_code), Lluís Vilanova, 2016/03/14
Re: [Qemu-devel] [RFC] [tcg] Idea on refactoring target code generation loop (gen_intermediate_code), KONRAD Frederic, 2016/03/14