Re: [Qemu-devel] [RFC 3/5] softmmu: Add helpers for a new slow-path

2015-05-11 Thread alvise rigo
On Thu, May 7, 2015 at 7:56 PM, Richard Henderson wrote: > On 05/06/2015 08:38 AM, Alvise Rigo wrote: >> +#define DATA_SIZE (1 << SHIFT) >> + >> +#if DATA_SIZE == 8 >> +#define SUFFIX q >> +#define LSUFFIX q >> +#define SDATA_TYPE int64_t >> +#define DATA_TYPE uint64_t > > Duplicating all of the

Re: [Qemu-devel] [RFC 3/5] softmmu: Add helpers for a new slow-path

2015-05-07 Thread Richard Henderson
On 05/06/2015 08:38 AM, Alvise Rigo wrote: > +#define DATA_SIZE (1 << SHIFT) > + > +#if DATA_SIZE == 8 > +#define SUFFIX q > +#define LSUFFIX q > +#define SDATA_TYPE int64_t > +#define DATA_TYPE uint64_t Duplicating all of the stuff from softmmu_template.h is Just Wrong. > +/* For the benefit o