Re: [Qemu-devel] [RFC 12/48] atomic_template: define pre/post macros

2018-11-26 Thread Emilio G. Cota
On Mon, Nov 26, 2018 at 11:21:13 +, Alex Bennée wrote: > > Emilio G. Cota writes: > > > On Thu, Nov 22, 2018 at 17:12:34 +, Alex Bennée wrote: > >> > >> Emilio G. Cota writes: > >> > >> > In preparation for plugin support. > >> > > >> > Signed-off-by: Emilio G. Cota > >> > >> More

Re: [Qemu-devel] [RFC 12/48] atomic_template: define pre/post macros

2018-11-26 Thread Alex Bennée
Emilio G. Cota writes: > On Thu, Nov 22, 2018 at 17:12:34 +, Alex Bennée wrote: >> >> Emilio G. Cota writes: >> >> > In preparation for plugin support. >> > >> > Signed-off-by: Emilio G. Cota >> >> More macros for the macro-god. I guess this works but I wonder if it's >> possible to do a

Re: [Qemu-devel] [RFC 12/48] atomic_template: define pre/post macros

2018-11-23 Thread Emilio G. Cota
On Thu, Nov 22, 2018 at 17:12:34 +, Alex Bennée wrote: > > Emilio G. Cota writes: > > > In preparation for plugin support. > > > > Signed-off-by: Emilio G. Cota > > More macros for the macro-god. I guess this works but I wonder if it's > possible to do a clean-up ala softfloat and the

Re: [Qemu-devel] [RFC 12/48] atomic_template: define pre/post macros

2018-11-22 Thread Alex Bennée
Emilio G. Cota writes: > In preparation for plugin support. > > Signed-off-by: Emilio G. Cota More macros for the macro-god. I guess this works but I wonder if it's possible to do a clean-up ala softfloat and the experimental softmmu re-factor that makes this less a mess of macros? > --- >

[Qemu-devel] [RFC 12/48] atomic_template: define pre/post macros

2018-10-25 Thread Emilio G. Cota
In preparation for plugin support. Signed-off-by: Emilio G. Cota --- accel/tcg/atomic_template.h | 92 +++-- 1 file changed, 57 insertions(+), 35 deletions(-) diff --git a/accel/tcg/atomic_template.h b/accel/tcg/atomic_template.h index 8d177fefef..b13318c1ce