diff mbox series

[2/3] tcg/sparc64: Rename from tcg/sparc

Message ID 20221017062445.563431-3-richard.henderson@linaro.org
State Superseded
Headers show
Series tcg/sparc: Remove support for sparc32plus | expand

Commit Message

Richard Henderson Oct. 17, 2022, 6:24 a.m. UTC
Emphasize that we only support full 64-bit code generation.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 meson.build                                 | 4 +---
 tcg/{sparc => sparc64}/tcg-target-con-set.h | 0
 tcg/{sparc => sparc64}/tcg-target-con-str.h | 0
 tcg/{sparc => sparc64}/tcg-target.h         | 0
 tcg/{sparc => sparc64}/tcg-target.c.inc     | 0
 5 files changed, 1 insertion(+), 3 deletions(-)
 rename tcg/{sparc => sparc64}/tcg-target-con-set.h (100%)
 rename tcg/{sparc => sparc64}/tcg-target-con-str.h (100%)
 rename tcg/{sparc => sparc64}/tcg-target.h (100%)
 rename tcg/{sparc => sparc64}/tcg-target.c.inc (100%)

Comments

Philippe Mathieu-Daudé Oct. 28, 2022, 10:40 a.m. UTC | #1
On 17/10/22 08:24, Richard Henderson wrote:
> Emphasize that we only support full 64-bit code generation.
> 
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>   meson.build                                 | 4 +---
>   tcg/{sparc => sparc64}/tcg-target-con-set.h | 0
>   tcg/{sparc => sparc64}/tcg-target-con-str.h | 0
>   tcg/{sparc => sparc64}/tcg-target.h         | 0
>   tcg/{sparc => sparc64}/tcg-target.c.inc     | 0
>   5 files changed, 1 insertion(+), 3 deletions(-)
>   rename tcg/{sparc => sparc64}/tcg-target-con-set.h (100%)
>   rename tcg/{sparc => sparc64}/tcg-target-con-str.h (100%)
>   rename tcg/{sparc => sparc64}/tcg-target.h (100%)
>   rename tcg/{sparc => sparc64}/tcg-target.c.inc (100%)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Peter Maydell Oct. 30, 2022, 3:50 p.m. UTC | #2
On Mon, 17 Oct 2022 at 07:44, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Emphasize that we only support full 64-bit code generation.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>  meson.build                                 | 4 +---
>  tcg/{sparc => sparc64}/tcg-target-con-set.h | 0
>  tcg/{sparc => sparc64}/tcg-target-con-str.h | 0
>  tcg/{sparc => sparc64}/tcg-target.h         | 0
>  tcg/{sparc => sparc64}/tcg-target.c.inc     | 0
>  5 files changed, 1 insertion(+), 3 deletions(-)
>  rename tcg/{sparc => sparc64}/tcg-target-con-set.h (100%)
>  rename tcg/{sparc => sparc64}/tcg-target-con-str.h (100%)
>  rename tcg/{sparc => sparc64}/tcg-target.h (100%)
>  rename tcg/{sparc => sparc64}/tcg-target.c.inc (100%)

You also need to update the MAINTAINERS file, which has an
entry for "F:tcg/sparc/".

Otherwise
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM
diff mbox series

Patch

diff --git a/meson.build b/meson.build
index b686dfef75..1ec3f72edc 100644
--- a/meson.build
+++ b/meson.build
@@ -49,7 +49,7 @@  qapi_trace_events = []
 bsd_oses = ['gnu/kfreebsd', 'freebsd', 'netbsd', 'openbsd', 'dragonfly', 'darwin']
 supported_oses = ['windows', 'freebsd', 'netbsd', 'openbsd', 'darwin', 'sunos', 'linux']
 supported_cpus = ['ppc', 'ppc64', 's390x', 'riscv', 'x86', 'x86_64',
-  'arm', 'aarch64', 'loongarch64', 'mips', 'mips64', 'sparc', 'sparc64']
+  'arm', 'aarch64', 'loongarch64', 'mips', 'mips64', 'sparc64']
 
 cpu = host_machine.cpu_family()
 
@@ -469,8 +469,6 @@  if get_option('tcg').allowed()
   endif
   if get_option('tcg_interpreter')
     tcg_arch = 'tci'
-  elif host_arch == 'sparc64'
-    tcg_arch = 'sparc'
   elif host_arch == 'x86_64'
     tcg_arch = 'i386'
   elif host_arch == 'ppc64'
diff --git a/tcg/sparc/tcg-target-con-set.h b/tcg/sparc64/tcg-target-con-set.h
similarity index 100%
rename from tcg/sparc/tcg-target-con-set.h
rename to tcg/sparc64/tcg-target-con-set.h
diff --git a/tcg/sparc/tcg-target-con-str.h b/tcg/sparc64/tcg-target-con-str.h
similarity index 100%
rename from tcg/sparc/tcg-target-con-str.h
rename to tcg/sparc64/tcg-target-con-str.h
diff --git a/tcg/sparc/tcg-target.h b/tcg/sparc64/tcg-target.h
similarity index 100%
rename from tcg/sparc/tcg-target.h
rename to tcg/sparc64/tcg-target.h
diff --git a/tcg/sparc/tcg-target.c.inc b/tcg/sparc64/tcg-target.c.inc
similarity index 100%
rename from tcg/sparc/tcg-target.c.inc
rename to tcg/sparc64/tcg-target.c.inc