Re: [PATCH 1/3] tcg/sparc: Remove support for sparc32plus

2022-10-31 Thread Peter Maydell
On Mon, 31 Oct 2022 at 00:29, Richard Henderson wrote: > > On 10/31/22 04:21, Philippe Mathieu-Daudé wrote: > > On 30/10/22 16:45, Peter Maydell wrote: > >>> -#define TCG_TARGET_REG_BITS 64 > >> > >> Why do we delete this? > > > > We get the default definition from include/tcg/tcg.h: > > > >58

Re: [PATCH 1/3] tcg/sparc: Remove support for sparc32plus

2022-10-30 Thread Richard Henderson
On 10/31/22 04:21, Philippe Mathieu-Daudé wrote: On 30/10/22 16:45, Peter Maydell wrote: -#define TCG_TARGET_REG_BITS 64 Why do we delete this? We get the default definition from include/tcg/tcg.h:   58 /* Default target word size to pointer size.  */   59 #ifndef TCG_TARGET_REG_BITS   6

Re: [PATCH 1/3] tcg/sparc: Remove support for sparc32plus

2022-10-30 Thread Richard Henderson
On 10/31/22 02:45, Peter Maydell wrote: +/* We only support generating code for 64-bit mode. */ +#ifndef __arch64__ +#error "unsupported code generation mode" We might as well be more specific: "no support for generating code for 32-bit SPARC" (though I guess that configure ought in theory to

Re: [PATCH 1/3] tcg/sparc: Remove support for sparc32plus

2022-10-30 Thread Philippe Mathieu-Daudé
On 30/10/22 16:45, Peter Maydell wrote: On Mon, 17 Oct 2022 at 07:44, Richard Henderson wrote: Since 9b9c37c36439, we have only supported sparc64 cpus. Debian and Gentoo now only support 64-bit sparc64 userland, so it is time to drop the 32-bit sparc64 userland: sparc32plus. Signed-off-by: Ri

Re: [PATCH 1/3] tcg/sparc: Remove support for sparc32plus

2022-10-30 Thread Peter Maydell
On Mon, 17 Oct 2022 at 07:44, Richard Henderson wrote: > > Since 9b9c37c36439, we have only supported sparc64 cpus. > Debian and Gentoo now only support 64-bit sparc64 userland, > so it is time to drop the 32-bit sparc64 userland: sparc32plus. > > Signed-off-by: Richard Henderson > --- > tcg/spa

Re: [PATCH 1/3] tcg/sparc: Remove support for sparc32plus

2022-10-28 Thread Philippe Mathieu-Daudé
On 17/10/22 08:24, Richard Henderson wrote: Since 9b9c37c36439, we have only supported sparc64 cpus. Debian and Gentoo now only support 64-bit sparc64 userland, so it is time to drop the 32-bit sparc64 userland: sparc32plus. Signed-off-by: Richard Henderson --- tcg/sparc/tcg-target.h | 1

[PATCH 1/3] tcg/sparc: Remove support for sparc32plus

2022-10-16 Thread Richard Henderson
Since 9b9c37c36439, we have only supported sparc64 cpus. Debian and Gentoo now only support 64-bit sparc64 userland, so it is time to drop the 32-bit sparc64 userland: sparc32plus. Signed-off-by: Richard Henderson --- tcg/sparc/tcg-target.h | 11 --- tcg/tcg.c | 75 +--